:root {
  --az-purple: #8b008d;
  --az-purple-2: #c400b8;
  --az-deep: #07050d;
  --az-ink: #141118;
  --az-muted: #655f6c;
  --az-soft: #f8f5fb;
  --az-line: rgba(125, 0, 140, .13);
  --az-card: rgba(255, 255, 255, .82);
  --az-shadow: 0 28px 80px rgba(27, 9, 39, .12);
}

html {
  scroll-behavior: smooth;
}

.az-contact-hero,
.az-contact-path,
.az-contact-main,
.az-contact-services,
.az-contact-final {
  position: relative;
  overflow: hidden;
}

.az-contact-hero {
  min-height: 760px;
  padding: clamp(5rem, 8vw, 8.5rem) 0 clamp(4.5rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 20% 12%, rgba(196, 0, 184, .13), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(139, 0, 141, .15), transparent 36%),
    linear-gradient(180deg, #fff 0%, #fbf8ff 57%, #fff 100%);
  isolation: isolate;
}

.az-contact-bg,
.az-contact-grid-bg,
.az-contact-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.az-contact-grid-bg {
  opacity: .66;
  background:
    radial-gradient(ellipse at 18% 26%, rgba(196, 0, 184, .15), transparent 38%),
    radial-gradient(ellipse at 74% 18%, rgba(139, 0, 141, .13), transparent 42%),
    conic-gradient(from 118deg at 52% 34%, transparent 0deg, rgba(139, 0, 141, .075) 58deg, transparent 128deg, rgba(196, 0, 184, .06) 218deg, transparent 306deg);
  filter: blur(.25px);
  mask-image: radial-gradient(ellipse at 50% 36%, #000 0%, transparent 74%);
}

.az-contact-orb {
  width: 360px;
  height: 360px;
  inset: auto;
  border-radius: 999px;
  filter: blur(20px);
  opacity: .52;
}

.az-contact-orb-one {
  top: 110px;
  left: -170px;
  background: radial-gradient(circle, rgba(196, 0, 184, .28), transparent 65%);
}

.az-contact-orb-two {
  right: -150px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(92, 0, 156, .22), transparent 66%);
}

.az-contact-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.az-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--az-purple);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.az-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--az-purple), var(--az-purple-2));
}

.az-contact-copy h1,
.az-section-heading h2,
.az-contact-sidebar h2,
.az-contact-services h2,
.az-contact-final-card h2 {
  color: var(--az-ink);
  font-family: var(--font-heading, Poppins, Inter, sans-serif);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .93;
}

.az-contact-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 3.5rem);
}

.az-contact-lead {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: var(--az-muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.az-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.az-button-ghost {
  color: var(--az-ink);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(139, 0, 141, .18);
  box-shadow: 0 18px 50px rgba(23, 9, 34, .08);
}

.az-button-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 0, 141, .34);
}

.az-contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 2.2rem;
}

.az-contact-info-card,
.az-path-card,
.az-contact-form,
.az-contact-sidebar,
.az-contact-services-inner {
  position: relative;
  border: 1px solid rgba(139, 0, 141, .12);
  background: var(--az-card);
  box-shadow: var(--az-shadow);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.az-contact-info-card {
  min-height: 148px;
  padding: 1.15rem;
  border-radius: 24px;
  overflow: hidden;
}

.az-contact-info-card::after,
.az-path-card::after,
.az-contact-form::after,
.az-contact-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(196, 0, 184, .18), transparent 34%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.az-contact-info-card:hover::after,
.az-path-card:hover::after,
.az-contact-form:hover::after,
.az-contact-sidebar:hover::after {
  opacity: 1;
}

.az-contact-info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--az-purple), var(--az-purple-2));
  box-shadow: 0 18px 34px rgba(139, 0, 141, .26);
}

.az-contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.az-contact-info-card strong,
.az-contact-info-card span:last-child {
  position: relative;
  z-index: 2;
  display: block;
}

.az-contact-info-card strong {
  color: var(--az-ink);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.az-contact-info-card span:last-child {
  margin-top: .45rem;
  color: var(--az-muted);
  font-size: .94rem;
  line-height: 1.45;
}

.az-contact-visual {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.az-contact-dashboard {
  position: absolute;
  inset: 55px 0 auto auto;
  width: min(100%, 620px);
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,.62);
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.38));
  box-shadow: 0 38px 110px rgba(72, 0, 90, .22);
  overflow: hidden;
}

.az-contact-dashboard img {
  display: block;
  width: 100%;
  height: auto;
}

.az-dashboard-overlay {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 7%;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  color: #fff;
  background: rgba(8, 4, 14, .72);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
}

