/* NRS Builders - Custom Styles
   Brand colors only. No black / near-black.
*/

:root {
  --color-light-green: #8ec742;
  --color-dark-green: #086a39;
  --color-mid-green: #009247;
  --color-gray: #6d6e5d;
  --color-white: #ffffff;
  --shadow-green: rgba(8, 106, 57, 0.12);
  --shadow-green-hover: rgba(8, 106, 57, 0.22);
  --shadow-gray: rgba(109, 110, 93, 0.15);
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-gray);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus styles (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-mid-green);
  outline-offset: 2px;
}

/* Links */
a {
  color: var(--color-dark-green);
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-mid-green);
}

/* Subtle underline animation for text links */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background-color: var(--color-mid-green);
  transition: width 0.3s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  border-radius: 0.375rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  box-shadow: 0 2px 8px var(--shadow-green);
}

.btn-primary:hover {
  background-color: var(--color-mid-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--shadow-green-hover);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-light-green);
  color: var(--color-dark-green);
  box-shadow: 0 2px 8px var(--shadow-green);
}

.btn-secondary:hover {
  background-color: var(--color-mid-green);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--shadow-green-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark-green);
  border-color: var(--color-dark-green);
}

.btn-outline:hover {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-green);
}

/* Contact/Enquiry Send Message — stable hitbox (root cause of cursor flicker):
   .btn-primary:hover translateY(-2px) + parent .card-3d:hover
   (translateY + rotateX, different transition duration) moved the clickable
   area under the pointer. Hover feedback stays visual only. */
#contact-form .btn[type="submit"] {
  cursor: pointer;
  transform: none;
}

#contact-form .btn[type="submit"]:hover,
#contact-form .btn[type="submit"]:focus-visible {
  transform: none;
  background-color: var(--color-mid-green);
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green-hover);
}

#contact-form .btn[type="submit"]:active {
  transform: none;
  background-color: var(--color-dark-green);
  box-shadow: 0 2px 8px var(--shadow-green);
}

/* Decorative send icon must not intercept hit-testing */
#contact-form .btn[type="submit"] i {
  pointer-events: none;
}

/* Form card: parent 3D lift also shifted the submit button under the cursor */
.card-3d:has(#contact-form):hover {
  transform: none;
  box-shadow: 0 2px 10px var(--shadow-gray);
}

/* Cards */
.card {
  background-color: var(--color-white);
  border-radius: 0.75rem;
  border: 1px solid rgba(109, 110, 93, 0.12);
  box-shadow: 0 2px 10px var(--shadow-gray);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow-green);
}

/* Header / Navbar */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(109, 110, 93, 0.1);
  box-shadow: 0 1px 8px var(--shadow-gray);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-link {
  color: var(--color-gray);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  transition: color 0.25s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-dark-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2px;
  background-color: var(--color-light-green);
  border-radius: 1px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background-color: var(--color-white);
  border: 1px solid rgba(109, 110, 93, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px var(--shadow-green);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 60;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--color-gray);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: rgba(142, 199, 66, 0.12);
  color: var(--color-dark-green);
}

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 106, 57, 0.38);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(24rem, 86vw);
  height: 100%;
  height: 100dvh;
  background-color: var(--color-white);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  box-shadow: -8px 0 28px rgba(8, 106, 57, 0.14);
  border-left: 1px solid rgba(8, 106, 57, 0.12);
  overflow: hidden;
}

.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  color: var(--color-gray);
  font-weight: 600;
  transition: background-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: rgba(142, 199, 66, 0.14);
  color: var(--color-dark-green);
}

.mobile-subnav {
  background-color: rgba(142, 199, 66, 0.06);
}

.mobile-subnav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem 0.55rem 1.85rem;
  color: var(--color-gray);
  font-size: 0.875rem;
  transition: color 0.2s ease-out, background-color 0.2s ease-out;
}

.mobile-subnav a:hover,
.mobile-subnav a.active {
  color: var(--color-dark-green);
}

/* Hamburger */
.hamburger {
  display: none; /* hidden on desktop by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -0.4rem;
  background: none;
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  padding: 0;
}

/* Show hamburger only below lg (1024px) — matches Tailwind lg: breakpoint */
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 22px;
  background-color: var(--color-dark-green);
  border-radius: 2px;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== Footer — compact premium panel ========== */
.site-footer {
  background-color: var(--color-dark-green);
  color: var(--color-white);
}

.footer-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.15fr);
  column-gap: clamp(1.25rem, 2.5vw, 2.25rem);
  row-gap: clamp(1.5rem, 2.75vw, 2rem);
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-logo {
  /* Official asset only — monochrome white treatment for dark green footer
     keeps built-in "Legends of the future" slogan readable without recoloring the file */
  /*filter: brightness(0) invert(1);*/
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 15.5rem);
  max-height: clamp(5rem, 11vw, 7.25rem);
  object-fit: contain;
  object-position: left center;
}

.footer-brand-link {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}

.footer-brand-slogan {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-light-green);
}

.footer-brand-descriptor {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand-description {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  max-width: 26em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.22s ease;
}

.site-footer a:hover {
  color: var(--color-light-green);
}

.footer-heading {
  color: var(--color-light-green);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.35;
  transform: translateX(0);
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-light-green);
  transform: translateX(3px);
}

.footer-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-light-green);
  margin-bottom: 0.2rem;
}

.footer-contact-label i {
  font-size: 0.7rem;
  width: 0.9rem;
  text-align: center;
}

.footer-contact-value {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-value.is-address {
  white-space: pre-line;
}

.footer-contact-value a {
  transition: color 0.22s ease;
}

.footer-contact-value a:hover,
.footer-contact-value a:focus-visible {
  color: var(--color-light-green);
}

.footer-map {
  width: 100%;
  line-height: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-map:hover {
  border-color: rgba(142, 199, 66, 0.45);
  box-shadow: 0 4px 14px rgba(8, 106, 57, 0.35);
}

.footer-map iframe {
  width: 100%;
  height: clamp(7.5rem, 11vw, 9rem);
  border: 0;
  display: block;
}

.footer-bottom {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-block: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.footer-site-name {
  color: var(--color-light-green);
  transition: color 0.22s ease;
}

.footer-site-name:hover,
.footer-site-name:focus-visible {
  color: var(--color-white);
}

/* Tablet: 2-column footer */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Mobile: single stacked column */
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 1.35rem;
  }

  .footer-logo {
    max-width: min(100%, 14rem);
    max-height: clamp(5.25rem, 26vw, 6.75rem);
  }

  .footer-brand-description {
    max-width: none;
  }

  .footer-map iframe {
    height: 10.5rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}

/* Jellysoft credit — 18px word only, scale + white on hover */
.jellysoft-link {
  font-family: 'Satisfy', cursive;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-light-green) !important;
  text-decoration: none;
  display: inline-block;
  transform-origin: center;
  transition: color 280ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.jellysoft-link:hover,
.jellysoft-link:focus-visible {
  color: var(--color-white) !important;
  transform: scale(1.06);
}

.jellysoft-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Utility shadows using brand colors only */
.shadow-brand {
  box-shadow: 0 4px 16px var(--shadow-green);
}

.shadow-brand-lg {
  box-shadow: 0 8px 28px var(--shadow-green-hover);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card:hover,
  .btn:hover {
    transform: none;
  }
}

/* Image quality */
img {
  max-width: 100%;
  height: auto;
}

/* Form elements */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(109, 110, 93, 0.25);
  border-radius: 0.375rem;
  color: var(--color-gray);
  background-color: var(--color-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
  border-color: var(--color-mid-green);
  box-shadow: 0 0 0 3px rgba(0, 146, 71, 0.15);
  outline: none;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-dark-green);
  margin-bottom: 0.375rem;
}

/* ========== Hero Carousel ========== */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-gray);
}

.carousel-track {
  position: relative;
  width: 100%;
  /* Match Banner 1 natural size (4096×2714) so the full image is shown without cropping */
  aspect-ratio: 4096 / 2714;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 1;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Banner 1 has client text in the image (logo + bottom tagline) — no HTML caption on top */
.carousel-slide--image-text .carousel-caption {
  display: none !important;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  /* Full client image – no crop, no stretch */
}

/* Desktop / landscape tablet: cap track height so HEADER + HERO ≈ 100vh.
   Header = top-bar 32px + row 74px (≥768) / 78px (≥1000).
   When capped, the box is wider than the image ratio and object-fit: cover
   shows a controlled central crop. On mobile/portrait the aspect-ratio height
   is already smaller than the cap, so nothing changes.
   MUST come after the base .carousel-slide img rule to win the cascade. */
@media (min-width: 768px) {
  .carousel-track {
    max-height: calc(100vh - 106px);
  }

  .carousel-slide img {
    object-fit: cover;
    object-position: center center;
  }

  /* Banner 1: bias upward so the embedded NRS BUILDERS logo (upper-left)
     stays visible when the viewport height forces a top/bottom crop */
  .carousel-slide--image-text img {
    object-position: center 30%;
  }
}

@media (min-width: 1000px) {
  .carousel-track {
    max-height: calc(100vh - 110px);
  }
}

/* Soft gradient – left for caption + bottom for dots (light, not heavy) */
.carousel-fade {
  display: none; /* no overlay — show banner images cleanly */
}

/* Caption text – animates in when slide is active */
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 3.75rem;
  max-width: 100%;
  color: var(--color-white);
  pointer-events: none;
}

