* {
  box-sizing: border-box;
}

:root {
  --green: #4d964d;
  --green-bright: #65b666;
  --green-dark: #12331f;
  --black: #050505;
  --charcoal: #1b1b1b;
  --soft-black: #111111;
  --light: #efefef;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, #102d1f, #173d27, #102d1f);
  border-bottom: 1px solid rgba(101, 182, 102, 0.22);
}

.top-bar-inner {
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  min-height: 38px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.95);
}

.top-item:first-child {
  justify-content: flex-start;
}

.top-item:last-child {
  justify-content: flex-end;
}

.mini-icon {
  color: var(--green-bright);
  font-size: 16px;
  line-height: 1;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  
  
}
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.brand img {
  max-width: 280px;
  align-items: center;
  display: block;
  height: auto;

}

.brand-fallback {
  display: none;
  color: white;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.brand-fallback small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-top: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 300;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

.nav a {
  padding: 14px 0;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--green-bright);
}

.nav a.active {
  border-bottom: 4px solid var(--green);
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 32px;
  border: 2px solid var(--green);
  text-transform: uppercase;
  font-weight: 300;
  font-size: 14px;
  transition: 0.2s ease;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

.quote-btn:hover {
  background: var(--green);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 12px 18px;
  font-weight: 900;
  text-transform: uppercase;
  width: 120px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover,
.menu-open .menu-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.hero {
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-dark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-dark {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.97), rgba(0,0,0,0.74), rgba(0,0,0,0.24)),
    rgba(0,0,0,0.18);
}

.hero-content {
  position: relative;
  padding: 90px 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 25px;
  font-size: clamp(50px, 6vw, 88px);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 36px;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  min-width: 215px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  text-transform: uppercase;
  font-weight: 900;
  transition: 0.2s ease;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

.btn-fill {
  background: var(--green);
}

.btn-fill:hover {
  background: var(--green-bright);
}

.btn-outline {
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
}

.trust-strip {
  background: linear-gradient(90deg, #232323, #1b1b1b, #232323);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.line-icon {
  color: var(--green);
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
  
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  
}
.line-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.trust-item p {
  margin: 0;
  text-transform: uppercase;
  line-height: 1.35;
  font-size: 13px;
}

.trust-item strong {
  font-weight: 500;
}

.services,
.projects {
  background:
    radial-gradient(circle at center top, rgba(255,255,255,0.9), rgba(239,239,239,1) 55%),
    var(--light);
  color: #050505;
  padding: 34px 0 70px;
}

.section-title {
  text-align: center;
  margin-bottom: 35px;
}

.section-title.left {
  text-align: left;
}

.section-title span,
.copy-panel > span,
.project-card span {
  color: #3e8e3f;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.section-title h2,
.copy-panel h2 {
  margin: 5px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.96;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.section-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  background: var(--green);
  margin: 15px auto 0;
}

.section-title.left::after {
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 255px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

.service-card img,
.service-card .shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card > img {
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.35s ease;
}

.service-card:hover > img {
  transform: scale(1.06);
}


.shade {
  background: linear-gradient(0deg, rgba(0,0,0,0.97), rgba(0,0,0,0.58), rgba(0,0,0,0.18));
}

.service-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
}


.service-card h3 {
  margin: 0 0 14px;
  color: white;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
}

.service-card small {
  color: var(--green-bright);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.vrf,
.about,
.contact {
  padding: 95px 0;
}

.vrf {
  background: #111;
}

.about {
  background: #000;
}

.contact {
  background: var(--green-dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.image-panel {
  min-height: 470px;
  border: 0;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,0.45);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.vrf-slider {
  position: relative;
  background: #050505;
}

.vrf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 650ms ease, transform 1200ms ease;
  pointer-events: none;
}

.vrf-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.vrf-slider .vrf-slide img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.vrf-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,0.25), transparent 38%, rgba(255,255,255,0.02));
}

.vrf-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}

.vrf-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.vrf-dot.active {
  background: #ffffff;
  transform: scale(1.18);
}

.vrf-dot:hover,
.vrf-dot:focus-visible {
  background: rgba(255,255,255,0.72);
  outline: none;
}

.copy-panel p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0;
}

.benefits div {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 18px;
  font-weight: 800;

  display: flex;
  align-items: center;
  gap: 14px;
}

.benefits .line-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits .line-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}


