/* =============================================================================
   IRP Business Solutions — design system
   Palette sampled from IRPSLogo.png:
     navy #022a54 · teal #008298 · orange #eb7914 · amber #fdae23
   Light-first, mobile-first. Dark overrides via prefers-color-scheme.
   ============================================================================= */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --navy:        #022a54;
  --navy-700:    #0a3a6b;
  --navy-600:    #14487f;
  --teal:        #008298;
  --teal-600:    #00707f;
  --teal-050:    #e6f3f5;
  --orange:      #eb7914;
  --orange-600:  #d76c0d;
  --amber:       #fdae23;
  --amber-050:   #fff5e0;

  /* Neutrals */
  --cream:       #f8f5ee;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --surface:     #ffffff;
  --ink:         #14202e;   /* body text */
  --ink-soft:    #43566b;   /* secondary text */
  --ink-faint:   #6b7c90;   /* microcopy */
  --line:        #e4e9f0;   /* borders */
  --line-strong: #cdd7e3;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(2,42,84,.06), 0 2px 6px rgba(2,42,84,.05);
  --shadow-md: 0 6px 18px rgba(2,42,84,.08), 0 2px 6px rgba(2,42,84,.05);
  --shadow-lg: 0 18px 48px rgba(2,42,84,.14), 0 6px 16px rgba(2,42,84,.08);
  --ring: 0 0 0 3px rgba(0,130,152,.35);

  /* Geometry */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --maxw: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero:   clamp(2.3rem, 1.4rem + 3.9vw, 4.15rem);
  --fs-h2:     clamp(1.8rem, 1.2rem + 2.4vw, 2.85rem);
  --fs-h3:     clamp(1.2rem, 1.0rem + 0.9vw, 1.5rem);
  --fs-lead:   clamp(1.06rem, 0.98rem + 0.5vw, 1.3rem);
  --fs-body:   1rem;
  --fs-sm:     0.9rem;
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--navy); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }
a  { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal); }
img, svg { max-width: 100%; display: block; }
strong { color: var(--ink); font-weight: 700; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.4rem, 2rem + 6vw, 6.5rem); }
.section--tint { background: var(--bg-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, #06356a 100%); color: #dfe8f4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #b9c9dd; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lead); margin-bottom: 0; }
.center { text-align: center; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill); cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: 0 6px 16px rgba(235,121,20,.28);
}
.btn:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(235,121,20,.34); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.02rem 1.9rem; font-size: 1.06rem; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--teal-050); color: var(--navy); border-color: var(--teal); box-shadow: none; }
.btn--wa {
  --btn-bg: #25d366; --btn-fg: #0a3a1e; box-shadow: 0 6px 16px rgba(37,211,102,.28);
}
.btn--wa:hover { background: #1eb858; color: #06331a; box-shadow: 0 10px 22px rgba(37,211,102,.34); }
.btn--on-navy.btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--on-navy.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 42px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; color: var(--navy); font-size: 1.02rem; letter-spacing: -.01em; }
.brand__sub { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }
.nav__links { display: none; align-items: center; gap: 1.7rem; list-style: none; }
.nav__links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--navy); }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin: -10px;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav[data-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: .25rem;
  padding: .5rem var(--gutter) 1.4rem;
  border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu a { padding: .7rem .2rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: .8rem; }

@media (min-width: 940px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 82% 8%, rgba(0,130,152,.16), transparent 60%),
    radial-gradient(50% 55% at 8% 92%, rgba(235,121,20,.12), transparent 60%),
    radial-gradient(45% 45% at 60% 100%, rgba(253,174,35,.12), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.hero__tag {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--navy);
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,130,152,.18); }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--teal); }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; color: var(--ink-faint); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.3rem, 1rem + 1.5vw, 1.9rem);
}
.hero__panel h2 { font-size: 1.05rem; letter-spacing: 0; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; font-size: .78rem; letter-spacing: .1em; margin-bottom: 1.1rem; }
.hero__chatline { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; }
.hero__chatline:last-child { margin-bottom: 0; }
.hero__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; }
.hero__avatar--q { background: var(--navy); }
.hero__avatar--a { background: linear-gradient(135deg, var(--teal), #00a0b8); }
.hero__bubble { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; font-size: .9rem; color: var(--ink-soft); }
.hero__bubble strong { color: var(--navy); }

@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
}

/* ---- Trust bar ----------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__inner { padding-block: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.trust__label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.4rem; }
.trust__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .7rem 1rem; margin-bottom: 2.2rem; }
.trust__logo {
  font-weight: 800; color: var(--navy); font-size: 1rem; letter-spacing: -.01em;
  padding: .5rem .95rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg-alt);
}
.trust__logo span { color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1rem .6rem; }
.stat__num { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat__num .u { color: var(--orange); }
.stat__label { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; }
.ph { color: var(--ink-faint); font-style: italic; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---- Generic card grid --------------------------------------------------- */
.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal); margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card--gov .card__icon { background: var(--amber-050); color: var(--orange-600); }
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card__tag { display: inline-block; margin-top: 1rem; font-size: .8rem; font-weight: 700; color: var(--teal-600); }
.card__tag::after { content: " →"; }

