.nm-home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  margin: 44px 0 56px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #c4b79f;
  border-radius: 16px;
  background: #d5cbb7;
  box-shadow: inset 0 1px 0 #fffaf1c9, 0 4px 0 #aa987c, 0 14px 24px -12px #453b2b66;
  transform: perspective(900px) translateY(0) rotateX(0);
  transform-origin: center bottom;
  transition: transform .28s ease, box-shadow .28s ease;
}
.nm-home-contact__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #577764;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.nm-home-contact h2 {
  margin: 0 0 12px;
  color: #173b30;
  font: 600 clamp(30px, 4vw, 48px)/1.08 Georgia, serif;
}
.nm-home-contact p {
  max-width: 48ch;
  margin: 0;
  color: #496258;
  font-size: 15px;
  line-height: 1.6;
}
.nm-home-contact__links { display: grid; gap: 9px; }
.nm-home-contact__link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 10px 15px;
  border: 1px solid #d4e0dc;
  border-radius: 10px;
  background: #eef5f2;
  color: #153d32;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.nm-home-contact__link:hover,
.nm-home-contact__link:focus-visible {
  background: #e5f0ea;
  border-color: #9db8a8;
  transform: translateY(-2px);
}
.nm-home-contact__link:focus-visible { outline: 2px solid #245c43; outline-offset: 3px; }
.nm-home-contact__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 700 21px/1 Arial, sans-serif;
}
.nm-home-contact__icon--whatsapp { color: #0aa965; }
.nm-home-contact__icon--email { color: #e58c37; font-size: 18px; }
.nm-home-contact__icon--instagram { color: #d65a80; font-size: 27px; }
.nm-home-contact__label { display: grid; gap: 2px; min-width: 0; }
.nm-home-contact__label strong { font-size: 14px; line-height: 1.2; }
.nm-home-contact__label small { overflow-wrap: anywhere; color: #5e756c; font-size: 12px; }
.nm-home-contact__arrow { margin-left: auto; color: #e18b34; font-size: 22px; line-height: 1; }
.nm-home-comments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(24px, 6vw, 90px);
  align-items: center;
  margin: -20px 0 56px;
  padding: 30px clamp(24px, 4vw, 48px);
  border: 1px solid #c4b79f;
  border-radius: 16px;
  background: #d5cbb7;
  box-shadow: inset 0 1px 0 #fffaf1c9, 0 4px 0 #aa987c, 0 14px 24px -12px #453b2b66;
  transform: perspective(900px) translateY(0) rotateX(0);
  transform-origin: center bottom;
  transition: transform .28s ease, box-shadow .28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nm-home-contact:hover,
  .nm-home-comments:hover {
    transform: perspective(900px) translateY(-7px) rotateX(2deg);
    box-shadow: inset 0 1px 0 #fffaf1e6, 0 9px 0 #aa987c, 0 24px 32px -14px #453b2b88;
  }
}
.nm-home-comments h2 { margin: 0 0 8px; color: #173b30; font: 600 clamp(27px, 3vw, 38px)/1.15 Georgia, serif; }
.nm-home-comments p { margin: 0; color: #496258; font-size: 14px; line-height: 1.5; }
.nm-home-comments__form { display: grid; gap: 9px; }
.nm-home-comments__form label { color: #173b30; font-size: 13px; font-weight: 700; }
.nm-home-comments__form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 94px;
  padding: 12px 14px;
  border: 1px solid #c7cebf;
  border-radius: 9px;
  background: #fffdf8;
  color: #173b30;
  font: inherit;
  resize: vertical;
}
.nm-home-comments__form textarea:focus-visible { outline: 2px solid #245c43; outline-offset: 2px; }
.nm-home-comments__form button {
  justify-self: start;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: #245c43;
  color: #fffdf8;
  font: 700 13px/1.2 Arial, sans-serif;
  cursor: pointer;
}
.nm-home-comments__form button:hover { background: #173b30; }
.nm-home-comments__form button:focus-visible { outline: 2px solid #173b30; outline-offset: 3px; }
.nm-home-comments__form button span { margin-left: 8px; font-size: 18px; }
@media (max-width: 700px) {
  .nm-home-contact { grid-template-columns: 1fr; gap: 22px; margin: 22px 0 28px; padding: 22px 16px; }
  .nm-home-contact h2 { font-size: 27px; }
  .nm-home-contact p { font-size: 13px; }
  .nm-home-contact__link { min-height: 60px; }
  .nm-home-comments { grid-template-columns: 1fr; gap: 18px; margin: 0 0 28px; padding: 22px 16px; }
  .nm-home-comments h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-home-contact,
  .nm-home-comments { transition: none; }
  .nm-home-contact:hover,
  .nm-home-comments:hover { transform: none; }
}
