:root {
  --color-primary: #0a9763;
  --color-primary-dark: #066e47;
  --color-primary-light: #e4f4ec;
  --color-accent: #f2a900;
  --color-text: #18352a;
  --color-text-muted: #51675d;
  --color-bg: #ffffff;
  --color-bg-alt: #f2f8f5;
  --color-footer-bg: #0b3324;
  --color-footer-text: #cfe3d9;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(10, 151, 99, 0.12);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

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

section[id] {
  scroll-margin-top: 90px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-primary-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.brand-footer {
  color: #fff;
}

.brand-footer:hover {
  color: #fff;
}

.brand-footer img {
  height: 34px;
  width: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 3px 0;
  background: var(--color-text);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
}

.nav-links a:hover {
  color: var(--color-primary-dark);
}

.nav-links a.active {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.btn-nav {
  margin-left: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn-primary {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

.btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn-light {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-bottom: 2rem;
}

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

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  width: 8rem;
  height: 8rem;
  background: var(--color-accent);
  border-radius: 50%;
  z-index: -1;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Sections */
.section-heading {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.section-heading p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.services {
  padding: 4.5rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-primary-light);
  border-bottom: 1px solid var(--color-primary-light);
}

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

.service-card {
  background: var(--color-bg);
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-num {
  display: inline-block;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.service-wide {
  grid-column: 1 / -1;
  background: var(--color-primary-light);
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius);
  padding: 2rem;
}

.service-wide h3 {
  margin-bottom: 0.5rem;
}

.service-wide p {
  margin-bottom: 0;
  color: var(--color-text);
}

/* About preview */
.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-top: 0;
}

.about-text p {
  color: var(--color-text-muted);
}

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

.about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* CTA band */
.cta {
  padding: 0 0 5rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #fff;
}

.cta-copy h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  max-width: 50ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Page intro */
.page-intro {
  background: var(--color-primary-light);
  padding: 4rem 0;
}

.page-intro h1 {
  margin-bottom: 0.75rem;
}

.page-intro .lead {
  max-width: 65ch;
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 0;
}

/* Content pages */
.content-section {
  padding: 4.5rem 0;
}

.content-section-alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-primary-light);
  border-bottom: 1px solid var(--color-primary-light);
}

.content-narrow {
  max-width: 820px;
}

.content-narrow h2 {
  margin-top: 2.5rem;
}

.content-narrow h2:first-child {
  margin-top: 0;
}

.content-narrow p {
  color: var(--color-text-muted);
}

.callout {
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}

.callout p {
  margin: 0;
  color: var(--color-text);
}

.callout a {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-top: 0;
}

.contact-info h2:not(:first-child) {
  margin-top: 2rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.phone-link {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.contact-note {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 0;
}

.contact-note p {
  margin: 0;
  color: var(--color-text);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: #dbeae3;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  margin-top: 1rem;
  text-align: center;
}

.map-fallback a {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 34ch;
}

.footer-col h2 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col p {
  margin-bottom: 0.5rem;
}

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

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--color-footer-text);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

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

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

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

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

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-primary-light);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
  }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .nav-links .btn-nav {
    margin-left: 0;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .services {
    padding: 3rem 0;
  }

  .about {
    padding: 3rem 0;
  }

  .content-section {
    padding: 3rem 0;
  }

  .page-intro {
    padding: 3rem 0;
  }

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

  .service-wide {
    grid-column: auto;
  }

  .about-media {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 0 0 3rem;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}