:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-soft: #f0f4ef;
  --text: #18312d;
  --text-muted: #4d6660;
  --primary: #1f6f64;
  --primary-strong: #15544c;
  --accent: #c2b84a;
  --border: #d7e1dc;
  --shadow: 0 10px 30px rgba(15, 36, 33, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #eef5ee 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, #e8f1ed 0%, transparent 35%),
    var(--bg);
}

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

a {
  color: var(--primary-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--primary);
}

.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

.section {
  padding: 3rem 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
  color: #102623;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 247, 244, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #102623;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-right: auto;
}

.brand svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
}

.desktop-nav {
  display: none;
}

.desktop-nav a,
.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.desktop-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--primary-strong);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu nav {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0 1rem;
}

.mobile-menu a {
  padding: 0.55rem 0.25rem;
  border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #237a6e, #1a645a);
  color: #fff;
  text-decoration: none;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(24, 91, 80, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(24, 91, 80, 0.3);
  color: #fff;
}

button.btn {
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-strong);
  border-color: var(--primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: #e6f1ee;
  color: var(--primary-strong);
}

.btn-small {
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
}

.header-cta {
  display: none;
}

/* Hero */
.hero {
  padding-top: 2rem;
}

.hero-grid {
  display: grid;
  gap: 1rem;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.2rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2e5e56;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.inspection-grid {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f7faf8;
}

.inspection-grid svg {
  width: 100%;
  height: auto;
  stroke: #8aa89f;
  stroke-width: 2;
  fill: none;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card .spacer {
  display: none;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(175, 197, 190, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  padding: 1rem;
}

.service-card .glass-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  background: #fff;
}

.context {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
}

/* Contact form */
.contact-form {
  max-width: 860px;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

.form-field {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 0.8rem;
}

.form-field label {
  font-weight: 600;
  color: #1c3b36;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
}

.form-feedback {
  margin-top: 0.2rem;
  min-height: 1.4em;
  color: var(--primary-strong);
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.2rem 0;
  background: #102623;
  color: #dce9e4;
}

.site-footer h2,
.site-footer h3 {
  color: #f5fbf8;
}

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

.site-footer a:hover {
  color: #fff5a6;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1500;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(13, 37, 33, 0.2);
  padding: 1rem;
}

.cookie-banner p {
  margin-bottom: 0.8rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button,
.cookie-preferences button {
  border: 1px solid var(--border);
  background: #f8fbf9;
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions button:first-child {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cookie-preferences {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.5rem;
}

.cookie-preferences label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 2000;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive */
@media (min-width: 720px) {
  .header-cta {
    display: inline-flex;
  }

  .hero-panel {
    padding: 1.4rem;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.9fr;
  }

  .cookie-banner {
    left: auto;
    width: min(620px, calc(100% - 2rem));
  }

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

@media (min-width: 980px) {
  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-right: 0.5rem;
  }

  .desktop-nav a {
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
  }

  .desktop-nav a:hover {
    background: #e9f2ee;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }

  .hero-visual img {
    height: 100%;
    min-height: 460px;
  }

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

@media (min-width: 1220px) {
  .card-grid.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}