/* Site-wide footer (replaces the old per-page .footer variants) + enquiry form states. */
.site-footer {
  --sf-bg: #071a3b;
  --sf-line: rgba(197, 217, 239, .16);
  --sf-text: #c5d9ef;
  --sf-muted: #8fa6c6;
  --sf-accent: #7fd6f4;
  background: var(--sf-bg);
  color: var(--sf-text);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 0 5% 28px;
  margin-top: 16px;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline: 3px solid var(--sf-accent); outline-offset: 3px; border-radius: 4px; }

/* Call to action band */
.sf-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  flex-wrap: wrap;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--sf-line);
}
.sf-kicker { margin: 0 0 10px; font-size: 14px; color: var(--sf-accent); font-weight: 500; }
.sf-cta h2 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 550;
}
.sf-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sf-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 10px;
  background: #fff;
  color: #071a3b !important;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, background .2s;
}
.sf-button:hover { transform: translateY(-2px); background: #e6f4fd; }
.sf-button-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); }
.sf-button-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Columns */
.sf-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr .8fr 1.25fr;
  gap: 40px;
  padding: 52px 0 44px;
}
.sf-brand img { width: 190px; height: auto; display: block; margin: 0 0 18px; }
.sf-brand p { margin: 0 0 20px; max-width: 320px; color: var(--sf-muted); font-size: 14px; }
.sf-contact, .sf-col ul { list-style: none; margin: 0; padding: 0; }
.sf-contact li { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.sf-contact svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--sf-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sf-col h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sf-col li { padding: 4px 0; }
.sf-col a { font-size: 15px; }
.sf-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-areas li { padding: 0; }
.sf-areas a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--sf-line);
  border-radius: 99px;
  font-size: 13px;
  transition: border-color .2s, background .2s;
}
.sf-areas a:hover { border-color: var(--sf-accent); background: rgba(127, 214, 244, .08); }

/* Bottom bar */
.sf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--sf-line);
  font-size: 13px;
  color: var(--sf-muted);
}
.sf-bottom nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .sf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer { padding: 0 6% 24px; }
  .sf-cta { padding: 48px 0 40px; }
  .sf-cta-actions, .sf-button { width: 100%; justify-content: center; }
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0 32px; }
  .sf-brand, .sf-areas-col { grid-column: 1 / -1; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
}

