/* ============================================================
   Meridian Consulting — stylesheet
   Palette: deep blue primary, red accent, warm-neutral surfaces
   ============================================================ */

:root {
  /* Blues */
  --blue-900: #0b1b3d;
  --blue-800: #12275a;
  --blue-700: #17347a;
  --blue-600: #1d4ed8;
  --blue-500: #3b6ef0;
  --blue-100: #e5ecfd;
  --blue-50:  #f2f6ff;

  /* Reds */
  --red-700: #a51616;
  --red-600: #c81e1e;
  --red-500: #dc2626;
  --red-100: #fde8e8;

  /* Neutrals */
  --ink:      #0e1424;
  --body:     #414b60;
  --muted:    #6b7488;
  --line:     #e3e7ef;
  --surface:  #ffffff;
  --surface-2:#f7f8fb;

  --radius:   14px;
  --radius-lg:22px;
  --shadow-sm: 0 1px 2px rgba(14,20,36,.06), 0 2px 8px rgba(14,20,36,.04);
  --shadow-md: 0 4px 12px rgba(14,20,36,.07), 0 12px 32px rgba(14,20,36,.06);
  --shadow-lg: 0 12px 28px rgba(11,27,61,.10), 0 32px 64px rgba(11,27,61,.10);

  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── Reset / base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-600); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  --btn-bg: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: .97rem; font-weight: 600;
  padding: 14px 26px; border: 1.5px solid transparent; border-radius: 10px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  box-shadow: 0 2px 6px rgba(29,78,216,.28), 0 10px 24px rgba(29,78,216,.22);
}
.btn-primary:hover { box-shadow: 0 4px 10px rgba(29,78,216,.32), 0 16px 34px rgba(29,78,216,.28); }

.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-600); background: var(--blue-50); }

.btn-ghost { background: transparent; color: var(--ink); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--blue-600); }

.btn-light { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-md); }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; }
.brand-text {
  font-family: 'Fraunces', serif; font-size: 1.34rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.02em;
}
.brand-accent { color: var(--red-500); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a {
  font-size: .95rem; font-weight: 500; color: var(--body); text-decoration: none;
  position: relative; padding: 4px 0;
}
.nav > a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red-500); transition: width .22s var(--ease);
}
.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).is-active::after { width: 100%; }
.nav > a:not(.btn).is-active { color: var(--ink); }
/* `.nav > a` outranks `.btn-primary` on specificity — restore the button's own colour. */
.nav > a.btn-primary { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px; margin: 0 auto;
  background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease), opacity .18s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--blue-50); padding-top: 76px; }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 720px; pointer-events: none;
  background:
    radial-gradient(42% 52% at 22% 30%, rgba(29,78,216,.22), transparent 70%),
    radial-gradient(38% 46% at 82% 24%, rgba(220,38,38,.16), transparent 70%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.35fr .95fr;
  gap: 64px; align-items: start; padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .84rem; font-weight: 600; color: var(--blue-800);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red-500);
  box-shadow: 0 0 0 4px rgba(220,38,38,.16); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(220,38,38,.16); }
  50%      { box-shadow: 0 0 0 8px rgba(220,38,38,.04); }
}

.grad {
  background: linear-gradient(100deg, var(--blue-600) 10%, var(--red-500) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.14rem; max-width: 40em; color: var(--body); margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 44px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero-trust li { font-size: .9rem; color: var(--muted); }
.hero-trust strong {
  display: block; font-family: 'Fraunces', serif; font-size: 1.65rem;
  color: var(--blue-800); font-weight: 700; line-height: 1.1;
}

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--red-500));
}
.card-head { margin-bottom: 4px; }
.card-head h3 { margin: 12px 0 10px; }
.hero-card p { font-size: .97rem; }
.hero-card .check { margin: 18px 0 24px; }

.pill {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 6px;
  background: var(--blue-100); color: var(--blue-700);
}
.pill-red { background: var(--red-100); color: var(--red-700); }

