/* Контакти — two-column contacts + form */

body.contact-page {
  background: #f1f4eb;
  color: #1a2420;
}

body.contact-page section[id],
body.contact-page footer[id] {
  scroll-margin-top: 5.5rem;
}

.contact-shell {
  margin-inline: auto;
  max-width: 80rem;
  width: 100%;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .contact-shell { padding-inline: 2rem; }
}

/* contact-hero kept as alias — prefer .page-banner */
.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(16rem, 38svh, 22rem);
  padding: clamp(5.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
  background: #0f1a14;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-biohumax-garden-label-contrast.webp") center 46% / cover no-repeat;
  transform: scale(1.02);
}
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 12, .42) 0%, rgba(7, 18, 12, .52) 55%, rgba(7, 18, 12, .68) 100%),
    linear-gradient(90deg, rgba(7, 18, 12, .45) 0%, rgba(7, 18, 12, .18) 72%);
}
@media (max-width: 767px) {
  .contact-hero::before { background-image: url("../img/hero-biohumax-mobile-v2.webp"); }
}
.contact-hero .contact-shell { position: relative; z-index: 1; }

.contact-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(5, 14, 9, .28);
}

.contact-hero p {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  text-shadow: 0 2px 14px rgba(5, 14, 9, .22);
}

.contact-main {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2rem;
  }
}

.contact-card,
.contact-form-card {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid #ececec;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 32, 24, .06);
}

.contact-company {
  margin: 0 0 1.25rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a2420;
}

.contact-rows {
  display: grid;
  gap: .85rem;
}

.contact-row {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f6f8f1;
}

.contact-row__label {
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2f6b4f;
}

.contact-row a,
.contact-row__value {
  display: block;
  margin-top: .35rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #1a2420;
  text-decoration: none;
}

.contact-row a:hover {
  color: #2f6b4f;
}

.contact-social {
  display: grid;
  gap: .85rem;
  margin-top: 1.25rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(26, 36, 32, .08);
  border-radius: 1rem;
  background: #f6f8f1;
  color: #1a2420;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.contact-social a:hover {
  border-color: rgba(47, 107, 79, .35);
  transform: translateY(-1px);
}

.contact-social__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  background: #fff;
  overflow: hidden;
}

.contact-social__icon img {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.contact-social__label {
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.contact-form-card h2 {
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.contact-form-card > p {
  margin: .75rem 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(26, 36, 32, .72);
}

.contact-form-card .form-grid {
  margin-top: 1.5rem;
  width: 100%;
}

.contact-form-card .form-grid .check a {
  color: #2f6b4f;
  font-weight: 800;
}