.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stats div {
  background: #151515;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
}

.stats strong {
  display: block;
  color: var(--green-bright);
  font-size: 52px;
  font-weight: 900;
}

.stats span {
  display: block;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 8px;
}

.stats .wide {
  grid-column: 1 / -1;
}

.stats .wide strong {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
}

.stats .wide p {
  color: rgba(255,255,255,0.65);
}

.contact-links {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 800;
}

.contact-links p {
  margin: 0;
}

.quote-form {
  display: grid;
  gap: 15px;
  padding: 34px;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.11);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 0;
  padding: 17px 18px;
  font: inherit;
  color: #050505;
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-form button {
  border: 0;
  min-height: 58px;
  background: var(--green);
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  cursor: pointer;
}

.quote-form button:hover {
  background: var(--green-bright);
}

.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}
.social-icon {
  width: 28px;
  height: 28px;
}
.email-icon {
  width: 28px;
  height: 28px;
}
.phone-icon {
  width: 28px;
  height: 28px;
}
.approval-icon {
  width: 28px;
  height: 28px;
}
.location-icon {
  width: 28px;
  height: 28px;
}
.cog-icon {
  width: 28px;
  height: 28px;
}
.tennis-icon {
  width: 28px;
  height: 28px;
}
.building-icon {
  width: 28px;
  height: 28px;
}
.sports-icon {
  width: 28px;
  height: 28px;
}
.security-icon {
  width: 28px;
  height: 28px;
}
.resi-icon {
  width: 28px;
  height: 28px;
}
.commercial-icon {
  width: 28px;
  height: 28px;
}
.top-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  margin-left: auto;
}

