.aq-contact-open {
  overflow: hidden;
}

.aq-contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 18, 16, 0.34);
  backdrop-filter: blur(12px) saturate(0.72);
  -webkit-backdrop-filter: blur(12px) saturate(0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.aq-contact-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.aq-contact-dialog {
  position: relative;
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  color: #11110f;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 107, 0, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.98), rgba(250, 249, 244, 0.96));
  box-shadow: 0 30px 90px rgba(14, 14, 12, 0.28);
  transform: translateY(18px) scale(0.975);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aq-contact-overlay.is-open .aq-contact-dialog {
  transform: translateY(0) scale(1);
}

.aq-contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 50%;
  color: rgba(13, 13, 13, 0.46);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.aq-contact-close:hover {
  color: #11110f;
  border-color: rgba(255, 107, 0, 0.32);
  transform: rotate(5deg);
}

.aq-contact-head {
  padding: 36px 34px 30px;
  text-align: center;
}

.aq-contact-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 21px;
  place-items: center;
  border-radius: 19px;
  color: #fff;
  background: #11110f;
  box-shadow: 0 14px 28px rgba(17, 17, 15, 0.2);
}

.aq-contact-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff6b00;
}

.aq-contact-eyebrow {
  margin-bottom: 14px;
  color: #ff5f00;
  font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.aq-contact-title {
  margin: 0;
  font-size: clamp(27px, 5vw, 31px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.aq-contact-description {
  max-width: 320px;
  margin: 17px auto 0;
  color: rgba(17, 17, 15, 0.58);
  font-size: 14px;
  line-height: 1.9;
}

.aq-contact-body {
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
}

.aq-contact-email-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.05);
}

.aq-contact-email-card::before {
  content: "";
  position: absolute;
  inset: 15px auto 15px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #ff6b00;
}

.aq-contact-at {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #e95e00;
  background: rgba(255, 107, 0, 0.1);
  font-size: 20px;
  font-weight: 700;
}

.aq-contact-email-copy {
  min-width: 0;
}

.aq-contact-email-label {
  margin-bottom: 5px;
  color: rgba(17, 17, 15, 0.4);
  font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.2em;
}

.aq-contact-email {
  color: #11110f;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.aq-contact-send {
  display: flex;
  min-height: 49px;
  margin-top: 19px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 16px;
  color: #fff;
  background: #11110f;
  box-shadow: 0 15px 28px rgba(17, 17, 15, 0.16);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.aq-contact-send:hover {
  color: #fff;
  background: #ff5f00;
  transform: translateY(-1px);
}

.aq-contact-later {
  display: block;
  margin: 18px auto 0;
  padding: 4px 10px;
  border: 0;
  color: rgba(17, 17, 15, 0.35);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.aq-contact-later:hover {
  color: rgba(17, 17, 15, 0.68);
}

.aq-contact-close:focus-visible,
.aq-contact-send:focus-visible,
.aq-contact-later:focus-visible {
  outline: 2px solid #ff6b00;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .aq-contact-overlay { padding: 14px; }
  .aq-contact-dialog { border-radius: 26px; }
  .aq-contact-head { padding: 32px 22px 25px; }
  .aq-contact-body { padding: 19px 17px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .aq-contact-overlay,
  .aq-contact-dialog,
  .aq-contact-close,
  .aq-contact-send { transition: none; }
}
