/* ===========================================================
   International Qualifier Search (IQS) — Marketing Site
   Shared stylesheet
   =========================================================== */

:root {
  /* ---- IQS brand palette ----
     Primary Dark   #1c2430
     Primary Accent #00b7c9
     Secondary Accent #1f6f80
     Neutral Silver #aeb7c2
     Background     #f5f7fa
  */
  --navy: #1c2430;        /* Primary Dark */
  --navy-700: #2a3340;    /* dark hover */
  --navy-600: #1f6f80;    /* Secondary Accent — links/headings accent */
  --slate: #3c4654;
  --slate-400: #69737f;
  --slate-300: #aeb7c2;   /* Neutral Silver */
  --mist: #f5f7fa;        /* Background */
  --mist-200: #e7ebf0;
  --line: #d7dde4;        /* silver-tinted border */
  --white: #ffffff;
  --amber: #00b7c9;       /* Primary Accent (CTA) */
  --amber-600: #0096a6;   /* Primary Accent — hover */
  --teal: #1f6f80;        /* Secondary Accent */
  --green: #16a34a;
  --red: #dc2626;
  --ink: #1c2430;         /* Primary Dark */

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(28, 36, 48, .06), 0 1px 3px rgba(28, 36, 48, .08);
  --shadow: 0 10px 30px rgba(28, 36, 48, .10);
  --shadow-lg: 0 24px 60px rgba(28, 36, 48, .16);
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--amber-600); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--amber-600);
  margin: 0 0 .6rem;
}

.lead { font-size: 1.18rem; color: var(--slate); max-width: 62ch; }

