/* ─── Zero Effort Quote — Popup Styles ────────────────────────────────────── */

/* Screen-reader only utility */
.zeq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Overlay ── */
.zeq-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 99999;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  -webkit-overflow-scrolling: touch;
}

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

.zeq-overlay.zeq-is-open .zeq-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* ── Popup ── */
.zeq-popup {
  background: #111318;
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: scale(0.94) translateY(12px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1),
              opacity 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: #2a2d36 transparent;
}

.zeq-popup::-webkit-scrollbar { width: 5px; }
.zeq-popup::-webkit-scrollbar-track { background: transparent; }
.zeq-popup::-webkit-scrollbar-thumb { background: #2a2d36; border-radius: 4px; }

/* ── Header ── */
.zeq-header {
  background: linear-gradient(160deg, #1a2b4a 0%, #0f1e38 55%, #111318 100%);
  padding: 28px 28px 28px;
  position: relative;
  border-radius: 18px 18px 0 0;
}

.zeq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d0dff8;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.zeq-badge svg {
  color: #f0b429;
  flex-shrink: 0;
}

.zeq-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c8d3e8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.zeq-close:hover,
.zeq-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.zeq-headline {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.zeq-subtext {
  font-size: 14.5px;
  color: #8fa8cc;
  line-height: 1.55;
  margin: 0;
}

/* ── Trust bar ── */
.zeq-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #1f2330;
}

.zeq-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px;
  color: #8fa8cc;
  font-size: 12.5px;
  text-align: center;
  border-right: 1px solid #1f2330;
}

.zeq-trust-item:last-child {
  border-right: none;
}

.zeq-trust-item svg {
  color: #5b8dee;
}

.zeq-trust-item span {
  color: #b0bfd4;
  font-size: 12.5px;
  font-weight: 500;
}

/* ── Body ── */
.zeq-body {
  padding: 24px 24px 20px;
}

.zeq-fastest-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7a96;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

/* ── WhatsApp card ── */
.zeq-whatsapp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a3320;
  border: 1.5px solid #2a5232;
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  cursor: pointer;
  margin-bottom: 22px;
}

.zeq-whatsapp-card:hover,
.zeq-whatsapp-card:focus-visible {
  background: #1f3d27;
  border-color: #3a7046;
  transform: translateY(-1px);
  outline: 2px solid rgba(74, 222, 128, 0.25);
  outline-offset: 2px;
}

.zeq-wa-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zeq-wa-icon {
  width: 36px;
  height: 36px;
  color: #4ade80;
  flex-shrink: 0;
}

.zeq-wa-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #4ade80;
  line-height: 1.3;
}

.zeq-wa-sub {
  display: block;
  font-size: 13px;
  color: #6aad7a;
  margin-top: 2px;
}

.zeq-wa-arrow {
  color: #4ade80;
  flex-shrink: 0;
  transition: transform 0.18s;
}

.zeq-whatsapp-card:hover .zeq-wa-arrow {
  transform: translateX(3px);
}

/* ── Divider ── */
.zeq-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #3a4358;
  font-size: 12.5px;
}

.zeq-divider::before,
.zeq-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1f2330;
}

.zeq-divider span {
  white-space: nowrap;
  color: #5a6680;
}

/* ── Upload area ── */
.zeq-upload-area {
  border: 1.5px dashed #2a3348;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 16px;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
  outline: none;
}

.zeq-upload-area:hover,
.zeq-upload-area:focus-visible {
  border-color: #5b8dee;
  background: rgba(91, 141, 238, 0.04);
}

.zeq-upload-area.zeq-drag-over {
  border-color: #5b8dee;
  background: rgba(91, 141, 238, 0.08);
}

.zeq-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.zeq-upload-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.zeq-upload-default strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #d0dff8;
  margin-top: 4px;
}

.zeq-upload-default span {
  font-size: 13px;
  color: #5a6680;
}

.zeq-upload-selected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: none;
}

.zeq-upload-selected > * { pointer-events: auto; }

.zeq-file-name {
  font-size: 13.5px;
  color: #4ade80;
  font-weight: 500;
  word-break: break-all;
  max-width: 260px;
}

.zeq-remove-file {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff8080;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  padding: 0;
}

.zeq-remove-file:hover {
  background: rgba(255, 80, 80, 0.3);
}

.zeq-upload-error {
  font-size: 12.5px;
  color: #ff6b6b;
  margin-top: 6px;
  min-height: 0;
}

/* ── Form inputs ── */
.zeq-field-group {
  margin-bottom: 10px;
  position: relative;
}

.zeq-input {
  width: 100%;
  background: #181c24;
  border: 1.5px solid #252a38;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #d0dff8;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  box-sizing: border-box;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.zeq-input::placeholder { color: #4a5572; }

.zeq-input:focus {
  border-color: #5b8dee;
  background: #1c2132;
}

.zeq-input.zeq-input-error {
  border-color: #e05555;
}

.zeq-field-error {
  display: block;
  font-size: 12px;
  color: #ff7070;
  margin-top: 4px;
  min-height: 0;
  padding-left: 2px;
}

/* ── Turnstile ── */
.zeq-turnstile-wrap {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

/* ── Submit button ── */
.zeq-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #5b8dee 0%, #4a7bdd 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.18s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-family: inherit;
  line-height: 1.4;
}

.zeq-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.zeq-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.zeq-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: zeq-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes zeq-spin {
  to { transform: rotate(360deg); }
}

.zeq-form-message {
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  min-height: 0;
  color: #ff7070;
}

.zeq-form-message.zeq-msg-ok {
  color: #4ade80;
}

/* ── Footer email ── */
.zeq-footer-email {
  text-align: center;
  font-size: 13px;
  color: #4a5572;
  margin: 16px 0 4px;
}

.zeq-footer-email a {
  color: #5b8dee;
  text-decoration: none;
}

.zeq-footer-email a:hover {
  text-decoration: underline;
}

/* ── Success screen ── */
.zeq-success {
  text-align: center;
  padding: 20px 10px 10px;
}

.zeq-success-icon {
  margin-bottom: 18px;
}

.zeq-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.zeq-success p {
  font-size: 14.5px;
  color: #8fa8cc;
  line-height: 1.55;
  margin: 0 0 24px;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .zeq-header {
    padding: 22px 18px 22px;
  }

  .zeq-body {
    padding: 18px 16px 16px;
  }

  .zeq-trust-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .zeq-trust-item {
    padding: 14px 6px;
    font-size: 11.5px;
  }

  .zeq-trust-item span {
    font-size: 11.5px;
  }

  .zeq-headline {
    font-size: 20px;
    margin-right: 32px;
  }

  .zeq-wa-title {
    font-size: 14px;
  }

  .zeq-wa-sub {
    font-size: 12px;
  }
}
