/* INSTANT ONLINE QUOTERS PAGE
   Used only by instant-online-quoters.php. Every class starts with iq-
   so nothing here touches the other pages. Colors match the site and logo. */

.iq {
  --iq-night: #141b25;
  --iq-panel: #1a2235;
  --iq-deep: #0c131d;
  --iq-text: #edecec;
  --iq-soft: #b9c1d0;
  --iq-cyan: #0de0e2;
  --iq-blue: #5d91f8;
  --iq-violet: #5750fe;
  --iq-magenta: #e705ef;
  box-sizing: border-box;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 40px;
  color: var(--iq-text);
  font-size: 18px;
}
.iq *, .iq *::before, .iq *::after { box-sizing: border-box; }
.iq p { font-size: 1.05rem; line-height: 1.6; color: inherit; margin: 0 0 1em; max-width: 68ch; }
.iq h2, .iq h3 { font-family: FrankMedCond, "Arial Narrow", sans-serif; font-weight: 400; color: #fff; margin: 0; padding: 0; }
.iq ul, .iq ol { list-style: none; margin: 0; padding: 0; }
.iq a:focus-visible, .iq button:focus-visible, .iq input:focus-visible, .iq summary:focus-visible {
  outline: 3px solid var(--iq-cyan);
  outline-offset: 3px;
}
.iq-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.iq-c1 { --acc: #0de0e2; --acc-glow: rgba(13, 224, 226, .5); }
.iq-c2 { --acc: #8fb2ff; --acc-glow: rgba(93, 145, 248, .55); }
.iq-c3 { --acc: #f36cf7; --acc-glow: rgba(231, 5, 239, .5); }

/* Section headings with a glowing line, matching the portfolio page */
.iq .iq-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1;
}
.iq .iq-head::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--iq-cyan), var(--iq-violet) 45%, transparent);
  box-shadow: 0 0 10px rgba(13, 224, 226, .6);
}
.iq > div { margin-bottom: clamp(70px, 8vw, 110px); }
.iq > div:last-child { margin-bottom: 0; }

/* BUTTONS */
.iq a.iq-btn:link, .iq a.iq-btn:visited {
  display: inline-block;
  padding: 15px 28px;
  border: 2px solid var(--iq-cyan);
  border-radius: 6px;
  background: var(--iq-cyan);
  color: #06222a;
  font-family: Roboto-B, Roboto-Reg, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(13, 224, 226, .5);
  transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.iq a.iq-btn:hover, .iq a.iq-btn:active {
  background: #fff;
  border-color: #fff;
  color: #06222a;
  font-size: 1.05rem;
  box-shadow: 0 0 26px rgba(13, 224, 226, .85);
}
.iq a.iq-btnQuiet:link, .iq a.iq-btnQuiet:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.iq a.iq-btnQuiet:hover, .iq a.iq-btnQuiet:active { background: transparent; color: var(--iq-cyan); border-color: var(--iq-cyan); box-shadow: none; }

/* INTRO */
.iq-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding-top: 10px;
}
.iq .iq-intro p.iq-lede {
  font-family: FrankMedCond, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  color: #fff;
  max-width: 22em;
  margin-bottom: 22px;
}
.iq .iq-intro p.iq-pioneer {
  margin: 24px 0 30px;
  padding-left: 18px;
  border-left: 3px solid var(--iq-magenta);
  color: #fff;
  font-family: Roboto-B, Roboto-Reg, sans-serif;
}
.iq-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* The neon price sign */
.iq-ticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 24px 32px;
  border: 3px solid #7bdafd;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 40%, rgba(13, 224, 226, .16), transparent 70%), var(--iq-deep);
  box-shadow: 0 0 14px #0de0e2, 0 0 50px rgba(13, 224, 226, .45), inset 0 0 22px rgba(13, 224, 226, .35);
  text-align: center;
}
.iq-tickerLabel { color: var(--iq-soft); font-size: 1rem; }
.iq-tickerPrice {
  margin: 6px 0 4px;
  color: #e4fbff;
  font-family: FrankMedCond, sans-serif;
  font-size: clamp(4.4rem, 7vw, 6.6rem);
  line-height: 1;
  text-shadow: 0 0 6px #7bdafd, 0 0 18px #0de0e2, 0 0 44px #0de0e2;
}
.iq-tickerNote { color: var(--iq-cyan); font-size: .9rem; }

/* TABS */
.iq .iq-sub { color: var(--iq-soft); margin-bottom: 26px; }
.iq-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.iq-tab {
  padding: 11px 20px;
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 30px;
  background: transparent;
  color: var(--iq-text);
  font-family: Roboto-Reg, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s, background-color .2s;
}
.iq-tab:hover { border-color: var(--acc); color: var(--acc); }
.iq-tab[aria-selected="true"] {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--iq-deep);
  font-family: Roboto-B, Roboto-Reg, sans-serif;
  box-shadow: 0 0 10px var(--acc-glow), 0 0 28px var(--acc-glow);
}

