/* iQ Marketers redesign mockup — light theme, no third-party assets */
:root {
  --blue: #1554B8;
  --blue-dark: #0E3E8A;
  --green: #146C2E;
  --green-dark: #0F5423;
  --navy: #0B2040;
  --text: #0B2040;
  --muted: #243044;
  --line: #C5CDD8;
  --bg: #FFFFFF;
  --bg-alt: #F3F4F6;
  --banner: #146C2E;
  --focus: #146C2E;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  font-style: normal;
}

img { max-width: 100%; height: auto; display: block; }
em, i { font-style: normal; }

a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover { color: var(--blue-dark); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--navy);
  padding: 12px 16px;
  z-index: 20;
  font-weight: 700;
  font-size: 18px;
}
.skip:focus { left: 12px; top: 12px; }

.ribbon {
  background: var(--banner);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: #fff;
  border-bottom: 2px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo calls"
    "nav nav";
  align-items: center;
  gap: 10px 24px;
  padding: 16px 0;
}
.logo { grid-area: logo; }
.site-header nav { grid-area: nav; }
.header-calls { grid-area: calls; justify-self: end; }

.logo img {
  height: 52px;
  width: auto;
}

.logo { text-decoration: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.header-calls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--bg-alt); color: var(--blue-dark); }

.btn-call {
  font-size: 20px;
  min-height: 56px;
  padding: 14px 24px;
}

.hero {
  padding: 36px 0 40px;
  background: #fff;
}

.hero h1 {
  font-size: 2.45rem;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--navy);
  max-width: 16em;
}

.lead {
  font-size: 22px;
  max-width: 40em;
  margin: 0 0 16px;
}

.keyline {
  font-size: 22px;
  max-width: 36em;
  margin: 20px 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0 16px;
}

.fine {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 40em;
}

.section {
  padding: 56px 0;
}

.section-alt { background: var(--bg-alt); }

h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--navy);
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.card {
  background: #fff;
  border: 2px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: 8px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 { margin: 0; }

.price {
  font-weight: 800;
  font-size: 22px;
  color: var(--green);
  margin: 0;
}

.price-quote {
  color: var(--blue);
}

.card .btn { align-self: flex-start; margin-top: auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.step h3::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: var(--blue);
}

.result {
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 28px 28px 24px;
  margin-top: 8px;
  max-width: 48em;
}

.faq details {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 8px 20px;
  margin: 0 0 12px;
}

.faq summary {
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  padding: 12px 0;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+ ";
  color: var(--blue);
  font-weight: 800;
}
.faq details[open] summary::before { content: "– "; }

.faq details p { padding-bottom: 12px; }

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}