.section { padding: 84px 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #c4ccd6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 70ch; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: #06252b; box-shadow: 0 6px 18px rgba(0,183,201,.32); }
.btn--primary:hover { background: var(--amber-600); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy); color: #c4ccd6; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--amber); }
@media (max-width: 600px) { .topbar-inner { justify-content: center; } .topbar .tb-label { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { height: 56px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 46px; } }
/* footer logo framed on a white chip so the white-bg logo reads on dark */
.footer-logo-chip { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.footer-logo-chip img { height: 42px; width: auto; display: block; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.brand .mark span { letter-spacing: -1px; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text b { font-size: 1.02rem; }
.brand .brand-text small { font-size: .68rem; font-weight: 600; color: var(--slate-400); letter-spacing: .04em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--slate); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: 8px;
}
.nav-links a:hover { background: var(--mist); color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #00b7c925, transparent 60%),
              linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  padding: 72px 0 90px;
}
.hero-logo { text-align: center; margin: 0 0 40px; }
.hero-logo img { display: inline-block; width: auto; max-width: 92%; max-height: 170px; }
@media (max-width: 600px) { .hero-logo { margin-bottom: 28px; } .hero-logo img { max-height: 110px; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--navy-600); }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; color: var(--slate-400); font-size: .9rem; }
.hero-meta b { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--slate);
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* hero card visual */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 22px;
}
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero-card .hc-title { font-weight: 800; color: var(--ink); }
.badge { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge--active { background: #dcfce7; color: #166534; }
.badge--proc { background: #d4f1f5; color: #0e5a66; }
.stage-row { display: flex; gap: 6px; margin-bottom: 18px; }
.stage { flex: 1; text-align: center; font-size: .64rem; font-weight: 700; color: var(--slate-300); }
.stage .bar { height: 6px; border-radius: 4px; background: var(--mist-200); margin-bottom: 6px; }
.stage.done .bar { background: var(--teal); }
.stage.done { color: var(--teal); }
.stage.cur .bar { background: var(--amber); }
.stage.cur { color: var(--amber-600); }
.hc-line { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--mist-200); font-size: .9rem; }
.hc-line span:first-child { color: var(--slate-400); }
.hc-line span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mist); color: var(--navy-600); margin-bottom: 16px; font-size: 1.3rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .96rem; }

/* entity columns */
.entity { border-top: 4px solid var(--navy); }
.entity.client { border-top-color: var(--teal); }
.entity.partner { border-top-color: var(--amber); }
.entity .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.step .num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: .2rem; }
.step p { margin: 0; font-size: .95rem; }

/* vertical timeline */
.timeline { position: relative; margin: 0; padding: 0 0 0 28px; }
.timeline::before { content:""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--mist-200); }
.tl-item { position: relative; padding: 0 0 26px 22px; }
.tl-item::before { content:""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.tl-item h4 { margin: 0 0 .25rem; color: var(--ink); }
.tl-item p { margin: 0; font-size: .94rem; }
.tl-item .when { font-size: .78rem; font-weight: 700; color: var(--amber-600); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
table.tbl th, table.tbl td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--mist-200); }
table.tbl thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--mist); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.price-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.feature { border: 2px solid var(--amber); box-shadow: var(--shadow); position: relative; }
.price-card.feature .ribbon { position: absolute; top:-13px; left: 30px; background: var(--amber); color:#21160a; font-size:.72rem; font-weight:800; padding:5px 12px; border-radius:999px; }
.price-card .who { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color: var(--slate-400); }
.price-card .amount { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: 8px 0 2px; }
.price-card .amount small { font-size: .95rem; font-weight: 600; color: var(--slate-400); }
.price-card ul { list-style:none; margin: 18px 0 24px; padding:0; display:grid; gap:10px; }
.price-card li { position:relative; padding-left: 26px; font-size:.95rem; }
.price-card li::before { content:"✓"; position:absolute; left:0; color: var(--teal); font-weight:800; }

/* ---------- FAQ ---------- */
.faq { display:grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor:pointer; list-style:none; font-weight:700; color: var(--ink); padding: 18px 0; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.4rem; color: var(--amber-600); font-weight:400; }
.faq details[open] summary::after { content:"–"; }
.faq details p { margin: 0 0 18px; font-size:.96rem; }

/* ---------- Form ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:700; color: var(--ink); font-size:.9rem; margin-bottom:6px; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink); background:#fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(29,75,124,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .req { color: var(--red); }
.field .hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--slate-400); }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--slate-400); margin-top: 10px; }
.form-success { display:none; background:#dcfce7; border:1px solid #86efac; color:#166534; padding: 16px 18px; border-radius: var(--radius-sm); font-weight:600; margin-bottom: 20px; }

/* ---------- Bigin embedded form — restyled to match the site ---------- */
#iqs-bigin-form .iframe-container { display:none; }
#iqs-bigin-form .wf-parent { padding:0; background:transparent !important; height:auto; overflow:visible; }
#iqs-bigin-form .wf-wrapper { max-width:none; width:100%; box-shadow:none; border-radius:0; background:transparent; color:var(--ink); }
#iqs-bigin-form .wf-form-component { padding:0; font-family:var(--font); position:static; }
#iqs-bigin-form .wf-header { display:none; }
#iqs-bigin-form .wf-row { display:block; margin-bottom:18px; }
#iqs-bigin-form .wf-label { width:auto; padding:0 0 6px; font-weight:700; color:var(--ink); font-size:.9rem; }
#iqs-bigin-form .wf-field { width:100%; }
#iqs-bigin-form .wf-field-input,
#iqs-bigin-form .wf-field-dropdown,
#iqs-bigin-form .wf-text-area-input {
  width:100%; border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:12px 14px; min-height:46px; font-size:.98rem; color:var(--ink);
  font-family:var(--font); background:#fff;
}
#iqs-bigin-form .wf-text-area-input { min-height:90px; resize:vertical; }
#iqs-bigin-form .wf-field-input:focus,
#iqs-bigin-form .wf-field-dropdown:focus,
#iqs-bigin-form .wf-text-area-input:focus { outline:none; border-color:var(--navy-600); box-shadow:0 0 0 3px rgba(31,111,128,.14); }
#iqs-bigin-form .wf-field-mandatory .wf-field-inner::before { display:none; }
#iqs-bigin-form .wform-btn-wrap { display:block; margin-top:24px; }
#iqs-bigin-form .wf-btn {
  width:100%; background:var(--amber); color:#06252b; border:0; border-radius:999px;
  padding:14px 24px; font-weight:700; font-size:1rem; font-family:var(--font); cursor:pointer;
  box-shadow:0 6px 18px rgba(0,183,201,.32);
}
#iqs-bigin-form .wf-btn:hover { background:var(--amber-600); color:#fff; }
#iqs-bigin-form .wf-field-error { color:var(--red); font-size:.8rem; margin-top:5px; }
#iqs-bigin-form .wform-poweredby-container { display:none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-600)); border-radius: 20px; padding: 54px; text-align:center; color:#cfe0f1; box-shadow: var(--shadow); }
.cta-band h2 { color:#fff; }
.cta-band .btn--ghost { color:#fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn--ghost:hover { border-color:#fff; background: rgba(255,255,255,.08); }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align:center; }
.stat .big { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight:800; color:#fff; }
.stat .lbl { color:#aeb7c2; font-size:.9rem; }

/* ---------- Notice / callout ---------- */
.notice {
  background: #ecf8fa; border:1px solid #aee0e7; border-radius: var(--radius);
  padding: 20px 22px; display:flex; gap:14px; align-items:flex-start;
}
.notice .ic { color: var(--teal); font-size: 1.3rem; line-height: 1; }
.notice p { margin:0; font-size:.94rem; color:#2c4a51; }
.notice b { color:#123b43; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color:#aeb7c2; padding: 60px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.site-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.site-footer a { color:#aeb7c2; font-size:.94rem; }
.site-footer a:hover { color:#fff; }
.footer-brand .brand .brand-text b { color:#fff; }
.footer-brand .brand .brand-text small { color:#8b94a0; }
.footer-brand p { font-size:.92rem; margin-top:14px; max-width: 34ch; }
.footer-contact { margin-top: 14px; font-size: .95rem; }
.footer-contact a { color:#fff; font-weight:700; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { border-top:1px solid #2f3845; margin-top: 40px; padding-top: 24px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; color:#7e8794; }

.muted { color: var(--slate-400); }
.center { text-align:center; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.grid.gap-sm { gap:16px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .grid-3, .grid-4, .price-grid, .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0; background:#fff;
    border-bottom:1px solid var(--line); padding: 12px 24px 20px; gap:4px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 10px; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .price-grid, .stats, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .hero-cta .btn { width: 100%; justify-content:center; }
}
