@charset "UTF-8";
:root {
  --container-max: 1320px;
  --container-pad: 40px;
  --text-green: #4E8373;
  --bg: rgba(255, 252, 243, 1);
  --green: rgba(108, 161, 145, 1);
  --white: #ffffff;
}

.home-nav {
  --bg: #f6f3ea;
  --green: #6ea292;
  --text: #6ea292;
  --white: #ffffff;
  background: var(--bg);
  /* WP menu list */
}
.home-nav__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
@media (max-width: 900px) {
  .home-nav__grid {
    grid-template-columns: 1fr;
  }
}
.home-nav__tile {
  padding: 34px 60px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 1px solid #6CA191;
  border-top: 0;
}
@media (max-width: 1200px) {
  .home-nav__tile {
    padding: 34px 40px;
  }
}
@media (max-width: 480px) {
  .home-nav__tile {
    padding: 20px 18px;
  }
}
.home-nav__tile--light {
  background: var(--bg);
  color: var(--text);
}
@media (max-width: 900px) {
  .home-nav__tile--light {
    border-right: 0;
    border-bottom: 2px solid rgba(110, 162, 146, 0.35);
  }
}
.home-nav__tile--green {
  background: var(--green);
  color: var(--white);
}
.home-nav__icon {
  margin-bottom: 40px;
  width: 290px;
  min-height: 272px;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 480px) {
  .home-nav__icon {
    width: 180px;
    margin-bottom: 26px;
  }
}
.home-nav__icon-img {
  width: 100%;
  max-height: 272px;
  height: auto;
  display: block;
  vertical-align: bottom;
}
.home-nav__title {
  margin: 0 0 28px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 480px) {
  .home-nav__title {
    font-size: 26px;
  }
}
.home-nav__title a {
  text-decoration: none;
}
.home-nav__menu {
  max-width: 860px;
}
.home-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 15px;
  /* разделители “/” как в макете */
}
.home-nav__list > li {
  position: relative;
  padding-right: 18px;
}
.home-nav__list > li::after {
  content: "/";
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.85;
}
.home-nav__list > li:last-child {
  padding-right: 0;
}
.home-nav__list > li:last-child::after {
  content: "";
}
.home-nav__list a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-nav__list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-nav__list a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.home-question {
  padding: 60px 0 80px;
}
.home-question__frame {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 1024px) {
  .home-question__frame {
    padding: 0 24px;
  }
}
@media (max-width: 480px) {
  .home-question__frame {
    padding: 0 16px;
  }
}
.home-question__card {
  margin: 0 auto;
  max-width: 520px;
  background: var(--green);
  color: var(--white);
  padding: 46px 40px;
  text-align: center;
}
.home-question__title {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.home-question__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
  margin: 0 auto 22px;
  max-width: 360px;
}
.home-question__btn {
  min-width: 360px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .home-question__btn {
    min-width: 100%;
  }
}
.home-question__btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.home-question__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Modal */
.modal {
  --bg: #f6f3ea;
  --green: #6ea292;
  --border: rgba(110, 162, 146, 0.55);
  --muted: rgba(110, 162, 146, 0.72);
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 24px 16px;
  overflow-y: auto;
}
.modal[hidden] {
  display: none;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 43, 40, 0.18);
}
.modal__panel {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: min(1040px, 100%);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(61, 82, 75, 0.08);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.modal__close::before, .modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--green);
  transform-origin: center;
}
.modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal__close:focus-visible {
  outline: 2px solid rgba(110, 162, 146, 0.65);
  outline-offset: 4px;
  border-radius: 10px;
}
.modal__title {
  margin: 0;
  padding: 30px 92px 26px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--green);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}
.modal__body {
  padding: 28px 28px 40px;
}
.modal__body .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.modal__body .wpcf7 {
  color: var(--green);
}
.modal__body .wpcf7 form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px 32px;
  align-items: end;
  margin: 0;
}
.modal__body .wpcf7 form > p {
  grid-column: 1/-1;
  margin: 0;
}
.modal__body .wpcf7 form > p:nth-last-of-type(2) {
  grid-column: 1;
  max-width: 360px;
  justify-self: end;
}
.modal__body .wpcf7 form > p:last-of-type {
  grid-column: 2;
  justify-self: end;
}
.modal__body .wpcf7 .hidden-fields-container {
  display: none;
}
.modal__body .wpcf7 form > p > label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--green);
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.15;
  text-transform: uppercase;
}
.modal__body .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.modal__body .wpcf7 input[type=text],
.modal__body .wpcf7 input[type=email],
.modal__body .wpcf7 textarea {
  width: 100%;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--green);
  font-size: 18px;
  line-height: 1.4;
}
.modal__body .wpcf7 textarea {
  min-height: 110px;
  padding-top: 4px;
  resize: vertical;
}
.modal__body .wpcf7 input[type=text]:focus,
.modal__body .wpcf7 input[type=email]:focus,
.modal__body .wpcf7 textarea:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.modal__body .wpcf7 input::placeholder,
.modal__body .wpcf7 textarea::placeholder {
  color: rgba(110, 162, 146, 0.45);
}
.modal__body .wpcf7 .honeypot-883-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.modal__body .wpcf7 .wpcf7-acceptance {
  display: block;
}
.modal__body .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.modal__body .wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  color: var(--muted);
}
.modal__body .wpcf7 .wpcf7-acceptance input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.modal__body .wpcf7 .wpcf7-acceptance a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.modal__body .wpcf7 .wpcf7-submit {
  min-width: 158px;
  height: 44px;
  padding: 0 26px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.modal__body .wpcf7 .wpcf7-submit:not(:disabled):hover {
  background: #5e9383;
  border-color: #5e9383;
}
.modal__body .wpcf7 .wpcf7-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.modal__body .wpcf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}
.modal__body .wpcf7-not-valid-tip,
.modal__body .wpcf7 form .wpcf7-response-output {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 13px;
  line-height: 1.35;
}
.modal__body .wpcf7 form .wpcf7-response-output {
  grid-column: 1/-1;
  padding: 0;
  border: 0;
}
@media (max-width: 767px) {
  .modal__body {
    padding: 22px 18px 28px;
  }
  .modal__body .wpcf7 form {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .modal__body .wpcf7 form > p:nth-last-of-type(2),
  .modal__body .wpcf7 form > p:last-of-type {
    grid-column: 1/-1;
    max-width: none;
    justify-self: stretch;
  }
  .modal__body .wpcf7 form > p:last-of-type {
    justify-self: start;
  }
}
@media (max-width: 767px) {
  .modal {
    padding: 12px;
  }
  .modal__panel {
    max-height: calc(100vh - 24px);
  }
  .modal__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .modal__close::before, .modal__close::after {
    width: 22px;
  }
  .modal__title {
    padding: 22px 54px 18px 18px;
    font-size: 28px;
  }
}

/*# sourceMappingURL=home.css.map */
