:root {
  --green-700: #1f7a3a;
  --green-600: #2a9d4a;
  --green-500: #36b85a;
  --green-50:  #eaf7ee;
  --ink-900:   #0f1a14;
  --ink-700:   #2a3a31;
  --ink-500:   #5a6a61;
  --ink-300:   #9aa8a0;
  --line:      #e3e8e5;
  --bg:        #ffffff;
  --bg-alt:    #f6f9f7;
  --placeholder: #e6ebe8;
  --placeholder-text: #8a978f;
  --shadow-sm: 0 1px 2px rgba(15, 26, 20, 0.04), 0 1px 1px rgba(15, 26, 20, 0.03);
  --shadow-md: 0 6px 24px rgba(15, 26, 20, 0.06), 0 2px 6px rgba(15, 26, 20, 0.04);
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Placeholders */
.placeholder {
  background: var(--placeholder);
  color: var(--placeholder-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px dashed #cfd6d2;
  user-select: none;
}
.placeholder-lg { min-height: 320px; border-radius: var(--radius); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
}
.brand-text h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--green-700);
}
.brand-text p {
  font-size: 12px;
  margin: 0;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: var(--green-700); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle:hover { background: rgba(0, 0, 0, 0.04); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--green-50) 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-copy h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink-900);
}
.hero-copy .lead {
  font-size: 18px;
  color: var(--ink-700);
  margin: 0 0 28px;
  max-width: 52ch;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  width: 130%;
  max-width: none;
  height: auto;
  display: block;
  margin-right: -15%;
  margin-left: -5%;
  background: transparent;
  filter: drop-shadow(0 24px 40px rgba(15, 26, 20, 0.14))
          drop-shadow(0 6px 10px rgba(15, 26, 20, 0.06));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.04s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green-600);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--green-700); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-300); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-500);
  margin: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d6ddd8;
}
.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  background: var(--placeholder);
  display: block;
}
.service-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 15px;
}

/* Projects */
.projects-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.projects-copy h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}
.projects-copy p {
  font-size: 17px;
  color: var(--ink-700);
  margin: 0;
  max-width: 56ch;
}
.projects-media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 10px;
}
.contact-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-900);
  line-height: 1.6;
}
.contact-card a { color: var(--ink-900); }
.contact-card a:hover { color: var(--green-700); }

/* Footer */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  margin-top: 24px;
  display: flex;
  align-items: stretch;
}
.footer-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 160px;
  padding-bottom: 40px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 80px;
}
.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-logo {
  width: 64px;
  height: 64px;
  display: block;
  flex-shrink: 0;
}
.footer-brand-block strong {
  display: block;
  color: #ffffff;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.footer-brand-block span {
  display: block;
  font-size: 13px;
  color: #94A3B8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-tagline {
  margin: 0;
  font-size: 22px;
  color: #E2E8F0;
  max-width: 38ch;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.footer-cta {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #10B981;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  margin-bottom: auto;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer-contact-row:hover {
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
a.footer-contact-row:hover .footer-value { color: #10B981; }
.footer-contact-row--static { cursor: default; }
.footer-contact-row--static:hover { background: transparent; }

.footer-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}
.footer-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-row-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.footer-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #10B981;
}
.footer-value {
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-value sup { font-size: 0.6em; vertical-align: super; }
.footer-value--phones {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.footer-value--phones a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-value--phones a:hover { color: #10B981; }
.footer-sep { color: #475569; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #64748B;
}
.footer-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.footer-quick a {
  color: #CBD5E1;
  font-weight: 500;
}
.footer-quick a:hover { color: #10B981; text-decoration: none; }
.footer-quick span { color: #475569; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { width: 100%; margin: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .footer-shell { min-height: auto; padding-top: 80px; padding-bottom: 32px; }
  .footer-top { gap: 20px; margin-bottom: 48px; }
  .footer-logo { width: 52px; height: 52px; }
  .footer-brand-block strong { font-size: 22px; }
  .footer-tagline { font-size: 18px; }
  .footer-contact-row { gap: 16px; padding: 14px 4px; }
  .footer-icon { width: 42px; height: 42px; }
  .footer-icon svg { width: 20px; height: 20px; }
  .footer-value { font-size: 17px; }
  .footer-bottom { margin-top: 32px; padding-top: 24px; }
}

/* Mobile menu kicks in at tablet width to prevent header collisions */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px;
  }
  .nav.nav--open { display: flex; }
  .nav a {
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .header-inner { height: 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-copy h2 { font-size: 32px; }
  .placeholder-lg { min-height: 220px; }
  .service-img { height: 140px; }

  .footer-shell { padding-top: 64px; }
  .footer-top { margin-bottom: 36px; }
  .footer-brand-block strong { font-size: 20px; }
  .footer-tagline { font-size: 17px; }
  .footer-cta { font-size: 12px; }
  .footer-contact-row { gap: 14px; padding: 12px 0; }
  .footer-icon { width: 40px; height: 40px; border-radius: 10px; }
  .footer-icon svg { width: 18px; height: 18px; }
  .footer-label { font-size: 11px; }
  .footer-value { font-size: 16px; }

  /* Stack phone numbers on their own lines */
  .footer-value--phones { flex-direction: column; gap: 6px; }
  .footer-value--phones .footer-sep { display: none; }

  /* Larger tap targets in the bottom row */
  .footer-quick { gap: 8px; }
  .footer-quick a {
    font-size: 15px;
    padding: 10px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
