:root {
  --forest-green: #1E5A24;
  --secondary-green: #2E7D32;
  --orange: #F97316;
  --charcoal: #1E1E1E;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --text: #1E1E1E;
  --muted: #555555;
  --border: #E3E3E3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

/* ── Header ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(30,90,36,0.07), 0 4px 24px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 10px 0;
  height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 70px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.main-nav a {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  background: rgba(30,90,36,0.07);
  color: var(--forest-green);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta,
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(249,115,22,0.22);
  letter-spacing: 0.01em;
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid rgba(30,90,36,0.16);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.28);
  opacity: 0.95;
}

.btn-secondary:hover {
  box-shadow: none;
  background: rgba(30,90,36,0.05);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(30,90,36,0.2);
  background: none;
  font: inherit;
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(30,90,36,0.05);
}

.mobile-menu-toggle svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  border-top: 1px solid rgba(30,90,36,0.08);
  padding: 0.75rem 0 1.25rem;
  gap: 0;
}

.mobile-menu a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 0 0.5rem;
  transition: background 0.15s ease;
}

.mobile-menu a:hover {
  background: rgba(30,90,36,0.05);
}

.mobile-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 0.9rem 1rem !important;
  border-radius: 999px !important;
  text-align: center;
  margin: 0.75rem 0.5rem 0 !important;
  box-shadow: 0 8px 24px rgba(249,115,22,0.22);
}

/* ── Section base ────────────────────────────────── */

section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 2.5vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0;
}

.section-header p {
  color: var(--muted);
  max-width: 740px;
  margin-top: 0.75rem;
  line-height: 1.8;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary-green);
  margin: 0 0 0.9rem;
}

.section-actions {
  margin-top: 1.8rem;
}

.link-cta {
  color: var(--forest-green);
  font-weight: 700;
}

/* ── Homepage hero ───────────────────────────────── */

.hero-section {
  padding: 140px 0 120px;
  background: #1E5A24;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero-section .eyebrow {
  color: rgba(255,255,255,0.7);
}

.hero-section .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy-block {
  max-width: 620px;
}

.hero-copy-block h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0.35rem 0 1.3rem;
  color: #FFFFFF;
}