.az-dashboard-overlay span {
  display: block;
  width: 44px;
  height: 5px;
  margin-bottom: .65rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #fff, #d900d8);
}

.az-dashboard-overlay strong,
.az-dashboard-overlay small {
  display: block;
}

.az-dashboard-overlay strong {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.az-dashboard-overlay small {
  margin-top: .25rem;
  opacity: .76;
}

.az-visual-orbit {
  position: absolute;
  border: 1px solid rgba(139, 0, 141, .16);
  border-radius: 999px;
  transform: rotateX(62deg) rotateZ(-18deg);
  pointer-events: none;
}

.az-visual-orbit-one {
  width: 460px;
  height: 460px;
  top: 40px;
  right: 20px;
  animation: azSpin 18s linear infinite;
}

.az-visual-orbit-two {
  width: 620px;
  height: 620px;
  top: -45px;
  right: -75px;
  animation: azSpin 26s linear infinite reverse;
}

.az-floating-cube,
.az-floating-panel {
  position: absolute;
  z-index: 4;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(135deg, rgba(139,0,141,.93), rgba(196,0,184,.86));
  box-shadow: 0 24px 70px rgba(87, 0, 107, .24);
  backdrop-filter: blur(12px);
  will-change: transform;
}

.az-floating-cube {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  transform: rotate(-10deg);
}

.az-floating-cube-one { top: 44px; left: 8%; animation: azFloatA 6s ease-in-out infinite; }
.az-floating-cube-two { top: 184px; right: -5px; animation: azFloatB 7s ease-in-out infinite; }
.az-floating-cube-three { bottom: 82px; left: 18%; animation: azFloatA 8s ease-in-out infinite; }

.az-floating-panel {
  min-width: 185px;
  padding: .9rem 1rem;
  border-radius: 22px;
}

.az-floating-panel strong,
.az-floating-panel span {
  display: block;
}

.az-floating-panel strong {
  font-size: 1rem;
}

.az-floating-panel span {
  margin-top: .2rem;
  font-size: .78rem;
  opacity: .78;
}

.az-floating-panel-one { top: 328px; left: -5%; animation: azFloatB 6.7s ease-in-out infinite; }
.az-floating-panel-two { right: 2%; bottom: 28px; animation: azFloatA 7.5s ease-in-out infinite; }

.az-section-heading {
  max-width: 870px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.az-section-heading h2,
.az-contact-sidebar h2,
.az-contact-services h2,
.az-contact-final-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.az-section-heading p,
.az-contact-sidebar p,
.az-contact-final-card p {
  color: var(--az-muted);
  line-height: 1.75;
}

.az-contact-path {
  padding-top: clamp(3rem, 6vw, 5.8rem);
  background: #fff;
}

.az-contact-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.az-path-card {
  min-height: 260px;
  padding: 1.55rem;
  border-radius: 30px;
  overflow: hidden;
}

.az-path-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--az-purple), var(--az-purple-2));
  font-size: .82rem;
  font-weight: 900;
}

.az-path-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 .7rem;
  color: var(--az-ink);
  font-size: 1.35rem;
  letter-spacing: -.04em;
}

.az-path-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--az-muted);
  line-height: 1.7;
}

.az-contact-main {
  padding: clamp(3.5rem, 6vw, 7rem) 0;
  background:
    radial-gradient(circle at 6% 18%, rgba(196, 0, 184, .12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.az-contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(420px, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.az-contact-sidebar {
  position: sticky;
  top: 110px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 34px;
  overflow: hidden;
}

.az-contact-sidebar p {
  margin: 1.1rem 0 0;
}

.az-contact-checklist {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(139, 0, 141, .12);
}

.az-contact-checklist h3 {
  margin: 0 0 .8rem;
  color: var(--az-ink);
  font-size: 1rem;
}

.az-contact-checklist ul {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.az-contact-checklist li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--az-muted);
  line-height: 1.45;
}

.az-contact-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--az-purple), var(--az-purple-2));
  box-shadow: 0 0 0 5px rgba(139, 0, 141, .08);
}

.az-contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border-radius: 34px;
  overflow: hidden;
}

.az-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.az-contact-form label {
  position: relative;
  z-index: 2;
  display: grid;
  gap: .48rem;
  color: var(--az-ink);
  font-size: .84rem;
  font-weight: 800;
}

