:root {
  --bg: #ffffff;
  --surface: #f8fbf7;
  --surface-strong: #edf5ed;
  --ink: #063e4a;
  --ink-soft: #2f5860;
  --muted: #667b80;
  --line: #d7e2df;
  --green: #45a531;
  --green-dark: #328521;
  --teal: #00515a;
  --teal-dark: #003f48;
  --footer: #004f59;
  --shadow: 0 22px 55px rgba(5, 62, 74, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

.page-shell {
  width: min(100% - 96px, 1240px);
  margin: 0 auto;
}

.hero {
  background:
    radial-gradient(circle at 52% 12%, rgba(69, 165, 49, 0.07), transparent 34%),
    #ffffff;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 20%,
    rgba(255, 255, 255, 0.94) 28%,
    rgba(255, 255, 255, 0.62) 40%,
    rgba(255, 255, 255, 0.16) 52%,
    rgba(255, 255, 255, 0) 66%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(380px, 0.72fr) minmax(560px, 1.28fr);
  min-height: calc(100svh - 116px);
  padding: 54px 0 52px;
}

@media (min-width: 1081px) {
  .hero-grid {
    margin-left: clamp(28px, 4vw, 80px);
    margin-right: 0;
    width: auto;
  }

  .contact-grid {
    margin-left: clamp(28px, 4vw, 80px);
    margin-right: clamp(28px, 4vw, 80px);
    width: auto;
  }
}

.hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  color: var(--teal);
  display: inline-flex;
  font-size: 30px;
  font-weight: 800;
  gap: 12px;
  line-height: 0.9;
  margin-bottom: 82px;
  width: fit-content;
}

.brand-logo {
  display: block;
  height: 60px;
  width: auto;
}

.hero-text {
  max-width: 560px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--teal-dark);
  font-size: 76px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 34px;
}

#hero-title {
  color: rgba(39, 77, 80, 1);
}

.accent-line {
  background: var(--green);
  height: 5px;
  margin-bottom: 28px;
  width: 92px;
}

.hero-description {
  color: rgba(39, 77, 80, 1);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.42;
  margin-bottom: 28px;
  max-width: 510px;
}

.hero-lead {
  color: rgba(39, 77, 80, 1);
  font-size: 32px;
  font-weight: 750;
  line-height: 1.24;
  max-width: 480px;
}

.hero-note {
  color: rgba(39, 77, 80, 1);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 470px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 17px;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  min-height: 66px;
  padding: 0 28px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  height: 25px;
  width: 25px;
}

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

.button:focus-visible,
.contact-row:focus-visible,
.map-open:focus-visible,
.footer-social:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(69, 165, 49, 0.34);
  outline-offset: 4px;
}

.button-primary {
  background: #76e86a;
  border: 1.5px solid #76e86a;
  border-radius: 999px;
  color: #1f373a;
}

.button-primary:hover {
  background: #1f373a;
  border-color: #1f373a;
  color: #ffffff;
  transform: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  border: 1.5px solid #1f373a;
  border-radius: 999px;
  color: #1f373a;
}

.button-secondary:hover {
  background: #1f373a;
  border-color: #1f373a;
  color: #ffffff;
  transform: none;
}

