:root {
  --green: #68c516;
  --green-dark: #4ca300;
  --text: #7d7d7d;
  --heading: #62bf12;
  --line: #8ddf52;
  --muted: #969696;
  --page: #ffffff;
  --page-max: 1920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a:hover {
  color: var(--green-dark);
}

main,
.site-footer {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero picture {
  display: block;
  width: 100%;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.contact-section {
  position: relative;
  padding: clamp(72px, 7.2vw, 138px) clamp(22px, 5vw, 96px) clamp(76px, 7vw, 132px);
  background: #fff;
  overflow: hidden;
}

.contact-section::after {
  content: "";
  position: absolute;
  right: clamp(-88px, -4vw, -42px);
  bottom: clamp(-92px, -4vw, -46px);
  width: clamp(160px, 15vw, 280px);
  height: clamp(160px, 15vw, 280px);
  border: clamp(3px, .25vw, 5px) solid rgba(104, 197, 22, .18);
  border-left-color: transparent;
  border-radius: 58% 42% 60% 40%;
  transform: rotate(-28deg);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  gap: clamp(58px, 6.8vw, 132px);
  width: min(82vw, 1120px);
  max-width: 100%;
  margin: 0 auto;
}

.contact-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: clamp(1px, .15vw, 2px);
  background: var(--line);
  transform: translateX(-50%);
}

.contact-form,
.contact-details {
  min-width: 0;
}

.contact-form h2,
.contact-details h2 {
  margin: 0 0 4px;
  color: var(--heading);
  font-size: clamp(1.36rem, 1.45vw, 1.85rem);
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-form label {
  display: block;
  margin-top: clamp(6px, .45vw, 9px);
  color: #8a8a8a;
  font-size: clamp(.72rem, .72vw, .92rem);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: clamp(25px, 2vw, 36px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #666;
  font: inherit;
  outline: none;
  padding: clamp(3px, .5vw, 7px) clamp(11px, 1vw, 16px);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form textarea {
  min-height: clamp(116px, 9vw, 170px);
  border-radius: clamp(14px, 1vw, 18px);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(104, 197, 22, .18);
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 42px);
  margin-top: clamp(24px, 2vw, 34px);
}

.spam-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: clamp(43px, 3.7vw, 58px);
  margin: 0;
  padding: clamp(9px, .8vw, 13px) clamp(12px, 1vw, 16px);
  border: 1px solid #ddd;
  border-radius: 2px;
  color: #444;
  font-size: clamp(.62rem, .58vw, .78rem);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.spam-check input {
  width: clamp(15px, 1.2vw, 20px);
  min-height: clamp(15px, 1.2vw, 20px);
  accent-color: var(--green);
}

.submit-button {
  flex: 0 0 auto;
  width: clamp(70px, 5.4vw, 104px);
  height: clamp(70px, 5.4vw, 104px);
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: clamp(.7rem, .7vw, .92rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background-color .18s ease, transform .18s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.form-notice {
  display: none;
  margin: 14px 0 12px;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: .9rem;
}

.form-notice.is-visible {
  display: block;
}

.form-notice--success {
  border: 1px solid rgba(104, 197, 22, .42);
  background: rgba(104, 197, 22, .09);
  color: #4a9600;
}

.form-notice--error {
  border: 1px solid rgba(188, 65, 55, .38);
  background: rgba(188, 65, 55, .08);
  color: #9e332d;
}

.contact-details {
  padding-left: clamp(4px, .6vw, 12px);
}

.contact-details address {
  margin: clamp(24px, 2.2vw, 42px) 0 0;
  font-style: normal;
}

.contact-item {
  display: grid;
  grid-template-columns: clamp(42px, 4vw, 64px) minmax(0, 1fr);
  gap: clamp(16px, 1.7vw, 28px);
  align-items: start;
  margin: 0 0 clamp(42px, 4vw, 68px);
}

.contact-item--email {
  align-items: center;
}

.contact-icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: clamp(42px, 4vw, 64px);
  height: clamp(42px, 4vw, 64px);
  color: var(--green);
  margin-top: -2px;
}

.contact-item--email .contact-icon {
  align-items: center;
  margin-top: 0;
}

.contact-icon svg {
  width: clamp(42px, 4vw, 64px);
  height: clamp(42px, 4vw, 64px);
  fill: currentColor;
}

.contact-item p {
  margin: 0;
  color: #8b8b8b;
  font-size: clamp(.73rem, .74vw, .94rem);
  line-height: 1.55;
}

.contact-item.contact-item--email p {
  display: flex;
  align-items: center;
  min-height: clamp(42px, 4vw, 64px);
  line-height: 1.2;
}

.contact-item p span {
  display: inline-block;
  margin-top: 14px;
}

.map-section {
  height: clamp(300px, 33vw, 520px);
  background: #e7e7e7;
}

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

.site-footer {
  padding: clamp(58px, 6vw, 98px) 24px clamp(38px, 4vw, 64px);
  text-align: center;
  color: #9b9b9b;
}

.site-footer p {
  margin: 0 0 18px;
  font-size: clamp(.88rem, .8vw, 1rem);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  transition: background-color .18s ease, transform .18s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
}

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

.complaints-link {
  display: inline-block;
  margin-bottom: 6px;
  color: #96c773;
  font-size: .73rem;
  text-decoration: underline;
}

.site-footer small {
  display: block;
  font-size: .72rem;
}

@media (max-width: 820px) {
  .contact-section {
    padding: 56px 20px 72px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    width: min(100%, 460px);
    max-width: 420px;
  }

  .contact-grid::before {
    display: none;
  }

  .contact-details {
    order: 1;
    padding-left: 0;
    border-top: 0;
    padding-top: 0;
    text-align: center;
  }

  .contact-form {
    order: 2;
  }

  .form-actions {
    align-items: center;
    flex-direction: row;
  }

  .submit-button {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding-top: 42px;
  }

  .contact-details h2,
  .contact-form h2 {
    text-align: center;
  }

  .contact-details address {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
  }

  .map-section {
    height: clamp(260px, 74vw, 360px);
  }
}

@media (max-width: 540px) {
  main,
  .site-footer {
    width: 100%;
  }

  .contact-form h2,
  .contact-details h2 {
    letter-spacing: .1em;
  }

  .spam-check {
    width: min(100%, 230px);
  }

  .contact-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    text-align: left;
  }

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