@media (min-width: 768px) {
  .carousel-caption {
    padding: 2rem 3rem 5rem 3.5rem;
    max-width: 40rem;
  }
}

.carousel-caption-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 3px rgba(142, 199, 66, 0.85), 0 2px 10px rgba(142, 199, 66, 0.55);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease 0.15s, transform 0.55s ease 0.15s;
}

.carousel-caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  max-width: 18ch;
  text-shadow:
    0 1px 2px rgba(142, 199, 66, 0.9),
    0 2px 14px rgba(142, 199, 66, 0.55);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease 0.28s, transform 0.55s ease 0.28s;
}

@media (min-width: 768px) {
  .carousel-caption-title {
    font-size: 2.35rem;
    max-width: 16ch;
  }
  .carousel-caption {
    padding: 2rem 3.5rem 5rem 3.5rem;
    max-width: 40rem;
  }
}

.carousel-caption-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(142, 199, 66, 0.85),
    0 2px 12px rgba(142, 199, 66, 0.5);
  max-width: 20rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease 0.4s, transform 0.55s ease 0.4s;
}

/* Light-green carousel text → white shadow */
.carousel-caption-tag.color-light-green,
.carousel-caption-title.color-light-green,
.carousel-caption-text.color-light-green,
.carousel-caption .text-brand-light,
.carousel-caption .carousel-caption-green {
  color: #8ec742;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 2px 12px rgba(255, 255, 255, 0.55) !important;
}

@media (min-width: 768px) {
  .carousel-caption-text {
    font-size: 1.0625rem;
  }
}

/* Animate in when slide becomes active */
.carousel-slide.is-active .carousel-caption-tag,
.carousel-slide.is-active .carousel-caption-title,
.carousel-slide.is-active .carousel-caption-text {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-caption-tag,
  .carousel-caption-title,
  .carousel-caption-text {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Navigation arrows — mobile: bottom corners (clear of text); desktop: vertical center */
/* Compact prev / next text controls */
.carousel-btn {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0.45rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-dark-green);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  top: auto;
  bottom: 0.85rem;
  transform: none;
}

.carousel-btn:hover {
  background-color: var(--color-white);
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.carousel-btn:active {
  transform: none;
}

.carousel-prev {
  left: 0.75rem;
}

.carousel-next {
  right: 0.75rem;
}

@media (min-width: 768px) {
  .carousel-btn {
    top: auto;
    bottom: 4.5rem;
    transform: none;
    width: auto;
    height: auto;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }
  .carousel-btn:hover {
    transform: none;
  }
  .carousel-btn:active {
    transform: none;
  }
  .carousel-prev {
    left: 1.25rem;
  }
  .carousel-next {
    right: 1.25rem;
  }
}

/* Dots — top center: clear of Banner 1 bottom tagline on all screens */
.carousel-dots {
  position: absolute;
  bottom: auto;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  border: 2px solid var(--color-white);
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 4px rgba(8, 106, 57, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease, width 0.25s ease, border-color 0.25s ease;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.55);
}

.carousel-dot.is-active {
  background-color: var(--color-light-green);
  border-color: var(--color-light-green);
  width: 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(142, 199, 66, 0.5);
}

/* Live region for screen readers */
.carousel-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion: instant switch, no auto */
@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
  }
}

/* ========== Services Cards ========== */
.service-card {
  border: 1px solid rgba(109, 110, 93, 0.1);
  background-color: var(--color-white);
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(142, 199, 66, 0.45);
}

/* Image header */
.service-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: rgba(109, 110, 93, 0.08);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 106, 57, 0.35) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Icon overlaid on image */
.service-icon-on-image {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  z-index: 2;
  background: var(--color-white);
  color: var(--color-dark-green);
  box-shadow: 0 4px 14px var(--shadow-green);
}

.service-card:hover .service-icon-wrap {
  transform: translateY(-3px);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
}

.service-card:hover .service-icon-on-image {
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 18px var(--shadow-green-hover);
}

/* Mobile services track */
.services-track {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.services-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  background-color: rgba(109, 110, 93, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.services-dot.is-active {
  background-color: var(--color-mid-green);
  width: 1.25rem;
  border-radius: 9999px;
}

/* ========== Why Choose Us ========== */
.why-card {
  border: 1px solid rgba(109, 110, 93, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
  border-color: rgba(142, 199, 66, 0.4);
}

.why-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.18), rgba(0, 146, 71, 0.1));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.why-card:hover .why-icon {
  transform: translateY(-3px);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
}

/* ========== Testimonials ========== */
.testimonial-card {
  border: 1px solid rgba(109, 110, 93, 0.14);
}

.testimonials-track {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* ========== Custom Scrollbar (brand colors only) ========== */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-mid-green) rgba(109, 110, 93, 0.12);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(109, 110, 93, 0.08);
}

::-webkit-scrollbar-thumb {
  background: var(--color-mid-green);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-dark-green);
  background-clip: padding-box;
  border: 2px solid transparent;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* ========== Form fields (no transform on inputs) ========== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(109, 110, 93, 0.25);
  border-radius: 0.375rem;
  color: var(--color-gray);
  background-color: var(--color-white);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  /* Explicitly no transform */
  transform: none !important;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(0, 146, 71, 0.45);
  transform: none !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-mid-green);
  box-shadow: 0 0 0 3px rgba(0, 146, 71, 0.18);
  outline: none;
  transform: none !important;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.form-error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #dc2626;
  font-weight: 500;
}

.form-error[hidden] {
  display: none;
}

/* Textarea: vertical resize only (column expand) */
.form-textarea {
  min-height: 7.5rem;
  resize: vertical;
  max-height: 20rem;
}

/* Autofill – brand colors only (no blue/yellow browser defaults) */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-select:-webkit-autofill,
.form-textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--color-gray);
  -webkit-box-shadow: 0 0 0 1000px rgba(142, 199, 66, 0.12) inset;
  box-shadow: 0 0 0 1000px rgba(142, 199, 66, 0.12) inset;
  caret-color: var(--color-dark-green);
  transition: background-color 99999s ease-out;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-dark-green);
  margin-bottom: 0.375rem;
}

.form-label .required {
  color: var(--color-mid-green);
}

/* Select arrow */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23086a39'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Submit loading state */
.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
  position: relative;
}

.btn.is-loading::after {
  content: '';
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--color-white);
  border-radius: 50%;
  margin-left: 0.5rem;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after {
    animation: none;
  }
}

/* ========== Toast (responsive) ========== */
.site-toast {
  position: fixed;
  z-index: 100;
  left: 1rem;
  right: 1rem;
  bottom: 1.25rem;
  max-width: 26rem;
  margin-inline: auto;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background-color: var(--color-white);
  border: 1.5px solid rgba(109, 110, 93, 0.15);
  box-shadow: 0 8px 28px var(--shadow-green);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.site-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 640px) {
  .site-toast {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    margin-inline: 0;
    max-width: 24rem;
  }
}

.toast-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.toast-success .toast-icon {
  color: var(--color-mid-green);
}

.toast-error .toast-icon {
  color: #dc2626;
}

.toast-success {
  border-color: rgba(0, 146, 71, 0.35);
}

.toast-error {
  border-color: rgba(220, 38, 38, 0.4);
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-message {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-gray);
  font-weight: 500;
}

.toast-close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--color-gray);
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toast-close:hover {
  background-color: rgba(142, 199, 66, 0.15);
  color: var(--color-dark-green);
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition: none;
    transform: none;
  }
}

/* Contact info cards */
.contact-info-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.18), rgba(0, 146, 71, 0.1));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* Back to top – official NRS architectural mark (to-up.png) */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-dark-green);
  border-radius: 0.875rem;
  box-shadow: 0 4px 14px var(--shadow-green);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease-out,
    background-color 0.3s ease-out,
    border-color 0.3s ease-out;
  padding: 0;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: var(--color-light-green);
  border-color: var(--color-light-green);
  box-shadow: 0 8px 22px var(--shadow-green-hover);
  transform: translateY(-2px) scale(1.07);
}
.back-to-top:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 12px var(--shadow-green);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--color-mid-green);
  outline-offset: 3px;
}
.back-to-top-mark {
  width: 66%;
  height: 66%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transition:
    filter 0.3s ease-out,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.back-to-top:hover .back-to-top-mark,
.back-to-top:focus-visible .back-to-top-mark {
  filter: brightness(0) invert(1);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .back-to-top {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.01ms, visibility 0.01ms;
    transform: none;
  }
  .back-to-top:hover,
  .back-to-top.is-visible,
  .back-to-top:active {
    transform: none;
  }
  .back-to-top-mark {
    transition: none;
    transform: none;
  }
}

/* ========== Section construction pattern backgrounds ========== */
.section-pattern {
  position: relative;
  overflow: hidden;
}

.section-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image:
    /* subtle grid like blueprint / scaffolding */
    linear-gradient(rgba(8, 106, 57, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 106, 57, 0.9) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-pattern::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: min(320px, 50vw);
  height: min(280px, 45vw);
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background:
    /* abstract building blocks */
    linear-gradient(var(--color-dark-green), var(--color-dark-green)) 20% 40% / 18% 55% no-repeat,
    linear-gradient(var(--color-mid-green), var(--color-mid-green)) 42% 25% / 22% 70% no-repeat,
    linear-gradient(var(--color-dark-green), var(--color-dark-green)) 68% 50% / 16% 45% no-repeat;
}

.section-pattern > * {
  position: relative;
  z-index: 1;
}

.section-pattern-alt {
  position: relative;
  overflow: hidden;
}

.section-pattern-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(142, 199, 66, 0.5) 0, transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(0, 146, 71, 0.4) 0, transparent 32%),
    linear-gradient(rgba(8, 106, 57, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 106, 57, 0.7) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

.section-pattern-alt > * {
  position: relative;
  z-index: 1;
}

/* ========== Why Choose Us – premium cards ========== */
.why-card {
  border: 1px solid rgba(109, 110, 93, 0.1);
  background: var(--color-white);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-light-green), var(--color-mid-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  border-color: rgba(142, 199, 66, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow-green);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.22), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(8, 106, 57, 0.08);
}

