/* =========================
   HARD RESET (prevent theme offsets)
========================== */
#pricing, #pricing * { box-sizing: border-box; }
#pricing .container{
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:0 !important;
  overflow:visible !important;
}

/* =========================
   WRAPPER
========================== */
#payaInlineQuote{
  --paya-green:#1f8a4c;
  --ink:#0f172a;
  --muted:#64748b;
  --border:rgba(15,23,42,.12);
  --shadow:0 22px 70px rgba(2,6,23,.12);
  --glass: rgba(255,255,255,.78);
  --paya-blue:#2563eb;

  background:
    radial-gradient(900px 400px at 15% 0%, rgba(31,138,76,.16), transparent 55%),
    radial-gradient(900px 400px at 95% 10%, rgba(212,175,55,.10), transparent 60%),
    #fff;

  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);

  /* allow native select dropdown */
  overflow: visible !important;

  width:100%;
  max-width:1920px;
  margin:0 auto !important;
  margin-inline:auto !important;
  display:block;
}

/* keep rounded corners but allow dropdown (clip on inner wrapper) */
#payaInlineQuote .quote-clip{
  border-radius:22px;
  overflow:hidden;
}

#payaInlineQuote .quote-shell{
  display:grid;
  grid-template-rows:auto 1fr;
  overflow: visible !important;
}

#payaInlineQuote .quote-card{
  display:grid;
  grid-template-columns: 1.15fr 0.77fr;
  align-items:stretch;
  overflow: visible !important;
}
@media (max-width: 900px){
  #payaInlineQuote .quote-card{ grid-template-columns: 1fr; }
}

#payaInlineQuote .quote-left{
  padding:14px 18px 18px;
  overflow: visible !important;
}

/* =========================
   HERO
========================== */
#payaInlineQuote .heroIntro{
  position:relative;
  padding:14px 18px 12px;
  border-bottom:1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, var(--glass), rgba(255,255,255,.50));
  backdrop-filter: blur(8px);
}
#payaInlineQuote .heroIntro::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 240px at 70% 0%, rgba(31,138,76,.14), transparent 55%),
    radial-gradient(900px 240px at 95% 0%, rgba(212,175,55,.10), transparent 60%);
  pointer-events:none;
}

#payaInlineQuote .introTop{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
#payaInlineQuote .kicker{
  font-weight:900;
  letter-spacing:.10em;
  color:var(--paya-green);
  font-size:12px;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
#payaInlineQuote .kicker .spark{
  width:10px;height:10px;border-radius:999px;
  background:var(--paya-green);
  box-shadow:0 0 0 6px rgba(31,138,76,.14);
}
#payaInlineQuote .trust{ display:flex; gap:8px; flex-wrap:wrap; }
#payaInlineQuote .trust .pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.78);
  font-size:12px;
  font-weight:800;
  color:var(--ink);
}
#payaInlineQuote .trust .pill i{
  width:10px;height:10px;border-radius:999px;background:var(--paya-green);
  display:inline-block;
}

#payaInlineQuote .heroTitle{
  position:relative;
  z-index:1;
  margin:10px 0 6px;
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.02em;
  font-weight:950;
  color:var(--ink);
}
#payaInlineQuote .heroSub{
  position:relative;
  z-index:1;
  margin:0;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
  font-weight:800;
  max-width:1100px;
}

#payaInlineQuote .heroDefault{ display:block; }
#payaInlineQuote .heroSuccess{ display:none; }
#payaInlineQuote.is-estimated .heroDefault{ display:none !important; }
#payaInlineQuote.is-estimated .heroSuccess{ display:block !important; }

