/* ------------------------------------------------------------------
   Branded lead-capture modal for gated resource downloads.
   Navy / coral to match Adam Watters Creative.
------------------------------------------------------------------- */
.awrg-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 25, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.awrg-overlay.awrg-open { opacity: 1; }

.awrg-modal {
  width: 100%;
  max-width: 440px;
  background: #162C59;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  padding: 30px 30px 26px;
  position: relative;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
  font-family: inherit;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.awrg-overlay.awrg-open .awrg-modal { transform: none; }

.awrg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.awrg-close:hover { background: rgba(255, 255, 255, 0.2); }

.awrg-logo { height: 30px; width: auto; margin-bottom: 18px; }
.awrg-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6f61;
  font-weight: 700;
  margin: 0 0 6px;
}
/* !important guards against the theme's large display-font heading styles */
.awrg-title {
  font-family: 'Anton', sans-serif !important;
  font-size: 1.6rem !important;
  line-height: 1.15 !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin: 0 0 8px !important;
}
.awrg-sub { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); margin: 0 0 22px; }

.awrg-field { margin-bottom: 14px; }
.awrg-field label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 5px; color: rgba(255, 255, 255, 0.85); }
.awrg-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}
.awrg-field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.awrg-field input:focus { outline: 2px solid #ff6f61; outline-offset: 1px; border-color: transparent; }

.awrg-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: #ff6f61;
  color: #162C59;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}
.awrg-submit:hover { color: #fff; }
.awrg-submit:disabled { opacity: 0.6; cursor: default; }

.awrg-error { color: #ffb4ac; font-size: 0.82rem; margin: 10px 0 0; min-height: 1em; }
.awrg-fineprint { font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); margin: 14px 0 0; text-align: center; }
.awrg-fineprint a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }

/* success state */
.awrg-success { text-align: center; padding: 8px 0; }
.awrg-success .awrg-check {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: #ff6f61; color: #20140f; display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.awrg-success h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 8px; }
.awrg-success p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); margin: 0 0 18px; }
.awrg-open-btn {
  display: inline-block; padding: 12px 24px; border-radius: 3px;
  background: #ff6f61; color: #162C59; font-family: 'Anton', sans-serif;
  font-weight: 400; font-size: 16px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
}

/* multi-format download buttons in the success state */
.awrg-downloads { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.awrg-dl {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 18px; border: 0; border-radius: 3px;
  cursor: pointer; font-family: 'Anton', sans-serif; font-size: 15px;
  font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: color 0.3s, background 0.15s ease;
}
.awrg-dl-icon { font-weight: 700; }
/* first (recommended) format = solid coral; alternates = outlined */
.awrg-dl:first-child { background: #ff6f61; color: #162C59; }
.awrg-dl:first-child:hover { color: #fff; }
.awrg-dl:not(:first-child) {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.awrg-dl:not(:first-child):hover { background: rgba(255, 255, 255, 0.15); }

@media (max-width: 480px) {
  .awrg-modal { padding: 26px 20px 22px; }
  .awrg-title { font-size: 1.25rem; }
}