.micro { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.micro-light { color: rgba(255,255,255,.7); }

/* Checklists */
.check li {
  position: relative; padding-left: 28px; margin-bottom: 9px;
  font-size: .95rem; color: var(--body);
}
.check li::before {
  content: ''; position: absolute; left: 0; top: .46em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Marquee */
.marquee {
  position: relative; border-top: 1px solid var(--line);
  background: rgba(255,255,255,.6); overflow: hidden; padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 42px; width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee-track span {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: var(--muted);
  white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Section shell ────────────────────────────────────── */
.section { padding: 104px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.kicker-red { color: var(--red-600); }
.kicker-light { color: rgba(255,255,255,.75); }
.section-sub { font-size: 1.06rem; color: var(--muted); margin: 0; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Services ─────────────────────────────────────────── */
.svc {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px 30px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.svc::after {
  content: ''; position: absolute; left: 0; top: 32px; bottom: 32px; width: 3px;
  background: linear-gradient(var(--blue-600), var(--red-500));
  border-radius: 0 3px 3px 0; opacity: 0; transition: opacity .22s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6dcea; }
.svc:hover::after { opacity: 1; }
.svc-num {
  font-family: 'Fraunces', serif; font-size: .95rem; font-weight: 700;
  color: var(--red-500); letter-spacing: .08em;
}
.svc h3 { margin: 8px 0 6px; }
.svc-price { font-size: .93rem; color: var(--muted); margin-bottom: 14px; }
.svc-price strong { color: var(--blue-700); font-size: 1.02rem; }
.svc .check { margin: 18px 0 22px; }

.link-arrow { font-size: .94rem; font-weight: 600; color: var(--blue-600); }
.link-arrow::after { content: ' →'; transition: margin .2s var(--ease); display: inline-block; }
.link-arrow:hover { text-decoration: none; color: var(--red-600); }
.link-arrow:hover::after { margin-left: 5px; }

/* ── Products ─────────────────────────────────────────── */
.product {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product h3 { margin: 16px 0 10px; }
.product p { font-size: .96rem; color: var(--body); }
.product-foot { margin-top: 22px; }

.product-featured {
  border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,78,216,.08), var(--shadow-md);
}
.ribbon {
  position: absolute; top: -13px; left: 28px;
  background: var(--red-500); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 7px;
  box-shadow: 0 4px 12px rgba(220,38,38,.3);
}

/* Category list inside product cards */
.cat-list { margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.cat-list li {
  position: relative; padding-left: 18px; margin-bottom: 8px;
  font-size: .93rem; color: var(--body);
}
.cat-list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red-500);
}
.product-featured .cat-list li::before { background: var(--blue-600); }

/* Trade terms strip below the products */
.terms {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px;
}
.terms div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; border-top: 3px solid var(--blue-600);
}
.terms div:nth-child(even) { border-top-color: var(--red-500); }
.terms strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 4px; }
.terms span { font-size: .89rem; color: var(--muted); }

/* Price block — used by the hero assessment card, reusable elsewhere */
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price strong {
  font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: var(--ink);
  line-height: 1;
}
.price-unit { font-size: .92rem; color: var(--muted); font-weight: 500; }
.was { text-decoration: line-through; color: var(--muted); font-size: 1rem; }

/* Separate the price from the description inside the assessment card */
.hero-card .price {
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}

/* Offer band */
.offer {
  margin-top: 34px; display: grid; grid-template-columns: 1.6fr auto; gap: 40px;
  align-items: center; padding: 40px 44px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-800) 0%, var(--blue-700) 46%, var(--red-700) 130%);
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.offer::before {
  content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255,255,255,.06);
}
.offer h3 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.offer p { color: rgba(255,255,255,.82); margin: 0; max-width: 52ch; }
.offer-tag {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: rgba(255,255,255,.16);
  padding: 5px 12px; border-radius: 6px; margin-bottom: 14px;
}
.offer-action { position: relative; text-align: center; }
.offer-price { display: flex; align-items: baseline; gap: 10px; justify-content: center; margin-bottom: 16px; }
.offer-price .was { color: rgba(255,255,255,.55); }
.offer-price strong { font-family: 'Fraunces', serif; font-size: 2.5rem; line-height: 1; }

/* ── Markets ──────────────────────────────────────────── */
.markets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.markets article {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 30px; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.markets article::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(var(--blue-600), var(--red-500));
}
.markets article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.markets h3 { font-size: 1.18rem; margin-bottom: 6px; }
.markets p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Core-expertise regions get more presence than the rest */
.market-core { padding: 32px 34px; box-shadow: var(--shadow-sm); }
.market-core .pill { margin-bottom: 14px; }
.market-core h3 { font-size: 1.5rem; margin-bottom: 10px; }
.market-core p { font-size: 1rem; color: var(--body); }

.markets-secondary {
  margin-top: 22px; padding: 30px 34px; border-radius: var(--radius-lg);
  background: var(--blue-50); border: 1px dashed #c9d5f2;
}
.markets-secondary h3 { font-size: 1.1rem; margin-bottom: 10px; }
.markets-secondary p { font-size: .96rem; max-width: 78ch; margin-bottom: 14px; }

/* ── Payments ─────────────────────────────────────────── */
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pay-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 34px;
}
.pay-col h3 { font-size: 1.24rem; margin-bottom: 10px; }
.pay-col p { font-size: .97rem; }
.pay-meta {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.pay-meta strong { color: var(--ink); }
.pay-col .btn { margin-top: 18px; }
.pay-alt { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }

/* Payment-method badges.
   Text badges, not the providers' official logo files — see README before launch. */
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 13px; font-size: .84rem; font-weight: 700; color: var(--body);
  letter-spacing: .01em; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.pay-badges-sm .pay-badge { padding: 6px 10px; font-size: .76rem; }

.pay-visa  { color: #1a1f71; font-style: italic; letter-spacing: .06em; }
.pay-mc    { color: #1a1f36; }
.pay-amex  { color: #006fcf; letter-spacing: .05em; }
.pay-pp    { color: #003087; }
.pay-apple { color: #000; }
.pay-gpay  { color: #3c4043; }

/* Mastercard's interlocking discs */
.mc-mark { position: relative; display: inline-block; width: 22px; height: 14px; }
.mc-mark::before, .mc-mark::after {
  content: ''; position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%;
}
.mc-mark::before { left: 0; background: #eb001b; }
.mc-mark::after  { right: 0; background: #f79e1b; mix-blend-mode: multiply; }

/* Compact badge row inside the hero assessment card */
.pay-mini {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pay-mini-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.pay-mini .pay-badges { margin: 0; gap: 8px; }
.pay-mini .pay-badge { box-shadow: none; background: var(--surface-2); }

.pay-warning {
  margin: 30px 0 0; padding: 20px 24px; border-radius: var(--radius);
  background: var(--red-100); border-left: 4px solid var(--red-500);
  font-size: .95rem; color: #6b1616;
}
.pay-warning strong { color: var(--red-700); }

/* ── Process ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: s; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.steps li::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 40%; height: 2px;
  background: var(--red-500);
}
.step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-100); color: var(--blue-700);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px;
}
.steps h3 { font-size: 1.14rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; margin: 0; }

/* ── About ────────────────────────────────────────────── */
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-600) 55%, var(--red-600));
  color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  box-shadow: var(--shadow-lg);
}
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.about-badges div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.about-badges strong {
  display: block; font-family: 'Fraunces', serif; color: var(--blue-800); font-size: 1.1rem;
}
.about-badges span { font-size: .82rem; color: var(--muted); }

.about-copy blockquote {
  margin: 30px 0 0; padding: 22px 26px; border-left: 4px solid var(--red-500);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
}
.about-copy blockquote p {
  margin: 0; font-family: 'Fraunces', serif; font-size: 1.16rem; color: var(--ink);
  line-height: 1.5;
}

/* ── Quotes / stats ───────────────────────────────────── */
.quote {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.stars { color: var(--red-500); letter-spacing: .16em; font-size: .95rem; }
.quote blockquote {
  margin: 0; font-size: 1.04rem; color: var(--ink); font-family: 'Fraunces', serif;
  line-height: 1.55;
}
.quote figcaption { margin-top: auto; font-size: .9rem; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption span { color: var(--muted); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin-top: 46px; padding: 40px 34px;
  background: var(--blue-900); border-radius: var(--radius-lg); text-align: center;
  background-image: linear-gradient(120deg, var(--blue-900), var(--blue-800) 70%, #3a1220);
}
.stats strong {
  display: block; font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700; color: #fff; line-height: 1;
}
.stats span { font-size: .86rem; color: rgba(255,255,255,.66); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; margin-bottom: 12px;
}
.faq details[open] { border-color: #cfd8ec; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red-500); line-height: 1; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 18px; font-size: .97rem; }

/* ── Contact ──────────────────────────────────────────── */
.contact {
  background: linear-gradient(140deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--red-700) 145%);
  color: rgba(255,255,255,.82);
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { color: #fff; }

/* Copy sits above a full-width calendar: cap the measure so lines stay readable
   while the booking widget gets the whole container. */
.contact-head { max-width: 760px; margin-bottom: 44px; }

.contact-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: .97rem; }
.contact-list span {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 9px; background: rgba(255,255,255,.12); color: #fff;
}

.contact-note {
  margin-top: 26px; padding: 16px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.09); border-left: 3px solid var(--red-500);
  font-size: .93rem;
}

/* ── Booking panel (Calendly embed) ─────────────────────
   Calendly's widget renders its own white card, so this wrapper stays
   transparent — otherwise you get a card inside a card. */
.booking { background: none; box-shadow: none; padding: 0; }
.booking-head { margin-bottom: 22px; }
.booking-head h3 { color: #fff; margin-bottom: 6px; }
.booking-head p {
  margin: 0; font-size: .95rem; color: rgba(255,255,255,.72); max-width: 78ch;
}
.booking-head strong { color: #fff; font-weight: 700; }

/* Calendly injects an iframe here. The event includes booking questions and a
   card form, so it needs real height — the widget scrolls internally past this.
   Raise this number if your Calendly questions make the form longer. */
.calendly-inline-widget { min-width: 280px; height: 1020px; }
.calendly-inline-widget[hidden] { display: none; }

.booking-fallback {
  margin: 18px 0; padding: 18px 20px; border-radius: var(--radius);
  background: var(--blue-50); border-left: 4px solid var(--blue-600);
  font-size: .95rem; color: var(--body);
}

/* Form styles below are unused — booking questions live in Calendly now.
   Kept so a form can be dropped back in without rewriting the styling. */
.form {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface-2); transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff;
  box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
.field.has-error input, .field.has-error textarea { border-color: var(--red-500); background: #fff; }
.err { font-size: .82rem; color: var(--red-600); margin: 6px 0 0; min-height: 0; }
.form .micro { margin-top: 14px; }
.form-note {
  margin: 14px 0 0; font-size: .92rem; font-weight: 600; color: var(--blue-700);
  text-align: center;
}
.form-note:empty { margin: 0; }
.form-note.is-success {
  padding: 12px 16px; border-radius: 10px;
  background: var(--blue-50); color: var(--blue-700);
}
.form-note.is-error {
  padding: 12px 16px; border-radius: 10px;
  background: var(--red-100); color: var(--red-700);
}
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form .micro { margin-top: 10px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 66px 0 26px; }
.footer-inner {
  display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 44px;
  padding-bottom: 42px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: .93rem; max-width: 32ch; }
.site-footer h4 {
  color: #fff; font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer nav a {
  display: block; color: rgba(255,255,255,.62); font-size: .93rem; margin-bottom: 10px;
  text-decoration: none;
}
.site-footer nav a:hover { color: #fff; text-decoration: none; }
.footer-pay {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 24px;
}
.footer-pay > span {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.footer-pay .pay-badges { margin: 0; }
.footer-pay .pay-badge { border-color: transparent; }

.footer-base {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
}
.footer-base p { margin: 0; font-size: .86rem; }
.footer-base a { color: rgba(255,255,255,.62); }

/* ── Reveal on scroll ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-card { max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-media { max-width: 400px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 8px 24px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a.btn { margin-top: 16px; border-bottom: 0; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .markets, .pay-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 34px 24px; }
  .offer { grid-template-columns: 1fr; gap: 26px; padding: 32px 28px; }
  .offer-action { text-align: left; }
  .offer-price { justify-content: flex-start; }
  .offer .btn { width: 100%; }
  .offer p { max-width: none; }
  .micro-light { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: 56px; }
  .hero-inner { padding-bottom: 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 18px 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .terms { grid-template-columns: 1fr; }
  .svc, .product, .quote, .markets article, .market-core, .pay-col { padding: 26px 22px; }
  .markets-secondary { padding: 24px 22px; }
  .pay-mini { flex-direction: column; align-items: flex-start; gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px 20px; }
  .calendly-inline-widget { height: 1180px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .marquee, .hero-glow { display: none; }
  body { color: #000; }
  .section { padding: 24px 0; }
}
