:root {
  --pc-green:#2f6f48;
  --pc-blue:#0f3f73;
  --pc-teal:#21b6c5;
  --bg:#f5f7fb;
  --muted:#64748b;
  --maxw:1200px;
}

* {
  box-sizing:border-box;
}

html,
body {
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:#0f172a;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  max-width:100%;
  overflow-x:hidden;
}

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

.container {
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 1rem;
}

/* === Header & Navigation (V7) === */

/* Warm, soft grey background + base text */
body {
  background-color:#EDEAE4;
  color:#0f172a;
}

/* Sticky header with shadow */
.header {
  position:sticky;
  top:0;
  z-index:50;
  background:#ffffff;
  box-shadow:0 4px 12px rgba(15,23,42,0.08);
}

/* Header layout */
.header-inner {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:0.75rem 0;
}

/* Brand block + logo sizing */
.brand {
  display:flex;
  align-items:center;
  gap:0.75rem;
  text-decoration:none;
  color:inherit;
}

.brand img {
  height:80px;
  width:auto;
  object-fit:contain;
}

.brand-text-title {
  font-weight:800;
  font-size:1.05rem;
}

.brand-text-sub {
  font-size:0.9rem;
  color:#64748b;
}

@media (min-width:768px) {
  .brand img {
    height:100px;
  }
}

/* Navigation container */
.nav {
  margin-left:auto;
}

/* Mobile toggle button */
.nav-toggle {
  position:absolute;
  right:1rem;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:transparent;
  font-size:1.8rem;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:70;
}

/* Dropdown menu for mobile */
.nav-links {
  display:none;
  flex-direction:column;
  gap:0.5rem;
  position:absolute;
  left:0;
  right:0;
  top:100%;
  background:#ffffff;
  padding:0.75rem 1rem;
  border-radius:0 0 0.75rem 0.75rem;
  box-shadow:0 12px 30px rgba(15,23,42,0.25);
  z-index:60;
}

/* When menu is open on mobile */
.nav-links.nav-open {
  display:flex;
}

/* Individual nav links */
.nav-links a {
  text-decoration:none;
  font-weight:500;
  color:#0f172a;
  padding:0.5rem 0.9rem;
  border-radius:999px;
  background:rgba(248,250,252,0.9);
  border:1px solid rgba(148,163,184,0.4);
  font-size:0.9rem;
}

.nav-links a:hover {
  background:#2f6f48;
  color:#ffffff;
  border-color:#2f6f48;
}

/* Primary CTA link */
.nav-links a.cta {
  background:#2f6f48;
  color:#ffffff;
  border-color:#2f6f48;
  box-shadow:0 8px 24px rgba(47,111,72,0.25);
}

/* Desktop nav layout */
@media (min-width:900px) {
  .nav-toggle {
    position:static;
    transform:none;
    display:none;
  }
  .nav-links {
    position:static;
    display:flex !important;
    flex-direction:row;
    gap:0.75rem;
    background:transparent;
    padding:0;
    box-shadow:none;
  }
}

/* === Hero & sections === */

.hero {
  display:grid;
  grid-template-columns:1fr;
  gap:2rem;
  padding:3rem 0 2rem 0;
  align-items:center;
}

@media (min-width:900px) {
  .hero {
    grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  }
}

.h1 {
  font-size:2.1rem;
  line-height:1.05;
  margin:0 0 0.6rem;
  font-weight:800;
}

.lead {
  color:var(--muted);
  margin-bottom:1.1rem;
  font-size:0.98rem;
}

.badge-row {
  display:flex;
  flex-wrap:wrap;
  gap:0.4rem;
  margin-bottom:1rem;
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:0.3rem;
  padding:0.25rem 0.65rem;
  border-radius:999px;
  background:#e5f7f9;
  color:var(--pc-blue);
  font-size:0.78rem;
  font-weight:600;
}

.badge span {
  font-size:1rem;
}

.hero-card {
  background:#ffffff;
  border-radius:14px;
  padding:1rem;
  box-shadow:0 14px 40px rgba(15,23,42,0.08);
}

.hero-img {
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:16px;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.6rem 1.1rem;
  border-radius:999px;
  border:none;
  background:var(--pc-green);
  color:#ffffff;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(47,111,72,0.25);
  font-size:0.95rem;
}

.btn-secondary {
  background:#ffffff;
  color:var(--pc-blue);
  border:1px solid rgba(15,23,42,0.08);
  box-shadow:none;
}

.btn-secondary:hover {
  background:#e5edf7;
}

.section {
  padding:2.5rem 0;
}

.section h2 {
  font-size:1.5rem;
  margin:0 0 0.25rem;
}

.section-lead {
  color:var(--muted);
  font-size:0.95rem;
  margin-bottom:1.25rem;
}

/* Cards & grids */

.grid-3 {
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}

@media (min-width:800px) {
  .grid-3 {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

.card {
  background:#ffffff;
  padding:1rem;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(15,23,42,0.06);
  transition:transform 0.2s ease,box-shadow 0.2s ease;
}

.card:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,23,42,0.12);
}

.card h3 {
  margin:0 0 0.4rem;
}

.small {
  font-size:0.9rem;
  color:var(--muted);
}

/* Customer-first section */

.section-customer {
  margin-top:1.5rem;
  margin-bottom:1.5rem;
}

.section-customer-inner {
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  padding:1.25rem;
  border-radius:12px;
  background:#f4f1eb;
  box-shadow:0 10px 28px rgba(15,23,42,0.06);
}

.section-customer-inner h2 {
  margin-top:0;
  margin-bottom:0.5rem;
}

.section-customer-media {
  text-align:center;
}

.section-customer-img {
  max-width:100%;
  border-radius:10px;
  display:block;
  margin:0 auto;
}

@media (min-width:900px) {
  .section-customer-inner {
    grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  }
}

/* Projects grid */

.projects-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}

@media (min-width:700px) {
  .projects-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

.img-cover {
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
}

.filters {
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  margin-bottom:1rem;
}

.filter-btn {
  padding:0.3rem 0.85rem;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.6);
  background:rgba(255,255,255,0.9);
  font-size:0.85rem;
  cursor:pointer;
}

.filter-btn.active {
  background:var(--pc-blue);
  color:#fff;
  border-color:var(--pc-blue);
  box-shadow:0 10px 26px rgba(15,23,42,0.32);
}

/* Before/after slider */

.slider {
  position:relative;
  height:320px;
  border-radius:14px;
  overflow:hidden;
  margin-top:0.7rem;
}

.slider img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.slider input[type=range] {
  position:absolute;
  left:16px;
  right:16px;
  bottom:18px;
}

.project-meta {
  margin-top:0.6rem;
}

.project-meta strong {
  display:block;
  margin-bottom:0.15rem;
}

/* Forms */

.form-card {
  background:#ffffff;
  padding:1rem;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(15,23,42,0.06);
  max-width:520px;
}

.form-row {
  margin-bottom:0.6rem;
}

.form-row label {
  display:block;
  font-size:0.85rem;
  font-weight:600;
  margin-bottom:0.2rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width:100%;
  padding:0.45rem 0.55rem;
  border-radius:8px;
  border:1px solid rgba(148,163,184,0.7);
  font-size:0.9rem;
}

/* Footer */

.footer {
  background:#EDEAE4;
  border-top:1px solid rgba(148,163,184,0.45);
  margin-top:2.5rem;
}

.footer-inner {
  max-width:var(--maxw);
  margin:0 auto;
  padding:0.8rem 1rem;
  font-size:0.86rem;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:0.5rem;
  flex-wrap:wrap;
}