.top-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.tennis-vic-link {
  color: var(--green-bright);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.tennis-vic-link:hover {
  color: #ffffff;
}

html {
  scroll-padding-top: 90px;
}

section[id] {
  scroll-margin-top: 90px;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 1300px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .top-item,
  .top-item:first-child,
  .top-item:last-child {
    justify-content: center;
  }

  html {
    scroll-padding-top: 55px;
  }

  section[id] {
    scroll-margin-top: 55px;
  }
}

@media (max-width: 1050px) {
  .wrap {
    width: min(100% - 42px, 1050px);
  }

  .main-header {
    z-index: 999;
  }

  .header-inner {
    position: relative;
    grid-template-columns: auto auto;
    min-height: 110px;
    align-items: center;
  }

  .brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 110px;
  }

  .brand img {
    max-height: 80px;
    width: auto;
    height: auto;
  }

  .quote-btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    width: 120px;
    min-width: 120px;
    min-height: 46px;
    padding: 12px 18px;
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--green);
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: normal;
    letter-spacing: normal;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-toggle:hover,
  body.menu-open .main-header .menu-toggle {
    background: transparent;
    border-color: var(--green-bright);
    color: var(--green-bright);
  }

  .nav {
    display: none;
  }

  body.menu-open .main-header .nav {
    display: grid;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    gap: 0;
    padding: 0;
    margin: 0;
    background: #050505;
    border: 0;
    border-radius: 0;
    box-shadow: 0 16px 32px rgba(0,0,0,0.58);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.32) #050505;
  }

  body.menu-open .main-header .nav::-webkit-scrollbar {
    width: 8px;
  }

  body.menu-open .main-header .nav::-webkit-scrollbar-track {
    background: #050505;
  }

  body.menu-open .main-header .nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.28);
    border-radius: 999px;
    border: 2px solid #050505;
  }

  body.menu-open .main-header .nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.42);
  }

  body.menu-open .main-header .nav a {
    display: block;
    width: 100%;
    padding: 18px 24px;
    text-align: center;
    color: #ffffff;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  body.menu-open .main-header .nav a:hover,
  body.menu-open .main-header .nav a.active {
    background: rgba(255,255,255,0.055);
    color: var(--green-bright);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  body.menu-open .main-header .nav a:last-child {
    border-bottom: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 26px 0;
  }

  .split,
  .project-grid {
    grid-template-columns: 1fr;
  }

  html {
    scroll-padding-top: 55px;
  }

  section[id] {
    scroll-margin-top: 55px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1500px);
  }

  .top-bar-inner,
  .trust-grid,
  .service-grid,
  .benefits,
  .stats {
    grid-template-columns: 1fr;
  }

  .top-bar-inner {
    padding: 10px 0;
    gap: 8px;
    font-size: 13px;
    justify-content: flex-end;
  }

  .top-icons {
    width: 100%;
    justify-content: flex-end;
    gap: 30px;
    margin-left: 0;
  }

  .top-item {
    justify-content: flex-start !important;
  }

  .header-inner {
    gap: 12px;
    min-height: 100px;
  }

  .brand {
    height: 100px;
  }

  .brand img {
    width: 180px;
    max-height: 76px;
    height: auto;
  }

  body.menu-open .main-header .nav {
    max-height: calc(100dvh - 100px);
  }

  .hero {
    min-height: 570px;
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-buttons,
  .btn {
    width: 100%;
  }

  .services,
  .projects {
    padding: 55px 0;
  }

  .vrf,
  .about,
  .contact {
    padding: 62px 0;
  }

  .service-card {
    min-height: 290px;
  }

  .trust-item {
    justify-content: flex-start;
  }

  .quote-form {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  html {
    scroll-padding-top: 50px;
  }

  section[id] {
    scroll-margin-top: 50px;
  }
}

/* === VRF SLIDER RESPONSIVE HEIGHTS === */
@media (max-width: 1050px) {
  .vrf-slider,
  .vrf-slider .vrf-slide img {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .vrf-slider,
  .vrf-slider .vrf-slide img {
    min-height: 320px;
  }

  .vrf-dots {
    bottom: 14px;
  }
}

/* === PROJECT HIGHLIGHTS - CASE CARD LAYOUT V5 === */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #050505;
  box-shadow: 0 12px 32px rgba(0,0,0,0.26);
}

.case-media {
  position: relative;
  display: block;
  width: 100%;
  height: 315px;
  min-height: 315px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #111111;
}

.case-media > img,
.case-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.case-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 650ms ease, transform 1200ms ease;
  pointer-events: none;
}

.case-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.case-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 158px;
  padding: 0 28px 28px;
  background: #050505;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.case-body-static {
  padding-top: 28px;
}

.case-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  padding: 14px 0 10px;
  margin: 0;
  background: transparent;
  border: 0;
}

