:root {
  --contact-teal: #237c70;
  --contact-ink: #111924;
}

.contact-page {
  min-width: 0;
  background: #f7f9f7;
}

.contact-main {
  padding: 158px 28px 72px;
}

.contact-shell {
  width: min(1420px, 100%);
  min-height: 730px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 39, 0.13);
}

.contact-content {
  padding: clamp(48px, 5vw, 82px) clamp(42px, 7vw, 122px) 52px;
}

.contact-eyebrow {
  margin: 0 0 14px;
  color: var(--contact-teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-content h1 {
  margin: 0;
  color: #05090d;
  font-size: clamp(2.5rem, 4.1vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-content h1 span { color: var(--contact-teal); }

.contact-intro {
  max-width: 640px;
  margin: 28px 0 0;
  color: #1e2936;
  font-size: 0.96rem;
  line-height: 1.65;
}

.contact-intro-secondary { margin-top: 8px; }

.contact-addresses {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.contact-addresses p {
  margin: 0;
  color: #182431;
  font-size: 0.93rem;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 17px;
  margin-top: 34px;
}

.contact-field { position: relative; }

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #dbe0df;
  border-radius: 7px;
  outline: none;
  color: #17222d;
  background: #fff;
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-field input {
  height: 56px;
  padding: 0 18px;
}

.contact-field textarea {
  height: 92px;
  padding: 16px 18px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--contact-teal);
  box-shadow: 0 0 0 3px rgba(35, 124, 112, 0.13);
}

.contact-field span {
  display: block;
  margin-top: 4px;
  color: #4c5865;
  font-size: 0.76rem;
  text-align: right;
}

.contact-form-status {
  display: none;
  margin: -4px 0 0;
  color: #a53b33;
  font-size: 0.82rem;
  line-height: 1.45;
}

.contact-form-status.is-visible { display: block; }

.contact-send {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  background: var(--contact-teal);
  font: inherit;
  font-weight: 800;
  transition: background 0.18s ease, transform 0.18s ease;
}

.contact-send:hover,
.contact-send:focus-visible { background: #17665c; outline: none; transform: translateY(-1px); }

.contact-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-top: 36px;
}

.contact-direct-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #146d62;
  font-size: 0.84rem;
}

.contact-direct-links svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: #111924;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-direct-links span { display: grid; gap: 3px; }
.contact-direct-links b { color: #111924; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

.contact-visual {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 60px clamp(24px, 5vw, 78px);
  overflow: hidden;
  background: #030506;
}

.contact-visual::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  content: "";
  background: #111a25;
}

.support-card {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  padding: 70px 40px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 34px;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  text-align: center;
  background: var(--contact-teal);
}

.support-card::before,
.support-card::after {
  position: absolute;
  content: "";
  opacity: 0.15;
  background: #c7f1d6;
}

.support-card::before { width: 160px; height: 160px; top: -76px; left: -52px; border-radius: 50%; }
.support-card::after { width: 180px; height: 180px; right: -88px; bottom: -86px; transform: rotate(45deg); }

.support-card p,
.support-card strong,
.support-card b { position: relative; z-index: 1; }
.support-card p { margin: 0; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 800; }
.support-card strong { padding: 17px 28px; border-radius: 999px; color: #1a6e65; background: #fff; box-shadow: 0 7px 12px rgba(0, 0, 0, 0.17); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.15; }
.support-card b { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 0.98; text-shadow: 3px 4px 0 rgba(16, 48, 45, 0.44); }

.contact-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 4px solid #75bfaf;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background: #0d141a;
  font-size: 1.35rem;
}

@media (max-width: 980px) {
  .contact-main { padding: 116px 22px 46px; }
  .contact-shell { grid-template-columns: 1fr; min-height: 0; }
  .contact-visual { order: -1; min-height: 0; padding: 28px; background: #111a25; }
  .contact-visual::before { display: none; }
  .support-card { min-height: 250px; padding: 34px 24px; gap: 20px; border-radius: 24px; }
  .contact-content { padding: 48px clamp(22px, 7vw, 70px) 42px; }
}

@media (max-width: 540px) {
  .contact-main { padding: 94px 10px 28px; }
  .contact-shell { border-radius: 0 0 18px 18px; box-shadow: none; }
  .contact-visual { padding: 22px 18px; }
  .support-card { min-height: 190px; padding: 28px 16px; gap: 16px; border-radius: 22px; }
  .support-card p { font-size: 1.55rem; }
  .support-card strong { padding: 12px 20px; font-size: 1.12rem; }
  .support-card b { font-size: 2rem; }
  .contact-content { padding: 34px 24px 38px; }
  .contact-eyebrow { font-size: 0.72rem; }
  .contact-content h1 { font-size: 2.35rem; }
  .contact-intro { margin-top: 22px; font-size: 0.9rem; }
  .contact-addresses { margin-top: 27px; gap: 19px; }
  .contact-addresses p { font-size: 0.88rem; }
  .contact-form { margin-top: 28px; gap: 15px; }
  .contact-direct-links { display: grid; gap: 18px; margin-top: 30px; }
  .contact-back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