/* Enquiry forms: honeypot + sent state */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: 14px; }
.form-status.is-error { color: #b42318; }
.form-sent { padding: 8px 0; }
.form-sent h3 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.04em; }
.form-sent p { margin: 0 0 8px; }
button[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* Legal pages (privacy, terms) */
.legal-main .legal-hero { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; }
.legal-main .legal-hero p { max-width: 640px; }
.legal-body { max-width: 760px; padding-bottom: 40px; color: #2b3445; font-size: 16px; line-height: 1.75; }
.legal-body h2 { font-size: 22px; letter-spacing: -.03em; margin: 40px 0 12px; color: #0d244a; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: #1d67b1; text-decoration: underline; text-underline-offset: 3px; }
.legal-address { font-style: normal; background: #f1f6fc; border-radius: 14px; padding: 18px 22px; margin: 8px 0 14px; line-height: 1.7; }

/* Customer support pages (rendered by the portal app, styled like the site) */
.support-main .legal-hero { padding-bottom: 32px; }
.support-messages { margin: 0 0 20px; }
.support-message { margin: 0 0 8px; padding: 12px 16px; border-radius: 12px; background: #e9f3fd; color: #0d244a; font-weight: 500; }
.support-message-success { background: #e3f5ec; color: #137a4b; }
.support-message-error { background: #fde8e6; color: #b42318; }
.sp-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.sp-side { display: flex; flex-direction: column; gap: 18px; }
.sp-card { background: #fff; border: 1px solid #e3e9f2; border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(13, 36, 74, .05); }
.sp-card h2 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 16px; color: #0d244a; }
.sp-card p { margin: 0 0 12px; color: #43506a; line-height: 1.7; }
.sp-soft { background: #f3f7fc; box-shadow: none; border-color: transparent; padding: 24px; }
.sp-soft h2 { font-size: 18px; margin-bottom: 8px; }
.sp-narrow { max-width: 640px; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sp-field { display: block; font-size: 13px; font-weight: 600; color: #0d244a; margin-bottom: 18px; }
.sp-field em { font-style: normal; font-weight: 400; color: #727b8c; }
.sp-field small { display: block; margin-top: 6px; font-weight: 400; color: #727b8c; font-size: 12px; }
.sp-field .sp-error, .sp-error { color: #b42318; }
.sp-field.has-error input, .sp-field.has-error select, .sp-field.has-error textarea { border-color: #b42318; }
.sp-wide { grid-column: 1 / -1; }
.sp-note { font-size: 13px; color: #6b7385; }
.sp-note a, .sp-card a:not(.button) { color: #1d67b1; text-decoration: underline; text-underline-offset: 3px; }
.sp-steps { margin: 0 0 20px; padding-left: 20px; color: #43506a; line-height: 1.8; }
.sp-list-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.sp-list-head h2 { margin: 0; }
.sp-ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e3e9f2; text-decoration: none !important; color: #0d244a; }
.sp-ticket-row:last-child { border-bottom: 0; }
.sp-ticket-row small { display: block; color: #727b8c; font-size: 12.5px; margin-top: 2px; }
.sp-ticket-row:hover strong { color: #1d67b1; }
.sp-status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #e9f3fd; color: #0b5a8f; }
.sp-status-in_progress { background: #ede8fd; color: #5b3cc4; }
.sp-status-waiting { background: #fff3dc; color: #9a5b00; }
.sp-status-resolved { background: #e3f5ec; color: #137a4b; }
.sp-status-closed { background: #eef0f4; color: #4a5263; }
.sp-ticket-head { padding: 30px 0 28px; }
.sp-ticket-head h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.1; margin: 8px 0 12px; color: #0d244a; }
.sp-meta { color: #6b7385; font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp-thread { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sp-msg { background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; padding: 18px 22px; }
.sp-msg-customer { border-left: 3px solid #48bfe9; }
.sp-msg-staff { background: #f3f7fc; border-color: transparent; }
.sp-msg-system { background: none; border: 0; padding: 0; }
.sp-system { margin: 0; text-align: center; font-size: 12.5px; color: #727b8c; }
.sp-msg-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; margin-bottom: 8px; color: #0d244a; }
.sp-msg-head time { color: #727b8c; }
.sp-msg-body p { margin: 0 0 10px; color: #2b3445; line-height: 1.7; }
.sp-msg-body p:last-child { margin: 0; }
.sp-dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.sp-dl dt { color: #727b8c; }
.sp-dl dd { margin: 0; color: #0d244a; font-weight: 500; }
@media (max-width: 860px) { .sp-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sp-grid { grid-template-columns: 1fr; } .sp-card { padding: 22px; } }

/* ---- Footer CTA: actions + Google Reviews badge ---- */
.sf-cta-side { display: flex; flex-direction: column; gap: 16px; align-items: stretch; width: min(480px, 100%); }
.sf-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-cta-actions .sf-button { justify-content: center; }
.sf-cta-actions .sf-button-main { grid-column: 1 / -1; }
.sf-cta-actions .sf-button-ghost { font-size: 14px; padding: 10px 14px; }
.sf-review { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-radius: 14px; background: #fff; color: #0d244a !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: transform .2s; }
.sf-review:hover { transform: translateY(-2px); color: #0d244a !important; }
.sf-review .google-g { font-size: 34px; }
.sf-review-label { font-weight: 600; font-size: 15px; padding-right: 12px; border-right: 1px solid #d6dbe4; }
.sf-review-stars { color: #f5a300; font-size: 22px; letter-spacing: 1px; }
.sf-review strong { font-size: 20px; font-weight: 700; }
.sf-review small { font-size: 11px; color: #727b8c; }

/* Bigger Google Reviews badge in the portfolio section */
.portfolio-review { padding: 12px 20px !important; gap: 12px !important; font-size: 13px !important; }
.portfolio-review .google-g { font-size: 32px !important; }
.portfolio-review .review-stars { font-size: 20px !important; }
.portfolio-review strong { font-size: 17px !important; }
.portfolio-review small { font-size: 10px !important; }

/* ---- Newsletter row ---- */
.sf-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: center; padding: 32px 0; border-top: 1px solid var(--sf-line); }
.sf-newsletter h3 { margin: 0 0 6px; color: #fff; font-size: 20px; letter-spacing: -.02em; }
.sf-newsletter p { margin: 0; color: var(--sf-muted); font-size: 14px; }
.sf-news-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.sf-news-form input[type="email"] { margin: 0; height: 50px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 16px; font-size: 15px; }
.sf-news-form input[type="email"]::placeholder { color: #9fb2cf; }
.sf-news-form input[type="email"]:focus { outline: 3px solid var(--sf-accent); outline-offset: 1px; }
.sf-news-form button { height: 50px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--sf-accent); color: #071a3b; font-weight: 700; font-size: 15px; cursor: pointer; }
.sf-news-form button:disabled { opacity: .6; cursor: default; }
.sf-news-note { grid-column: 1 / -1; font-size: 12.5px !important; }
.sf-news-note a { text-decoration: underline; text-underline-offset: 3px; }
.sf-news-note.is-error { color: #ffb4ab !important; }
.sf-news-form.is-done input, .sf-news-form.is-done button { display: none; }
.sf-news-form.is-done .sf-news-note { color: #fff !important; font-size: 15px !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Promotion popup ---- */
.promo-dialog { width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: #0d244a; box-shadow: 0 30px 90px rgba(7, 26, 59, .35); font-family: 'DM Sans', Arial, sans-serif; }
.promo-dialog::backdrop { background: rgba(7, 26, 59, .55); backdrop-filter: blur(4px); }
.promo-dialog[open] { animation: promo-in .35s cubic-bezier(.2, .7, .3, 1); }
@keyframes promo-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .promo-dialog[open] { animation: none; } }
.promo-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #0d244a; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.promo-image { display: block; width: 100%; height: 190px; object-fit: cover; }
.promo-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; }
.promo-badge { align-self: flex-start; padding: 5px 12px; border-radius: 99px; background: #e6f1fc; color: #1d67b1; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.promo-body h2 { margin: 0; padding-right: 30px; font-size: 28px; line-height: 1.12; letter-spacing: -.04em; color: #0d244a; }
.promo-body p { margin: 0; color: #43506a; line-height: 1.65; font-size: 15px; }
.promo-button { align-self: flex-start; margin-top: 4px; padding: 13px 22px; border-radius: 10px; background: #0d244a; color: #fff !important; font-weight: 600; text-decoration: none; }
.promo-button:hover { background: #1d67b1; }
.promo-signup { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px solid #e3e9f2; }
.promo-signup input[type="email"] { margin: 0; height: 46px; border: 1px solid #cdd5e1; border-radius: 10px; padding: 0 14px; font-size: 15px; }
.promo-signup button { height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: #1d67b1; color: #fff; font-weight: 600; cursor: pointer; }
.promo-note { grid-column: 1 / -1; font-size: 12.5px !important; color: #727b8c !important; }
.promo-note.is-error { color: #b42318 !important; }
.promo-signup.is-done input, .promo-signup.is-done button { display: none; }
.promo-signup.is-done .promo-note { color: #137a4b !important; font-size: 14px !important; }

/* ---- CTA bar ---- */
.cta-bar { position: fixed; z-index: 40; left: 50%; bottom: 16px; width: min(980px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 12px 52px 12px 22px; border-radius: 16px; background: #071a3b; color: #fff; box-shadow: 0 16px 40px rgba(7, 26, 59, .3); font-family: 'DM Sans', Arial, sans-serif; transform: translate(-50%, 140%); opacity: 0; transition: transform .4s cubic-bezier(.2, .7, .3, 1), opacity .3s; }
.cta-bar.is-visible { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }
.cta-bar p { flex: 1 1 280px; margin: 0; font-size: 15px; line-height: 1.45; }
.cta-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-bar-button, .cta-bar-phone { padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.cta-bar-button { background: #fff; color: #071a3b !important; }
.cta-bar-phone { border: 1px solid rgba(255, 255, 255, .45); color: #fff !important; }
.cta-bar-close { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.cta-bar-blue { background: #1d67b1; }
.cta-bar-light { background: #fff; color: #0d244a; border: 1px solid #dfe6f0; }
.cta-bar-light .cta-bar-button { background: #0d244a; color: #fff !important; }
.cta-bar-light .cta-bar-phone { color: #0d244a !important; border-color: #b9c6d8; }
.cta-bar-light .cta-bar-close { background: #eef3fa; }

@media (max-width: 760px) {
  .sf-newsletter { grid-template-columns: 1fr; }
  .sf-cta-side { width: 100%; }
  .sf-cta-actions { grid-template-columns: 1fr; }
  .sf-news-form { grid-template-columns: 1fr; }
  .cta-bar { padding: 14px 46px 14px 16px; }
  .cta-bar p { font-size: 14px; }
  .promo-signup { grid-template-columns: 1fr; }
}

/* ---- Projects (portfolio) ---- */
.pj-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.pj-filter a { padding: 7px 14px; border-radius: 99px; border: 1px solid #d3dce8; color: #0d244a; font-size: 14px; text-decoration: none; }
.pj-filter a[aria-current] { background: #0d244a; color: #fff; border-color: #0d244a; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-bottom: 40px; }
.pj-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none !important; color: #0d244a; }
.pj-thumb { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #e6eef8; }
.pj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .65, .3, 1); }
.pj-card:hover .pj-thumb img { transform: scale(1.04); }
.pj-arrow { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.pj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pj-meta strong { font-size: 20px; letter-spacing: -.03em; }
.pj-meta small { color: #6b7385; font-size: 12.5px; text-align: right; }
.pj-summary { color: #43506a; font-size: 14.5px; line-height: 1.6; }
.pj-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.pj-cta h2 { margin: 0 0 4px; }
.pj-cta p { margin: 0; }
.pj-page { padding-bottom: 20px; }
.pj-head { padding: 30px 0 28px; max-width: 820px; }
.pj-back { display: inline-block; margin-bottom: 18px; color: #6b7385; font-size: 14px; text-decoration: none; }
.pj-head h1 { margin: 10px 0 14px; font-size: clamp(38px, 5.5vw, 72px); line-height: 1; letter-spacing: -.06em; color: #0d244a; }
.pj-lead { margin: 0; font-size: 19px; line-height: 1.6; color: #43506a; }
.pj-hero { margin: 0 0 40px; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(13, 36, 74, .14); background: #e6eef8; }
.pj-hero img { width: 100%; height: auto; display: block; }
.pj-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 48px; align-items: start; }
.pj-main section { margin-bottom: 32px; }
.pj-main h2 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 12px; color: #0d244a; }
.pj-main p, .pj-main li { color: #2b3445; line-height: 1.75; font-size: 16px; }
.pj-main h4 { margin: 14px 0 4px; color: #0d244a; }
.pj-results { background: #f0f6fd; border-radius: 16px; padding: 22px 24px; }
.pj-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.pj-features li { position: relative; padding-left: 28px; }
.pj-features li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e3f5ec; color: #137a4b; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 4px; }
.pj-quote { margin: 8px 0 0; padding: 26px 28px; border-left: 4px solid #48bfe9; background: #fff; border-radius: 0 16px 16px 0; box-shadow: 0 10px 30px rgba(13, 36, 74, .06); }
.pj-quote blockquote { margin: 0 0 12px; font-size: 19px; line-height: 1.6; color: #0d244a; }
.pj-quote figcaption { color: #6b7385; font-size: 14px; }
.pj-facts { position: sticky; top: 100px; background: #fff; border: 1px solid #e3e9f2; border-radius: 20px; padding: 26px; box-shadow: 0 10px 30px rgba(13, 36, 74, .05); }
.pj-facts dl { margin: 0 0 20px; display: grid; gap: 4px; }
.pj-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7385; margin-top: 10px; }
.pj-facts dd { margin: 0; color: #0d244a; font-weight: 500; }
.pj-tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pj-tags li { padding: 4px 10px; border-radius: 99px; background: #eef4fb; font-size: 13px; font-weight: 500; }
.pj-live { width: 100%; justify-content: center; }
.pj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 20px 0 40px; }
.pj-gallery figure { margin: 0; }
.pj-gallery img { width: 100%; border-radius: 16px; display: block; box-shadow: 0 10px 30px rgba(13, 36, 74, .08); }
.pj-gallery figcaption { font-size: 13px; color: #6b7385; margin-top: 8px; }
.pj-nav { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid #e3e9f2; margin-top: 10px; }
.pj-nav a { display: flex; flex-direction: column; text-decoration: none; color: #0d244a; }
.pj-nav small { color: #6b7385; }
.pj-nav strong { font-size: 18px; }
.pj-nav .pj-next { text-align: right; margin-left: auto; }
@media (max-width: 860px) { .pj-body { grid-template-columns: 1fr; } .pj-facts { position: static; } .pj-features { grid-template-columns: 1fr; } }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b1730; box-shadow: 0 16px 40px rgba(13, 36, 74, .15); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Blog, industries, areas ---- */
.crumbs { font-size: 13px; color: #6b7385; margin-bottom: 14px; }
.crumbs a { color: #6b7385; text-decoration: none; }
.crumbs a:hover { color: #1d67b1; }
.blog-meta { font-size: 12.5px; color: #6b7385; text-transform: uppercase; letter-spacing: .06em; }
.blog-byline { margin: 14px 0 0; color: #6b7385; font-size: 14px; }
.article-body h2 { font-size: 26px; letter-spacing: -.03em; margin: 34px 0 12px; color: #0d244a; }
.article-body h3 { font-size: 20px; margin: 26px 0 8px; color: #0d244a; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.8; color: #2b3445; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body a { color: #1d67b1; text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 20px 0; padding: 14px 20px; border-left: 4px solid #48bfe9; background: #f3f7fc; border-radius: 0 12px 12px 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; }
.article-body table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.article-body th, .article-body td { border-bottom: 1px solid #e3e9f2; padding: 8px 10px; text-align: left; }
.aside-label { margin: 16px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7385; }
.aside-label:first-child { margin-top: 0; }
.aside-links { list-style: none; padding: 0; margin: 0 0 8px; }
.aside-links li { padding: 4px 0; }
.aside-links a, .aside-contact a { color: #0d244a; text-decoration: none; font-weight: 500; }
.aside-links a:hover { color: #1d67b1; }
.aside-service { margin: 0 0 10px; font-size: 17px; }
.pj-facts .button + .button { margin-top: 10px; }
.related { margin: 30px 0; }
.related h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 18px; color: #0d244a; }
.area-links { margin: 20px 0; }
.area-links h2 { font-size: 20px; margin: 0 0 10px; }
.area-links a { color: #1d67b1; text-decoration: none; font-weight: 500; }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 30px; }
.industry-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid #e3e9f2; border-radius: 18px; text-decoration: none !important; color: #0d244a; transition: transform .2s, box-shadow .2s; }
.industry-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13, 36, 74, .1); }
.industry-card strong { font-size: 20px; letter-spacing: -.03em; }
.industry-card span { color: #43506a; font-size: 14.5px; line-height: 1.6; }
.industry-card em { font-style: normal; color: #1d67b1; font-weight: 600; font-size: 14px; margin-top: auto; }
.faq-list details { border-bottom: 1px solid #e3e9f2; padding: 4px 0; }
.faq-list summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: #0d244a; font-size: 17px; }
.faq-list details p { margin: 0 0 14px; }

/* Shared content width: About, Projects, Blog, Industries, Areas, Support, legal pages */
.service-main, .about-main { max-width: 1240px; }
.pj-grid, .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .pj-grid, .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 620px) { .pj-grid, .industry-grid { grid-template-columns: 1fr; } }

/* Discovery call booking */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-book { background: transparent !important; color: #0d244a !important; border: 1px solid #0d244a !important; }
.hero-book:hover { background: #0d244a !important; color: #fff !important; }
.sf-cta-actions .sf-button-main { grid-column: auto; }
.sf-button-book { background: var(--sf-accent); color: #071a3b !important; }
.sf-button-book:hover { background: #a6e4f8; }
.book-call { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: rgba(72, 191, 233, .12); }
.book-call p { margin: 0 0 12px; }
.brief-book { margin-top: 14px; }
.button-book { margin-top: 10px; }

/* Never split "E-Commerce" across lines */
.nobr { white-space: nowrap; }

/* Service pages rendered from the portal */
.service-text p { margin: 0 0 16px; }
.service-text ul { padding-left: 20px; }
.service-faqs { margin-top: 50px; }
.service-faqs h2 { font-size: 28px; letter-spacing: -.03em; color: #0d244a; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-book-light { background: #48bfe9 !important; color: #071a3b !important; border-color: #48bfe9 !important; }
.other-services { margin-top: 30px; }

/* ---- Services drop-down (header) ---- */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.nav-dropdown-toggle:hover, .nav-dropdown.is-open .nav-dropdown-toggle { color: #1d67b1; }
.nav-caret { font-size: 10px; transition: transform .2s; }
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 60; width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; background: #fff; border: 1px solid #e3e9f2; border-radius: 18px; box-shadow: 0 24px 60px rgba(13, 36, 74, .18); text-transform: none; letter-spacing: 0; font-weight: 400; text-align: left; }
.nav-dropdown-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dropdown-panel[hidden] { display: none; }
.nav-service { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; color: #0d244a !important; text-decoration: none; }
.nav-service:hover, .nav-service:focus-visible { background: #f0f6fd; }
.nav-service strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.nav-service span { font-size: 13px; line-height: 1.45; color: #6b7385; font-weight: 400; }
.nav-all { grid-column: 1 / -1; padding: 12px 14px 4px; border-top: 1px solid #e3e9f2; margin-top: 6px; color: #1d67b1 !important; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---- Mobile menu ---- */
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin-left: 10px; border: 1px solid #d6dfeb; border-radius: 12px; background: #fff; cursor: pointer; }
.mobile-menu-toggle span { display: block; height: 2px; border-radius: 2px; background: #0d244a; transition: transform .2s, opacity .2s; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 76px 0 0; z-index: 70; overflow-y: auto; padding: 18px 6% 40px; background: #fff; font-family: 'DM Sans', Arial, sans-serif; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-links > li { border-bottom: 1px solid #e3e9f2; }
.mobile-menu-links a, .mobile-menu summary { display: block; padding: 16px 2px; color: #0d244a; font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; cursor: pointer; }
.mobile-menu summary { list-style: none; display: flex; justify-content: space-between; }
.mobile-menu summary::after { content: "+"; color: #1d67b1; }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-services ul { padding: 0 0 12px 12px; }
.mobile-services ul a { padding: 9px 2px; font-size: 16px; font-weight: 500; color: #43506a; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.mobile-menu-actions .button { justify-content: center; }
.mobile-book { background: #48bfe9 !important; color: #071a3b !important; border-color: #48bfe9 !important; }
.mobile-call { text-align: center; padding: 10px; color: #0d244a; font-weight: 600; }
body.mobile-menu-open { overflow: hidden; }
@media (max-width: 900px) {
  .mobile-menu-toggle { display: inline-flex; }
  header.header .desktop-nav, header.header .page-nav { display: none !important; }
  header.header { display: flex; align-items: center; }
  header.header > .button, header.header .header-actions .button, header.header .header-actions .brief-open { display: none; }
  header.header .header-actions { margin-left: auto; }
  header.header > .mobile-menu-toggle { margin-left: auto; }
}

/* ---- Floating back-to-top ---- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #0d244a; color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 10px 28px rgba(13, 36, 74, .3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s, bottom .25s, background .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #1d67b1; }
.to-top:focus-visible { outline: 3px solid #48bfe9; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* Project cards: name on one line, then category and location, then description */
.pj-card-title { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: #0d244a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-card-facts { display: flex; flex-direction: column; gap: 2px; margin-top: -4px; font-size: 13px; color: #6b7385; }
.pj-card-facts > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Every project card in a row lines up: same image, name, two fact lines, three-line description */
.projects-grid { align-items: start; }
.projects-grid .pj-card { display: grid; grid-template-rows: auto auto auto auto; row-gap: 10px; }
.projects-grid .pj-thumb { aspect-ratio: 3 / 2; }
.projects-grid .pj-card-facts { height: 2.9em; line-height: 1.45; }
.projects-grid .pj-summary { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.6em * 3); line-height: 1.6; }

/* ---- Services mega menu ---- */
.mega-menu { width: min(940px, 94vw); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; padding: 22px; }
.mega-menu, .mega-menu * { text-transform: none !important; letter-spacing: normal !important; }
.mega-heading { margin: 2px 4px 10px; font-size: 12px !important; font-weight: 600; color: #6b7385; letter-spacing: .08em !important; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; color: #0d244a !important; text-decoration: none; transition: background .15s; }
.mega-item strong { font-size: 15px; font-weight: 600 !important; letter-spacing: -.01em !important; }
.mega-item span { font-size: 13px; line-height: 1.45; color: #6b7385; font-weight: 400 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-item.is-active, .mega-item:focus-visible { background: #eef5fd; }
.mega-item.is-active strong { color: #1d67b1; }
.mega-left .nav-all { display: inline-block; margin-top: 10px; padding: 10px 14px 4px; border-top: 1px solid #e3e9f2; width: 100%; font-weight: 600 !important; }
.mega-feature { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: #f3f7fc; }
.mega-image-frame { aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden; background: #dfe8f3; }
.mega-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s ease, transform .5s ease; }
.mega-image.is-changing { opacity: 0; transform: scale(1.02); }
.mega-feature-name { margin-top: 4px; font-size: 18px; font-weight: 600 !important; color: #0d244a; letter-spacing: -.02em !important; }
.mega-feature-text { margin: 0; font-size: 13.5px; line-height: 1.55; color: #43506a; font-weight: 400 !important; }
.mega-feature-link { margin-top: auto; font-size: 14px; font-weight: 600 !important; color: #1d67b1 !important; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .mega-image { transition: none; } }
@media (max-width: 1100px) { .mega-list { grid-template-columns: 1fr; } }

.mega-menu { transform: none; }

/* ---- Blog listing: feed + sidebar ---- */
.support-main .blog-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 64px; row-gap: 22px; align-items: end; padding: 30px 0 44px; margin-bottom: 28px; border-bottom: 1px solid #d7e4f3; }
.blog-hero .crumbs { grid-column: 1 / -1; margin: 0; }
.blog-hero h1 { font-size: clamp(52px, 6.4vw, 88px); line-height: .95; }
.blog-hero p { max-width: 400px; margin: 0 0 8px; }
@media (max-width: 800px) {
  .support-main .blog-hero { grid-template-columns: 1fr; row-gap: 18px; padding: 20px 0 32px; }
  .blog-hero p { margin: 0; }
}
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; margin-bottom: 48px; }
.blog-feed { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.blog-results { margin: 0; color: #43506a; font-size: 15px; }
.blog-results a { color: #1d67b1; }
.blog-post { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid #e3e9f2; }
.blog-post:last-of-type { border-bottom: 0; padding-bottom: 0; }
.blog-post-thumb { display: block; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #e6eef8; }
.blog-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .65, .3, 1); }
.blog-post:hover .blog-post-thumb img { transform: scale(1.04); }
.blog-post-placeholder { display: grid; place-items: center; width: 100%; height: 100%; padding: 20px; text-align: center; color: #fff; font-weight: 600; font-size: 18px; letter-spacing: -.02em; background: radial-gradient(ellipse at 0 0, #1d67b1 0, transparent 60%), radial-gradient(ellipse at 100% 100%, #48bfe9 0, transparent 55%), #0d244a; }
.blog-post-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.blog-post-body .blog-meta { margin: 0; }
.blog-meta a { color: #1d67b1; text-decoration: none; font-weight: 600; }
.blog-meta a:hover { text-decoration: underline; }
.blog-post h2 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.03em; }
.blog-post h2 a { color: #0d244a; text-decoration: none; }
.blog-post h2 a:hover { color: #1d67b1; }
.blog-post-excerpt { margin: 0; color: #43506a; font-size: 15.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 4px 0 0; font-size: 14px; color: #6b7385; }
.blog-read { color: #1d67b1; font-weight: 600; text-decoration: none; white-space: nowrap; }
.blog-read span[aria-hidden] { display: inline-block; transition: transform .2s; }
.blog-read:hover span[aria-hidden] { transform: translateX(4px); }
.blog-empty h2 { margin-bottom: 8px; }

.blog-pages { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid #e3e9f2; }
.blog-pages a, .blog-pages span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid #d3dce8; color: #0d244a; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.blog-pages a:hover { border-color: #1d67b1; color: #1d67b1; }
.blog-pages span[aria-current] { background: #0d244a; border-color: #0d244a; color: #fff; }

.blog-sidebar { display: flex; flex-direction: column; gap: 22px; }
.blog-widget { background: #fff; border: 1px solid #e3e9f2; border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(13, 36, 74, .05); }
.blog-widget h2 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.02em; color: #0d244a; }
.blog-search { display: flex; gap: 8px; }
.blog-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #d3dce8; border-radius: 10px; font: inherit; font-size: 15px; color: #0d244a; background: #f7f9fc; }
.blog-search input:focus { outline: 2px solid #1d67b1; outline-offset: 1px; background: #fff; }
.blog-search button { height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: #0d244a; color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.blog-search button:hover { background: #1d67b1; }
.blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.blog-recent a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; }
.blog-recent-thumb { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse at 0 0, #1d67b1 0, transparent 60%), #0d244a; }
.blog-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-recent strong { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.35; font-weight: 600; color: #0d244a; }
.blog-recent a:hover strong { color: #1d67b1; }
.blog-recent small { display: block; margin-top: 3px; font-size: 12.5px; color: #6b7385; }
.blog-cta { background: radial-gradient(ellipse at 0 0, #1d67b1 0, transparent 60%), radial-gradient(ellipse at 100% 100%, #48bfe9 0, transparent 55%), #0d244a; border: 0; color: #c5d9ef; }
.blog-cta h2 { color: #fff; font-size: 20px; }
.blog-cta p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; }
.blog-cta .sf-button { width: 100%; justify-content: center; min-height: 46px; text-decoration: none; }
.blog-cta .sf-button + .sf-button { margin-top: 10px; }
.blog-cats { list-style: none; margin: 0; padding: 0; }
.blog-cats li + li { border-top: 1px solid #eef2f7; }
.blog-cats a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #0d244a; text-decoration: none; font-size: 15px; }
.blog-cats a:hover, .blog-cats a[aria-current] { color: #1d67b1; }
.blog-cats span { min-width: 26px; padding: 1px 8px; border-radius: 99px; background: #eef4fb; color: #43506a; font-size: 12.5px; text-align: center; }

@media (max-width: 1020px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .blog-post { grid-template-columns: 1fr; gap: 16px; }
  .blog-post h2 { font-size: 21px; }
  .blog-sidebar { grid-template-columns: 1fr; }
}

/* ---- Single article: same feed + sidebar layout as the news list ---- */
.blog-crumbs { margin: 30px 0 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blog-crumbs span { color: #0d244a; }
.blog-article-main { min-width: 0; }
.blog-article-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.blog-article-head .blog-meta { margin: 0; }
.blog-article-head h1 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.05em; color: #0d244a; }
.blog-article-lead { margin: 0; font-size: 19px; line-height: 1.6; color: #43506a; }
.blog-article-head .blog-byline { margin: 0; }
.blog-article-cover { margin: 0 0 34px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #e6eef8; box-shadow: 0 24px 60px rgba(13, 36, 74, .12); }
.blog-article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-article .article-body > :first-child { margin-top: 0; }
.blog-article-tags { margin-top: 34px; padding-top: 22px; border-top: 1px solid #e3e9f2; display: flex; flex-direction: column; gap: 10px; }
.blog-article-tags p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blog-article-tags span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7385; margin-right: 4px; }
.blog-article-tags a { padding: 5px 12px; border-radius: 99px; background: #eef4fb; color: #0d244a; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.blog-article-tags a:hover { background: #0d244a; color: #fff; }
.blog-back { margin: 28px 0 0; }
.blog-back a { color: #1d67b1; font-weight: 600; text-decoration: none; }
.blog-cta-call { display: block; margin-top: 14px; text-align: center; color: #c5d9ef; font-size: 14px; text-decoration: none; }
.blog-cta-call:hover { color: #fff; text-decoration: underline; }
.blog-related { margin: 8px 0 48px; padding-top: 40px; border-top: 1px solid #d7e4f3; }
.blog-related > .blog-meta { margin: 0 0 6px; }
.blog-related h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.05em; color: #0d244a; }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-related-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.blog-related-card .blog-meta { margin-top: 4px; }
.blog-related-card strong { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; color: #0d244a; }
.blog-related-card:hover strong { color: #1d67b1; }
.blog-related-card:hover .blog-post-thumb img { transform: scale(1.04); }
@media (max-width: 860px) { .blog-related-grid { grid-template-columns: 1fr; } }

/* ---- Cookie consent banner ---- */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 22px 26px; background: #fff; color: #0d244a; border: 1px solid #e3e9f2; border-radius: 18px; box-shadow: 0 24px 70px rgba(7, 26, 59, .28); opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.02em; color: #0d244a; }
.cookie-text p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #43506a; }
.cookie-text a { color: #1d67b1; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { min-width: 132px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cookie-btn-reject { background: #fff; color: #0d244a; border: 2px solid #0d244a; }
.cookie-btn-reject:hover { background: #eef4fb; }
.cookie-btn-accept { background: #0d244a; color: #fff; border: 2px solid #0d244a; }
.cookie-btn-accept:hover { background: #1d67b1; border-color: #1d67b1; }
.cookie-btn:focus-visible, .cookie-settings-link:focus-visible { outline: 3px solid #48bfe9; outline-offset: 2px; }
.cookie-settings-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-actions .cookie-btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }
