/* ==========================================================================
   Reports lead-gate — modal form shown before any report download.
   On submit, POSTs to formsubmit.co (aziz6492370@gmail.com) and unlocks
   downloads for the rest of the browser session (localStorage flag).
   ========================================================================== */

.rg-overlay{
  position:fixed; inset:0; z-index:10000;
  background:rgba(14,11,8,.55); backdrop-filter:blur(6px);
  display:none; align-items:center; justify-content:center;
  padding:24px;
  animation:rg-fade .2s ease;
}
.rg-overlay.rg-open{ display:flex; }
@keyframes rg-fade{ from{opacity:0} to{opacity:1} }

.rg-modal{
  width:100%; max-width:540px;
  background:#fff; border:1px solid #E4DDD0; border-radius:18px;
  box-shadow:0 32px 80px rgba(0,0,0,.4);
  overflow:hidden;
  animation:rg-pop .26s cubic-bezier(.34,1.56,.64,1);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#16110D;
}
@keyframes rg-pop{ from{opacity:0; transform:translateY(-10px) scale(.97)} to{opacity:1; transform:none} }

.rg-hd{
  padding:22px 26px 14px;
  background:linear-gradient(180deg,#FBF7F1,#fff);
  border-bottom:1px solid #EFE8DC;
  position:relative;
}
.rg-hd .kicker{
  font-family:"Space Grotesk","Inter",sans-serif;
  font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:#C45A3D; margin-bottom:6px;
}
.rg-hd h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:22px; font-weight:700; letter-spacing:-.01em; color:#16110D;
  line-height:1.2;
}
.rg-hd h2 em{ color:#C45A3D; font-style:italic; }
.rg-hd p{ font-size:13.5px; color:#6E665C; line-height:1.55; margin-top:6px; }
.rg-close{
  position:absolute; top:14px; right:14px;
  width:32px; height:32px; border-radius:50%;
  border:none; background:#F4EDE2; color:#6E665C;
  font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .15s, color .15s;
}
.rg-close:hover{ background:#C45A3D; color:#fff; }

.rg-body{ padding:18px 26px 22px; }

.rg-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:500px){ .rg-grid{ grid-template-columns:1fr; } }

.rg-field{ display:flex; flex-direction:column; gap:5px; }
.rg-field label{
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#6E665C;
}
.rg-field label .req{ color:#C45A3D; }
.rg-field input,.rg-field textarea{
  font:inherit; font-size:14px;
  padding:10px 12px;
  background:#fff; color:#16110D;
  border:1px solid #E4DDD0; border-radius:10px;
  outline:none; transition:border-color .15s, box-shadow .15s;
}
.rg-field input:focus,.rg-field textarea:focus{
  border-color:#C45A3D;
  box-shadow:0 0 0 3px rgba(196,90,61,.14);
}
.rg-field textarea{ resize:vertical; min-height:60px; }

.rg-services{ margin-top:6px; }
.rg-services .svc-label{
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#6E665C; margin-bottom:8px;
}
.rg-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.rg-chip{ position:relative; }
.rg-chip input{ position:absolute; opacity:0; pointer-events:none; }
.rg-chip span{
  display:inline-block; cursor:pointer;
  font-size:12px; font-weight:600;
  padding:7px 13px; border-radius:99px;
  background:#F4EDE2; color:#6E665C; border:1px solid transparent;
  transition:all .15s;
}
.rg-chip input:checked + span{
  background:#C45A3D; color:#fff; border-color:#C45A3D;
}
.rg-chip span:hover{ color:#C45A3D; }
.rg-chip input:checked + span:hover{ color:#fff; }

.rg-honey{ position:absolute; left:-9999px; opacity:0; pointer-events:none; }

.rg-ft{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  margin-top:18px; padding-top:14px; border-top:1px solid #EFE8DC;
}
.rg-privacy{ font-size:11.5px; color:#8B8275; line-height:1.5; }
.rg-submit{
  display:inline-flex; align-items:center; gap:8px;
  background:#16110D; color:#fff;
  border:none; cursor:pointer;
  padding:11px 22px; border-radius:99px;
  font:inherit; font-size:13px; font-weight:700; letter-spacing:.02em;
  transition:background .15s, transform .15s, box-shadow .15s;
}
.rg-submit:hover:not(:disabled){
  background:#C45A3D; transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(196,90,61,.32);
}
.rg-submit:disabled{ opacity:.6; cursor:not-allowed; }
.rg-submit::after{ content:"→"; font-size:15px; }

.rg-err{
  margin-top:10px; padding:10px 14px;
  background:#FDECEA; color:#A4452C;
  border:1px solid #F5C9C2; border-radius:8px;
  font-size:12.5px;
  display:none;
}
.rg-err.show{ display:block; }

/* thank-you state (access-mode request) */
.rg-thanks{
  padding:34px 26px 30px; text-align:center;
}
.rg-thanks-ic{
  width:54px; height:54px; border-radius:50%;
  background:linear-gradient(135deg,#7A8C5C,#5C6E42); color:#fff;
  font-size:28px; line-height:54px; margin:0 auto 16px;
  box-shadow:0 8px 22px rgba(92,110,66,.32);
}
.rg-thanks h3{
  font-family:"Playfair Display",Georgia,serif;
  font-size:22px; font-weight:700; letter-spacing:-.01em; color:#16110D;
  margin-bottom:8px;
}
.rg-thanks p{
  font-size:14px; color:#6E665C; line-height:1.55;
  max-width:380px; margin:0 auto 22px;
}
.rg-thanks p a{ color:#C45A3D; font-weight:600; }
.rg-thanks-close{
  display:inline-flex; align-items:center; gap:8px;
  background:#16110D; color:#fff; border:none; cursor:pointer;
  padding:10px 22px; border-radius:99px;
  font:inherit; font-size:13px; font-weight:700; letter-spacing:.02em;
  transition:background .15s;
}
.rg-thanks-close:hover{ background:#C45A3D; }
