/* Contact page (contact.html) specific styles */

.contact-page {
  background:
    radial-gradient(900px 520px at 30% 85%, rgba(155, 108, 211, 0.20) 0%, transparent 60%),
    radial-gradient(760px 420px at 75% 15%, rgba(94, 42, 145, 0.14) 0%, transparent 65%),
    linear-gradient(180deg, rgba(242, 242, 244, 0.96), rgba(242, 242, 244, 0.96));
  position: relative;
  overflow-x: hidden;
}

.contact-page::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -60px;
  width: min(560px, 55vw);
  height: min(560px, 55vw);
  opacity: 0.95;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.05);
}

.contact-hero {
  padding-top: 70px;
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: rgba(20, 8, 38, 0.96);
  margin-bottom: 1rem;
}

.contact-hero .smart-pill {
  position: relative;
  display: inline-block;
  padding: 0.05em 0.45em;
  border-radius: 999px;
  background: rgba(155, 108, 211, 0.16);
}

.contact-hero .smart-pill::after {
  content: "";
  position: absolute;
  inset: -10px -14px -12px -14px;
  border-radius: 999px;
  border: 2px solid rgba(94, 42, 145, 0.35);
  transform: rotate(-4deg);
  pointer-events: none;
}

.contact-hero p {
  color: rgba(20, 8, 38, 0.62);
  max-width: 720px;
  margin: 0.75rem auto 0;
  font-size: 1.02rem;
}

.contact-form-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
}

.project-form-card {
  background: #ffffff;
  border: 1px solid rgba(94, 42, 145, 0.10);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.08);
  padding: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.project-form-card .form-label {
  font-weight: 700;
  color: rgba(20, 8, 38, 0.85);
}

.project-form-card .form-label .req {
  color: rgba(155, 108, 211, 0.95);
  margin-left: 4px;
}

.project-input {
  border: 1px solid rgba(94, 42, 145, 0.14) !important;
  border-radius: 10px !important;
  padding: 0.85rem 1rem !important;
  font-family: var(--font-body);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.project-input:focus {
  border-color: rgba(94, 42, 145, 0.40) !important;
  box-shadow: 0 0 0 4px rgba(155, 108, 211, 0.16) !important;
  outline: none !important;
}

.budget-select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(46, 15, 79, 0.75) 50%),
    linear-gradient(135deg, rgba(46, 15, 79, 0.75) 50%, transparent 50%),
    linear-gradient(to right, rgba(94, 42, 145, 0.10), rgba(94, 42, 145, 0.10));
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px),
    calc(100% - 2.4rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 60%;
  background-repeat: no-repeat;
}

.summary-hint {
  font-size: 0.85rem;
  color: rgba(20, 8, 38, 0.50);
  margin-top: 8px;
}

.summary-counter {
  font-size: 0.82rem;
  color: rgba(20, 8, 38, 0.55);
}

@media (max-width: 992px) {
  .contact-page::before { opacity: 0.22; left: -120px; bottom: -140px; }
  .project-form-card { padding: 22px; }
}

@media (max-width: 576px) {
  .contact-hero { padding-top: 56px; }
  .project-form-card { border-radius: 18px; }
}