.hero-text {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* ── Gallery ─────────────────────────────────────── */

.visual-panel {
  width: 100%;
  min-height: 480px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 32px;
  padding: 1.2rem;
  background: rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.gallery-main {
  width: 100%;
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-thumb {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.55;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

.gallery-thumb.active {
  border-color: rgba(255,255,255,0.6);
  opacity: 1;
}

/* ── Inner page hero ─────────────────────────────── */

.page-hero {
  background: linear-gradient(170deg, #1E5A24 0%, #162820 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-small .container {
  padding: 4.5rem 0 3.5rem;
}

.hero-small h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 2.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0.6rem 0 1rem;
  max-width: 820px;
}

.hero-small p {
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-small .eyebrow,
.page-hero .eyebrow {
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
}

/* ── Grid helpers ────────────────────────────────── */

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Generic card ────────────────────────────────── */

.card,
.panel-card {
  background: white;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(30,90,36,0.08);
}

.card h3 { margin-top: 0; }
.card p  { color: var(--muted); line-height: 1.8; }

/* ── Minimal cards (homepage services) ───────────── */

.minimal-card {
  background: #FFFFFF;
  border: 1px solid rgba(30,90,36,0.12);
  padding: 2rem;
  border-radius: 24px;
}

.minimal-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.minimal-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ── Proof / stat cards ──────────────────────────── */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.proof-card {
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(30,90,36,0.1);
  background: #FFFFFF;
}

.proof-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.proof-label {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

/* ── Services grid ───────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: #F7F9F7;
  border: 1px solid rgba(30,90,36,0.07);
  border-radius: 24px;
  padding: 2.2rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* ── Projects grid ───────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.project-card {
  background: #F7F9F7;
  border: 1px solid rgba(30,90,36,0.07);
  border-radius: 24px;
  padding: 2.2rem;
}

.project-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.project-card > p {
  color: var(--secondary-green);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1.1rem;
}

.project-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.project-card li {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 0.35rem;
}

/* ── Industry grid ───────────────────────────────── */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.industry-card {
  background: #F7F9F7;
  border: 1px solid rgba(30,90,36,0.07);
  border-radius: 24px;
  padding: 2.2rem;
}

.industry-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
}

.industry-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* ── About / profile grid ────────────────────────── */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.profile-card {
  background: #F7F9F7;
  border: 1px solid rgba(30,90,36,0.07);
  border-radius: 24px;
  padding: 2.2rem;
}

.profile-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.profile-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* ── Homepage service preview ────────────────────── */

.service-preview .grid {
  display: grid;
  gap: 1.5rem;
}

/* ── CTA banner ──────────────────────────────────── */

.simple-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0 5rem;
  padding: 2.8rem 3rem;
  border-radius: 28px;
  background: #F2F6F2;
  border: 1px solid rgba(30,90,36,0.08);
}

.simple-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.cta-text {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ── Contact page ────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  padding: 3rem 0 5rem;
}

.quote-form,
.contact-panel {
  background: white;
  border-radius: 22px;
  border: 1px solid rgba(30,90,36,0.08);
  padding: 2.2rem;
  box-shadow: 0 20px 50px rgba(16,32,22,0.05);
}

.form-group {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(30,90,36,0.18);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--charcoal);
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest-green);
}

.success-message {
  margin-top: 1rem;
  color: var(--forest-green);
  font-weight: 600;
}

.panel-card {
  background: white;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(30,90,36,0.08);
}

.panel-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}

.panel-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

/* ── Video section ───────────────────────────────── */

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-thumb {
  opacity: 0.8;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.video-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Footer ──────────────────────────────────────── */

.site-footer {
  background: var(--charcoal);
  color: #E9E9E9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 3.5rem 0 2rem;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.site-footer a { color: #C8D8C8; }

.site-footer h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1rem;
}

.site-footer p,
.site-footer a {
  font-size: 0.93rem;
  line-height: 2;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ──────────────────────────────────── */

/* Tablet ≤ 980px */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-section {
    padding: 80px 0 60px;
  }

  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .simple-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.2rem;
  }
}

/* Mobile ≤ 720px */
@media (max-width: 720px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .header-inner {
    height: 68px;
    padding: 0;
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .logo {
    height: 52px;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-cta {
    margin-top: 0.75rem;
    border-bottom: none !important;
  }

  .hero-section {
    padding: 56px 0 44px;
  }

  .hero-copy-block h1 {
    font-size: clamp(2.2rem, 7.5vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .proof-grid,
  .services-grid,
  .project-grid,
  .industry-grid,
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  }

  .simple-cta {
    padding: 1.75rem;
    margin: 0.5rem 0 3rem;
  }

  .simple-cta h2 {
    font-size: clamp(1.45rem, 5vw, 2rem);
  }

  section {
    padding: 2.5rem 0;
  }

  .hero-small .container {
    padding: 3rem 0 2.25rem;
  }

  .hero-small h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.4rem);
  }

  .proof-number {
    font-size: 2rem;
  }

  .proof-card,
  .service-card,
  .project-card,
  .industry-card,
  .profile-card,
  .minimal-card {
    padding: 1.6rem;
  }

  .contact-grid {
    padding: 1.5rem 0 3rem;
  }

  .quote-form,
  .contact-panel {
    padding: 1.75rem;
  }

  .gallery-thumb {
    height: 58px;
  }
}

/* Small phone ≤ 480px */
@media (max-width: 480px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .proof-grid,
  .services-grid,
  .project-grid,
  .industry-grid,
  .profile-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy-block h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .hero-small h1 {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
  }

  .proof-number {
    font-size: 1.8rem;
  }

  .proof-card,
  .service-card,
  .project-card,
  .industry-card,
  .profile-card,
  .minimal-card {
    padding: 1.4rem;
  }

  .simple-cta {
    padding: 1.5rem;
  }

  section {
    padding: 2rem 0;
  }
}
