/**
 * Contact page — form, info cards, map panel
 */

body.cu-site.cu-contact-page .cu-wd-hero--contact::before {
  background: linear-gradient(
    105deg,
    rgba(5, 11, 28, 0.96) 0%,
    rgba(5, 11, 28, 0.84) 55%,
    rgba(11, 25, 44, 0.78) 100%
  );
}

body.cu-site.cu-contact-page .cu-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.cu-site.cu-contact-page .cu-contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  border-radius: 16px;
  background: linear-gradient(155deg, #0f2238 0%, #0b192c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

body.cu-site.cu-contact-page .cu-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(112, 181, 43, 0.45);
}

body.cu-site.cu-contact-page .cu-contact-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(112, 181, 43, 0.12);
  color: var(--cu-green, #70b52b);
  font-size: 20px;
}

body.cu-site.cu-contact-page .cu-contact-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

body.cu-site.cu-contact-page .cu-contact-card p,
body.cu-site.cu-contact-page .cu-contact-card a {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

body.cu-site.cu-contact-page .cu-contact-card a {
  color: var(--cu-green, #70b52b);
  font-weight: 600;
  text-decoration: none;
}

body.cu-site.cu-contact-page .cu-contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.cu-site.cu-contact-page .cu-contact-form-card {
  padding: 36px 32px;
  border-radius: 20px;
  background: linear-gradient(155deg, #0f2238 0%, #0b192c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
}

body.cu-site.cu-contact-page .cu-contact-form-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
}

body.cu-site.cu-contact-page .cu-contact-form-card h2 span {
  color: var(--cu-green, #70b52b);
}

body.cu-site.cu-contact-page .cu-contact-form-card > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.65;
}

body.cu-site.cu-contact-page .cu-contact-form .cu-contact-field {
  margin-bottom: 18px;
}

body.cu-site.cu-contact-page .cu-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

body.cu-site.cu-contact-page .cu-contact-form input,
body.cu-site.cu-contact-page .cu-contact-form select,
body.cu-site.cu-contact-page .cu-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 11, 28, 0.55);
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.cu-site.cu-contact-page .cu-contact-form input:focus,
body.cu-site.cu-contact-page .cu-contact-form select:focus,
body.cu-site.cu-contact-page .cu-contact-form textarea:focus {
  outline: none;
  border-color: rgba(112, 181, 43, 0.65);
  box-shadow: 0 0 0 3px rgba(112, 181, 43, 0.15);
}

body.cu-site.cu-contact-page .cu-contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' fill-opacity='0.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

body.cu-site.cu-contact-page .cu-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

body.cu-site.cu-contact-page .cu-contact-form .result {
  font-size: 14px;
  font-weight: 600;
}

body.cu-site.cu-contact-page .cu-contact-form .result.success {
  color: var(--cu-green, #70b52b);
}

body.cu-site.cu-contact-page .cu-contact-form .result.error {
  color: #ff6b6b;
}

body.cu-site.cu-contact-page .cu-contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

body.cu-site.cu-contact-page .cu-contact-side__block {
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(155deg, #0f2238 0%, #0b192c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

body.cu-site.cu-contact-page .cu-contact-side__block h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

body.cu-site.cu-contact-page .cu-contact-side__block p,
body.cu-site.cu-contact-page .cu-contact-side__block li {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

body.cu-site.cu-contact-page .cu-contact-side__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.cu-site.cu-contact-page .cu-contact-side__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.cu-site.cu-contact-page .cu-contact-side__list i {
  color: var(--cu-green, #70b52b);
  margin-top: 3px;
  width: 18px;
  flex-shrink: 0;
}

body.cu-site.cu-contact-page .cu-contact-side__list a {
  color: var(--cu-green, #70b52b);
  font-weight: 600;
  text-decoration: none;
}

body.cu-site.cu-contact-page .cu-contact-side__block a {
  color: var(--cu-green, #70b52b);
  font-weight: 600;
  text-decoration: none;
}

body.cu-site.cu-contact-page .cu-contact-side__block a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.cu-site.cu-contact-page .cu-contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
}

body.cu-site.cu-contact-page .cu-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 991px) {
  body.cu-site.cu-contact-page .cu-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  body.cu-site.cu-contact-page .cu-contact-cards {
    grid-template-columns: 1fr;
  }

  body.cu-site.cu-contact-page .cu-contact-form-card {
    padding: 28px 20px;
  }
}