.hero-media {
  bottom: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: min(82vw, 1180px);
  z-index: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

@supports ((mask-image: linear-gradient(#000, transparent)) or (-webkit-mask-image: linear-gradient(#000, transparent))) {
  .hero-media {
    -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 13%,
      rgba(0, 0, 0, 1) 32%
    );
    mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 13%,
      rgba(0, 0, 0, 1) 32%
    );
  }
}

.contact-section {
  background: #ffffff;
  padding: 72px 0 78px;
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: 74px;
  grid-template-columns: minmax(350px, 0.82fr) minmax(520px, 1.18fr);
}

h2 {
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 28px;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 118px;
  padding: 20px 0;
}

.contact-row:first-child {
  border-top: 0;
}

.contact-row span:last-child {
  color: var(--ink);
  display: grid;
  gap: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.contact-row strong {
  font-weight: 500;
}

.contact-row span span {
  color: var(--ink-soft);
}

.contact-icon {
  align-items: center;
  background: rgba(24, 78, 81, 0.05);
  border-radius: 50%;
  color: #184e51;
  display: flex;
  height: 76px;
  justify-content: center;
  transition: background-color 0.2s ease;
  width: 76px;
}

.contact-row:hover .contact-icon {
  background: rgba(118, 232, 106, 0.2);
}

.contact-icon svg {
  height: 34px;
  width: 34px;
}

.contact-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.contact-row:first-child .contact-icon path,
.contact-row:nth-child(3) .contact-icon path {
  fill: currentColor;
  stroke: none;
}

.map-panel {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.map-frame {
  flex: 1 1 auto;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    var(--surface-strong);
}

.map-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.map-open {
  align-items: center;
  background: #76e86a;
  border: 1.5px solid #76e86a;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 16px 34px rgba(0, 63, 72, 0.25);
  color: #1f373a;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  padding: 0 18px;
  position: absolute;
  right: 18px;
}

.map-open:hover {
  background: #1f373a;
  border-color: #1f373a;
  color: #ffffff;
}

.site-footer {
  align-items: center;
  background: rgba(245, 245, 245, 1);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  padding: 28px 24px 26px;
  text-align: center;
}

.footer-brand {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.footer-logo {
  background: #f5f5f5;
  display: block;
  height: 60px;
  width: auto;
}

.footer-rule {
  background: rgba(0, 0, 0, 0.14);
  height: 1px;
  margin: 30px 0 24px;
  width: min(420px, 68vw);
}

.site-footer p {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.footer-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
}

.footer-social {
  align-items: center;
  background: rgba(24, 78, 81, 0.06);
  border-radius: 50%;
  color: #184e51;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 44px;
}

.footer-social:hover {
  background: #184e51;
  color: #ffffff;
}

.footer-social svg {
  fill: currentColor;
  height: 22px;
  width: 22px;
}

@media (max-width: 1080px) {
  .page-shell {
    width: min(100% - 56px, 960px);
  }

  .hero::after {
    display: none;
  }

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

  .hero-grid {
    gap: 36px;
    padding: 34px 0 44px;
  }

  .brand {
    margin-bottom: 48px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-lead {
    font-size: 28px;
  }

  .hero-media {
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 360px;
    min-height: 360px;
    position: relative;
    width: 100%;
  }

  @supports ((mask-image: linear-gradient(#000, transparent)) or (-webkit-mask-image: linear-gradient(#000, transparent))) {
    .hero-media {
      -webkit-mask-image: none;
      mask-image: none;
    }
  }

  .contact-grid {
    gap: 46px;
  }

  .map-frame {
    aspect-ratio: 1.45;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 34px, 560px);
  }

  .hero {
    background:
      radial-gradient(
        circle at 84% 14%,
        rgba(69, 165, 49, 0.11),
        transparent 30%
      ),
      #ffffff;
  }

  .hero-grid {
    gap: 28px;
    min-height: auto;
    padding: 22px 0 24px;
  }

  .brand {
    font-size: 22px;
    gap: 9px;
    margin-bottom: 32px;
  }

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

  h1 {
    font-size: 44px;
    line-height: 1.02;
    margin-bottom: 24px;
  }

  .accent-line {
    height: 4px;
    margin-bottom: 22px;
    width: 72px;
  }

  .hero-description {
    font-size: 18px;
    line-height: 1.42;
    margin-bottom: 22px;
  }

  .hero-lead {
    font-size: 24px;
  }

  .hero-note {
    font-size: 17px;
    line-height: 1.55;
    margin-top: 18px;
  }

  .hero-actions {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }

  .button {
    font-size: 16px;
    min-height: 58px;
    padding: 0 18px;
    width: 100%;
  }

  .hero-media {
    box-shadow: none;
    height: 156px;
    min-height: 156px;
  }

  .contact-section {
    padding: 42px 0 52px;
  }

  h2 {
    font-size: 25px;
    margin-bottom: 18px;
  }

  .contact-row {
    gap: 16px;
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 92px;
    padding: 16px 0;
  }

  .contact-icon {
    height: 56px;
    width: 56px;
  }

  .contact-icon svg {
    height: 28px;
    width: 28px;
  }

  .contact-row span:last-child {
    font-size: 17px;
  }

  .map-frame {
    aspect-ratio: 0.92;
  }

  .map-open {
    bottom: 12px;
    font-size: 14px;
    justify-content: center;
    left: 12px;
    min-height: 46px;
    right: 12px;
  }

  .site-footer {
    min-height: 96px;
  }

  .footer-logo {
    height: 48px;
  }

  .site-footer p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
