@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --green: #0f5f2d;
  --green-dark: #0a321b;
  --green-bright: #018e01;
  --sand: #f4f0e7;
  --light: #f7faf5;
  --text: #243126;
  --muted: #5f6f63;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrapper { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { background: rgba(255,255,255,0.96); border-bottom: 1px solid rgba(15,95,45,0.12); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(8px); }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 26px; }
.logo img { width: 130px; height: auto; }
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 26px; }
.main-navigation a { font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--text); padding: 34px 0; border-bottom: 4px solid transparent; }
.main-navigation li.active a, .main-navigation a:hover { color: var(--green); border-bottom-color: var(--green-bright); }
.phone-button { background: var(--green); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.phone-button:hover { background: var(--green-dark); }
.menu-toggle { display: none; border: 0; background: var(--green); color: var(--white); padding: 10px 14px; border-radius: 8px; font-weight: 800; }

.hero { min-height: 640px; position: relative; display: flex; align-items: center; background: linear-gradient(90deg, rgba(5,32,18,.60), rgba(5,32,18,.20)), url('../images/banner.jpg') center 35% /cover no-repeat; color: var(--white); }
.hero-content { position: relative; max-width: 920px; padding: 110px 0; }
.eyebrow { color: #86c98a; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.04em; max-width: 860px; margin-bottom: 24px; font-weight: 800; }
.hero-intro { font-size: clamp(18px, 2.2vw, 24px); max-width: 780px; color: rgba(255,255,255,.90); margin-bottom: 34px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px; border-radius: 999px; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.btn-primary { background: var(--green-bright); color: var(--white); }
.btn-primary:hover { background: #016f01; transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--green-dark); }
.btn-secondary:hover { background: var(--sand); transform: translateY(-1px); }
.btn-secondary.dark { border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); }
.btn-secondary.dark:hover { background: rgba(255,255,255,.12); }

.credibility-band { background: var(--green-dark); color: var(--white); padding: 28px 0; }
.credibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.credibility-grid div { padding: 8px 24px; border-left: 3px solid var(--green-bright); }
.credibility-grid strong { display: block; font-size: 18px; margin-bottom: 3px; }
.credibility-grid span { color: rgba(255,255,255,.74); }

.section { padding: 78px 0; }
.services-section { background: var(--light); }
.section-heading { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.section-heading h2, .two-column h2, .cta-card h2 { color: var(--green-dark); font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin-bottom: 18px; font-weight: 800; letter-spacing: -.02em; }
.section-heading p { color: var(--muted); font-size: 18px; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.08); transition: transform .2s ease, box-shadow .2s ease; min-height: 100%; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card img { width: 50%; height: 190px; object-fit: cover; }
.service-card.feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.service-card.feature img { height: 100%; min-height: 310px; }
.service-card-content { padding: 24px; }
.service-card-content span { display: inline-block; color: var(--green); background: #e7f5e7; border-radius: 999px; padding: 6px 12px; font-size: 12px; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; }
.service-card h3 { color: var(--green); font-size: 24px; line-height: 1.1; text-transform: uppercase; margin-bottom: 12px; font-weight: 800; }
.service-card p { color: var(--muted); }

.about-preview { background: var(--white); }
.two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.two-column p { margin-bottom: 18px; color: var(--muted); font-size: 17px; }
.text-link { color: var(--green); font-weight: 800; border-bottom: 2px solid var(--green-bright); }
.feature-panel { background: var(--green-dark); color: var(--white); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.feature-panel h3 { font-size: 26px; margin-bottom: 18px; }
.feature-panel li { position: relative; padding-left: 28px; margin-bottom: 13px; color: rgba(255,255,255,.88); }
.feature-panel li:before { content: '✓'; position: absolute; left: 0; color: #8fe38f; font-weight: 800; }

.projects-cta { background: var(--sand); }
.cta-card { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: var(--white); border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow); }
.cta-card h2 { color: var(--white); }
.cta-card p { max-width: 760px; color: rgba(255,255,255,.80); font-size: 17px; }

.site-footer { background: #0a1d11; color: var(--white); padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 36px; }
.site-footer h4 { color: #8fe38f; margin-bottom: 12px; font-size: 18px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--white); }
.copyright { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; font-size: 14px; color: rgba(255,255,255,.6); }

.c-go-top { background-color: var(--green-bright); border: 2px solid #fff; bottom: 40px; display: none; font-size: 22px; padding: 3px 12px; position: fixed; right: 40px; text-decoration: none; z-index: 999; border-radius: 5px; }
.fa.fa-angle-up { color:#fff; font-size: 30px; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; min-height: auto; padding: 14px 0; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
  .main-navigation { display: none; order: 4; width: 100%; margin-left: 0; }
  .main-navigation.open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 0; }
  .main-navigation a { display: block; padding: 12px 0; border-bottom-width: 2px; }
  .phone-button { margin-left: 0; }
  .hero { min-height: 560px; }
  .credibility-grid, .service-cards, .two-column, .cta-card, .footer-grid { grid-template-columns: 1fr; }
  .service-card.feature { grid-column: auto; grid-template-columns: 1fr; }
  .service-card.feature img { min-height: 220px; }
}

@media (max-width: 620px) {
  .wrapper { width: min(100% - 24px, 1180px); }
  .logo img { width: 108px; }
  .phone-button { width: 100%; text-align: center; justify-content: center; }
  .hero-content { padding: 78px 0; }
  .section { padding: 54px 0; }
  .service-card img { height: 165px; }
  .cta-card { padding: 28px; }
}
/* VPAC service card layout override */

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card.feature,
.service-cards .service-card:nth-child(2) {
  grid-column: span 2;
}

.service-card.feature img,
.service-cards .service-card:nth-child(2) img {
    height: 180px;
    width: auto;
    max-width: 75%;
    object-fit: contain;
    display: block;
    margin: 25px auto 10px;
}

.service-cards .service-card:nth-child(n+3) img {
    height: 90px;
    width: auto;
    max-width: 60%;
    object-fit: contain;
    display: block;
    margin: 20px auto 10px;
}

.service-card img {
  width: 100%;
  object-fit: cover;
}

.service-cards .service-card:nth-child(n+3) .service-card-content {
  padding: 18px;
}

.service-cards .service-card:nth-child(n+3) p {
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.feature,
  .service-cards .service-card:nth-child(2) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}