.why-card:hover .why-icon {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

/* ========== Testimonials – premium editorial cards ========== */
.testimonial-card.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(109, 110, 93, 0.14);
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 2px 8px rgba(8, 106, 57, 0.04),
    0 1px 3px rgba(109, 110, 93, 0.05);
  /* ENTER: ~300ms responsive lift; EXIT: slightly slower settle */
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    border-color 0.35s ease 0.05s;
  will-change: transform;
}

.testimonial-card.card:hover,
.testimonial-card.card:focus-within {
  transform: translate3d(0, -6px, 0) scale(1.008);
  border-color: rgba(8, 106, 57, 0.32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 28px rgba(8, 106, 57, 0.09),
    0 6px 14px rgba(109, 110, 93, 0.07);
  /* ENTER overrides: quicker, no exit delay */
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    border-color 0.25s ease 0s;
}

/* Editorial quote mark — upper-right, low weight */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.55rem;
  right: 1.15rem;
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(142, 199, 66, 0.22);
  pointer-events: none;
  z-index: 1;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    opacity 0.4s ease;
}

.testimonial-card.card:hover::before,
.testimonial-card.card:focus-within::before {
  transform: translate3d(0, -2px, 0) scale(1.03);
  color: rgba(142, 199, 66, 0.38);
}

/* Stars — rating indicator, not decoration */
.testimonial-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #8ec742;
  letter-spacing: 0.04em;
  font-size: 0.8125rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.testimonial-stars i {
  font-size: 0.8125rem;
}

.testimonial-card.card:hover .testimonial-stars {
  color: #8ec742;
  opacity: 0.95;
}

/* Quote body — primary content */
.testimonial-card .testimonial-quote,
.testimonial-card > p {
  position: relative;
  z-index: 1;
  color: #6d6e5d;
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
  line-height: 1.7;
  letter-spacing: 0.005em;
  font-weight: 400;
  max-width: 38em;
  flex: 1 1 auto;
}

/* Author footer — settles at bottom */
.testimonial-card footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-top: 1px solid rgba(142, 199, 66, 0.18);
}

.testimonial-card footer cite {
  color: #086a39;
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
}

.testimonial-card footer p {
  color: #6d6e5d;
  font-size: clamp(0.6875rem, 0.9vw, 0.75rem);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* Circular initials avatar */
.testimonial-avatar {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.18), rgba(0, 146, 71, 0.22));
  border: 1px solid rgba(8, 106, 57, 0.28);
  color: #086a39;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  line-height: 1;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    border-color 0.35s ease 0.05s,
    background 0.35s ease;
}

.testimonial-card.card:hover .testimonial-avatar,
.testimonial-card.card:focus-within .testimonial-avatar {
  transform: translate3d(0, -1px, 0) scale(1.04);
  border-color: rgba(8, 106, 57, 0.4);
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.28), rgba(0, 146, 71, 0.3));
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    border-color 0.25s ease 0s,
    background 0.25s ease 0s;
}

/* Scroll reveal — one-shot staggered entrance */
.testimonial-card.why-reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    border-color 0.35s ease 0.05s;
  transition-delay: calc(var(--why-i, 0) * 70ms);
}

.testimonial-card.why-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Keep reveal + hover coordinated once visible */
.testimonial-card.why-reveal.is-visible:hover,
.testimonial-card.why-reveal.is-visible:focus-within {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    border-color 0.25s ease 0s,
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

/* Responsive grid: large tablet 2-up, desktop 3-up (equal columns) */
#testimonials-preview .md\:grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 1024px) {
  #testimonials-preview .md\:grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.2vw, 2rem);
  }
}

/* Testimonials page grid — equal columns via minmax + responsive gap */
.testimonials-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .testimonials-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .testimonials-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile carousel cards — full-ish width, no h-scroll */
#testimonials-carousel .testimonials-track {
  gap: clamp(0.75rem, 3vw, 1rem);
}

#testimonials-carousel .testimonial-card {
  width: min(85vw, 22rem);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card.card,
  .testimonial-card.card:hover,
  .testimonial-card.card:focus-within,
  .testimonial-card.why-reveal,
  .testimonial-card.why-reveal.is-visible,
  .testimonial-card::before,
  .testimonial-avatar,
  .testimonial-card.card:hover .testimonial-avatar,
  .testimonial-card.card:focus-within .testimonial-avatar,
  .testimonial-card.card:hover::before,
  .testimonial-card.card:focus-within::before {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition-delay: 0s !important;
  }

  .testimonial-card.why-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== Service single pages ========== */
.service-sidebar {
  position: sticky;
  top: 5.5rem;
}

.service-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.service-nav-link:hover {
  color: var(--color-dark-green);
  background-color: rgba(142, 199, 66, 0.1);
  border-left-color: var(--color-light-green);
}

.service-nav-link.is-active {
  color: var(--color-dark-green);
  background-color: rgba(142, 199, 66, 0.14);
  border-left-color: var(--color-mid-green);
  font-weight: 600;
}

.service-item-card {
  border: 1px solid rgba(109, 110, 93, 0.1);
  background: var(--color-white);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px var(--shadow-green);
  border-color: rgba(142, 199, 66, 0.4);
}

.service-item-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.1));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-item-card:hover .service-item-icon {
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
}

.enquiry-sidebar-card {
  background: linear-gradient(160deg, var(--color-dark-green) 0%, var(--color-mid-green) 100%);
  border-radius: 0.875rem;
  padding: 1.5rem;
  color: var(--color-white);
}

.enquiry-sidebar-card .btn {
  background: var(--color-white);
  color: var(--color-dark-green);
  border-color: var(--color-white);
}

.enquiry-sidebar-card .btn:hover {
  background: var(--color-light-green);
  color: var(--color-dark-green);
  border-color: var(--color-light-green);
}

.service-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
}

@media (max-width: 639.98px) {
  .service-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }
}

.service-index-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 0.625rem;
  background: var(--color-white);
  border: 1px solid rgba(142, 199, 66, 0.22);
  border-radius: 0.625rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-index-card:hover {
  border-color: rgba(142, 199, 66, 0.55);
  box-shadow: 0 4px 12px rgba(8, 106, 57, 0.08);
}

.service-index-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(142, 199, 66, 0.14);
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.service-index-name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark-green);
}

.service-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.5rem 1rem;
}

@media (max-width: 639.98px) {
  .service-check-list {
    grid-template-columns: 1fr;
  }
}

.service-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.service-check-list li i {
  color: var(--color-mid-green);
  font-size: 0.75rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}


.carousel-cta {
  pointer-events: auto;
  margin-top: 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease 0.5s, transform 0.55s ease 0.5s, background-color 0.25s ease, box-shadow 0.25s ease;
}
.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}


/* ========== Premium home service cards ========== */
.service-card-premium {
  border: 1px solid rgba(109, 110, 93, 0.12);
  background: var(--color-white);
}

.service-card-premium:hover {
  border-color: rgba(142, 199, 66, 0.5);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon,
.service-card:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  border-radius: 0.75rem;
}

.service-item-card {
  padding: 1.5rem;
}


/* Hamburger — mobile only (overrides any display:flex) */
.hamburger { display: none !important; }
@media (max-width: 1199.98px) {
  .hamburger { display: flex !important; }
}


/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text shadow for contrast */
.carousel-caption {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  top: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem;
  max-width: min(34rem, 90vw);
  color: #ffffff;
  pointer-events: none;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0;
    bottom: 0;
    justify-content: center;
    padding: 2rem 3rem 2rem 3.5rem;
    max-width: 38rem;
  }
}

.carousel-caption-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ec742;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.carousel-caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.5rem;
  max-width: 16ch;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.22s, transform 0.5s ease 0.22s;
}

@media (min-width: 768px) {
  .carousel-caption-title {
    font-size: 2.35rem;
  }
}

.carousel-caption-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffffff;
  max-width: 20rem;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

@media (min-width: 768px) {
  .carousel-caption-text {
    font-size: 1.05rem;
  }
}