#payaInlineQuote .heroSuccess{
  text-align:center;
  padding:6px 0 2px;
}
#payaInlineQuote .heroSuccess .thankRow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:8px;
}
#payaInlineQuote .heroSuccess .check{
  width:34px;height:34px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(31,138,76,.12);
  border:1px solid rgba(31,138,76,.20);
  font-size:18px;
}
#payaInlineQuote .heroSuccess .thankTitle{
  font-size:34px;
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.02em;
  margin:0;
  color:var(--ink);
}
#payaInlineQuote .heroSuccess .thankSmall{
  margin-top:6px;
  font-weight:900;
  font-size:13px;
  color:rgba(100,116,139,.95);
}
#payaInlineQuote .heroSuccess .thankLine{
  margin:6px auto 0;
  max-width:1200px;
  font-weight:800;
  font-size:13px;
  line-height:1.55;
  color:rgba(100,116,139,.95);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width: 900px){
  #payaInlineQuote .heroSuccess .thankLine{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
  }
}

/* =========================
   FORM AREA
========================== */
#payaInlineQuote .formArea{
  margin-top:12px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  padding:12px;
  position:relative;
  box-shadow:0 16px 40px rgba(2,6,23,.06);
  overflow: visible !important;
}

#payaInlineQuote.is-estimated .formFields,
#payaInlineQuote.is-estimated .actionsTop{
  display:none !important;
}

#payaInlineQuote .row3{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:10px;
}
#payaInlineQuote .rowAddr{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:10px;
}
@media (max-width: 950px){
  #payaInlineQuote .row3{ grid-template-columns:1fr; }
  #payaInlineQuote .rowAddr{ grid-template-columns:1fr; }
}

/* stacking so select dropdown isn't behind other layers */
#payaInlineQuote .f{ position:relative; margin-top:12px; z-index:1; }
#payaInlineQuote .f:focus-within{ z-index:50; }

#payaInlineQuote input,
#payaInlineQuote select,
#payaInlineQuote textarea{
  width:100%;
  font-size:16px;
  font-weight:400;
  color:var(--ink);
  padding:14px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  outline:none;
  transition: box-shadow .18s ease, border-color .18s ease, transform .10s ease;
}
#payaInlineQuote textarea{ resize:vertical; min-height:58px; }

#payaInlineQuote input:focus,
#payaInlineQuote select:focus,
#payaInlineQuote textarea:focus{
  border-color:rgba(31,138,76,.55);
  box-shadow:0 0 0 5px rgba(31,138,76,.12);
  transform: none !important;
}

#payaInlineQuote input::placeholder,
#payaInlineQuote textarea::placeholder{
  color:rgba(100,116,139,.65);
  font-weight:400;
}

/* stable native select across browsers */
#payaInlineQuote select{
  color:rgba(100,116,139,.90);
  font-weight:400;
  appearance:auto;
  -webkit-appearance: menulist;
}
#payaInlineQuote select.has-value{
  color:var(--ink);
  font-weight:400;
}

/* errors */
#payaInlineQuote .bubble{
  position:absolute;
  right:10px;
  top:-10px;
  background:#fff;
  border:1px solid rgba(220,38,38,.30);
  box-shadow:0 10px 24px rgba(2,6,23,.10);
  border-radius:12px;
  padding:8px 10px;
  font-size:12px;
  font-weight:800;
  color:#dc2626;
  display:none;
  z-index:60;
  max-width: 88%;
}
#payaInlineQuote .bubble::after{
  content:"";
  position:absolute;
  right:16px;
  bottom:-6px;
  width:10px;height:10px;
  background:#fff;
  border-left:1px solid rgba(220,38,38,.30);
  border-bottom:1px solid rgba(220,38,38,.30);
  transform:rotate(-45deg);
}
#payaInlineQuote .f.is-invalid input,
#payaInlineQuote .f.is-invalid select,
#payaInlineQuote .f.is-invalid textarea{
  border-color: rgba(220,38,38,.55);
  box-shadow:0 0 0 5px rgba(220,38,38,.10);
}
#payaInlineQuote .f.is-invalid .bubble{ display:block; }