/* QUOTER PANEL */
.iq-panel[hidden] { display: none; }
.iq-panel {
  padding: clamp(20px, 3vw, 36px);
  border: 2px solid var(--acc);
  border-radius: 14px;
  background: linear-gradient(160deg, #1b2342, #141a33);
  box-shadow: 0 0 12px var(--acc-glow), 0 0 46px var(--acc-glow), 0 26px 60px rgba(4, 7, 22, .55);
}
.iq-biz { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.iq .iq-biz h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); color: var(--acc); text-shadow: 0 0 12px var(--acc-glow); }
.iq .iq-biz p { margin: 0; color: var(--iq-soft); font-size: .98rem; }
.iq-quoter {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.iq-form fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.iq-form fieldset:last-child { margin-bottom: 0; }
.iq-form legend { margin-bottom: 10px; padding: 0; color: #fff; font-family: Roboto-B, Roboto-Reg, sans-serif; font-size: 1.02rem; }
.iq-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.iq-choicesTall { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.iq-choice { position: relative; display: block; cursor: pointer; }
.iq-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.iq-choice span {
  display: block;
  height: 100%;
  padding: 11px 14px;
  border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--iq-text);
  font-size: .95rem;
  line-height: 1.3;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.iq-choice span small { display: block; margin-top: 3px; color: var(--iq-soft); font-size: .8rem; }
.iq-choice:hover span { border-color: var(--acc); }
.iq-choice input:checked + span {
  border-color: var(--acc);
  background: rgba(255, 255, 255, .09);
  color: #fff;
  box-shadow: 0 0 10px var(--acc-glow), inset 0 0 0 1px var(--acc);
}
.iq-choice input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.iq-check { display: flex; align-items: center; gap: 10px; margin: 6px 0; color: var(--iq-text); font-size: .98rem; cursor: pointer; }
.iq-check input, .iq-choice input { accent-color: var(--acc); }
.iq-check input { width: 20px; height: 20px; flex: none; }
.iq-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.iq-size, .iq-field { display: inline-flex; align-items: center; gap: 8px; color: var(--iq-soft); font-size: .92rem; }
.iq-field { margin-bottom: 8px; color: var(--iq-text); font-size: .98rem; }
.iq-size input, .iq-field input {
  width: 110px;
  padding: 8px 10px;
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: var(--iq-deep);
  color: #fff;
  font-family: Roboto-Reg, sans-serif;
  font-size: 1rem;
}
.iq-size input:focus, .iq-field input:focus { border-color: var(--acc); }
.iq .iq-hint { margin: 0 0 12px; color: var(--iq-soft); font-size: .88rem; }

/* RESULT */
.iq-result {
  position: sticky;
  top: 20px;
  padding: 24px;
  border-radius: 12px;
  background: var(--iq-deep);
  border: 1px solid rgba(255, 255, 255, .12);
}
.iq-resultLabel { display: block; color: var(--iq-soft); font-size: .95rem; }
.iq-price {
  display: block;
  margin: 4px 0 16px;
  color: #fff;
  font-family: FrankMedCond, sans-serif;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.02;
  text-shadow: 0 0 8px var(--acc), 0 0 26px var(--acc-glow);
}
.iq-price.is-flash, .iq-tickerPrice.is-flash { animation: iqFlash .45s ease-out; }
@keyframes iqFlash {
  0% { opacity: .35; transform: translateY(4px); }
  100% { opacity: 1; transform: none; }
}
.iq-lines { margin-bottom: 20px !important; }
.iq-lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--iq-soft);
  font-size: .92rem;
  line-height: 1.4;
}
.iq-lines li span:last-child { color: #fff; white-space: nowrap; }
.iq-request {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--acc);
  border-radius: 6px;
  background: var(--acc);
  color: var(--iq-deep);
  font-family: Roboto-B, Roboto-Reg, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 12px var(--acc-glow);
  transition: box-shadow .2s;
}
.iq-request:hover { box-shadow: 0 0 24px var(--acc); }
.iq .iq-demoNote { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--iq-text); font-size: .92rem; }
.iq .iq-demoNote[hidden] { display: none; }
.iq .iq-disclaimer { margin: 16px 0 0; color: var(--iq-soft); font-size: .88rem; }