.carousel-cta {
  pointer-events: auto;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-caption-tag,
.carousel-slide.is-active .carousel-caption-title,
.carousel-slide.is-active .carousel-caption-text,
.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-caption-tag,
  .carousel-caption-title,
  .carousel-caption-text,
  .carousel-cta {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Larger service detail icons */
.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  border-radius: 0.75rem;
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

/* Hamburger — mobile only (authoritative, fixes desktop double-nav) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay — image remains natural */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text shadow for contrast */
.carousel-caption {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  top: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem;
  max-width: min(34rem, 90vw);
  color: #ffffff;
  pointer-events: none;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0;
    bottom: 0;
    justify-content: center;
    padding: 2rem 3rem 2rem 3.5rem;
    max-width: 38rem;
  }
}

.carousel-caption-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ec742;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.carousel-caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.5rem;
  max-width: 16ch;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.22s, transform 0.5s ease 0.22s;
}

@media (min-width: 768px) {
  .carousel-caption-title {
    font-size: 2.35rem;
  }
}

.carousel-caption-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffffff;
  max-width: 20rem;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

@media (min-width: 768px) {
  .carousel-caption-text {
    font-size: 1.05rem;
  }
}

.carousel-cta {
  pointer-events: auto;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-caption-tag,
.carousel-slide.is-active .carousel-caption-title,
.carousel-slide.is-active .carousel-caption-text,
.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-caption-tag,
  .carousel-caption-title,
  .carousel-caption-text,
  .carousel-cta {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Larger service detail icons */
.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  border-radius: 0.75rem;
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}
PY

# Also update logo in mobile-menu if path uses constant
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative fix) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# Update mobile-menu logo if different pattern
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger — mobile only (authoritative) */
.hamburger {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .hamburger {
    display: flex !important;
  }
}

/* No hero overlay */
.carousel-fade {
  display: none !important;
}

/* Hero caption — bottom on mobile, centered left on desktop; text-shadow for contrast */
.carousel-caption {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem !important;
  max-width: min(34rem, 90vw) !important;
  color: #ffffff !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    justify-content: center !important;
    padding: 2rem 3rem 2rem 3.5rem !important;
    max-width: 38rem !important;
  }
}

.carousel-caption-tag {
  color: #8ec742 !important;
  text-shadow: 0 1px 4px rgba(8, 106, 57, 0.65) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(8, 106, 57, 0.75), 0 2px 14px rgba(8, 106, 57, 0.45) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(8, 106, 57, 0.5) !important;
}

.carousel-cta {
  pointer-events: auto !important;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide.is-active .carousel-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-premium-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.12));
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-premium:hover .service-premium-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(145deg, var(--color-light-green), var(--color-mid-green));
  color: var(--color-white);
  box-shadow: 0 6px 16px var(--shadow-green);
}

.service-item-icon-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}
PY

# mobile menu logo
sed -i 's|NRS_Builders_Logo\.jpg|NRS_Builders_Logo.png|g' /home/workdir/artifacts/includes/mobile-menu.php

ls /home/workdir/artifacts/assets/images/

/* Hamburger mobile only */
.hamburger{display:none!important}
@media (max-width: 1199.98px){.hamburger{display:flex!important}}

/* No hero overlay */
.carousel-fade{display:none!important}

/* Hero caption positioning */
.carousel-caption{position:absolute!important;left:0!important;bottom:0!important;top:auto!important;z-index:4!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;padding:1.25rem 1.25rem 3.75rem!important;max-width:min(34rem,90vw)!important;color:#fff!important;pointer-events:none!important}
@media (min-width:768px){.carousel-caption{top:0!important;bottom:0!important;justify-content:center!important;padding:2rem 3rem 2rem 3.5rem!important;max-width:38rem!important}}
.carousel-caption-tag{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.45)!important}
.carousel-caption-title{color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.5),0 2px 14px rgba(0,0,0,.3)!important}
.carousel-caption-text{color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.35)!important}
.carousel-cta{pointer-events:auto!important;margin-top:1.1rem}
.service-premium-icon{width:3.75rem;height:3.75rem;border-radius:1rem;background:linear-gradient(145deg,rgba(142,199,66,.2),rgba(0,146,71,.12));color:var(--color-dark-green);display:flex;align-items:center;justify-content:center;font-size:1.5rem;transition:transform .3s ease,background .3s ease,color .3s ease,box-shadow .3s ease}
.service-card-premium:hover .service-premium-icon{transform:translateY(-4px) scale(1.05);background:linear-gradient(145deg,var(--color-light-green),var(--color-mid-green));color:#fff;box-shadow:0 6px 16px var(--shadow-green)}
.service-item-icon-lg{width:3.25rem;height:3.25rem;font-size:1.25rem}

/* ========== Premium design system 2026 ========== */
:root {
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
}

h1, h2, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Regular ampersand — Playfair Display's decorative & differs from body text */
.amp {
  font-family: var(--font-body);
}

/* Top contact bar */
.top-bar {
  background: linear-gradient(90deg, #086a39 0%, #009247 100%);
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.4;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
  padding: 0.35rem 0;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar-item i {
  color: #8ec742;
  font-size: 0.7rem;
}

.top-bar-item:hover {
  color: #8ec742;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 767.98px) {
  .top-bar-address span {
    max-width: 11rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-bar-email {
    display: none;
  }
}

/* Site header – glass / transparent feel */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109, 110, 93, 0.1);
  box-shadow: 0 1px 0 rgba(142, 199, 66, 0.15);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(8, 106, 57, 0.08);
}

/* Refined nav links */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6d6e5d;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: #009247;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 1px;
}

.nav-link:hover {
  color: #086a39;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #086a39;
  font-weight: 600;
}

.nav-chevron {
  font-size: 0.55rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 13.5rem;
  background: #ffffff;
  border: 1px solid rgba(109, 110, 93, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(8, 106, 57, 0.12);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  color: #6d6e5d;
  border-radius: 0.35rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(142, 199, 66, 0.12);
  color: #086a39;
  transform: translateX(3px);
}

.nav-dropdown-item.is-active {
  background: rgba(0, 146, 71, 0.1);
  color: #086a39;
  font-weight: 600;
}

.btn-nav {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

/* Section eyebrow + display headings */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #009247;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: #8ec742;
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #086a39;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #6d6e5d;
  max-width: 36rem;
}

/* Tighter premium section spacing */
.section-pad {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Why Choose Us – compact vertical rhythm (home) */
#why-choose-us.why-choose-section,
.why-choose-section {
  padding-top: 2rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 768px) {
  #why-choose-us.why-choose-section,
  .why-choose-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Why Choose Us – editorial asymmetric */
.why-editorial {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .why-editorial {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.why-feature-panel {
  position: relative;
  background: linear-gradient(145deg, #086a39 0%, #009247 100%);
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(8, 106, 57, 0.25);
}

.why-feature-panel::before {
  content: '';
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 70%;
  height: 80%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 140'%3E%3Crect x='20' y='40' width='22' height='70' fill='%238ec742' opacity='0.25'/%3E%3Crect x='48' y='20' width='28' height='90' fill='%238ec742' opacity='0.35'/%3E%3Crect x='82' y='50' width='18' height='60' fill='%238ec742' opacity='0.2'/%3E%3C/svg%3E") no-repeat right bottom;
  background-size: contain;
  pointer-events: none;
}

.why-feature-panel .section-eyebrow {
  color: #8ec742;
}

.why-feature-panel .section-eyebrow::before {
  background: #8ec742;
}

.why-feature-panel h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.why-benefit {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(109, 110, 93, 0.12);
  transition: transform 0.25s ease;
}

.why-benefit:last-child {
  border-bottom: none;
}

.why-benefit:hover {
  transform: translateX(4px);
}

.why-benefit-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, rgba(142, 199, 66, 0.2), rgba(0, 146, 71, 0.1));
  color: #086a39;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.why-benefit:hover .why-benefit-icon {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(145deg, #8ec742, #009247);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(8, 106, 57, 0.2);
}

.why-benefit h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #086a39;
  margin-bottom: 0.15rem;
}

.why-benefit p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6d6e5d;
}

/* Contact panel */
.contact-panel {
  background: linear-gradient(160deg, rgba(142, 199, 66, 0.08) 0%, rgba(255, 255, 255, 1) 40%);
  border: 1px solid rgba(109, 110, 93, 0.1);
  border-radius: 1rem;
  padding: 1.75rem;
}

.contact-block {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(109, 110, 93, 0.1);
}

.contact-block:last-child {
  border-bottom: none;
}

.contact-block-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  background: #086a39;
  color: #8ec742;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.contact-block strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #009247;
  margin-bottom: 0.2rem;
}

.contact-block p,
.contact-block address,
.contact-block a {
  font-size: 0.9rem;
  color: #6d6e5d;
  line-height: 1.45;
  font-style: normal;
  margin: 0;
}

.contact-block a:hover {
  color: #086a39;
}

.contact-map-full {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(109, 110, 93, 0.12);
  box-shadow: 0 8px 28px rgba(8, 106, 57, 0.1);
}

.contact-map-full iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .contact-map-full iframe {
    height: 600px;
  }
}

/* Sidebar / Home contact map */
.contact-map-card {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(109, 110, 93, 0.12);
  box-shadow: 0 8px 28px rgba(8, 106, 57, 0.1);
  background: #ffffff;
}

.contact-map-card iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .contact-map-card iframe {
    height: 320px;
  }
}

/* Toast premium */
.site-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 18rem;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  background: #ffffff;
  border-radius: 0.85rem;
  border: 1px solid rgba(109, 110, 93, 0.12);
  box-shadow: 0 12px 40px rgba(8, 106, 57, 0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  pointer-events: none;
}

.site-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-toast.is-success .toast-icon {
  background: rgba(142, 199, 66, 0.2);
  color: #009247;
}

.site-toast.is-error .toast-icon {
  background: rgba(109, 110, 93, 0.15);
  color: #6d6e5d;
}

.toast-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.9rem;
  color: #086a39;
  font-weight: 500;
  line-height: 1.4;
}

.toast-meta {
  font-size: 0.75rem;
  color: #6d6e5d;
  margin-top: 0.2rem;
}

.toast-close {
  background: none;
  border: none;
  color: #6d6e5d;
  cursor: pointer;
  padding: 0.15rem;
  margin-left: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.toast-close:hover {
  opacity: 1;
  color: #086a39;
}

/* Form errors – gray + warning icon */
.form-error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #6d6e5d;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.form-error::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: #6d6e5d;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #6d6e5d;
  box-shadow: 0 0 0 3px rgba(109, 110, 93, 0.12);
}

/* 3D card tilt subtle */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-3d:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 18px 40px rgba(8, 106, 57, 0.14);
}

/* Decorative SVG divider */
.arch-divider {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.arch-divider svg {
  height: 1.25rem;
  width: auto;
  color: #8ec742;
  opacity: 0.7;
}

/* ============================================================
/* ============================================================
   PHASE 1 — Navigation / Header (composition pass)
   Authority block. Brand colors only. No gradients. No glassmorphism.
   Breakpoint: desktop ≥1000px (covers 1024 with classic scrollbars).
   Targets: utility 30–34px · main 72–82px · total ~102–116px
   ============================================================ */

/* --- Utility bar: compact 32px, #086a39 / #ffffff only --- */
.top-bar {
  background: #086a39;
  color: #ffffff;
  font-size: 0.6875rem;
  line-height: 1.2;
  letter-spacing: 0.012em;
  border-bottom: none;
  background-image: none;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  height: 32px;
  padding: 0;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.top-bar-item i {
  color: #ffffff;
  font-size: 0.6rem;
  opacity: 0.8;
}

.top-bar-item:hover {
  color: #ffffff;
  opacity: 0.9;
}

.top-bar-address {
  min-width: 0;
  flex: 1 1 auto;
}

.top-bar-address span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.top-bar-right::before {
  content: '';
  width: 1px;
  height: 0.65rem;
  background: rgba(255, 255, 255, 0.32);
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .top-bar-inner {
    height: 30px;
    gap: 0.75rem;
  }

  .top-bar-right {
    gap: 0.75rem;
  }

  .top-bar-address span {
    max-width: 10.5rem;
  }

  .top-bar-email {
    display: none;
  }
}

/* --- Main header shell + architectural baseline rule --- */
.site-header {
  background: #ffffff;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Thin light-green signature line at header bottom */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(142, 199, 66, 0.55);
  pointer-events: none;
  z-index: 2;
}

.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: none;
}

/* --- Header row: logo authority + baseline nav relationship --- */
.site-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

@media (min-width: 768px) {
  .site-header-row {
    height: 74px;
    gap: 1.75rem;
  }
}

@media (min-width: 1000px) {
  .site-header-row {
    height: 95px;
    gap: 2rem;
  }
}

/* Brand block: official logo + NRS BUILDERS title as one unit */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  flex-shrink: 0;
  min-width: 0;
  max-width: calc(100% - 3.5rem);
  text-decoration: none;
  padding-bottom: 0;
}

.header-brand-title {
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-brand-title.brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  color: var(--color-dark-green);
}

.brand-nrs,
.brand-builders {
  color: var(--color-dark-green);
}
.brand-title-main {
    display: block;
    font-family: "DM Sans", sans-serif !important;
    font-size: 42px !important;
    text-align: center;
    font-weight: 800 !important;
    line-height: 1;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.header-center-brand .brand-title-sub {
    display: block;
    margin:0;

    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: 0.8px;
    text-transform: none !important;

    color: #6d6e5d;
    white-space: nowrap;
}
.site-header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.header-center-brand {
    justify-self: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*.header-center-brand .brand-title-main {*/
/*    display: block;*/
/*    font-family: "DM Sans", sans-serif;*/
/*    font-size: 32px;*/
/*    font-weight: 800;*/
/*    line-height: 1;*/
/*    white-space: nowrap;*/
/*}*/

/*.header-center-brand .brand-title-sub {*/
/*    display: block;*/
/*    margin-top: 6px;*/
/*    font-family: "DM Sans", sans-serif;*/
/*    font-size: 10px;*/
/*    font-weight: 600;*/
/*    line-height: 1.2;*/
/*    letter-spacing: 0.8px;*/
/*    text-transform: uppercase;*/
/*    color: #6d6e5d;*/
/*    white-space: nowrap;*/
/*}*/
/* Near-square source (2400×2010): size by height only; image untouched */
.logo-img {
  
  width: auto;
  max-width: min(11.5rem, 25vw);
  display: block;
  flex-shrink: 0;
}
.about-brand-title,
.about-preview-title {
    margin: 0;
    width: 100%;
    font-family: "DM Sans", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #086a39;
}

/*.about-brand-subtitle,*/
/*.about-preview-subtitle {*/
/*    margin: 10px 0 22px;*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    font-family: "DM Sans", sans-serif;*/
/*    font-size: 10px;*/
/*    font-weight: 700;*/
/*    line-height: 1.5;*/
/*    letter-spacing: 1.2px;*/
/*    text-transform: uppercase;*/
/*    color: #6d6e5d;*/
/*}*/
.about-brand-subtitle,
.about-preview-subtitle {
    margin: 6px 0;
    width: 100%;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    color: #086a39;
}

.about-tagline,
.about-preview-tagline {
    margin: 0 0 20px;
    width: 100%;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #086a39;
}
@media (min-width: 768px) {
  .logo-img {
   
    max-width: 9rem;
  }

  .header-brand-title {
    font-size: 33px;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 1000px) {


  .header-brand-title {
    font-size: 38px;
    letter-spacing: 0.02em;
  }
}

/* Stacked brand words always: each line half logo height (two lines = logo height) */
@media (max-width: 767.98px) {
  .header-brand-title.brand-name {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    font-size: 28px;
    line-height: 1;
  }

  .logo-link {
    max-width: calc(100% - 3rem);
  }
}

@media (max-width: 389.98px) {
  .logo-link {
    gap: 8px;
    max-width: calc(100% - 2.75rem);
  }

  .header-brand-title {
    font-size: 26px;
    letter-spacing: 0.01em;
  }

  .header-brand-title.brand-name {
    font-size: 26px;
  }

  .logo-img {
    height: 65px;
  }
}

/* --- Desktop nav: shown ≥1200px (full-size brand needs the room); hamburger below --- */
.site-header .site-nav {
  display: none;
  align-items: center;
  gap: 0.05rem;
  margin-left: auto;
  min-width: 0;
}

@media (min-width: 1200px) {
  .site-header .site-nav {
    display: flex;
  }
}

/* --- Hamburger: mobile only, 44px touch target --- */
.site-header .hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-self: center;
  margin-right: -0.5rem;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #086a39;
}

@media (max-width: 1199.98px) {
  .site-header .hamburger {
    display: flex;
  }
}

.site-header .hamburger span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: #086a39;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header .hamburger:hover span {
  background: #009247;
}

.site-header .hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header .hamburger.open span:nth-child(2) {
  opacity: 0;
}

.site-header .hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Nav links: baseline-aligned, stronger weight --- */
.site-header .nav-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.7rem 0.7rem 0.75rem;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.2;
  color: #6d6e5d;
  text-decoration: none;
  background: none;
  border: none;
  transition: color 0.16s ease;
}

/* Short architectural active/hover segment on the baseline rule */
.site-header .nav-link::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0;
  height: 2px;
  background: #009247;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.16s ease;
}

.site-header .nav-link:hover {
  color: #009247;
}

.site-header .nav-link:hover::after {
  transform: scaleX(1);
}

.site-header .nav-link.is-active {
  color: #086a39;
}

.site-header .nav-link.is-active::after {
  transform: scaleX(1);
  background: #009247;
}

.site-header .nav-link:focus-visible {
  outline: 2px solid #009247;
  outline-offset: 2px;
}

.nav-chevron {
  font-size: 0.48rem;
  opacity: 0.65;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* --- Dropdown: white, thin brand border, restrained — opens BELOW trigger --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.15rem);
  bottom: auto;
  left: 0;
  min-width: 13rem;
  max-width: 16rem;
  padding: 0.35rem;
  background: #ffffff;
  border: 1px solid rgba(8, 106, 57, 0.18);
  border-radius: 0.3rem;
  box-shadow: 0 8px 22px rgba(8, 106, 57, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 60;
}

/* Invisible bridge so moving from parent down to panel never closes it */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -0.55rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6d6e5d;
  text-decoration: none;
  border-radius: 0.2rem;
  border-left: 2px solid transparent;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.nav-dropdown-item:hover {
  background: rgba(142, 199, 66, 0.12);
  color: #086a39;
  border-left-color: #8ec742;
}