/* ---- Differentiator (split) --------------------------------------------- */
.split { display: grid; gap: clamp(1.6rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__visual {
  border-radius: var(--r-lg); padding: 2rem; background: linear-gradient(155deg, #073b73, #022a54);
  color: #cfe0f2; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.venn { display: flex; align-items: center; justify-content: center; gap: -20px; margin: 1rem 0 1.4rem; }
.venn__c { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 800; color: #fff; font-size: .92rem; padding: 1rem; }
.venn__c--a { background: rgba(0,130,152,.85); margin-right: -34px; }
.venn__c--b { background: rgba(235,121,20,.85); }
.split__visual ul { list-style: none; display: grid; gap: .7rem; }
.split__visual li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; }
.split__visual li svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }
.split__body .eyebrow { color: var(--teal-600); }

/* ---- Portfolio ----------------------------------------------------------- */
.work { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .work { grid-template-columns: repeat(3, 1fr); } }
.work__card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.work__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work__top { padding: 1.4rem 1.4rem .4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.work__badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--teal-600); background: var(--teal-050); padding: .3rem .6rem; border-radius: var(--r-pill); }
.work__badge--live { color: #0a7d3c; background: #e5f6ec; }
.work__body { padding: .4rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.work__body h3 { margin-bottom: .35rem; }
.work__role { font-size: .82rem; color: var(--ink-faint); margin-bottom: .7rem; font-weight: 600; }
.work__body p { font-size: .93rem; margin-bottom: 1rem; }
.work__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .74rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line); padding: .28rem .6rem; border-radius: var(--r-pill); }
.work__more { margin-top: 1.6rem; padding: 1.3rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--bg-alt); text-align: center; }
.work__more strong { color: var(--navy); }
.work__more .chip { background: #fff; }
.work__more-chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: .9rem; }

/* ---- Process ------------------------------------------------------------- */
.steps { display: grid; gap: 1.2rem; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.7rem 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); }
.section--navy .step h3 { color: #fff; }
.step__n { counter-increment: step; font-weight: 800; font-size: 1rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--navy); margin-bottom: 1rem; }
.step p { color: #b9c9dd; margin-bottom: 0; font-size: .95rem; }

/* ---- Certifications ------------------------------------------------------ */
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.cert { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-weight: 600; font-size: .92rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.cert svg { width: 20px; height: 20px; color: var(--teal); }

/* ---- Lead magnet + form -------------------------------------------------- */
.lead { display: grid; gap: clamp(1.8rem, 1rem + 4vw, 3.4rem); align-items: start; }
@media (min-width: 940px) { .lead { grid-template-columns: 1fr 1fr; } }
.lead__pitch ul { list-style: none; display: grid; gap: .85rem; margin: 1.5rem 0; }
.lead__pitch li { display: flex; gap: .7rem; align-items: flex-start; }
.lead__pitch li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.lead__pitch li b { color: var(--navy); }
.quote {
  margin-top: 1.8rem; padding: 1.4rem 1.5rem; border-left: 4px solid var(--amber);
  background: var(--bg-alt); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote p { font-style: italic; color: var(--ink); margin-bottom: .7rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: .9rem; }
.quote cite span { display: block; font-weight: 500; color: var(--ink-faint); font-size: .82rem; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
}
.form-card h3 { margin-bottom: .3rem; }
.form-card > p { font-size: .93rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: .72rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: var(--ring); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.18); }
.field__err { display: none; color: #c0392b; font-size: .82rem; margin-top: .35rem; }
.field__err.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { margin: 1.1rem 0; padding: 1rem 1.1rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-md); }
.consent__notice { font-size: .84rem; color: var(--ink-soft); margin-bottom: .8rem; }
.consent__notice a { text-decoration: underline; }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; }
.checkbox input { margin-top: .2rem; width: 18px; height: 18px; flex: none; accent-color: var(--teal); }
.checkbox span { font-size: .86rem; color: var(--ink-soft); }
.form-micro { font-size: .78rem; color: var(--ink-faint); margin: .9rem 0 0; text-align: center; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .9rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status--ok { background: #e5f6ec; color: #0a7d3c; border: 1px solid #b6e2c6; }
.form-status--err { background: #fdecec; color: #c0392b; border: 1px solid #f4c2c2; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--navy);
}
.faq__q:hover { color: var(--teal); }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; transition: transform .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; }
.faq__icon::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq__icon::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: transform .25s; }
.faq__item[data-open="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding-bottom: 1.15rem; margin: 0; font-size: .96rem; }

/* ---- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { text-align: center; padding: 1.8rem 1.4rem; }
.contact-card .card__icon { margin-inline: auto; }
.contact-card h3 { font-size: 1.1rem; }
.contact-card a { font-weight: 700; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #a9bdd6; padding-block: clamp(2.6rem, 2rem + 3vw, 4rem); font-size: .92rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #7f97b6; }
.footer__about { max-width: 26rem; margin-top: 1rem; color: #91a7c4; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links { list-style: none; display: grid; gap: .6rem; }
.footer__links a { color: #a9bdd6; }
.footer__links a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .82rem; color: #7f97b6; }
.footer__bar a { color: #a9bdd6; }
.popia-line { display: inline-flex; align-items: center; gap: .5rem; }
.popia-line svg { width: 16px; height: 16px; color: var(--amber); }

/* ---- Utility / legal pages ---------------------------------------------- */
.doc { max-width: 46rem; margin-inline: auto; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: .4rem; }
.doc .updated { color: var(--ink-faint); font-size: .88rem; margin-bottom: 2rem; }
.doc h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.doc li { margin-bottom: .4rem; }
.doc a { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: 1.5rem; }

.notice-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 3rem var(--gutter); }
.notice-page__inner { max-width: 34rem; }
.notice-page .card__icon { margin-inline: auto; width: 60px; height: 60px; }
.notice-page .card__icon svg { width: 32px; height: 32px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; z-index: 100; }
.skip-link:focus { left: 0; color: #fff; }

/* ---- Dark mode ----------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1622; --bg-alt: #111e2e; --surface: #13202f;
    --ink: #e6eef7; --ink-soft: #a9bccf; --ink-faint: #7e93a9;
    --line: #22344a; --line-strong: #2e4460; --cream: #0e1a28;
    --teal-050: rgba(0,130,152,.16); --amber-050: rgba(253,174,35,.12);
  }
  h1, h2, h3, h4 { color: #f2f7fc; }
  .site-header { background: rgba(12,22,34,.82); }
  .brand__name { color: #f2f7fc; }
  .nav__toggle span { background: #e6eef7; }
  .trust__logo { color: #e6eef7; }
  .hero { background: var(--cream); }
  .hero__tag { background: var(--surface); color: #e6eef7; }
  .cert { background: var(--surface); color: #e6eef7; }
  .btn--ghost { --btn-fg: #e6eef7; }
  .work__card, .form-card, .card, .hero__panel { background: var(--surface); }
  .stat__num, .lead__pitch li b, .quote cite { color: #f2f7fc; }
  .field input, .field select, .field textarea { background: #0f1b29; color: #e6eef7; }
}
