/* ZIP Agent · Concept A (Clean Authority) · mobile-first
   Breakpoints: 480 · 744 · 1024 · 1280 · 1440 (+ short landscape) */

/* Self-hosted Plus Jakarta Sans (variable font, one file covers weights 400-800) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0B1F3A;
  --navy-deep: #081629;
  --emerald: #0F5132;
  --emerald-soft: rgba(15, 81, 50, 0.10);
  --gold: #D4AF37;
  --bg: #F7F6F2;
  --white: #FFFFFF;
  --muted: #4A5568;
  --muted-light: #5E6A7E; /* 5.5:1 on white, 5:1 on the beige sections */
  --line: #E5E2D9;
  --on-dark: #C9D2DE;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --section-y: 64px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 16px 40px rgba(11, 31, 58, 0.16);

  --h1: 2.125rem;  /* 34 */
  --h2: 1.875rem;  /* 30 */
  --h3: 1.25rem;   /* 20 */
  --lead: 1.0625rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--navy); background: var(--bg); line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.eyebrow--gold { color: var(--gold); }
.h2 { font-size: var(--h2); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; max-width: 900px; }
.center .h2 { margin-inline: auto; }
.h2--light { color: #fff; }
.lead { font-size: var(--lead); color: var(--muted); line-height: 1.6; max-width: 760px; margin-top: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font: 700 1rem/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 31, 58, 0.18); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.btn-row--center { justify-content: center; margin-top: 40px; }
.btn-note { font-size: 0.875rem; font-weight: 500; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { font-size: 1.375rem; font-weight: 800; letter-spacing: 0; text-decoration: none; color: var(--navy); white-space: nowrap; }
.logo span { color: var(--emerald); }
/* badge Z: same height as the capital letters (cap height 0.761em), sits on the baseline */
.logo__z { display: inline-block; width: 1.131em; height: 1.065em; margin-right: 0.11em; vertical-align: -0.152em; }
.logo__badge { fill: var(--navy); }
.logo__letter { fill: #fff; }
.logo__dot { fill: var(--gold); }
.logo--light { color: #fff; }
.logo--light span { color: var(--gold); }
.logo--light .logo__badge { fill: var(--emerald); }
.header__cta { display: none; }
.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav { position: fixed; inset: 68px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none; box-shadow: var(--shadow); }
.nav.is-open { display: block; }
.nav__list a { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.0625rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__cta-mobile { width: 100%; margin-top: 18px; }

/* ---------- hero ---------- */
.hero { padding-block: 40px 56px; }
.hero__grid { display: grid; gap: 40px; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--emerald-soft); color: var(--emerald); font-size: 0.875rem; font-weight: 700; }
.hero__title { font-size: var(--h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin-top: 20px; }
.hero__sub { font-size: var(--lead); color: var(--muted); line-height: 1.6; margin-top: 18px; max-width: 560px; }
.hero .btn-row .btn { flex: 1 1 100%; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.mini-proof li, .trust__list li { display: flex; align-items: center; gap: 8px; }
.mini-proof li::before, .trust__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero__visual { position: relative; padding-bottom: 72px; }
.hero__photo { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-lg); background: #E3E0D6; }
.gcard { position: absolute; left: 12px; right: 12px; bottom: 0; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.gcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.gcard__search { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; font-weight: 500; color: #3C4657; }
.gcard__search::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--muted-light); border-radius: 50%; }
.gcard__tag { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6555; background: #F1EFE8; padding: 3px 8px; border-radius: 6px; }
.gcard__name { font-size: 1.0625rem; font-weight: 800; }
.gcard__rating, .gcard__meta { font-size: 0.8125rem; color: #5E6A7E; margin-top: 4px; }
.gcard__rating strong { color: var(--navy); }
.stars { color: var(--gold); letter-spacing: 1px; }
.gcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 700; }
.chip--on { background: var(--emerald); border-color: var(--emerald); color: #fff; }

/* ---------- trust ---------- */
.trust { background: var(--navy); color: #fff; padding-block: 22px; }
.trust__list { display: grid; gap: 12px; font-size: 0.9375rem; font-weight: 600; }

/* ---------- 60-second test ---------- */
.test__grid { display: grid; gap: 40px; }
.test__phone { width: min(300px, 80%); margin-inline: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 36px; order: 2; background: #E3E0D6; }
.steps-list { display: grid; gap: 12px; margin-top: 28px; counter-reset: none; }
.steps-list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); font-weight: 600; font-size: 1rem; }
.num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); font-weight: 800; }
.page-bar { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border-radius: 999px; overflow: hidden; font-weight: 700; font-size: 0.9375rem; text-align: center; }
.page-bar span { padding: 16px 8px; background: #E6E3DA; }
.page-bar .page-bar__seen { background: var(--emerald); color: #fff; }

/* ---------- problem ---------- */
.problem { background: var(--white); }
.compare { display: grid; gap: 20px; margin-top: 36px; }
.compare__card { padding: 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08), 0 2px 6px rgba(11, 31, 58, 0.04); }
.compare__card--good { box-shadow: 0 16px 40px rgba(11, 31, 58, 0.22); }
.compare__card h3 { font-size: 1.375rem; font-weight: 800; margin-bottom: 18px; }
.compare__card--good { background: var(--navy); border-color: var(--navy); color: #fff; }
.compare__card--good h3 { color: var(--gold); }
.x-list li, .check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--muted); }
.x-list li + li, .check-list li + li { margin-top: 14px; }
.x-list li::before { content: "\2715"; position: absolute; left: 0; color: #A0A3A8; font-weight: 700; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.compare__card--good .check-list li, .check-list--light li { color: #fff; }

/* ---------- services bento ---------- */
.bento { display: grid; gap: 20px; margin-top: 40px; }
.bento__feature { display: grid; gap: 24px; padding: 32px 26px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); }
.bento__feature h3 { font-size: 1.75rem; font-weight: 800; line-height: 1.15; }
.bento__feature p:not(.eyebrow) { color: var(--on-dark); margin-top: 12px; line-height: 1.6; }
.bento__feature img { width: 100%; border-radius: 18px; aspect-ratio: 760 / 520; object-fit: cover; background: #E3E0D6; }
.card { padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card__icon { display: block; width: 52px; height: 52px; border-radius: 14px; background: var(--emerald-soft); position: relative; margin-bottom: 16px; }
.card__icon::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: var(--emerald); }
.card h3 { font-size: var(--h3); font-weight: 800; }
.card p { color: var(--muted); margin-top: 10px; line-height: 1.6; font-size: 0.9375rem; }

/* ---------- SEO flow ---------- */
.flow { background: #fff; }
.flow__steps { display: grid; gap: 14px; margin-top: 40px; }
.flow__steps li { position: relative; padding: 24px; background: var(--bg); border-radius: 22px; }
.flow__steps li:not(:last-child)::after { content: "\2193"; position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); color: var(--emerald); font-weight: 800; z-index: 1; }
.flow__n { font-size: 0.875rem; font-weight: 700; color: var(--emerald); }
.flow__steps h3 { font-size: 1.25rem; font-weight: 800; margin-top: 6px; }
.flow__steps p { font-size: 0.9375rem; color: var(--muted); margin-top: 4px; }
.flow__steps .flow__last { background: var(--gold); }
.flow__last .flow__n, .flow__last p { color: var(--navy); }
.questions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.questions li { padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 0.9375rem; }

/* ---------- demos ---------- */
.demo-grid { display: grid; gap: 32px; margin-top: 40px; }
.demo img { width: 100%; aspect-ratio: 380 / 300; object-fit: cover; border-radius: 24px; background: #E3E0D6; }
.tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: #7A5E0E; margin-top: 16px; }
.demo h3 { font-size: 1.375rem; font-weight: 800; margin-top: 6px; }
.demo p:not(.tag) { color: var(--muted); margin-top: 6px; line-height: 1.6; font-size: 0.9375rem; }

/* ---------- process ---------- */
.process { background: var(--navy); }
.process__steps { display: grid; gap: 16px; margin-top: 40px; }
.process__steps li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.process__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--emerald); font-weight: 800; }
.process__last .process__n { background: var(--gold); color: var(--navy); }
.process__when { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.process__steps h3 { font-size: 1.375rem; font-weight: 800; }
.process__steps p { color: var(--on-dark); font-size: 0.9375rem; line-height: 1.55; }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 36px; }
.about__photo { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--radius-lg); background: #E3E0D6; }
.about__copy p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin-top: 16px; font-size: 1.0625rem; }
.about__copy .btn { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq__grid { display: grid; gap: 14px; margin-top: 40px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emerald); font-size: 1.5rem; line-height: 1; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); line-height: 1.6; padding-bottom: 22px; }
.faq__ask { font-weight: 600; font-size: 1.0625rem; }

/* ---------- CTA + form ---------- */
/* Audit CTA: normal section spacing; when the section above has the same beige background,
   its bottom padding already gives the gap, so the CTA adds none on top. */
.cta { padding-top: var(--section-y); }
.blog-teaser + .cta, .blog-list + .cta, .demos + .cta, .about + .cta { padding-top: 0; }
.cta__box { display: grid; gap: 36px; padding: 36px 24px; background: var(--navy); border-radius: 32px; }
.audit-form { display: grid; gap: 12px; padding: 28px 22px; background: #fff; border-radius: 24px; }
.audit-form h3 { font-size: 1.375rem; font-weight: 800; margin-bottom: 4px; }
.audit-form input { width: 100%; min-height: 52px; padding: 14px 16px; font: 500 1rem var(--font); color: var(--navy); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.audit-form input:focus { outline: 2px solid var(--emerald); border-color: var(--emerald); }
.audit-form .btn { margin-top: 6px; }
.form-msg { font-size: 0.9375rem; font-weight: 600; color: var(--emerald); min-height: 1em; }
.cta .check-list { margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); padding: 56px 0 calc(32px + 76px); }
.footer__grid { display: grid; gap: 32px; }
.footer__brand p { margin-top: 10px; color: #9AA8BC; }
.footer__h { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer ul li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.8125rem; color: #7F8EA3; }
.site-footer--slim { padding: 8px 0 32px; }
.site-footer--slim .footer__bottom { border-top: 0; }

/* ---------- legal pages (privacy, terms) ---------- */
.legal { background: var(--white); }
.legal__inner { max-width: calc(760px + 2 * var(--gutter)); }
.legal__date { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
.legal h2 { font-size: 1.25rem; font-weight: 800; margin: 36px 0 10px; color: var(--navy); }
.legal p, .legal li { line-height: 1.7; color: var(--muted); }
.legal p + p { margin-top: 14px; }
.legal .legal__date + p { margin-top: 28px; }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--navy); }
.legal a:not(.btn) { color: var(--emerald); }
.legal__cta { padding-inline: 18px; min-height: 44px; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,31,58,.08); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: none; }

/* =========================================================
   ≥480  large phones
   ========================================================= */
@media (min-width: 480px) {
  :root { --gutter: 24px; --h1: 2.375rem; }
  .hero .btn-row .btn { flex: 0 1 auto; }
  .trust__list { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   ≥744  tablets portrait (iPad mini 744, iPad Air 820)
   ========================================================= */
@media (min-width: 744px) {
  :root { --gutter: 40px; --section-y: 80px; --h1: 2.875rem; --h2: 2.5rem; --lead: 1.125rem; }
  .header__cta { display: inline-flex; margin-left: auto; }
  .hero { padding-block: 56px 72px; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; padding-bottom: 0; }
  .gcard { left: -24px; right: auto; bottom: 48px; width: 330px; }
  .test__grid { grid-template-columns: 300px 1fr; align-items: center; gap: 48px; }
  .test__phone { order: 0; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__feature { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; padding: 40px; }
  .flow__steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .flow__steps li::after { display: none; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid .demo:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
  .demo-grid .demo:last-child img { grid-row: 1 / span 4; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .process__steps .process__last { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .cta__box { padding: 48px; }
  .audit-form { padding: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: 32px; }
  .sticky-cta { display: none; }
}

/* =========================================================
   ≥1024  iPad Pro portrait, iPad landscape (1133, 1180), small laptops
   ========================================================= */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section-y: 88px; --h1: 3.125rem; --h2: 2.75rem; }
  .menu-toggle { display: none; }
  .nav { position: static; display: block; padding: 0; background: none; border: 0; box-shadow: none; margin-left: auto; }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a { padding: 8px 0; border: 0; font-size: 0.9375rem; color: var(--muted); }
  .nav__list a:hover { color: var(--navy); }
  .nav__cta-mobile { display: none; }
  .header__cta { margin-left: 0; }
  .header__inner { min-height: 80px; gap: 32px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
  .hero__visual { max-width: none; }
  .gcard { left: -36px; bottom: 56px; }
  .trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .compare { grid-template-columns: 1fr 1fr; }
  .compare__card { padding: 40px; }
  .flow__steps { grid-template-columns: repeat(4, 1fr); }
  .demo-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .demo-grid .demo:last-child { grid-column: auto; display: block; }
  .process__steps { grid-template-columns: repeat(6, 1fr); }
  .process__steps li { grid-column: span 2; }
  .process__steps li:nth-child(4) { grid-column: 2 / span 2; }
  .process__steps li:nth-child(5) { grid-column: 4 / span 2; }
  .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .faq__grid { grid-template-columns: 1fr 1fr; }
  .cta__box { grid-template-columns: 1fr 440px; align-items: center; padding: 56px; gap: 48px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* =========================================================
   ≥1280  laptops (1280, 1366, iPad Pro landscape 1366)
   ========================================================= */
@media (min-width: 1280px) {
  :root { --gutter: 64px; --section-y: 96px; --h1: 3.375rem; --h2: 3rem; --lead: 1.1875rem; }
  .nav__list { gap: 36px; }
  .hero { padding-block: 80px 104px; }
  .hero__grid { grid-template-columns: 1fr 520px; gap: 64px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__feature { grid-column: span 2; }
  .flow__steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .flow__steps li:not(:last-child)::after { display: block; content: "\2192"; left: auto; right: -29px; top: 50%; bottom: auto; transform: translateY(-50%); font-size: 1.5rem; }
  .process__steps { grid-template-columns: repeat(5, 1fr); }
  .process__steps li, .process__steps li:nth-child(4), .process__steps li:nth-child(5) { grid-column: auto; }
  .cta__box { grid-template-columns: 1fr 480px; padding: 64px; gap: 56px; }
}

/* =========================================================
   ≥1440  large laptops and desktop (1440, 1920)
   ========================================================= */
@media (min-width: 1440px) {
  :root { --gutter: 120px; --h1: 3.625rem; }
  .hero__grid { grid-template-columns: 1fr 560px; }
}
@media (min-width: 1680px) {
  :root { --gutter: 64px; }
}

/* =========================================================
   Short landscape phones (667×375, 852×393, 932×430)
   ========================================================= */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --h1: 1.875rem; --h2: 1.75rem; --section-y: 56px; }
  .header__inner { min-height: 56px; }
  .nav { inset: 56px 0 auto 0; max-height: calc(100vh - 56px); overflow-y: auto; }
  .hero { padding-block: 24px 40px; }
  .hero__grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 28px; }
  .hero__title { margin-top: 12px; }
  .hero__sub { font-size: 0.9375rem; margin-top: 12px; }
  .hero .btn-row { margin-top: 18px; }
  .hero .btn-row .btn { flex: 0 1 auto; }
  .mini-proof { display: none; }
  .hero__visual { padding-bottom: 0; max-width: 300px; }
  .hero__photo { aspect-ratio: 4 / 5; }
  .gcard { display: none; }
  .sticky-cta { display: block; padding-block: 8px; }
  .sticky-cta .btn { min-height: 42px; padding-block: 10px; }
  .site-footer { padding-bottom: calc(32px + 60px); }
}

/* ---------- WordPress: Contact Form 7 audit form ---------- */
.audit-form .wpcf7 { width: 100%; }
.audit-form .wpcf7-form { display: grid; gap: 12px; }
.audit-form .wpcf7-form-control-wrap { display: block; }
.audit-form input.btn, .audit-form button.btn { background: var(--gold); color: var(--navy); border: 1.5px solid transparent; font: 700 1rem/1.2 var(--font); cursor: pointer; margin-top: 6px; }
.audit-form .wpcf7-not-valid { border-color: #B42318; }
.audit-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 0.875rem; font-weight: 600; color: #B42318; }
.audit-form .wpcf7-spinner { display: none; }
.audit-form .wpcf7 form.submitting .wpcf7-spinner { display: block; margin: 8px auto 0; }
.audit-form .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 0.9375rem; font-weight: 600; }
.audit-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--emerald); color: var(--emerald); background: var(--emerald-soft); }
.audit-form .wpcf7 form.invalid .wpcf7-response-output,
.audit-form .wpcf7 form.failed .wpcf7-response-output { border-color: #B42318; color: #B42318; }

/* ---------- WordPress: pages, posts, blog list ---------- */
.legal .entry > * + * { margin-top: 14px; }
.legal .entry h2 { margin-top: 36px; }
.legal .entry h3 { font-size: 1.0625rem; font-weight: 800; margin: 28px 0 8px; color: var(--navy); }
.legal .entry img { max-width: 100%; height: auto; border-radius: 16px; }
.entry__image { margin: 24px 0; }
.entry__image img { width: 100%; height: auto; border-radius: 20px; }
.post-list { margin-top: 32px; display: grid; gap: 28px; }
.post-list__item h2 { margin: 0; font-size: 1.375rem; }
.post-list__item h2 a { color: var(--navy); text-decoration: none; }
.post-list__item h2 a:hover { color: var(--emerald); }
.post-list__item .legal__date { margin: 4px 0 8px; }
.nav-links { display: flex; gap: 12px; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.nav-links .current { background: var(--navy); color: #fff; }

/* Logged-in admin bar: keep the sticky header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Short pages: keep the footer at the bottom of the screen */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* ---------- Elementor content: give back normal text spacing and lists ---------- */
.elementor-widget-text-editor > * + *, .elementor-widget-text-editor p + p,
.elementor-widget-text-editor p + ul, .elementor-widget-text-editor ul + p,
.elementor-widget-text-editor p + ol, .elementor-widget-text-editor ol + p { margin-top: 0.9em; }
.elementor-widget-text-editor ul { list-style: disc; padding-left: 1.25em; }
.elementor-widget-text-editor ol { list-style: decimal; padding-left: 1.25em; }
.elementor-widget-text-editor li + li { margin-top: 0.35em; }
.elementor-widget-text-editor a:not(.elementor-button) { color: var(--emerald); }
.elementor-button { font-family: var(--font); font-weight: 700; border-radius: 999px; }

/* =========================================================
   Blog post (single.php)
   ========================================================= */
.blog-post { background: #fff; }
.post-hero { background: var(--bg); padding: 40px 0 96px; }
.post-hero__title { max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--muted-light); margin-bottom: 18px; }
.crumbs a { color: var(--emerald); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-hero__title { font-size: var(--h1); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--navy); }
.post-hero__dek { margin-top: 16px; font-size: var(--lead); line-height: 1.6; color: var(--muted); max-width: 720px; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 0.9375rem; color: var(--muted); }
.post-meta .author-photo { width: 48px; height: 48px; }
.post-meta__text { display: grid; gap: 2px; }
.post-meta__author { font-weight: 700; color: var(--navy); }
.author-photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #E3E0D6; }

.post-cover { margin-top: -64px; }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: #E3E0D6; box-shadow: var(--shadow); }
.post-cover figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted-light); text-align: center; }

.post-layout { display: grid; gap: 40px; padding-top: 48px; padding-bottom: var(--section-y); }
.post-hero + .post-layout { padding-top: 0; margin-top: -48px; }
.post-body { min-width: 0; max-width: 720px; }

/* Article typography */
.entry-content { font-size: 1.0625rem; line-height: 1.75; color: #2B3445; overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; color: var(--navy); margin-top: 2.1em; scroll-margin-top: 96px; }
.entry-content h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.3; color: var(--navy); margin-top: 1.8em; scroll-margin-top: 96px; }
.entry-content h4 { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-top: 1.6em; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: 0.6em; }
.entry-content a:not(.elementor-button):not(.wp-block-button__link):not(.btn) { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:not(.elementor-button):not(.wp-block-button__link):not(.btn):hover { text-decoration-thickness: 2px; }
.entry-content strong { color: var(--navy); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.45em; }
.entry-content li::marker { color: var(--emerald); font-weight: 700; }
.entry-content blockquote { margin-left: 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--bg); border-radius: 0 16px 16px 0; font-size: 1.125rem; color: var(--navy); }
.entry-content blockquote p + p { margin-top: 0.6em; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: 0.875rem; font-style: normal; color: var(--muted); }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px; }
.entry-content figure { margin: 1.8em 0 0; }
.entry-content figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted-light); text-align: center; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { color: var(--navy); background: var(--bg); font-weight: 700; }
.entry-content code { font-size: 0.9em; padding: 2px 6px; background: var(--bg); border-radius: 6px; }
.entry-content pre { padding: 16px; background: var(--navy); color: #fff; border-radius: 14px; overflow-x: auto; }
.entry-content pre code { background: none; padding: 0; }
.entry-content .wp-block-button__link { display: inline-flex; padding: 14px 26px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }

/* Table of contents */
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-weight: 800; font-size: 0.8125rem; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--navy); }
.toc--inline { margin-bottom: 28px; padding: 6px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); }
.toc--inline summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--navy); }
.toc--inline[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.toc--inline ol { padding-bottom: 10px; }
.toc--side { display: none; }
.toc__title { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }

/* Tags, author, edit link */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; list-style: none; padding: 0; }
.post-tags a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.post-tags a:hover { border-color: var(--emerald); color: var(--emerald); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; background: var(--bg); border-radius: var(--radius-md); }
.author-box .eyebrow { margin-bottom: 2px; }
.author-box__name { font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.author-box p:last-child { margin-top: 6px; color: var(--muted); line-height: 1.6; font-size: 0.9375rem; }
.post-edit { margin-top: 20px; font-size: 0.875rem; }
.post-edit a { color: var(--emerald); }
.page-links { margin-top: 24px; font-weight: 700; }

/* Sidebar CTA */
.aside-cta { padding: 26px 24px; background: var(--navy); border-radius: var(--radius-md); color: #fff; }
.aside-cta .eyebrow { margin-bottom: 8px; }
.aside-cta__title { font-size: 1.375rem; font-weight: 800; line-height: 1.25; color: #fff; }
.aside-cta .check-list { margin: 16px 0 20px; font-size: 0.9375rem; }
.aside-cta .check-list li + li { margin-top: 8px; }

/* Related posts and cards */
.related { background: var(--bg); }
.post-grid { display: grid; gap: 24px; margin-top: 32px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(11, 31, 58, 0.10); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: #E3E0D6; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__body .eyebrow { margin-bottom: 8px; }
.post-card__title { font-size: 1.1875rem; font-weight: 800; line-height: 1.3; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--emerald); }
.post-card__meta { margin-top: 10px; font-size: 0.875rem; color: var(--muted-light); }

@media (min-width: 744px) {
  .post-hero { padding: 56px 0 120px; }
  .post-cover { margin-top: -88px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-photo { width: 88px; height: 88px; }
}
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
  .post-body { max-width: 760px; }
  .post-aside { position: sticky; top: 96px; display: grid; gap: 28px; }
  .admin-bar .post-aside { top: 128px; }
  .toc--inline { display: none; }
  .toc--side { display: block; padding-left: 18px; border-left: 2px solid var(--line); }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 88px; }
}

/* =========================================================
   Blog listing (home.php / archive.php) and homepage blog section
   ========================================================= */
.blog-index { background: var(--bg); }
.blog-hero { padding-bottom: 40px; }
.blog-hero__page { font-size: 0.5em; font-weight: 700; color: var(--muted-light); vertical-align: middle; margin-left: 8px; }
.blog-filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; padding: 0; }
.blog-filters a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.9375rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.blog-filters a:hover { border-color: var(--navy); }
.blog-filters a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-list { padding: 8px 0 var(--section-y); }
.blog-list .post-grid { margin-top: 24px; }
.blog-list .post-card--featured + .post-grid { margin-top: 24px; }

.post-card--featured .post-card__title { font-size: 1.5rem; line-height: 1.25; }
.post-card__excerpt { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.post-card__more { margin-top: 20px; }

.blog-empty { padding: 48px 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.blog-empty__title { font-size: 1.375rem; font-weight: 800; color: var(--navy); }
.blog-empty p + p { margin-top: 8px; color: var(--muted); }
.blog-empty .btn { margin-top: 20px; }

.blog-list .nav-links { justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.nav-links .page-numbers { background: #fff; }
.nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

.section-head { display: grid; gap: 20px; }
.section-head .lead { margin-top: 12px; }
.blog-teaser .post-grid { margin-top: 32px; }

.nav__list a[aria-current="page"] { color: var(--navy); }

@media (min-width: 744px) {
  .post-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; }
  .post-card--featured { min-height: 380px; }
  .post-card--featured .post-card__media { position: relative; aspect-ratio: auto; }
  .post-card--featured .post-card__media img { position: absolute; inset: 0; }
  .post-card--featured .post-card__body { display: flex; flex-direction: column; justify-content: center; padding: 36px 36px 40px; }
  .post-card--featured .post-card__more { align-self: flex-start; }
  .section-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
}
@media (min-width: 1024px) {
  .post-card--featured .post-card__title { font-size: 1.875rem; }
  .post-card--featured .post-card__body { padding: 48px; }
  .blog-hero { padding-bottom: 48px; }
}

/* =========================================================
   Service pages (single-za_service.php) and /services/ hub
   ========================================================= */
.svc-hero { background: var(--bg); padding: 40px 0 56px; }
.svc-hero__grid { display: grid; gap: 32px; align-items: center; }
.svc-hero__title { font-size: var(--h1); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); margin-top: 4px; }
.svc-hero__copy .hero__sub { margin-top: 18px; }
.svc-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); background: #E3E0D6; box-shadow: var(--shadow); }

.svc-problem { background: #fff; }
.svc-problem__card { margin-top: 28px; max-width: 760px; }
.svc-grid { display: grid; gap: 18px; margin-top: 32px; }
.svc-grid .card p { margin-top: 8px; color: var(--muted); line-height: 1.6; }

.svc-proof { background: #fff; }
.svc-proof__grid { display: grid; gap: 32px; align-items: center; }
.svc-proof__img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.svc-proof__quote { margin: 20px 0 0; padding: 22px 24px; border-left: 4px solid var(--gold); background: var(--bg); border-radius: 0 16px 16px 0; font-size: 1.125rem; line-height: 1.6; color: var(--navy); }
.svc-proof__quote cite { display: block; margin-top: 10px; font-size: 0.9375rem; font-style: normal; color: var(--muted); }

.svc-cost { background: #fff; }
.svc-cost__grid { display: grid; gap: 28px; align-items: center; }

/* Service page bands alternate: hero beige, problem white, included beige, process navy,
   cost white, FAQ beige, related white, other services white (joined to related), CTA beige. */
.service .faq { background: var(--bg); }
.service .related { background: #fff; }
.svc-others { background: #fff; }
.related + .svc-others { padding-top: 0; }
.svc-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.svc-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; color: var(--navy); text-decoration: none; }
.svc-link:hover { border-color: var(--navy); }

.svc-cta { align-items: center; }
.svc-cta__action { display: grid; align-content: center; }

.svc-hub-grid { display: grid; gap: 24px; margin-top: 8px; }
.svc-card .post-card__title { font-size: 1.3125rem; }
.svc-card__more { display: inline-flex; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--emerald); text-decoration: none; }
.svc-card__more:hover { text-decoration: underline; }

/* homepage service cards and blog-post service box */
.card__more { display: inline-flex; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--emerald); text-decoration: none; }
.card__more:hover { text-decoration: underline; }
.bento__feature .card__more { color: var(--gold); }
.card h3 a, .bento__feature h3 a { color: inherit; text-decoration: none; }
.post-service { display: grid; gap: 14px; margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.post-service__title { font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.post-service p { color: var(--muted); line-height: 1.6; font-size: 0.9375rem; }
.post-service .btn { justify-self: start; }

@media (min-width: 744px) {
  .svc-grid, .svc-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero { padding: 56px 0 72px; }
}
@media (min-width: 1024px) {
  .svc-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .svc-grid, .svc-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-proof__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .svc-cost__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .svc-cta { grid-template-columns: 1.4fr 1fr; }
}

/* =========================================================
   Whole-card click ("stretched link"): one real link per card,
   its click area stretched over the card. Keyboard and screen
   readers still see a single link; other buttons stay on top.
   ========================================================= */
.card, .bento__feature, .post-card { position: relative; }
.card .card__more::after,
.bento__feature .card__more::after,
.post-card .post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post-card .post-card__more, .post-card .svc-card__more { position: relative; z-index: 2; }

.card:has(.card__more), .bento__feature:has(.card__more), .post-card { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card:has(.card__more):hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(11, 31, 58, 0.10); border-color: var(--emerald); }
.bento__feature:has(.card__more):hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(11, 31, 58, 0.25); }
.card:has(.card__more):hover .card__more, .bento__feature:hover .card__more, .svc-card:hover .svc-card__more { text-decoration: underline; }
.post-card:hover .post-card__title a { color: var(--emerald); }

/* visible keyboard focus on the whole card */
.card:focus-within, .bento__feature:focus-within, .post-card:focus-within { outline: 2px solid var(--emerald); outline-offset: 3px; }
.card .card__more:focus, .bento__feature .card__more:focus, .post-card .post-card__title a:focus { outline: none; }

/* =========================================================
   /services/ hub - Concept C (goal picker + clean list + table)
   ========================================================= */
.svc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.svc-ico svg { width: 26px; height: 26px; }
.svc-ico--web { background: #EAF2FB; color: #2563EB; }
.svc-ico--seo { background: var(--emerald-soft); color: var(--emerald); }
.svc-ico--gbp { background: #FBF4DD; color: #8A6D0F; }
.svc-ico--follow { background: #FDECEC; color: #C2410C; }
.svc-ico--social { background: #F1ECFB; color: #6D28D9; }

.hub-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 48px 0 64px; }
.hub-hero::after { content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, 0.32), transparent 65%); pointer-events: none; }
.hub-hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.crumbs--light a { color: #C9D2DE; }
.hub-hero__title { font-size: var(--h1); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; color: #fff; margin-top: 4px; }
.hub-hero__lead { margin-top: 18px; font-size: var(--lead); line-height: 1.6; color: #C9D2DE; max-width: 560px; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost-light:hover { border-color: #fff; }

.picker { background: #fff; color: var(--navy); border-radius: 28px; padding: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28); }
.picker__title { font-size: 1.125rem; font-weight: 800; margin-bottom: 14px; }
.picker__opt { position: relative; display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.picker__opt:hover { border-color: #B9C3CF; }
.picker__opt input { position: absolute; opacity: 0; pointer-events: none; }
.picker__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9CFD8; flex: none; transition: border .15s; }
.picker__opt b { display: block; font-size: 0.9375rem; }
.picker__opt small { display: block; color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }
.picker__opt:has(input:checked) { border-color: var(--emerald); background: var(--emerald-soft); }
.picker__opt:has(input:checked) .picker__dot { border: 6px solid var(--emerald); }
.picker__opt:has(input:focus-visible) { outline: 2px solid var(--emerald); outline-offset: 2px; }
.picker__rec { margin-top: 14px; background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: 0.9375rem; }
.picker__rec p { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.picker__rec p[hidden] { display: none; }
.picker__rec p > span { color: var(--muted); font-weight: 600; }
.picker__rec a { color: var(--emerald); font-weight: 800; text-decoration: none; }
.picker__rec a:hover { text-decoration: underline; }

.hub-list { background: #fff; }
.hub-list__head { display: grid; gap: 12px; margin-bottom: 32px; }
.hub-rows { display: grid; gap: 14px; }
.hub-row { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hub-row:hover { border-color: var(--emerald); box-shadow: 0 14px 36px rgba(11, 31, 58, 0.08); transform: translateY(-2px); }
.hub-row:focus-within { outline: 2px solid var(--emerald); outline-offset: 3px; }
.hub-row .svc-ico { grid-row: span 3; align-self: start; width: 44px; height: 44px; border-radius: 13px; }
.hub-row .svc-ico svg { width: 22px; height: 22px; }
.hub-row__title { font-size: 1.1875rem; font-weight: 800; line-height: 1.25; }
.hub-row__title a { color: var(--navy); text-decoration: none; }
.hub-row__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hub-row__title a:focus { outline: none; }
.hub-row__text { grid-column: 2; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.hub-row__tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.hub-row__tags span { font-size: 0.75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.hub-row__go { display: none; grid-column: 3; grid-row: 1 / span 3; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; place-items: center; font-size: 1.125rem; transition: background .15s; }
.hub-row:hover .hub-row__go { background: var(--emerald); }

.hub-table { background: var(--bg); }
.hub-table__wrap { position: relative; margin-top: 28px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.hub-table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.hub-table th, .hub-table td { position: relative; padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.hub-table thead th { background: var(--navy); color: #fff; font-size: 0.875rem; font-weight: 700; }
.hub-table tbody th { text-align: left; font-weight: 700; }
.hub-table tbody th a { color: var(--navy); text-decoration: none; }
.hub-table tbody th a:hover { color: var(--emerald); text-decoration: underline; }
.hub-table thead th:first-child { text-align: left; }
.hub-table tbody tr:last-child th, .hub-table tbody tr:last-child td { border-bottom: 0; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 0.8125rem; vertical-align: middle; }
.mark--yes { background: var(--emerald); color: #fff; }
.mark--part { background: #FBF4DD; color: #8A6D0F; }
.hub-table__key { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.hub-table__key .mark { width: 22px; height: 22px; font-size: 0.6875rem; }
.hub-table__key .mark + * { margin-right: 6px; }
.hub-table + .cta { padding-top: 0; }

@media (min-width: 744px) {
  .hub-hero { padding: 56px 0 80px; }
  .hub-list__head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 40px; }
  .hub-row { grid-template-columns: 64px minmax(0, 1fr) 48px; gap: 6px 18px; padding: 24px 26px; }
  .hub-row .svc-ico { width: 64px; height: 64px; border-radius: 18px; }
  .hub-row .svc-ico svg { width: 28px; height: 28px; }
  .hub-row__go { display: grid; width: 48px; height: 48px; }
}
@media (min-width: 1024px) {
  .hub-hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .hub-row { grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.6fr) 200px 48px; gap: 24px; padding: 24px 28px; }
  .hub-row .svc-ico, .hub-row__go { grid-row: auto; align-self: center; }
  .hub-row__text, .hub-row__tags { grid-column: auto; }
  .hub-row__go { grid-column: auto; }
  .hub-row__tags { justify-content: flex-end; }
}

/* Services list arrow: drawn icon, exactly centred in the circle */
.hub-row__go svg { width: 20px; height: 20px; display: block; }

/* ---------- footer: location + social icons ---------- */
.footer__location { color: #9AA8BC; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-footer .footer__social li + li { margin-top: 0; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--on-dark); transition: background-color .2s, color .2s; }
.footer__social a:hover, .footer__social a:focus-visible { background: var(--gold); color: var(--navy); }
.footer__social svg { display: block; }

/* ---------- hero: founder badge (links to the founder's LinkedIn) ---------- */
.founder-badge { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--navy); text-decoration: none; box-shadow: 0 8px 24px rgba(11, 31, 58, 0.22); transition: transform .2s, box-shadow .2s; }
.founder-badge:hover, .founder-badge:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 31, 58, 0.28); }
.founder-badge__icon { width: 32px; height: 32px; border-radius: 50%; background: #0A66C2; color: #fff; display: grid; place-items: center; flex: none; }
.founder-badge__icon svg { width: 15px; height: 15px; }
.founder-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.founder-badge__text b { font-size: 0.875rem; font-weight: 800; }
.founder-badge__text small { font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
@media (min-width: 1024px) { .founder-badge { top: 20px; right: 20px; } }