.az-contact-form input,
.az-contact-form select,
.az-contact-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(139, 0, 141, .14);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  color: var(--az-ink);
  font: inherit;
  font-weight: 500;
  outline: none;
  padding: .95rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.az-contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--az-purple) 50%),
    linear-gradient(135deg, var(--az-purple) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.az-contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.az-contact-form input:focus,
.az-contact-form select:focus,
.az-contact-form textarea:focus {
  border-color: rgba(139, 0, 141, .48);
  box-shadow: 0 0 0 5px rgba(139, 0, 141, .08);
  background: #fff;
  transform: translateY(-1px);
}

.az-form-full {
  grid-column: 1 / -1;
}

.az-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: .72rem !important;
  color: var(--az-muted) !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  line-height: 1.55;
}

.az-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: .15rem;
  accent-color: var(--az-purple);
}

.az-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.az-form-message {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  border-radius: 18px;
  padding: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.az-form-success {
  color: #0d6835;
  background: #eafaf0;
  border: 1px solid rgba(13, 104, 53, .16);
}

.az-form-error {
  color: #9b1c1c;
  background: #fff0f0;
  border: 1px solid rgba(155, 28, 28, .16);
}

.az-contact-services {
  padding: clamp(3rem, 6vw, 6.5rem) 0;
  background: #fff;
}

.az-contact-services-inner {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 20%, rgba(196, 0, 184, .14), transparent 32%),
    rgba(255,255,255,.86);
}

.az-contact-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.az-contact-service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem 1rem;
  border-radius: 999px;
  color: var(--az-ink);
  background: #fff;
  border: 1px solid rgba(139, 0, 141, .12);
  box-shadow: 0 14px 36px rgba(26, 7, 42, .06);
  font-weight: 800;
}

.az-contact-final {
  padding: 0 0 clamp(4rem, 7vw, 7rem);
  background: #fff;
}

.az-contact-final-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 4, 14, .98), rgba(75, 0, 97, .96) 48%, rgba(196, 0, 184, .88));
  box-shadow: 0 38px 120px rgba(63, 0, 80, .28);
}

.az-contact-final-card .az-eyebrow,
.az-contact-final-card h2,
.az-contact-final-card p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.az-contact-final-card h2 {
  max-width: 820px;
}

.az-contact-final-card p {
  max-width: 640px;
  margin: 1rem 0 1.7rem;
  opacity: .78;
}

.az-contact-final-glow {
  position: absolute;
  right: -180px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.25), rgba(196,0,184,.15) 34%, transparent 68%);
}

[data-az-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

[data-az-reveal="left"] { transform: translateX(-34px); }
[data-az-reveal="right"] { transform: translateX(34px); }
[data-az-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes azFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(4deg); }
}

@keyframes azFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(6deg); }
  50% { transform: translate3d(0, 16px, 0) rotate(-5deg); }
}

@keyframes azSpin {
  to { transform: rotateX(62deg) rotateZ(342deg); }
}

@media (max-width: 1180px) {
  .az-contact-hero-grid,
  .az-contact-main-grid,
  .az-contact-services-inner {
    grid-template-columns: 1fr;
  }

  .az-contact-hero {
    min-height: auto;
  }

  .az-contact-copy h1 {
    max-width: 920px;
  }

  .az-contact-visual {
    min-height: 520px;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }

  .az-contact-dashboard {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .az-contact-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 820px) {
  .az-contact-hero {
    padding-top: 4.6rem;
  }

  .az-contact-details,
  .az-contact-path-grid,
  .az-form-row {
    grid-template-columns: 1fr;
  }

  .az-contact-visual {
    min-height: 430px;
  }

  .az-contact-dashboard {
    top: 44px;
    width: 92%;
    border-radius: 30px;
  }

  .az-floating-cube {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: .88rem;
  }

  .az-floating-panel {
    min-width: 150px;
  }

  .az-floating-panel-one {
    left: 1%;
    top: 275px;
  }

  .az-floating-panel-two {
    right: 0;
    bottom: 18px;
  }

  .az-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .az-contact-actions .az-button {
    width: 100%;
    justify-content: center;
  }

  .az-contact-form,
  .az-contact-sidebar,
  .az-contact-services-inner,
  .az-contact-final-card {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .az-contact-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .az-section-heading h2,
  .az-contact-sidebar h2,
  .az-contact-services h2,
  .az-contact-final-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .az-contact-visual {
    min-height: 350px;
  }

  .az-contact-dashboard {
    top: 35px;
    border-radius: 24px;
  }

  .az-floating-cube-two,
  .az-floating-cube-three,
  .az-floating-panel-one {
    display: none;
  }

  .az-floating-panel-two {
    right: 4%;
    bottom: 24px;
  }

  .az-dashboard-overlay {
    left: 6%;
    right: 6%;
    padding: .82rem;
    border-radius: 18px;
  }

  .az-contact-service-tags span {
    width: 100%;
    justify-content: center;
  }
}