/* buttons */
#payaInlineQuote .actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
#payaInlineQuote .btn{
  border:0;border-radius:14px;padding:12px 16px;font-weight:900;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform .06s ease, box-shadow .18s ease, opacity .18s ease, filter .18s ease;
  user-select:none;text-decoration:none;line-height:1;white-space:nowrap;width:auto;
}
#payaInlineQuote .btn:active{ transform:translateY(1px); }
#payaInlineQuote .btn.primary{
  background:linear-gradient(180deg, rgba(31,138,76,1), rgba(24,120,67,1));
  color:#fff; box-shadow:0 14px 30px rgba(31,138,76,.25);
}

/* =========================
   RIGHT AREA (IMAGE / MAP)
========================== */
#payaInlineQuote .quote-right{
  position:relative;background:#fff;border-left:1px solid rgba(15,23,42,.10);
  min-height:320px;overflow:hidden;
  border-top-right-radius:22px;
  border-bottom-right-radius:22px;
}
@media (max-width: 900px){
  #payaInlineQuote .quote-right{
    border-left:0;border-top:1px solid rgba(15,23,42,.10);
    min-height:260px;
    border-top-right-radius:0;
    border-bottom-right-radius:22px;
    border-bottom-left-radius:22px;
  }
}
#payaInlineQuote .quote-right img{
  width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.02) contrast(1.02);
}
#payaInlineQuote .quote-right::after{
  content:"";position:absolute; inset:0;
  background:linear-gradient(120deg, rgba(31,138,76,.10), rgba(212,175,55,.06), transparent 60%);
  pointer-events:none;
}

#payaInlineQuote #mapWrap{
  position:absolute;
  inset:18px 18px 64px 18px;
  border-radius:18px;
  overflow:hidden;
  background:#f3f4f6;
  box-shadow:0 14px 34px rgba(2,6,23,.12);
  display:none;
}
#payaInlineQuote #mapRight{ width:100%; height:100%; }

#payaInlineQuote .rightCta{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  width:calc(100% - 36px);
  display:none;
  grid-template-columns:auto auto;
  column-gap:16px;
  align-items:center;
}
#payaInlineQuote .rightCta .ctaCall{ justify-self:end; }
#payaInlineQuote .rightCta .ctaSubmit{ justify-self:start; }

#payaInlineQuote .ctaPill{
  height:34px;
  padding:0 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:950;
  letter-spacing:-.01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
  border:0;
  box-shadow:0 12px 22px rgba(2,6,23,.14);
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
#payaInlineQuote .ctaPill svg{ width:16px;height:16px; flex:0 0 auto; opacity:.95; }
#payaInlineQuote .ctaCall{ background:linear-gradient(180deg, #139a88, #0f7f72); }
#payaInlineQuote .ctaSubmit{ background:linear-gradient(180deg, #f4a313, #e18a0a); }

@media (max-width: 900px){
  #payaInlineQuote #mapWrap{ inset:14px 14px 82px 14px; }
  #payaInlineQuote .rightCta{ width:calc(100% - 28px); column-gap:12px; bottom:12px; }
  #payaInlineQuote .ctaPill{ height:36px; font-size:13px; }
}
@media (max-width: 380px){
  #payaInlineQuote .ctaPill{ padding:0 12px; font-size:12px; }
}

#payaInlineQuote.show-map #mapWrap{ display:block; }
#payaInlineQuote.show-map .rightCta{ display:grid; }
#payaInlineQuote.show-map #rightImage{ display:none; }
#payaInlineQuote.show-map .quote-right::after{ display:none; }

/* =========================
   RESULT (AFTER QUOTE) - LEFT
========================== */
#payaInlineQuote .resultOverlay{
  margin-top:0;
  border-radius:16px;
  background:transparent;
  border:0;
  padding:0;
  display:none;
}
#payaInlineQuote .resultOverlay,
#payaInlineQuote .resultOverlay *{ font-size:12px; }

#payaInlineQuote .resultRow{
  display:grid;
  grid-template-columns: 1fr 2.2fr;
  align-items:start;
  column-gap:38px;
}
@media (max-width: 900px){
  #payaInlineQuote .resultRow{ grid-template-columns:1fr; row-gap:12px; }
}