.nav-dropdown-item.is-active {
  background: rgba(0, 146, 71, 0.08);
  color: #086a39;
  font-weight: 600;
  border-left-color: #009247;
}

.nav-dropdown-item:focus-visible {
  outline: 2px solid #009247;
  outline-offset: -2px;
}

/* --- Enquiry CTA: taller than links, primary, restrained --- */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  align-self: flex-end;
  margin-left: 0.85rem;
  padding: 0.68rem 1.15rem;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #ffffff;
  background: #086a39;
  border: 1px solid #086a39;
  border-radius: 0.25rem;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.btn-nav-cta .cta-arrow {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  transform: translateY(0.5px);
  transition: transform 0.16s ease;
}

.btn-nav-cta:hover {
  background: #009247;
  border-color: #009247;
  color: #ffffff;
}

.btn-nav-cta:hover .cta-arrow {
  transform: translate(3px, 0.5px);
}

.btn-nav-cta:active {
  background: #8ec742;
  border-color: #8ec742;
  color: #086a39;
}

.btn-nav-cta:focus-visible {
  outline: 2px solid #009247;
  outline-offset: 2px;
}

.btn-nav-cta-block {
  display: flex;
  width: 100%;
  margin-left: 0;
  margin-bottom: 0;
  align-self: auto;
  padding: 0.75rem 1.1rem;
}

/* --- Mobile menu panel: premium architecture drawer --- */
.mobile-menu-overlay {
  background: rgba(8, 106, 57, 0.38);
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.mobile-menu-panel {
  width: min(24rem, 86vw);
  max-width: 400px;
  background: #ffffff;
  border-left: 1px solid rgba(8, 106, 57, 0.14);
  box-shadow: -8px 0 28px rgba(8, 106, 57, 0.14);
  transition: transform 0.3s ease-out;
  overflow: hidden;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0.7rem 1.05rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(142, 199, 66, 0.4);
}

.mobile-menu-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.mobile-menu-logo img {
  height: 3rem;
  width: auto;
  max-width: 9.5rem;
  display: block;
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -0.35rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.4rem;
  color: #086a39;
  cursor: pointer;
  transition: background 0.22s ease-out, color 0.22s ease-out, transform 0.22s ease-out;
}

.mobile-menu-close:hover {
  background: rgba(142, 199, 66, 0.14);
  color: #009247;
}

.mobile-menu-close:active {
  transform: scale(0.96);
}

.mobile-menu-close:focus-visible {
  outline: 2px solid #009247;
  outline-offset: 2px;
}

/* Location strip */
.mobile-menu-location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  background: #086a39;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}

.mobile-menu-location i {
  flex-shrink: 0;
  color: #8ec742;
  font-size: 0.85rem;
}

.mobile-menu-location span {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
  white-space: pre-line;
}

/* Single controlled scroll region */
.mobile-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav {
  padding: 0.35rem 0 0.5rem;
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(142, 199, 66, 0.22);
}

.mobile-nav-parent-row {
  display: flex;
  align-items: stretch;
}

.mobile-nav-parent-row .mobile-nav-parent {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  border: none;
  color: #086a39;
  cursor: pointer;
  transition: background 0.22s ease-out, color 0.22s ease-out;
}

.mobile-nav-toggle svg {
  transition: transform 0.22s ease-out;
}

.mobile-nav-group.is-open .mobile-nav-toggle svg {
  transform: rotate(180deg);
}

.mobile-nav-toggle:hover {
  background: rgba(142, 199, 66, 0.1);
  color: #009247;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid #009247;
  outline-offset: -2px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #6d6e5d;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.22s ease-out, color 0.22s ease-out, border-color 0.22s ease-out, transform 0.22s ease-out;
}

.mobile-nav-link:hover {
  background: rgba(142, 199, 66, 0.1);
  color: #086a39;
  transform: translateX(2px);
}

.mobile-nav-link:active {
  background: rgba(142, 199, 66, 0.16);
}

.mobile-nav-link.active {
  background: rgba(142, 199, 66, 0.18);
  color: #086a39;
  border-left-color: #009247;
  font-weight: 700;
}

.mobile-nav-parent {
  font-weight: 700;
  color: #086a39;
}

/* Accordion subnav */
.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  background: rgba(142, 199, 66, 0.05);
  border-bottom: none;
  transition: max-height 0.22s ease-out;
}

.mobile-nav-group.is-open .mobile-subnav {
  max-height: 16rem;
  padding-bottom: 0.35rem;
}

.mobile-subnav .mobile-subnav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0.55rem 1.15rem 0.55rem 1.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6d6e5d;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.22s ease-out, background 0.22s ease-out, border-color 0.22s ease-out, transform 0.22s ease-out;
}

.mobile-subnav .mobile-subnav-link:hover {
  color: #086a39;
  background: rgba(142, 199, 66, 0.1);
  transform: translateX(2px);
}

.mobile-subnav .mobile-subnav-link:active {
  background: rgba(142, 199, 66, 0.16);
}

.mobile-subnav .mobile-subnav-link.active {
  color: #086a39;
  font-weight: 700;
  border-left-color: #009247;
  background: rgba(142, 199, 66, 0.18);
}

.mobile-nav-link:focus-visible,
.mobile-subnav-link:focus-visible {
  outline: 2px solid #009247;
  outline-offset: -2px;
}

/* Bottom CTA — always in panel chrome, not nested scroll */
.mobile-menu-cta {
  flex-shrink: 0;
  padding: 0.9rem 1.15rem 1.15rem;
  background: #ffffff;
  border-top: 1px solid rgba(142, 199, 66, 0.35);
}

.mobile-menu-cta .btn-nav-cta-block {
  min-height: 48px;
  font-size: 0.82rem;
  border-radius: 0.35rem;
  box-shadow: 0 6px 16px rgba(8, 106, 57, 0.16);
  transition: background 0.22s ease-out, border-color 0.22s ease-out, transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.mobile-menu-cta .btn-nav-cta-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8, 106, 57, 0.2);
}

.mobile-menu-cta .btn-nav-cta-block:active {
  transform: translateY(0) scale(0.99);
}

/* Narrow phones: keep address readable */
@media (max-width: 389.98px) {
  .mobile-menu-panel {
    width: min(22rem, 88vw);
  }

  .mobile-menu-location {
    font-size: 0.78rem;
    padding: 0.6rem 1rem;
  }

  .mobile-nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Reduced motion: nav + mobile menu */
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-link,
  .site-header .nav-link::after,
  .nav-dropdown-panel,
  .nav-chevron,
  .btn-nav-cta,
  .btn-nav-cta .cta-arrow,
  .mobile-menu-panel,
  .mobile-menu-overlay,
  .mobile-nav-link,
  .mobile-subnav,
  .mobile-nav-toggle svg,
  .mobile-menu-close,
  .site-header .hamburger span {
    transition: none !important;
  }
}