.case-dot {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.case-dot.active {
  background: #ffffff;
  transform: scale(1.18);
}

.case-dot:hover,
.case-dot:focus-visible {
  background: rgba(255,255,255,0.72);
  outline: none;
}

.case-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.case-kicker {
  display: block;
  color: #3e8e3f;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.case-card h3 {
  margin: 9px 0 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.case-link {
  display: inline-block;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--green-bright);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.case-link:hover {
  color: #ffffff;
}

@media (max-width: 1050px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-media {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .case-media {
    height: 280px;
    min-height: 280px;
  }

  .case-body {
    min-height: 0;
    padding: 0 22px 22px;
  }

  .case-body-static {
    padding-top: 22px;
  }

  .case-card h3 {
    font-size: 28px;
  }
}

/* === DESKTOP PROJECT IMAGE LIGHTBOX === */
@media (min-width: 1051px) {
  body.lightbox-open {
    overflow: hidden;
  }

  .case-media {
    cursor: zoom-in;
  }

  .case-media:focus-visible {
    outline: 3px solid var(--green-bright);
    outline-offset: 4px;
  }

  .project-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 78px 42px 42px;
    background: rgba(0,0,0,0.92);
  }

  .project-lightbox.active {
    display: flex;
  }

  .project-lightbox-frame {
    width: min(1500px, 100%);
    max-height: calc(100dvh - 120px);
    padding: 16px;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 28px 80px rgba(0,0,0,0.72);
  }

  .project-lightbox-img {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 190px);
    object-fit: contain;
    background: #000000;
  }

  .project-lightbox-caption {
    margin: 14px 0 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
  }

  .project-lightbox-close {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 3001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 2px solid var(--green);
    background: #050505;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
  }

  .project-lightbox-close:hover,
  .project-lightbox-close:focus-visible {
    border-color: var(--green-bright);
    color: var(--green-bright);
    background: #000000;
    outline: none;
  }
}

@media (max-width: 1050px) {
  .project-lightbox {
    display: none !important;
  }

  .case-media {
    cursor: default;
  }
}



/* === SERVICE DETAIL SECTIONS === */
.service-detail {
  padding: 95px 0;
  color: #ffffff;
}

.detail-charcoal {
  background: #111111;
}

.detail-black {
  background: #000000;
}

.detail-green {
  background: var(--green-dark);
}

.split.reverse .image-panel {
  order: 2;
}

.split.reverse .copy-panel {
  order: 1;
}

.detail-benefits div {
  align-items: flex-start;
}

.detail-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  margin-top: -2px;
}

.service-detail .btn {
  margin-top: 4px;
}

@media (max-width: 1050px) {
  .split.reverse .image-panel,
  .split.reverse .copy-panel {
    order: initial;
  }
}

@media (max-width: 720px) {
  .service-detail {
    padding: 62px 0;
  }
}



/* Repairs slider PNGs should display fully without cropping */
#repairs-maintenance .vrf-slider {
  background: #ffffff;
}

#repairs-maintenance .vrf-slider .vrf-slide img {
  object-fit: contain;
  background: #ffffff;
}

#repairs-maintenance .vrf-slider::after {
  display: none;
}


/* Contact form security check */
.captcha-box {
  display: grid;
  gap: 9px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.captcha-box label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}


.captcha-message {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.captcha-message.is-error {
  color: #ffb4b4;
}

.captcha-message.is-success {
  color: var(--green-bright);
}


.recaptcha-box {
  overflow: hidden;
}

.recaptcha-box .g-recaptcha {
  transform-origin: left top;
}

@media (max-width: 380px) {
  .recaptcha-box .g-recaptcha {
    transform: scale(0.86);
  }
}


/* Contact form file upload */
.file-upload-box {
  display: grid;
  gap: 9px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.file-upload-box label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.file-upload-box label span {
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}

.file-upload-box input[type="file"] {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: #050505;
  cursor: pointer;
}

.file-upload-note {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.4;
}


/* Collapsible service detail sections */
.service-detail {
  display: none;
}

.service-detail.is-open {
  display: block;
  animation: serviceDetailReveal 320ms ease both;
}

@keyframes serviceDetailReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-detail-close-wrap {
  margin-top: 18px;
  text-align: left;
}

.service-detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 2px solid rgba(255,255,255,0.72);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-detail-close:hover,
.service-detail-close:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #050505;
  outline: none;
}

.detail-green .service-detail-close {
  border-color: rgba(255,255,255,0.86);
}

.detail-green .service-detail-close:hover,
.detail-green .service-detail-close:focus-visible {
  color: var(--green-dark);
}

@media (max-width: 720px) {
  .service-detail-close-wrap {
    margin-top: 16px;
  }

  .service-detail-close {
    width: 100%;
  }
}


.service-detail-close span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(-1px);
}
