/* Axencia.co — Contact Page · World-Class Premium (dark blue glass) */

.ax-contact-page {
  --cx-teal: #00d4ff;
  --cx-blue: #3b82f6;
  --cx-navy: #020617;
  --cx-glass: rgba(8, 18, 42, 0.78);
  --cx-border: rgba(59, 130, 246, 0.28);
  background: transparent;
}

/* ── Hero ── */
.ax-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 72px;
  background: transparent;
}

.ax-contact-hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ax-contact-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.ax-contact-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  will-change: transform;
}

.ax-contact-aurora-1 {
  width: 420px;
  height: 420px;
  left: 10%;
  top: 5%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 70%);
  animation: cxAurora1 22s ease-in-out infinite;
}

.ax-contact-aurora-2 {
  width: 480px;
  height: 480px;
  right: 5%;
  top: 20%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 70%);
  animation: cxAurora2 26s ease-in-out infinite;
}

.ax-contact-aurora-3 {
  width: 360px;
  height: 360px;
  left: 40%;
  bottom: -5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  animation: cxAurora3 24s ease-in-out infinite;
}

@keyframes cxAurora1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, 16px, 0); }
}

@keyframes cxAurora2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 12px, 0); }
}

@keyframes cxAurora3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(14px, -14px, 0); }
}

.ax-contact-hero-grid {
  position: absolute;
  inset: -8%;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 10%, transparent 75%);
  animation: cxGridDrift 40s linear infinite;
  opacity: 0.7;
}

@keyframes cxGridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(64px, 64px, 0); }
}

.ax-contact-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(2, 6, 23, 0.55) 100%);
}

.ax-contact-hero-orb {
  display: none;
}

.ax-contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.ax-contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 22px;
  line-height: 1;
}

.ax-contact-tag.section-tag::before {
  display: none;
}

.ax-contact-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cx-teal);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5), 0 0 14px rgba(0, 212, 255, 0.4);
  animation: cxLivePulse 2.6s ease-in-out infinite;
}

@keyframes cxLivePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.45), 0 0 14px rgba(0, 212, 255, 0.35); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.1), 0 0 22px rgba(0, 212, 255, 0.5); }
}

.ax-contact-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin-bottom: 16px;
  line-height: 1.15;
}

.ax-contact-hero h1 span {
  background: linear-gradient(135deg, #60a5fa, var(--cx-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ax-contact-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.95);
  max-width: 620px;
  margin: 0 auto 28px;
}

.ax-contact-hud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ax-contact-hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 100px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(2, 8, 24, 0.55);
  border: 1px solid var(--cx-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ax-contact-hud-item strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0f2fe;
  font-variant-numeric: tabular-nums;
}

.ax-contact-hud-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 0.88);
}

/* ── Main grid ── */
.ax-contact-main {
  padding: 48px 24px 80px;
}

.ax-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Info panel ── */
.ax-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.ax-contact-glass-card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(8, 18, 42, 0.88), rgba(15, 30, 70, 0.52));
  border: 1px solid var(--cx-border);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.ax-contact-glass-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0f9ff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.ax-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ax-contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(2, 8, 24, 0.45);
  border: 1px solid rgba(59, 130, 246, 0.18);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ax-contact-channel:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(2, 8, 24, 0.65);
  transform: translateX(3px);
}

.ax-contact-channel-ic {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.2);
  color: #7dd3fc;
}

.ax-contact-channel div strong {
  display: block;
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-bottom: 2px;
}

.ax-contact-channel div span {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
}

.ax-contact-hours p {
  font-size: 0.92rem;
  color: rgba(148, 163, 184, 0.92);
  line-height: 1.65;
  margin: 0;
}

.ax-contact-hours strong {
  color: #bae6fd;
}

.ax-contact-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ax-contact-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.88);
  background: rgba(2, 8, 24, 0.45);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.ax-contact-trust-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cx-teal);
}

/* Process steps */
.ax-contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ax-contact-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.ax-contact-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7dd3fc;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.ax-contact-steps li strong {
  display: block;
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 3px;
}

.ax-contact-steps li span {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.45;
}

/* Live activity strip */
.ax-contact-live-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-size: 0.85rem;
  color: rgba(186, 230, 253, 0.95);
}

.ax-contact-live-strip .cx-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cx-teal);
  animation: cxLivePulse 2.6s ease-in-out infinite;
  flex-shrink: 0;
}

#cxLiveText {
  transition: opacity 0.32s ease;
}

/* ── Form panel ── */
.ax-contact-form-panel {
  position: relative;
  border-radius: 24px;
  padding: 36px 36px 40px;
  background: linear-gradient(155deg, rgba(8, 18, 42, 0.9), rgba(15, 30, 70, 0.55));
  border: 1px solid var(--cx-border);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 120px rgba(37, 99, 235, 0.1);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.ax-contact-form-panel:focus-within {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 0 4px rgba(0, 212, 255, 0.06),
    0 0 140px rgba(0, 212, 255, 0.1);
}

.ax-contact-form-shimmer {
  position: absolute;
  inset: -50% -80%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.07), transparent 55%);
  animation: cxFormShimmer 18s ease-in-out infinite;
  z-index: 0;
}

@keyframes cxFormShimmer {
  0%, 100% { transform: translate3d(-5%, -5%, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate3d(8%, 6%, 0) rotate(3deg); opacity: 0.75; }
}

.ax-contact-form-fx,
.ax-contact-form-canvas {
  display: none;
}

.ax-contact-form-panel > *:not(.ax-contact-form-shimmer):not(.ax-contact-form-fx) {
  position: relative;
  z-index: 1;
}

.ax-contact-form-head {
  margin-bottom: 24px;
}

.ax-contact-form-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.ax-contact-form-head p {
  font-size: 0.95rem;
  color: rgba(148, 163, 184, 0.92);
  line-height: 1.55;
  margin: 0;
}

/* Select chevron — on input wrap for correct alignment */
.ax-contact-page .form-field-select .form-input-wrap {
  position: relative;
}

.ax-contact-page .form-field-select .form-input-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23bae6fd' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ax-contact-page .form-field-select select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px !important;
  cursor: pointer;
}

.ax-contact-page select:invalid {
  border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Override form container for new layout */
.ax-contact-page .form-container-enhanced {
  max-width: none;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.ax-contact-page .form-section {
  padding: 0;
}

.ax-contact-page .page-header-animated {
  display: none;
}

/* Why section */
.ax-contact-why {
  padding: 0 24px 72px;
}

.ax-contact-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.ax-contact-why-card {
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(8, 18, 42, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ax-contact-why-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-3px);
}

.ax-contact-why-card strong {
  display: block;
  font-size: 0.95rem;
  color: #e0f2fe;
  margin-bottom: 8px;
}

.ax-contact-why-card p {
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.92);
  line-height: 1.55;
  margin: 0;
}

/* Mobile */
@media (max-width: 960px) {
  .ax-contact-grid {
    grid-template-columns: 1fr;
  }

  .ax-contact-info {
    position: static;
  }

  .ax-contact-why-grid {
    grid-template-columns: 1fr;
  }

  .ax-contact-form-panel {
    padding: 28px 22px 32px;
  }

  .ax-contact-hero {
    padding: 100px 20px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-contact-hero-orb,
  .ax-contact-tag-dot,
  .cx-live-dot,
  .ax-contact-aurora,
  .ax-contact-hero-grid,
  .ax-contact-form-shimmer {
    animation: none;
  }

  .ax-contact-hero-canvas {
    display: none;
  }
}
