:root {
  --primary: #1e2c2f;
  --primary-soft: #2d3f41;
  --accent: #7ea36d;
  --accent-dark: #5d7d4f;
  --bg: #f4f1ec;
  --surface: #ffffff;
  --surface-alt: #eef2ee;
  --text: #1f2326;
  --muted: #606a6f;
  --line: rgba(30, 44, 47, 0.12);
  --shadow: 0 18px 40px rgba(18, 27, 29, 0.08);
  --radius: 18px;
  --container: min(1120px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(126, 163, 109, 0.7);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* Logo sizing: keep aspect ratio, reduce height for header/footer */
.brand-logo {
  height: 56px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.footer-brand .brand-logo,
.brand.footer-brand .brand-logo,
.footer .brand-logo,
.brand.footer-logo {
  height: 44px;
}

@media (max-width: 480px) {
  .brand-logo { height: 44px; }
  .footer-brand .brand-logo { height: 36px; }
}

/* Slightly larger logo in header for readability */
.site-header .brand-logo {
  height: 72px;
}

/* When logo has loaded we visually hide the fallback text, but keep it in the DOM for SEO/screen-readers */
.brand.logo-loaded .brand-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Ensure broken image hides itself if JS sets logo-failed */
.brand.logo-failed .brand-logo {
  display: none !important;
}

/* Footer smaller logo */
.site-footer .brand-logo,
.footer-brand .brand-logo,
.footer-logo { height: 56px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 241, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--primary);
}

.brand-name {
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: 0.09em;
  font-weight: 800;
}

.brand-subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  opacity: 0.82;
  text-transform: uppercase;
}

.main-nav ul,
.footer-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a,
.footer-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover{
  color: var(--accent);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:focus-visible {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.6rem;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 100px;
  background: var(--primary);
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 30, 32, 0.90), rgba(30, 44, 47, 0.75)),
    radial-gradient(circle at top left, rgba(126, 163, 109, 0.28), transparent 35%),
    url("images/placeholder-hero.svg") center/cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  color: #f8f7f3;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero .eyebrow {
  color: #dce7d1;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  color: var(--primary);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(126, 163, 109, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.trust-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.trust-points li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.trust-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 440px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: #fff;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(126, 163, 109, 0.2);
  border: 1px solid rgba(126, 163, 109, 0.45);
  color: #ebf3e7;
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.visual-card h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.visual-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
}

.visual-card li {
  padding-left: 1.2rem;
  position: relative;
}

.visual-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.6rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(18, 27, 29, 0.05);
  padding: clamp(1.5rem, 3vw, 2.8rem);
}

.legal-copy {
  display: grid;
  gap: 1.2rem;
}

.legal-section {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.legal-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-section h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.legal-section p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--primary);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.legal-secondary {
  background: var(--surface-alt);
  color: var(--primary);
  border-color: var(--line);
}

.legal-secondary:hover,
.legal-secondary:focus-visible {
  background: #e4ece4;
  color: var(--primary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.1rem;
  box-shadow: 0 8px 18px rgba(30, 44, 47, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-alt);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.benefits {
  background: var(--surface-alt);
}

.narrow {
  max-width: 900px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2.2rem 0 0;
}

.feature-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}

.step h3 {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.service-area {
  background: linear-gradient(180deg, rgba(126, 163, 109, 0.06), rgba(126, 163, 109, 0.02));
}

.service-area-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 2rem;
}

.service-area-copy p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.map-placeholder {
  position: relative;
  min-height: 320px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #edf4eb, #dfeae1 50%, #f5f2ee);
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(30, 44, 47, 0.08);
  border-radius: 50%;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 3;
}

.map-pin::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--primary);
}

.map-ring {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(30, 44, 47, 0.23);
  border-radius: 50%;
}

.ring-one {
  width: 45%;
  height: 45%;
}

.ring-two {
  width: 62%;
  height: 62%;
}

.ring-three {
  width: 78%;
  height: 78%;
}

/* Make the embedded map non-interactive so it cannot be panned/zoomed in-place */
.map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  display: block;
}

.map-label {
  position: absolute;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-one {
  right: 18%;
  bottom: 18%;
}

.label-two {
  left: 18%;
  top: 18%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.5rem;
  align-items: center;
}

.about-copy p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: 0 8px 18px rgba(30, 44, 47, 0.04);
}

.about-panel h3 {
  margin-bottom: 1rem;
}

.about-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  border-radius: 30px;
  padding: clamp(1.6rem, 3vw, 3rem);
  color: #fff;
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.cta-copy h2,
.cta-copy p {
  color: #fff;
}

.cta-copy p:last-child {
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-links .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  color: rgba(255, 255, 255, 0.88);
}

.contact-details p {
  margin: 0;
}

.contact-details a {
  color: #e9f3d9;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form-section {
  padding-top: 4.5rem;
}

.form-wrap {
  max-width: 900px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.2rem, 2vw, 2rem);
  box-shadow: 0 12px 26px rgba(30, 44, 47, 0.04);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.contact-form label {
  display: block;
}

.contact-form span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(30, 44, 47, 0.14);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(126, 163, 109, 0.9);
  box-shadow: 0 0 0 3px rgba(126, 163, 109, 0.14);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-button {
  margin-top: 1.2rem;
  border: 0;
}

.site-footer {
  background: #172325;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.footer-brand {
  color: #fff;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .card-grid {
  .footer-brand .brand-logo { height: 44px; }
  .footer-logo { height: 44px; }
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .service-area-wrap,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .service-area-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244, 241, 236, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1rem 1.25rem;
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .feature-list,
  .form-grid,
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3.2rem;
  }

  .button {
    width: 100%;
  }

  .cta-row,
  .contact-links {
    flex-direction: column;
  }

  .map-placeholder {
    min-height: 240px;
  }
}