#payaInlineQuote .priceBox{
  border-radius:16px;
  border:1px solid rgba(31,138,76,.28);
  background:linear-gradient(180deg, rgba(31,138,76,.14), rgba(31,138,76,.08));
  box-shadow:0 12px 28px rgba(31,138,76,.10);
  padding:10px 12px 10px;
  max-width: 360px;
}
#payaInlineQuote .priceTitle{
  font-size:10px;
  font-weight:950;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(15,23,42,.78);
  white-space:nowrap;
  line-height:1.2;
}

#payaInlineQuote .priceRange{
  margin-top:6px;
  display:flex;
  align-items:baseline;
  gap:6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  flex-wrap:nowrap;
}
#payaInlineQuote #priceOut{
  font-size:17px;
  font-weight:950;
  letter-spacing:-.01em;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
  max-width:100%;
}
#payaInlineQuote .cadInline{
  font-size:11px;
  font-weight:950;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(15,23,42,.70);
  white-space:nowrap;
  flex:0 0 auto;
}

#payaInlineQuote .otherMessageBox{
  border-radius:16px;
  border:1px dashed rgba(31,138,76,.35);
  background:linear-gradient(180deg, rgba(31,138,76,.10), rgba(31,138,76,.04));
  padding:14px 14px;
  max-width:360px;
  box-shadow:0 12px 26px rgba(31,138,76,.10);
  display:none;
  gap:12px;
  align-items:flex-start;
}
#payaInlineQuote .otherIcon{ font-size:22px; line-height:1; }
#payaInlineQuote .otherText{
  font-size:12.5px;
  font-weight:800;
  color:#0f172a;
  line-height:1.5;
}

#payaInlineQuote .addrOut{
  margin-top:10px;
  font-size:11.5px;
  font-weight:900;
  color:var(--ink);
  line-height:1.45;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
#payaInlineQuote.is-no-match .addrOut{ display:none; }

#payaInlineQuote .detailsBox{
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  box-shadow:0 14px 32px rgba(2,6,23,.06);
  padding:12px 12px 10px;
}
#payaInlineQuote .detailsTitle{
  font-size:13px;
  font-weight:950;
  color:var(--ink);
  margin:0;
}
#payaInlineQuote .detailsSub{
  margin-top:2px;
  font-size:11px;
  font-weight:900;
  color:rgba(100,116,139,.95);
}
#payaInlineQuote.is-no-match .detailsSub{ display:none; }

#payaInlineQuote .kvTable{ margin-top:10px; }
#payaInlineQuote .kvRow{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap:10px;
  padding:6px 0;
}
@media (max-width: 520px){
  #payaInlineQuote .kvRow{ grid-template-columns:1fr; gap:4px; }
}
#payaInlineQuote .kvRow .k{
  font-size:11px;
  font-weight:900;
  color:rgba(100,116,139,.95);
}
#payaInlineQuote .kvRow .v{
  font-size:11px;
  font-weight:950;
  color:var(--ink);
  overflow-wrap:anywhere;
  word-break:break-word;
}
#payaInlineQuote .kvRow .v.area-blue{
  font-weight:950;
  color:var(--paya-blue);
}

#payaInlineQuote .bulletsWide{
  margin-top:12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow:0 14px 30px rgba(2,6,23,.06);
  padding:10px 12px;
  display:grid;
  gap:8px;
}
#payaInlineQuote .bulletsWide .li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-weight:900;
  color:var(--paya-green);
  line-height:1.45;
  font-size:10px;
}
#payaInlineQuote .bulletsWide .dot{
  width:8px;height:8px;border-radius:999px;
  background:#1f8a4c;
  flex:0 0 auto;
  margin-top:4px;
  box-shadow:
    0 0 0 3px rgba(31,138,76,.20),
    0 0 0 6px rgba(31,138,76,.10),
    0 0 0 9px rgba(31,138,76,.05);
}