.cta-band h2,
.cta-band p,
.cta-band .signoff { color: #fff; }

.cta-band a:not(.btn) { color: #fff; }

.signoff {
  margin-top: 24px;
  font-size: 20px;
}

.cookie-note {
  background: var(--bg-alt);
  border-top: 2px solid var(--line);
  padding: 20px 0;
  font-size: 18px;
}

.site-footer {
  background: #fff;
  border-top: 2px solid var(--line);
  padding: 36px 0 48px;
  font-size: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.footer-nav a { font-size: 18px; }

.footer-other {
  margin: 4px 0 20px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  max-width: 42em;
}

.footer-other-label {
  margin: 0 0 2px;
  font-weight: 700;
  color: var(--navy);
}

.footer-other p {
  margin: 0;
}


.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  font-size: 2.35rem;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 18ch;
}

.prose {
  max-width: 42em;
  padding: 0 0 56px;
}

.prose ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
}

.prose li { margin: 0 0 8px; }

.legal { padding: 40px 0 64px; max-width: 42em; }

.stub-flag {
  display: inline-block;
  background: var(--bg-alt);
  border: 2px solid var(--line);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

@media (max-width: 800px) {
  .cards,
  .stats,
  .steps { grid-template-columns: 1fr; }
  .hero h1,
  .page-hero h1 { font-size: 2rem; max-width: none; }
  h2 { font-size: 1.7rem; }
}

@media (max-width: 600px) {
  body { font-size: 19px; }
  .wrap { padding: 0 16px; }
  .logo img { height: 44px; }
  .hero { padding: 32px 0 40px; }
  .section, .cta-band, .prose { padding-top: 40px; padding-bottom: 40px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn,
  .header-calls .btn { width: 100%; }
  .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav"
      "calls";
    padding: 12px 0 16px;
  }
  .header-calls { width: 100%; justify-self: stretch; }
  .lead, .keyline { font-size: 20px; }
  .btn-call { font-size: 18px; }
}

@media (max-width: 360px) {
  .hero h1,
  .page-hero h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

/* ---- v2 visual rhythm ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px 40px;
  align-items: center;
}
.hero-art {
  margin: 0;
}
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #fff;
}
.hero-art figcaption {
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.stat {
  flex: unset;
  background: #fff;
  border: 2px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  padding: 14px 16px;
}
.stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: var(--green);
  margin: 0 0 4px;
}
.stat span {
  font-size: 18px;
  color: var(--navy);
}

.case-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}
.shot {
  margin: 0;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #fff;
}
.shot figcaption {
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}
.portrait {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--line);
}
.section { padding: 44px 0; }
.cta-band { padding: 44px 0; }

@media (max-width: 800px) {
  .hero-grid,
  .case-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-art { order: 2; }
  .hero-copy { order: 1; }
  .portrait { width: 180px; }
}

/* ---- site-v3 additions: preview bar, articles, listings ---- */
.preview-bar {
  background: var(--banner);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  padding: 10px 16px;
}

.site-header .brand img {
  height: 48px;
  width: auto;
}

.article-header {
  padding: 40px 0 16px;
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 22ch;
}

.article-meta {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}

.article-meta a { font-weight: 600; }

.featured-wrap {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
}

.featured-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  max-width: 42em;
  padding: 0 0 32px;
}

.article-body h2 {
  font-size: 1.7rem;
  margin: 1.4em 0 0.4em;
}

.article-body h3 {
  font-size: 1.35rem;
  margin: 1.3em 0 0.35em;
}

.article-body p,
.article-body li {
  margin: 0 0 0.9em;
}

.article-body img {
  border-radius: 8px;
  margin: 12px 0;
}

.article-body figure {
  margin: 16px 0 24px;
}

.article-body figcaption {
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}

.article-body iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.article-tax {
  padding: 8px 0 48px;
  font-size: 18px;
}

.list-header { padding: 40px 0 16px; }
.list-header h1 { margin: 0 0 8px; }

.story-list {
  list-style: none;
  margin: 0;
  padding: 0 0 48px;
}

.story-list li {
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  max-width: 42em;
}

.story-list h2 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.story-list h2 a { text-decoration-thickness: 2px; }

.story-list p { margin: 0; }

.page-body {
  max-width: 46em;
  padding: 0 0 56px;
}

.legal-body {
  max-width: 42em;
  padding: 0 0 64px;
}

.legal-body h1 { margin: 0 0 16px; }
.legal-body h2 { margin: 1.4em 0 0.4em; }

.decision {
  background: var(--bg-alt);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 24px;
  max-width: 42em;
}

@media (max-width: 800px) {
  .article-header h1 { font-size: 2rem; max-width: none; }
}

/* Overflow safety and cookie typography (18px floor) */
main img, main video, main iframe, main svg, main table, main pre, .featured-wrap, .article-body img, .page-body img {
  max-width: 100%;
  height: auto;
}
main pre, main code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.iq-cookie-banner,
.iq-cookie-banner p,
.iq-cookie-banner a,
.iq-cookie-banner button,
.iq-cookie-banner label,
.iq-cookie-banner li,
.iq-cookie-attrib,
.iq-btn,
.iq-category p,
.iq-ccpa-notice {
  font-size: 18px !important;
  line-height: 1.45;
}

/* Calculator widgets and form controls must meet the 18px floor */
.cg-element-calculate-btn,
.cg-element-input,
.cg-element-label,
.cg-element-title,
.cg-element-container,
.cg-element-result-item,
[class*="cg-element"] button,
button, input, select, textarea, label {
  font-size: 18px !important;
  line-height: 1.4;
}

.video-embed { position: relative; width: 100%; max-width: 800px; aspect-ratio: 16 / 9; margin: 1rem 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Restored live home sections + footer explore lists */
.live-home-restore{padding-top:2.5rem;border-top:1px solid #e6eaf0;}
.live-home-restore .wrap{max-width:1100px;}
.live-home-restore figure{margin:1.25rem 0 2rem;}
.live-home-restore figure img{max-width:100%;height:auto;border-radius:8px;}
.logo-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 2rem;list-style:none;margin:1.5rem 0 2rem;padding:0;align-items:center;}
.logo-row img{max-height:64px;width:auto;max-width:100%;height:auto;display:block;margin:0 auto;}
.footer-explore{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;margin:1.5rem 0;}
.footer-explore ul{list-style:none;margin:0;padding:0;}
.footer-explore li{margin:.35rem 0;}
.footer-explore a{color:inherit;text-decoration:underline;}
@media (max-width:600px){
  .footer-explore{grid-template-columns:1fr;gap:1.25rem;}
  .logo-row{grid-template-columns:1fr;}
}

@media (max-width: 600px) {
  .footer-nav { flex-direction: column; gap: 8px; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 24px; }
}
.article-tax a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 4px 8px;
}
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 840px;
  background: #0B2040;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}
.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 12px;
  background: #1554B8;
}
.yt-facade-play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 12px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-facade-play,
.yt-facade:focus .yt-facade-play { background: #146C2E; }
.yt-facade:focus { outline: 3px solid #1554B8; outline-offset: 2px; }

/* Safety net: leftover Elementor icons */
.elementor svg,
svg.e-font-icon-svg,
.elementor-icon svg,
.elementor-icon-list-icon svg,
.e-n-accordion-item-title-icon svg,
.elementor-icon-box-icon svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}
.elementor img { max-width: 100%; height: auto; }

/* Semantic Elementor restore */
.semantic-restore { font-size: 1.125rem; line-height: 1.55; }
.kicker { font-weight: 700; color: var(--navy, #0B2040); margin: 0 0 0.4rem; }
.semantic-restore figure { margin: 1.25rem 0; }
.semantic-restore figure img { max-width: 100%; height: auto; border-radius: 8px; }
.icon-inline { width: 32px; height: 32px; flex: 0 0 32px; color: var(--green, #146C2E); display: inline-block; vertical-align: middle; }
.icon-list { list-style: none; padding: 0; margin: 1rem 0; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0.5rem 0; }
.icon-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.icon-boxes .icon-box { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line, #e6eaf0); border-radius: 8px; padding: 1rem; }
.icon-boxes .icon-box h3 { margin: 0 0 0.35rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 1.5rem 0; }
.gallery-grid img { width: 100%; height: auto; border-radius: 8px; display: block; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.price-card { background: #fff; border: 2px solid var(--line, #e6eaf0); border-radius: 8px; padding: 1.25rem; }
.price-card .price { font-size: 2rem; font-weight: 800; color: var(--navy, #0B2040); }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 600px) {
  .icon-boxes, .gallery-grid, .price-grid, .cards-2 { grid-template-columns: 1fr; }
}


/* Visually hidden text for descriptive link names (Lighthouse link-text). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keep typography when a heading tag is promoted to close a level skip. */
h2.h-like-h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--navy);
}
.article-body h2.h-like-h3,
.page-body h2.h-like-h3,
.prose h2.h-like-h3,
.semantic-restore h2.h-like-h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 1.3em 0 0.35em;
}
h3.h-like-h4,
h2.h-like-h4,
.article-body h3.h-like-h4,
.page-body h3.h-like-h4,
.prose h3.h-like-h4,
.semantic-restore h3.h-like-h4 {
  font-size: 1em;
  line-height: inherit;
  font-weight: 700;
  margin: 1.33em 0;
  color: inherit;
}
@media (max-width: 360px) {
  h2.h-like-h3,
  .article-body h2.h-like-h3,
  .page-body h2.h-like-h3,
  .prose h2.h-like-h3,
  .semantic-restore h2.h-like-h3 {
    font-size: 1.2rem;
  }
}
