:root {
  color-scheme: light;
  --bg: #f8faf7;
  --surface: #ffffff;
  --surface-strong: #eef2ec;
  --text: #1f2933;
  --muted: #5f6c75;
  --accent: #22695e;
  --accent-soft: #d9ede9;
  --accent-dark: #15463f;
  --border: #d7e0da;
  --shadow: 0 24px 80px rgba(27, 46, 45, 0.08);
  --radius: 28px;
  --radius-small: 16px;
  --max-width: 1200px;
  --space-xxs: 0.4rem;
  --space-xs: 0.75rem;
  --space-s: 1.25rem;
  --space-m: 2rem;
  --space-l: 3rem;
  --space-xl: 4.5rem;
  --space-xxl: 6rem;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(34, 105, 94, 0.12),
      transparent 34%
    ),
    #f8faf7;
  color: var(--text);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-outer {
  padding: var(--space-xxl) 0;
}

.section-contrast {
  background: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 247, 0.95);
  border-bottom: 1px solid rgba(35, 56, 54, 0.08);
}

.header-inner,
.hero-grid,
.why-grid,
.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: var(--space-m);
}

.header-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--accent-dark);
}

.header-phone {
  color: var(--accent-dark);
  font-weight: 600;
}

.mobile-menu-button {
  display: none;
  border: none;
  background: none;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero {
  padding-top: 3rem;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 1.8vw + 1.7rem, 3.5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 1.5vw + 1.5rem, 2.75rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-grid p,
.service-card p,
.why-list p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-l);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent-dark);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.service-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 260px;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-grid,
.about-grid,
.contact-grid,
.footer-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.why-list,
.contact-details {
  display: grid;
  gap: 1.25rem;
}

.why-list article,
.contact-details div {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  padding: 1.4rem;
}

.about-copy {
  max-width: 560px;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c7d1cc;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(34, 105, 94, 0.35);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: var(--space-l) 0;
  border-top: 1px solid rgba(35, 56, 54, 0.08);
  background: #ffffff;
}

.footer-grid {
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
}

.footer-brand {
  margin: 0 0 0.6rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 1rem;
  }

  .header-inner .header-phone {
    justify-self: end;
  }

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

  .site-nav {
    display: none;
  }

  .mobile-menu-button {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 0.75rem 1rem;
    background: rgba(248, 250, 247, 0.95);
    border-bottom: 1px solid rgba(35, 56, 54, 0.08);
    overflow-x: auto;
    white-space: nowrap;
  }

  .mobile-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 0.55rem;
    background: rgba(35, 56, 54, 0.06);
    color: var(--accent-dark);
    font-size: 0.88rem;
    font-weight: 700;
    min-height: 1.9rem;
    white-space: nowrap;
  }

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

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

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .button {
    width: 100%;
  }
}
