body.contact-page {
  background: #ffffff;
}

.contact-page-main {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background: #ffffff;
  padding: 24px 5% 54px;
}

.contact-shell {
  width: 100%;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(500px, 500px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3.4vw, 42px);
  margin-bottom: 22px;
}

.contact-hero-copy {
  padding-top: 4px;
}

.contact-hero h1 {
  max-width: 560px;
  margin: 0 0 12px;
  color: #06070b;
  font-size: clamp(42px, 3vw, 48px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.contact-hero p {
  max-width: 520px;
  margin: 0;
  color: #5f6878;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.contact-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 1.5px solid #079b3c;
  border-radius: 12px;
  color: #079b3c;
  background: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 153, 60, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 153, 60, 0.14);
  outline: none;
}

.contact-action--primary {
  min-width: 210px;
  color: #ffffff;
  background: linear-gradient(180deg, #08b447 0%, #008e34 100%);
  border-color: #009a3a;
}

.contact-action .material-icons-round {
  font-size: 20px;
  line-height: 1;
}

.contact-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.contact-proof {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f5f8f8;
  color: #172033;
  box-shadow: inset 0 0 0 1px rgba(20, 31, 47, 0.03);
}

.contact-proof .material-icons-round {
  color: #00983b;
  font-size: 22px;
}

.contact-proof span:last-child {
  max-width: 104px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.contact-hero-visual {
  min-height: 306px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-hero-visual img {
  width: min(100%, 650px);
  display: block;
  object-fit: contain;
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.contact-card,
.contact-form-card,
.contact-side-card {
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(18, 27, 40, 0.08);
}

.contact-card {
  min-height: 139px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px 20px 18px;
}

.contact-card-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #079b3c;
  background: #dff5e2;
}

.contact-card-icon .material-icons-round {
  font-size: 34px;
}

.contact-card h2,
.contact-side-card h2,
.contact-form-card h2 {
  margin: 0;
  color: #121827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.contact-card strong {
  display: block;
  margin-top: 2px;
  color: #101727;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.contact-card p {
  margin: 3px 0 12px;
  color: #687386;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-small-button {
  min-width: 136px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 9px;
  background: linear-gradient(180deg, #08b447 0%, #008d34 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 9px 18px rgba(0, 153, 60, 0.18);
}

.contact-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 398px;
  gap: 18px;
  align-items: start;
}

.contact-form-card {
  padding: 18px 18px 20px;
}

.contact-form-card h2 {
  margin-bottom: 13px;
  font-size: 20px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-field,
.contact-textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-field {
  height: 37px;
  padding: 0 14px;
}

.contact-textarea {
  min-height: 136px;
  resize: vertical;
  padding: 14px;
}

.contact-field::placeholder,
.contact-textarea::placeholder {
  color: #8791a2;
  opacity: 1;
}

.contact-field:focus,
.contact-textarea:focus {
  border-color: #0aa443;
  box-shadow: 0 0 0 3px rgba(8, 180, 71, 0.1);
  outline: none;
}

.contact-topic-label {
  margin: 0 0 -3px;
  color: #6c7280;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}

.contact-topic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

.contact-topic-list legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-topic {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e1e6ee;
  border-radius: 9px;
  color: #242c39;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.contact-topic input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-topic-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #0aa443;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.contact-topic:has(input:checked) {
  border-color: #78d699;
  background: #f5fff8;
  color: #0c7c35;
}

.contact-topic:not(:has(input:checked)) .contact-topic-dot {
  display: none;
}

.contact-form-submit {
  min-height: 42px;
  justify-self: start;
  border: 0;
  border-radius: 10px;
  padding: 0 26px;
  background: linear-gradient(180deg, #08b447 0%, #008d34 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 153, 60, 0.18);
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-side-card {
  padding: 18px 20px;
}

.contact-side-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.contact-side-heading .material-icons-round {
  color: #5f6878;
  font-size: 25px;
}

.contact-hours {
  display: grid;
  gap: 10px;
}

.contact-hours-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  color: #5d6879;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-hours-row strong {
  color: #303848;
  font-weight: 800;
}

.contact-online-card {
  min-height: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 18px;
  align-items: center;
}

.contact-online-card p {
  margin: 6px 0 12px;
  color: #687386;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.contact-online-visual {
  width: 88px;
  height: 72px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 196, 133, 0.65) 0 14px, transparent 15px),
    radial-gradient(circle at 25% 62%, rgba(157, 226, 181, 0.9) 0 20px, transparent 21px),
    linear-gradient(135deg, #e8f9ef 0%, #eef6ff 100%);
}

.contact-online-visual::before,
.contact-online-visual::after {
  content: "";
  position: absolute;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.1);
}

.contact-online-visual::before {
  width: 34px;
  height: 46px;
  left: 16px;
  bottom: 10px;
}

.contact-online-visual::after {
  width: 24px;
  height: 31px;
  right: 15px;
  bottom: 10px;
}

@media (max-width: 1100px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-hero-visual {
    min-height: 0;
    justify-content: flex-start;
  }

  .contact-hero-visual img {
    width: 100%;
    max-width: 760px;
  }

  .contact-method-grid,
  .contact-content-grid {
    grid-template-columns: 1fr;
  }

  .contact-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-page-main {
    padding: 18px 8px 40px;
  }

  .contact-hero h1 {
    font-size: 40px;
    line-height: 0.98;
  }

  .contact-actions {
    gap: 10px;
  }

  .contact-action {
    width: 100%;
  }

  .contact-proof-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-hero-visual {
    width: calc(100% + 16px);
    margin-left: -8px;
  }

  .contact-hero-visual img {
    width: 100%;
    max-width: none;
  }

  .contact-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 17px;
  }

  .contact-card-icon {
    width: 56px;
    height: 56px;
  }

  .contact-card-icon .material-icons-round {
    font-size: 29px;
  }

  .contact-form-row,
  .contact-topic-list,
  .contact-side {
    grid-template-columns: 1fr;
  }
}
