/* ============================================================
   Contact page - custom polish layer
   ============================================================ */

/* ---------- Hero (photo band) ---------- */
.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 122px;
  background-image:
    linear-gradient(100deg, rgba(7, 25, 43, 0.96) 0%, rgba(10, 42, 70, 0.9) 45%, rgba(13, 110, 132, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 25, 43, 0.35), rgba(7, 25, 43, 0.15)),
    url("../images/IMG-20240411-WA0296.jpg");
  background-size: cover;
  background-position: center 30%;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(540px 380px at 88% 8%, rgba(20, 118, 168, 0.28), transparent 64%),
    radial-gradient(480px 360px at 4% 96%, rgba(78, 186, 40, 0.16), transparent 60%);
  pointer-events: none;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(620px 460px at 78% 26%, #000 0%, transparent 72%);
  mask-image: radial-gradient(620px 460px at 78% 26%, #000 0%, transparent 72%);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.contact-hero-inner h2 {
  text-shadow: 0 2px 30px rgba(4, 18, 32, 0.5);
}

.contact-hero-inner .grad {
  background: linear-gradient(118deg, #ffffff 8%, #CFE8FF 45%, #9BE7DD 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--white);
}

.contact-hero-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  margin-bottom: 34px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-pill svg {
  width: 17px;
  height: 17px;
  color: #9BE7DD;
  transition: transform 0.3s ease;
}

.contact-pill:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

.contact-hero .crumbs {
  color: rgba(255, 255, 255, 0.72);
}

.contact-hero-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.contact-hero-btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Form card accent ---------- */
.contact-form-card {
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

/* ---------- Contact CTA ---------- */
.contact-cta::before {
  background: rgba(255, 255, 255, 0.07);
}

.contact-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-cta-pill svg {
  width: 17px;
  height: 17px;
  color: #9BE7DD;
  animation: contact-pulse 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes contact-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.contact-cta-grad {
  background: linear-gradient(118deg, #ffffff 8%, #CFE8FF 45%, #9BE7DD 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--white);
  white-space: nowrap;
}

.contact-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-cta-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-cta-link:hover {
  color: #9BE7DD;
  border-color: #9BE7DD;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .contact-hero {
    padding: 130px 0 90px;
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding: 130px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero::after,
  .contact-pill svg,
  .contact-cta-pill svg,
  .contact-cta-link {
    transition: none;
    animation: none;
  }
}