:root {
  --ink: #10231e;
  --deep-green: #0f3d34;
  --green: #1f6f61;
  --sage: #e8f2e8;
  --sage-2: #f4f8f1;
  --mint: #56b9aa;
  --blue: #2f6fa3;
  --gold: #c69d45;
  --gold-soft: #f3e6c7;
  --white: #ffffff;
  --muted: #587068;
  --line: rgba(15, 61, 52, 0.14);
  --shadow: rgba(15, 61, 52, 0.11);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcf7 0%, var(--sage-2) 48%, #edf5ec 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 58px);
  background: rgba(251, 252, 247, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px var(--shadow);
  backdrop-filter: blur(14px);
}
.brand img { width: 190px; height: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav a,
.dropdown-toggle {
  border: 0;
  border-radius: 8px;
  color: #24483f;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
}
.main-nav a { padding: 9px 10px; }
.main-nav a:hover,
.main-nav a[aria-current="page"],
.has-dropdown.open > a {
  color: var(--deep-green);
  background: linear-gradient(135deg, rgba(86, 185, 170, 0.18), rgba(198, 157, 69, 0.18));
}
.dropdown-toggle {
  width: 26px;
  height: 34px;
  cursor: pointer;
}
.dropdown-toggle::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 10px auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 54px var(--shadow);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  color: #24483f;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { display: block; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep-green);
}

.hero,
.page-hero,
.section,
.image-section,
.contact-section,
.cta-band {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}
.hero {
  min-height: min(720px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding-top: clamp(44px, 7vw, 82px);
  padding-bottom: clamp(42px, 7vw, 78px);
  background:
    linear-gradient(135deg, rgba(232, 242, 232, 0.9), rgba(255, 255, 255, 0.65)),
    linear-gradient(90deg, rgba(47, 111, 163, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(31, 111, 97, 0.07) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}
.page-hero {
  padding-top: clamp(50px, 8vw, 94px);
  padding-bottom: clamp(42px, 7vw, 78px);
  background: linear-gradient(135deg, #fbfcf7, var(--sage));
  border-bottom: 1px solid var(--line);
}
.page-hero > div { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  margin: 0 0 12px;
  color: #8b6b21;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 880;
}
h1, h2, h3 {
  margin: 0;
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--deep-green);
}
h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 5.4vw, 4.45rem);
}
.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 4.6vw, 3.75rem);
}
h2 { max-width: 17ch; font-size: clamp(1.65rem, 3.4vw, 3rem); }
h3 { font-size: 1.12rem; }
.lead,
.page-hero p:not(.eyebrow) {
  max-width: 66ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn.primary { color: #071311; background: linear-gradient(135deg, #e9cd7c, var(--gold)); box-shadow: 0 12px 28px rgba(198, 157, 69, 0.24); }
.btn.secondary { color: var(--deep-green); border-color: rgba(31, 111, 97, 0.24); background: rgba(255, 255, 255, 0.75); }
.btn:hover { transform: translateY(-2px); }

.operating-map {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(86, 185, 170, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(232,242,232,0.82));
  box-shadow: 0 26px 64px var(--shadow);
  overflow: hidden;
}
.map-center,
.map-node {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(15, 61, 52, 0.09);
}
.map-center {
  left: 50%;
  top: 50%;
  width: min(250px, 70%);
  padding: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.map-center strong { display: block; color: var(--deep-green); font-family: Sora, Inter, sans-serif; font-size: 1.25rem; }
.map-center span { color: var(--muted); }
.map-node {
  min-width: 122px;
  padding: 10px 12px;
  color: #24483f;
  font-weight: 850;
  text-align: center;
}
.n1 { left: 8%; top: 14%; }
.n2 { right: 9%; top: 14%; }
.n3 { left: 6%; top: 46%; }
.n4 { right: 7%; top: 46%; }
.n5 { left: 18%; bottom: 13%; }
.n6 { right: 18%; bottom: 13%; }
.map-flow {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--mint), transparent);
  opacity: 0.8;
  animation: flow 3.4s ease-in-out infinite;
}
.f1 { left: 16%; right: 16%; top: 31%; }
.f2 { left: 14%; right: 14%; top: 63%; animation-delay: 0.8s; }
.f3 { left: 30%; right: 30%; top: 50%; transform: rotate(90deg); animation-delay: 1.5s; }
@keyframes flow {
  0%, 100% { opacity: 0.25; transform: translateX(-10px); }
  50% { opacity: 0.95; transform: translateX(10px); }
}

.section {
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(58px, 8vw, 104px);
}
.section.alt { background: rgba(232, 242, 232, 0.62); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  max-width: var(--max);
  margin: 0 auto 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-head p { max-width: 58ch; color: var(--muted); }
.card-grid,
.three-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.info-card,
.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px var(--shadow);
}
.service-card,
.info-card { min-height: 230px; padding: 24px; }
.service-card span,
.info-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #071311;
  background: linear-gradient(135deg, var(--mint), var(--gold));
  font-weight: 900;
}
.service-card p,
.info-card p { margin-top: 12px; color: var(--muted); }
.service-card a,
.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}
.image-section {
  max-width: calc(var(--max) + 144px);
  margin: 0 auto;
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(58px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 62px);
}
.image-copy p:not(.eyebrow) { margin-top: 18px; color: var(--muted); max-width: 66ch; }
.image-frame {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 58px var(--shadow);
}
.image-frame img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 42px;
  padding-bottom: 42px;
  background: linear-gradient(135deg, var(--deep-green), #1f6f61);
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 68ch; margin-top: 10px; color: #dcece7; }

.contact-section { padding-top: clamp(58px, 8vw, 104px); padding-bottom: clamp(58px, 8vw, 104px); }
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}
.contact-form label { display: grid; gap: 7px; color: #24483f; font-weight: 760; }
.contact-form .wide,
.contact-form button { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(15, 61, 52, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
textarea { resize: vertical; }
.hidden-field { display: none; }
.contact-panel { padding: 24px; }
.contact-panel p { margin-top: 14px; color: var(--muted); }
.contact-panel a { color: var(--green); font-weight: 850; }
.center-actions { max-width: var(--max); margin: 0 auto; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 72px);
  background: #f6f8f1;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer img { width: 170px; height: auto; margin-bottom: 14px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; color: var(--deep-green); }
.site-footer a { color: #24483f; text-decoration: none; }

.chatbot {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 10px;
}
.chatbot button,
.chatbot input { font: inherit; }
.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(198, 157, 69, 0.42);
  border-radius: 8px;
  color: #071311;
  background: linear-gradient(135deg, var(--mint), var(--gold));
  box-shadow: 0 16px 38px rgba(15, 61, 52, 0.22);
  font-weight: 850;
  cursor: pointer;
}
.chatbot-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--deep-green); box-shadow: 0 0 0 5px rgba(15, 61, 52, 0.12); }
.chatbot-toggle span:last-child { display: grid; gap: 1px; text-align: left; }
.chatbot-toggle small { color: rgba(7, 19, 17, 0.72); font-weight: 760; }
.chatbot-panel {
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 68px rgba(15, 61, 52, 0.22);
}
.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.chatbot-header strong,
.chatbot-header span { display: block; }
.chatbot-header strong { color: var(--deep-green); font-family: Sora, Inter, sans-serif; }
.chatbot-header span { color: var(--muted); font-size: 0.86rem; }
.chatbot-header button {
  min-width: 52px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep-green);
  background: var(--sage-2);
  cursor: pointer;
}
.chatbot-log { display: grid; gap: 10px; max-height: 300px; min-height: 205px; padding: 16px; overflow: auto; }
.chatbot-message { max-width: 88%; padding: 10px 12px; border-radius: 8px; font-size: 0.93rem; line-height: 1.45; }
.chatbot-message.bot { justify-self: start; color: #24483f; background: var(--sage-2); border: 1px solid var(--line); }
.chatbot-message.user { justify-self: end; color: #071311; background: var(--gold-soft); }
.chatbot-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.chatbot-chips button { border: 1px solid var(--line); border-radius: 8px; color: var(--deep-green); background: rgba(86, 185, 170, 0.12); padding: 8px 10px; font-size: 0.82rem; cursor: pointer; }
.chatbot-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.chatbot-form input { min-width: 0; height: 42px; }
.chatbot-form button { min-height: 42px; border: 0; border-radius: 8px; color: #071311; background: var(--gold); padding: 0 14px; font-weight: 850; cursor: pointer; }

@media (max-width: 1060px) {
  .hero,
  .image-section,
  .contact-inner { grid-template-columns: 1fr; }
  .card-grid,
  .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { align-items: center; }
  .brand img { width: 152px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul,
  .main-nav li { display: grid; justify-content: stretch; }
  .main-nav a { padding: 10px 12px; }
  .dropdown-toggle { display: none; }
  .dropdown { position: static; display: grid; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 12px; background: transparent; }
  .hero { min-height: auto; }
  h1 { max-width: 16ch; }
  .operating-map { min-height: 390px; }
  .map-node { min-width: 104px; font-size: 0.84rem; }
  .section-head,
  .cta-band { display: grid; }
  .card-grid,
  .three-grid,
  .contact-form,
  .site-footer { grid-template-columns: 1fr; }
  .image-frame,
  .image-frame img { min-height: 260px; }
  .chatbot { left: 14px; right: 14px; }
  .chatbot-panel,
  .chatbot-toggle { width: 100%; }
  .chatbot-toggle { justify-content: center; }
}