/* ========== Premium floating service cards (Home + Services) ========== */
.service-card.service-card-refined,
.service-card-refined {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(109, 110, 93, 0.16);
  border-radius: 14px;
  background: #ffffff;
  /* layered depth: thin outer line + soft green/gray lift (no black) */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 0 0 1px rgba(142, 199, 66, 0.08),
    0 4px 14px rgba(8, 106, 57, 0.06),
    0 2px 6px rgba(109, 110, 93, 0.05);
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-card-refined:hover,
.service-card-refined:focus-within {
  transform: translate3d(0, -8px, 0) scale(1.015);
  border-color: rgba(8, 106, 57, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 0 0 1px rgba(142, 199, 66, 0.22),
    0 14px 28px rgba(8, 106, 57, 0.1),
    0 6px 14px rgba(109, 110, 93, 0.08);
}

/* Image layer — two-corner geometry: top-left + bottom-right only */
.service-card-refined .service-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px 0 18px 0;
  background-color: rgba(109, 110, 93, 0.08);
  /* tiny hairline border on bottom + right only */
  border-right: 1px solid rgba(8, 106, 57, 0.18);
  border-bottom: 1px solid rgba(8, 106, 57, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-refined:hover .service-card-image,
.service-card-refined:focus-within .service-card-image {
  border-right-color: rgba(8, 106, 57, 0.4);
  border-bottom-color: rgba(8, 106, 57, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.service-card-refined .service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-refined:hover .service-card-image img,
.service-card-refined:focus-within .service-card-image img {
  transform: scale(1.055);
}

/* Content layer */
.service-card-refined .service-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 1.4rem 1.5rem;
  text-align: left;
}

/* Icon as floating architectural marker on image/content boundary */
.service-card-refined .service-card-icon {
  position: relative;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  margin-bottom: 1rem;
  border-radius: 10px 3px 10px 3px;
  background: #ffffff;
  color: #086a39;
  border: 1px solid rgba(8, 106, 57, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 12px rgba(8, 106, 57, 0.1),
    0 1px 3px rgba(109, 110, 93, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-refined:hover .service-card-icon,
.service-card-refined:focus-within .service-card-icon {
  transform: translate3d(0, -3px, 0) scale(1.04);
  background: #086a39;
  color: #ffffff;
  border-color: rgba(8, 106, 57, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 16px rgba(8, 106, 57, 0.14),
    0 2px 4px rgba(109, 110, 93, 0.08);
}

.service-card-refined .service-card-title {
  font-family: var(--font-display, Georgia, Cambria, "Times New Roman", serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #086a39;
  margin: 0 0 0.5rem;
}

.service-card-refined .service-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6d6e5d;
  margin: 0 0 1.15rem;
  max-width: 36ch;
}

/* Directional architectural control */
.service-card-refined .service-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #009247;
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid rgba(0, 146, 71, 0.2);
  padding-bottom: 2px;
  transition:
    color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-refined .service-card-action:hover,
.service-card-refined .service-card-action:focus-visible {
  color: #086a39;
  border-bottom-color: rgba(8, 106, 57, 0.45);
  gap: 0.8rem;
}

.service-card-refined .service-card-arrow {
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-refined:hover .service-card-arrow,
.service-card-refined:focus-within .service-card-arrow {
  transform: translateX(4px);
}

.service-card-refined .service-card-action:focus-visible {
  outline: 2px solid #009247;
  outline-offset: 3px;
}

/* Touch devices: premium static cards, no sticky hover transforms */
@media (hover: none), (pointer: coarse) {
  .service-card-refined,
  .service-card-refined:hover,
  .service-card-refined:focus-within {
    transform: none;
    will-change: auto;
  }

  .service-card-refined .service-card-image img,
  .service-card-refined:hover .service-card-image img,
  .service-card-refined:focus-within .service-card-image img {
    transform: none;
    transition: none;
  }

  .service-card-refined .service-card-icon,
  .service-card-refined:hover .service-card-icon,
  .service-card-refined:focus-within .service-card-icon {
    transform: none;
  }

  .service-card-refined .service-card-arrow,
  .service-card-refined:hover .service-card-arrow,
  .service-card-refined:focus-within .service-card-arrow {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card-refined,
  .service-card-refined .service-card-image,
  .service-card-refined .service-card-image img,
  .service-card-refined .service-card-icon,
  .service-card-refined .service-card-action,
  .service-card-refined .service-card-arrow {
    transition: none !important;
    will-change: auto;
  }

  .service-card-refined,
  .service-card-refined:hover,
  .service-card-refined:focus-within {
    transform: none !important;
  }

  .service-card-refined .service-card-image img,
  .service-card-refined:hover .service-card-image img,
  .service-card-refined:focus-within .service-card-image img {
    transform: none !important;
  }

  .service-card-refined .service-card-icon,
  .service-card-refined:hover .service-card-icon,
  .service-card-refined:focus-within .service-card-icon {
    transform: none !important;
  }

  .service-card-refined .service-card-arrow,
  .service-card-refined:hover .service-card-arrow,
  .service-card-refined:focus-within .service-card-arrow {
    transform: none !important;
  }
}

/* ========== Why Choose Us — sticky panel + micro-interactions ========== */
:root {
  --site-header-h: 68px;
}

@media (min-width: 768px) {
  :root {
    --site-header-h: 74px;
  }
}

@media (min-width: 1000px) {
  :root {
    --site-header-h: 78px;
  }
}

.why-feature-panel {
  will-change: transform, opacity;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  /* clip decorative geometry; never a scroll container */
  overflow: hidden;
}

@media (min-width: 1024px) {
  .why-editorial .why-feature-panel {
    position: -webkit-sticky;
    position: sticky;
    /* clear sticky header + comfortable breathing room */
    top: calc(var(--site-header-h, 78px) + 0.85rem);
    /* NO max-height, NO overflow: auto — card fits its content, page scrolls */
    height: auto;
    max-width: 100%;
    overflow: hidden;
    align-self: start;
  }
}

/* Panel entrance (once) */
.why-feature-panel.why-reveal {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-feature-panel.why-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Decorative geometry — extremely subtle ambient motion */
.why-feature-panel::before {
  animation: why-geo-drift 7s ease-in-out infinite alternate;
}

.why-feature-panel::after {
  content: '';
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  width: 10px;
  height: 28px;
  background: rgba(142, 199, 66, 0.35);
  border-radius: 2px;
  pointer-events: none;
  animation: why-geo-pulse 5.5s ease-in-out infinite alternate;
}

@keyframes why-geo-drift {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.9;
  }
  to {
    transform: translate3d(0, -4px, 0);
    opacity: 1;
  }
}

@keyframes why-geo-pulse {
  from {
    opacity: 0.45;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0.85;
    transform: translate3d(0, -3px, 0);
  }
}

/* Learn More — restrained */
.why-feature-panel .btn-secondary {
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-feature-panel .btn-secondary:hover,
.why-feature-panel .btn-secondary:focus-visible {
  transform: translate3d(0, -2px, 0);
}

.why-feature-panel .btn-secondary i {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-feature-panel .btn-secondary:hover i,
.why-feature-panel .btn-secondary:focus-visible i {
  transform: translateX(3px);
}

/* Benefit rows — scroll reveal */
.why-editorial .why-benefit {
  opacity: 1;
  transform: none;
}

.why-editorial .why-benefit.why-reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
  transition-delay: calc(var(--why-i, 0) * 65ms);
}

.why-editorial .why-benefit.why-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Benefit hover — coordinated, not row jump */
.why-editorial .why-benefit {
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-editorial .why-benefit:hover,
.why-editorial .why-benefit:focus-within {
  transform: translate3d(3px, 0, 0);
  border-bottom-color: rgba(8, 106, 57, 0.28);
}

.why-editorial .why-benefit:hover .why-benefit-icon,
.why-editorial .why-benefit:focus-within .why-benefit-icon {
  transform: translate3d(0, -1px, 0) scale(1.03);
}

.why-editorial .why-benefit:hover h3,
.why-editorial .why-benefit:focus-within h3 {
  color: #009247;
}

.why-editorial .why-benefit h3 {
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active benefit nearest viewport center (subtle) */
.why-editorial .why-benefit.is-active {
  border-bottom-color: rgba(8, 106, 57, 0.35);
}

.why-editorial .why-benefit.is-active .why-benefit-icon {
  background: rgba(142, 199, 66, 0.28);
  box-shadow: 0 2px 8px rgba(8, 106, 57, 0.1);
}

.why-editorial .why-benefit.is-active h3 {
  color: #086a39;
}

@media (max-width: 1023px) {
  .why-editorial .why-feature-panel {
    position: static;
    max-height: none;
    overflow: hidden;
  }

  .why-editorial .why-benefit:hover,
  .why-editorial .why-benefit:focus-within {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-feature-panel::before,
  .why-feature-panel::after {
    animation: none !important;
  }

  .why-feature-panel.why-reveal,
  .why-editorial .why-benefit.why-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }

  .why-editorial .why-benefit,
  .why-editorial .why-benefit:hover,
  .why-editorial .why-benefit:focus-within,
  .why-editorial .why-benefit-icon,
  .why-feature-panel .btn-secondary,
  .why-feature-panel .btn-secondary i {
    transition: none !important;
    transform: none !important;
  }

  /* sticky remains functional on desktop */
  @media (min-width: 1024px) {
    .why-editorial .why-feature-panel {
      position: sticky;
    }
  }
}

/* ========== Sticky left contact card (Home + Enquiry + Contact) ========== */
.contact-sticky-col {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Never a scroll container */
.contact-sticky-col,
.contact-sticky-col .contact-panel {
  overflow: visible;
  max-height: none;
}

/* Sticky only while the layout is two-column (lg / 1024px+) */
@media (min-width: 1024px) {
  .contact-sticky-col {
    position: -webkit-sticky;
    position: sticky;
    /* clears sticky header (--site-header-h) + breathing room */
    top: calc(var(--site-header-h, 78px) + 0.85rem);
    align-self: start;
    height: auto;
    max-width: 100%;
    /* no overflow: auto/scroll — page is the only scroll surface */
    overflow: visible;
  }

  .contact-sticky-col .contact-panel {
    height: auto;
    max-height: none;
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile / stacked: normal document flow */
@media (max-width: 1023px) {
  .contact-sticky-col {
    position: static;
  }
}

/* ========== Service single pages — refined (kept separate per page) ========== */
.svc-refine {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  /* stretch (not start): aside must span full row height so the sticky
     sidebar inside it has room to travel while main content scrolls */
  align-items: stretch;
}

@media (min-width: 1024px) {
  .svc-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.svc-main {
  min-width: 0;
}

.svc-media {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(109, 110, 93, 0.12);
  box-shadow: 0 14px 34px rgba(8, 106, 57, 0.1);
  aspect-ratio: 16 / 9;
  background: rgba(142, 199, 66, 0.06);
}

.svc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-media:hover img {
  transform: scale(1.03);
}

.svc-index {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.svc-index .service-index-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.svc-index .service-index-card:hover {
  transform: translateY(-3px);
}

.svc-index .service-index-icon {
  transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.svc-index .service-index-card:hover .service-index-icon {
  transform: translateY(-2px);
}

.svc-copy {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.svc-copy p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-gray);
  text-align: justify;
}

.svc-copy p:last-child {
  margin-bottom: 0;
}

.svc-copy strong {
  color: var(--color-dark-green);
  font-weight: 600;
}

.svc-check {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(142, 199, 66, 0.06);
  border: 1px solid rgba(142, 199, 66, 0.22);
  border-radius: 0.875rem;
  list-style: none;
}

.svc-check .service-check-list,
ul.svc-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 767.98px) {
  .svc-check .service-check-list,
  ul.svc-check {
    grid-template-columns: 1fr;
  }
}

.svc-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray);
}

.svc-check li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(142, 199, 66, 0.22);
  color: var(--color-dark-green);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Sidebar — sticky, never a scroll container */
.svc-layout > aside {
  min-width: 0;
}

.svc-sidebar {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
  max-height: none;
}

@media (min-width: 1024px) {
  .svc-sidebar {
    position: -webkit-sticky;
    position: sticky;
    /* --site-header-h: 68 / 74 / 78px — at ≥1024 header is 78px + breathing room */
    top: calc(var(--site-header-h, 78px) + 0.85rem);
    height: auto;
    overflow: visible;
    max-height: none;
  }
}

.svc-side-card {
  background: var(--color-white);
  border: 1px solid rgba(109, 110, 93, 0.12);
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(8, 106, 57, 0.05);
}

.svc-side-label {
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark-green);
  background: rgba(142, 199, 66, 0.12);
  border-bottom: 1px solid rgba(109, 110, 93, 0.1);
}

.svc-side-card .service-nav-link {
  border-left-width: 3px;
  transform: translateX(0);
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.svc-side-card .service-nav-link:hover {
  transform: translateX(3px);
}

.svc-side-card .service-nav-link.is-active {
  box-shadow: inset 3px 0 0 var(--color-mid-green);
}

.svc-cta {
  background: linear-gradient(160deg, var(--color-dark-green) 0%, var(--color-mid-green) 100%);
  border: 1px solid rgba(142, 199, 66, 0.28);
  border-radius: 0.875rem;
  padding: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(8, 106, 57, 0.16);
}

.svc-cta h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.svc-cta p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.svc-cta .btn {
  width: 100%;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-dark-green);
  border-color: var(--color-white);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-cta .btn i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.svc-cta .btn:hover {
  background: var(--color-light-green);
  border-color: var(--color-light-green);
  color: var(--color-dark-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 106, 57, 0.18);
}

.svc-cta .btn:hover i {
  transform: translateX(4px);
}

/* ----- Architecture: precise / structured ----- */
.svc-refine--arch .svc-media {
  border-radius: 0.5rem 1.25rem 0.5rem 1.25rem;
}

.svc-refine--arch .svc-index .service-index-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.svc-refine--arch .svc-index .service-index-card {
  border-radius: 0.4rem 0.75rem 0.4rem 0.75rem;
  padding: 0.9rem 0.55rem;
}

.svc-refine--arch .svc-index .service-index-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.4rem;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .svc-refine--arch .svc-index .service-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .svc-refine--arch .svc-index .service-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- Construction: strong / technical ----- */
.svc-refine--build .svc-media {
  border-radius: 0.375rem;
  border-width: 2px;
  border-color: rgba(8, 106, 57, 0.22);
  box-shadow: 0 16px 36px rgba(8, 106, 57, 0.14);
}

.svc-refine--build .svc-index .service-index-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.svc-refine--build .svc-index .service-index-card {
  border-radius: 0.5rem;
  padding: 1rem 0.7rem;
  border-color: rgba(8, 106, 57, 0.16);
}

.svc-refine--build .svc-index .service-index-card:hover {
  border-color: rgba(8, 106, 57, 0.4);
  box-shadow: 0 8px 18px rgba(8, 106, 57, 0.1);
}

.svc-refine--build .svc-index .service-index-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.45rem;
  background: rgba(0, 146, 71, 0.12);
  color: var(--color-mid-green);
}

.svc-refine--build .svc-index .service-index-card:hover .service-index-icon {
  background: var(--color-mid-green);
  color: var(--color-white);
}

@media (max-width: 767.98px) {
  .svc-refine--build .svc-index .service-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- Interior Works: refined / spatial (10 items) ----- */
.svc-refine--interior .svc-media {
  border-radius: 1.25rem 1.25rem 0.5rem 0.5rem;
}

.svc-refine--interior .svc-index .service-index-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.svc-refine--interior .svc-index .service-index-card {
  border-radius: 0.75rem;
  padding: 0.8rem 0.45rem;
  gap: 0.4rem;
  border-color: rgba(0, 146, 71, 0.16);
}

.svc-refine--interior .svc-index .service-index-name {
  font-size: 0.75rem;
  font-weight: 600;
}

.svc-refine--interior .svc-index .service-index-icon {
  width: 1.95rem;
  height: 1.95rem;
  font-size: 0.8rem;
  border-radius: 0.55rem;
}

.svc-refine--interior .svc-index .service-index-card:hover {
  border-color: rgba(0, 146, 71, 0.42);
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .svc-refine--interior .svc-index .service-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .svc-refine--interior .svc-index .service-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
}

@media (max-width: 389.98px) {
  .svc-refine .svc-index .service-index-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Hero final overrides (must stay last) ========== */
.carousel-fade { display: none !important; }

.carousel-caption-tag {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(142, 199, 66, 0.85), 0 2px 10px rgba(142, 199, 66, 0.55) !important;
}

.carousel-caption-title {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(142, 199, 66, 0.9), 0 2px 14px rgba(142, 199, 66, 0.55) !important;
}

.carousel-caption-text {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(142, 199, 66, 0.85), 0 2px 12px rgba(142, 199, 66, 0.5) !important;
}

/* Light-green text keeps white shadow (wins over white-text rules) */
.carousel-caption-tag.color-light-green,
.carousel-caption-title.color-light-green,
.carousel-caption-text.color-light-green,
.carousel-caption .text-brand-light,
.carousel-caption .carousel-caption-green {
  color: #8ec742 !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 2px 12px rgba(255, 255, 255, 0.55) !important;
}

.carousel-btn,
.carousel-btn:hover,
.carousel-btn:active {
  width: auto !important;
  height: auto !important;
  border-radius: 0.35rem !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  opacity: 1 !important;
  visibility: visible !important;
  left: auto !important;
  bottom: auto !important;
}

/* Both controls on the right — never cover left-side caption text */
.carousel-prev {
  left: auto !important;
  right: 0.5rem !important;
  top: calc(50% - 2.35rem) !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

.carousel-next {
  left: auto !important;
  right: 0.5rem !important;
  top: calc(50% + 2.35rem) !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

@media (min-width: 768px) {
  .carousel-btn,
  .carousel-btn:hover,
  .carousel-btn:active {
    padding: 0.55rem 0.95rem !important;
    font-size: 0.75rem !important;
  }
  .carousel-prev {
    right: 1.25rem !important;
    top: calc(50% - 2.6rem) !important;
  }
  .carousel-next {
    right: 1.25rem !important;
    top: calc(50% + 2.6rem) !important;
  }
}

/* Big screens: slightly further in from the edge, always visible on load */
@media (min-width: 1280px) {
  .carousel-btn,
  .carousel-btn:hover,
  .carousel-btn:active {
    padding: 0.65rem 1.1rem !important;
    font-size: 0.8rem !important;
  }
  .carousel-prev {
    right: 1.75rem !important;
    top: calc(50% - 2.85rem) !important;
  }
  .carousel-next {
    right: 1.75rem !important;
    top: calc(50% + 2.85rem) !important;
  }
}

@media (min-width: 1600px) {
  .carousel-prev {
    right: 2.5rem !important;
  }
  .carousel-next {
    right: 2.5rem !important;
  }
}

@media (max-width: 768px){
    .header-center-brand{
        display:none;
    }
}

/* ========== Director Portrait — explicit sizing (Tailwind arbitrary values not compiled from PHP) ========== */
.director-portrait-wrap {
  width: 100%;
  max-width: 360px !important;
  height: 440px !important;
  padding: 0 !important;
}

.director-portrait {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

@media (min-width: 768px) {
  .director-portrait-wrap {
    max-width: 290px !important;
    height: 410px !important;
  }
}

@media (min-width: 1024px) {
  .director-portrait-wrap {
    max-width: 340px !important;
    height: 470px !important;
  }
}
/* ==========================================
   NRS BUILDERS - DIRECTOR PORTRAIT
========================================== */

.director-portrait-column {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main portrait frame */
.director-portrait-frame {
    position: relative;
    isolation: isolate;
    width: min(100%, 320px);
    margin: 0 auto;
}

/* Green architectural accent */
.director-portrait-frame::before {
    content: "";
    position: absolute;
    inset: 14px -12px -12px 14px;
    border: 2px solid #8ec742;
    border-radius: 22px;
    z-index: -1;
    opacity: 0.8;
}

/* Image container */
.director-portrait-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
    background: transparent;
    border: 1px solid rgba(8, 106, 57, 0.10);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(14, 55, 35, 0.13);
}

/* Original photograph */
.director-portrait {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
    object-position: center;
}

/* Desktop alignment */
@media (min-width: 1024px) {
    .director-portrait-column {
        justify-content: center;
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .director-portrait-frame {
        width: min(100%, 290px);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .director-portrait-frame {
        width: min(78vw, 260px);
    }

    .director-portrait-frame::before {
        inset: 9px -7px -7px 9px;
        border-radius: 18px;
    }

    .director-portrait-wrap {
        border-radius: 16px;
    }
}