.contact-page {
  min-height: 100vh;
  padding: 64px 0;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(0, 119, 255, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(0, 119, 255, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  color: #172033;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.contact-left {
  padding: 12px 0;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  background: #edf5ff;
  color: #0077ff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.contact-left h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.4px;
  color: #172033;
  margin: 0 0 18px;
  font-weight: 900;
}

.contact-lead {
  max-width: 530px;
  color: #6b7a90;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 26px;
}

.contact-mini-list {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.contact-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d7e6ff;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 119, 255, 0.08);
  transition: 0.25s ease;
}
.contact-mini-card:hover {
  transform: translateY(-4px);
  border-color: #0077ff;
  background: linear-gradient(135deg, #0077ff, #005fe0);
  box-shadow: 0 22px 50px rgba(0, 119, 255, 0.22);
}

.contact-mini-card:hover strong,
.contact-mini-card:hover small {
  color: #ffffff;
}

.contact-mini-card:hover .mini-icon {
  background: #ffffff;
  color: #0077ff;
  transform: scale(1.06);
}

.contact-mini-card:hover .mini-icon svg {
  stroke: #0077ff;
}
.mini-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 18px;
  background: #0077ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-mini-card strong {
  display: block;
  font-size: 15px;
  color: #172033;
  font-weight: 900;
  margin-bottom: 4px;
}

.contact-mini-card small {
  color: #6b7a90;
  font-size: 13px;
  font-weight: 700;
}

.support-note {
  margin-top: 22px;
  max-width: 520px;
  display: flex;
  gap: 13px;
  padding: 18px;
  border-radius: 22px;
  background: #edf5ff;
  border: 1px solid #d7e6ff;
}

.support-note svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
  fill: none;
  stroke: #0077ff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-note p {
  margin: 0;
  color: #172033;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.contact-form-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #d7e6ff;
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, #0077ff, #005fe0);
}

.form-top {
  margin-bottom: 24px;
}

.form-top span {
  display: inline-flex;
  color: #0077ff;
  background: #edf5ff;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.form-top h2 {
  font-size: 32px;
  margin: 0 0 8px;
  color: #172033;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.form-top p {
  color: #6b7a90;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  font-size: 13px;
  font-weight: 900;
  color: #172033;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7e6ff;
  background: #f7fbff;
  color: #172033;
  border-radius: 16px;
  padding: 14px 15px;
  font-size: 14px;
  outline: none;
  transition: 0.25s ease;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: #0077ff;
  box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.1);
}

.contact-btn {
  border: none;
  margin-top: 4px;
  min-height: 52px;
  border-radius: 17px;
  background: #0077ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.25s ease;
}

.contact-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-btn:hover {
  background: #005fe0;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 119, 255, 0.28);
}

.input-error {
  border-color: #ff3d57 !important;
  background: #fff5f6 !important;
}

.contact-error {
  color: #ff3d57;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.contact-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-success-popup {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.contact-success-popup.active {
  opacity: 1;
  visibility: visible;
}

.contact-success-box {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 28px;
  text-align: center;
  border: 1px solid #d7e6ff;
  box-shadow: 0 28px 80px rgba(0, 119, 255, 0.2);
  transform: translateY(30px) scale(0.95);
  transition: 0.35s ease;
}

.contact-success-popup.active .contact-success-box {
  transform: translateY(0) scale(1);
}

.success-check {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #edf5ff;
  color: #0077ff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s ease forwards;
}

.success-check svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-check svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.55s ease 0.25s forwards;
}

.contact-success-box h3 {
  font-size: 24px;
  color: #172033;
  margin: 0 0 10px;
  font-weight: 900;
}

.contact-success-box p {
  color: #6b7a90;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.contact-success-box button {
  border: none;
  background: #0077ff;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

@keyframes successPop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 950px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-left h1 {
    font-size: 40px;
  }
}

@media (max-width: 560px) {
  .contact-page {
    padding: 42px 0;
  }

  .contact-left h1 {
    font-size: 32px;
  }

  .input-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px;
    border-radius: 24px;
  }

  .form-top h2 {
    font-size: 26px;
  }

  .contact-mini-card {
    border-radius: 18px;
  }
}