/* WHY */
.iq-whyGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; margin-top: 30px; }
.iq-whyGrid > div { padding-top: 18px; border-top: 3px solid var(--iq-cyan); }
.iq-whyGrid > div:nth-child(2) { border-color: #8fb2ff; }
.iq-whyGrid > div:nth-child(3) { border-color: #f36cf7; }
.iq-whyGrid > div:nth-child(4) { border-color: #b6a6ff; }
.iq .iq-whyGrid h3 { margin-bottom: 8px; font-size: 1.75rem; line-height: 1.08; }
.iq .iq-whyGrid p { margin: 0; font-size: 1rem; }

/* HOW IT WORKS: a real sequence, so numbered */
.iq-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 30px !important; }
.iq-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 22%;
  border-top: 3px dashed rgba(255, 255, 255, .25);
}
.iq-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--iq-deep);
  border: 3px solid var(--iq-cyan);
  color: #fff;
  font-family: FrankMedCond, sans-serif;
  font-size: 1.6rem;
  box-shadow: 0 0 12px rgba(13, 224, 226, .6);
}
.iq-steps li:nth-child(2) .iq-num { border-color: #8fb2ff; box-shadow: 0 0 12px rgba(93, 145, 248, .6); }
.iq-steps li:nth-child(3) .iq-num { border-color: #f36cf7; box-shadow: 0 0 12px rgba(231, 5, 239, .55); }
.iq-steps li:nth-child(4) .iq-num { border-color: #b6a6ff; box-shadow: 0 0 12px rgba(120, 100, 254, .6); }
.iq .iq-steps h3 { margin-bottom: 8px; font-size: 1.7rem; line-height: 1.08; }
.iq .iq-steps p { margin: 0; font-size: 1rem; }

/* GOOD FIT */
.iq-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px !important; }
.iq-tags li {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
  font-size: .98rem;
}
.iq-tags li:nth-child(3n+1) { border-color: rgba(13, 224, 226, .6); }
.iq-tags li:nth-child(3n+2) { border-color: rgba(143, 178, 255, .6); }
.iq-tags li:nth-child(3n) { border-color: rgba(243, 108, 247, .6); }
.iq .iq-fit p { color: var(--iq-soft); }

/* QUESTIONS: full width, two columns of cards with a neon icon */
.iq-faqGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  align-items: start;
  margin-top: 26px;
}
.iq-faq details {
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--acc);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(27, 35, 66, .9), rgba(20, 26, 51, .9));
  transition: box-shadow .2s, border-color .2s;
}
.iq-faq details:hover, .iq-faq details[open] {
  border-color: var(--acc);
  box-shadow: 0 0 10px var(--acc-glow), 0 0 30px var(--acc-glow);
}
.iq-faq summary {
  display: grid;
  grid-template-columns: 50px 1fr 26px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  color: #fff;
  font-family: Roboto-B, Roboto-Reg, sans-serif;
  font-size: 1.1rem;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.iq-faq summary::-webkit-details-marker { display: none; }
.iq-faq summary::after {
  content: "+";
  color: var(--acc);
  font-family: Roboto-Reg, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  text-align: right;
}
.iq-faq details[open] summary::after { content: "\2212"; }
.iq-faqIcon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--acc);
  border-radius: 50%;
  background: var(--iq-deep);
  color: var(--acc);
  font-size: 1.25rem;
  box-shadow: 0 0 10px var(--acc-glow), inset 0 0 8px var(--acc-glow);
  text-shadow: 0 0 8px var(--acc);
}
.iq-faq summary:hover .iq-faqQ { color: var(--acc); }
.iq .iq-faq details p { max-width: none; margin: 0; padding: 0 20px 20px 86px; color: var(--iq-text); }

/* CALL TO ACTION */
.iq-cta {
  padding: 56px 24px;
  border: 1px solid rgba(13, 224, 226, .25);
  border-radius: 12px;
  background: radial-gradient(620px 300px at 50% 100%, rgba(87, 80, 254, .45), transparent 75%), var(--iq-deep);
  text-align: center;
}
.iq .iq-cta h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
.iq .iq-cta p { margin: 0 auto 26px; max-width: 48ch; color: var(--iq-soft); }

@media (prefers-reduced-motion: reduce) {
  .iq-price.is-flash, .iq-tickerPrice.is-flash { animation: none; }
  .iq-tab, .iq-choice span, .iq-request, .iq a.iq-btn { transition: none; }
}

/* SMALLER SCREENS */
@media screen and (max-width: 1200px) {
  .iq-whyGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iq-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iq-steps::before { display: none; }
}
@media screen and (max-width: 980px) {
  .iq-intro, .iq-quoter { grid-template-columns: minmax(0, 1fr); }
  .iq-ticker { width: 100%; max-width: 420px; justify-self: center; }
  .iq-result { position: static; }
}
@media screen and (max-width: 640px) {
  .iq { font-size: 17px; }
  .iq-whyGrid, .iq-steps, .iq-faqGrid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .iq-faqGrid { gap: 14px; }
  .iq-faq summary { grid-template-columns: 42px 1fr 22px; gap: 12px; padding: 15px 16px; font-size: 1.02rem; }
  .iq-faqIcon { width: 42px; height: 42px; font-size: 1.05rem; }
  .iq .iq-faq details p { padding: 0 16px 18px 16px; }
  .iq-tab { flex: 1 1 auto; text-align: center; }
  .iq-choices, .iq-choicesTall { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .iq-actions .iq-btn { flex: 1 1 100%; text-align: center; }
}
