/* =========================================================
   Oshawa Advance Imaging - Core Stylesheet
   Design system: "The Clear Read"
   Palette sampled from the official logo.
   ========================================================= */

:root {
  /* Brand */
  --navy: #0E2A5E;
  --navy-deep: #0B1F45;
  --blue: #106FB6;
  --blue-bright: #1C84D4;
  --cyan: #1FA0CF;
  --cyan-soft: #7FD2EC;
  --grey: #6E7378;
  --ink: #1F2937;
  --ink-soft: #4B5563;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F2F6FB;
  --bg-tint: #EAF2FA;
  --line: #DCE5EF;
  --line-soft: #EBF0F6;
  --white: #FFFFFF;

  /* Effects */
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 94, 0.06);
  --shadow: 0 14px 40px rgba(14, 42, 94, 0.10);
  --shadow-lg: 0 30px 70px rgba(14, 42, 94, 0.16);
  --ring: 0 0 0 4px rgba(31, 160, 207, 0.30);

  /* Type */
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
/* Safety: constrain inline icon SVGs so a missing width attr never balloons layout.
   Larger illustrative SVGs opt out via width:100% inline styles or .illus. */
.btn svg, .chip svg, .action .ico svg, .card .ico svg, .checklist li svg,
.info-list .ico svg, .footer-contact svg, .mobile-bar a svg, .nav svg,
.remind svg, .breadcrumb svg { width: 1.2em; height: 1.2em; }
.checklist li svg, .info-list .ico svg, .card .ico svg, .action .ico svg { width: 22px; height: 22px; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-deep); color: #DCE9F5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* Eyebrow label - the structural "scan tag" */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--cyan-soft); }

.h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.muted { color: var(--grey); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center; line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #fff; box-shadow: 0 10px 24px rgba(16, 111, 182, .28); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(16, 111, 182, .38); }
.btn--accent { background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%); color: #fff; box-shadow: 0 10px 24px rgba(31,160,207,.30); }
.btn--accent:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(31,160,207,.42); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--navy); border-color: var(--blue); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.2); color:#fff; }
.btn--lg { font-size: 1.08rem; padding: 1em 1.8em; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(14,42,94,.08); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li + li { margin-left: 1.3rem; }
.nav-links a {
  font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink);
  position: relative; padding: .3em 0; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: width .25s ease; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; flex-shrink: 0; }
.nav-cta > * + * { margin-left: .6rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 46px; height: 46px; border-radius: 12px; padding: 10px;
}
.nav-toggle span { display: block; height: 2.4px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav.open { display: block; }
}
@media (max-width: 640px) {
  .nav-cta .btn--primary { display: none; }
}

.mobile-nav {
  display: none; background: #fff; border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.6rem;
}
.mobile-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mobile-nav a { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mobile-nav .btn { margin-top: .4rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #E7F0FA; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(31,160,207,.22), transparent 60%),
    radial-gradient(900px 600px at 100% 120%, rgba(16,111,182,.30), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.05; margin-bottom: .5rem; }
.hero h1 .accent { background: linear-gradient(90deg, var(--cyan-soft), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #C7DBEC; max-width: 56ch; margin-bottom: 2rem; }
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.45); border: 1px solid rgba(124,178,228,.25);
}
.hero-visual .frame img { width: 100%; height: auto; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .5em .9em; border-radius: 999px; font-size: .9rem; color: #DCEAF6; font-weight: 500;
}
.chip svg { width: 1.05em; height: 1.05em; color: var(--cyan-soft); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
}

/* ---------- Quick action bar ---------- */
.actionbar { position: relative; margin-top: -40px; z-index: 5; }
.actionbar-inner {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.action {
  background: #fff; padding: 1.4rem 1.1rem; display: flex; flex-direction: column; gap: .35rem;
  text-align: left; transition: background .2s ease, transform .2s ease; color: var(--ink);
}
.action:hover { background: var(--bg-tint); color: var(--ink); }
.action .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .3rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff;
}
.action .ico svg { width: 22px; height: 22px; }
.action strong { font-family: var(--display); color: var(--navy); font-size: 1.02rem; }
.action span { font-size: .85rem; color: var(--grey); line-height: 1.4; }
@media (max-width: 900px) {
  .actionbar { margin-top: 0; padding-top: 40px; }
  .actionbar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .actionbar-inner { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #C9DDF0; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--bg-tint); color: var(--blue); border: 1px solid var(--line-soft);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { font-size: .96rem; color: var(--ink-soft); margin-bottom: .8rem; }
.card .who { font-size: .82rem; color: var(--grey); display: block; margin-bottom: 1rem; }
.card-links { display: flex; gap: 1rem; align-items: center; margin-top: auto; flex-wrap: wrap; }
.card-links a { font-family: var(--display); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .3em; }
.card-links a.learn::after { content: "→"; transition: transform .2s; }
.card-links a.learn:hover::after { transform: translateX(3px); }

/* Service card with accent top */
.svc-card { padding-top: 1.6rem; }
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 1.6rem; right: 1.6rem; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: 0 0 3px 3px; opacity: 0; transition: opacity .25s;
}
.svc-card:hover::before { opacity: 1; }

/* ---------- Stat counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat .num .suffix { color: var(--cyan-soft); }
.stat .label { margin-top: .5rem; color: #AFC8DF; font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; font-size: 1rem; color: var(--ink-soft); }
.checklist li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }

/* ---------- Forms list (downloads) ---------- */
.form-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.form-card .pdf {
  flex-shrink: 0; width: 50px; height: 60px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #16356A, #0B1F45); color: #fff; font-family: var(--display); font-weight: 800; font-size: .72rem; position: relative;
}
.form-card .pdf::after { content: "PDF"; }
.form-card .pdf::before { content: ""; position: absolute; top: 0; right: 0; border-width: 0 12px 12px 0; border-style: solid; border-color: #fff #fff transparent transparent; opacity: .25; }
.form-card h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.form-card p { font-size: .9rem; color: var(--ink-soft); margin-bottom: .7rem; }
.form-card .remind { font-size: .8rem; color: var(--grey); display: flex; align-items: center; gap: .4em; margin-bottom: .8rem; }

/* ---------- Prep cards ---------- */
.prep-card { border-left: 4px solid var(--cyan); }
.prep-card h3 { font-size: 1.1rem; }
.prep-card .note { font-size: .82rem; color: var(--grey); font-style: italic; margin-top: .6rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: #C9DDF0; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--display); font-weight: 700;
  color: var(--navy); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); font-size: .98rem; }
.faq-item .answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 48px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.info-list .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { font-family: var(--display); color: var(--navy); display: block; font-size: .95rem; }
.info-list a, .info-list span { color: var(--ink-soft); font-size: 1.02rem; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,111,182,.15); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin: 1rem 0 1.4rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.form-card-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-deep); color: #DCE9F5; position: relative; overflow: hidden; padding: clamp(40px,6vw,72px) 0 clamp(44px,6vw,76px); }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(900px 400px at 80% -20%, rgba(31,160,207,.22), transparent 60%); pointer-events:none; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .5rem; }
.page-hero p { color: #C7DBEC; max-width: 60ch; font-size: clamp(1.02rem,1.8vw,1.2rem); margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; margin-bottom: 1.2rem; color: #9FBDD8; }
.breadcrumb a { color: #C7DBEC; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #6E8EAC; }

/* ---------- Prose (service detail) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.3em; }
.prose li { margin-bottom: .45rem; color: var(--ink-soft); }
.prose .callout {
  background: var(--bg-alt); border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: .96rem; color: var(--ink-soft);
}

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 90% -30%, rgba(255,255,255,.16), transparent 60%); }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: #D6E6F5; max-width: 56ch; margin-inline: auto; position: relative; }
.cta-banner .btn-row { position: relative; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); height: 100%; }
.quote-card .stars { color: #F6B73C; letter-spacing: 2px; margin-bottom: .8rem; font-size: 1.05rem; }
.quote-card blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote-card .who { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: .92rem; }
.quote-card .who span { display: block; font-weight: 400; color: var(--grey); font-size: .82rem; }

/* ---------- Disclaimer ---------- */
.disclaimer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.disclaimer .wrap { padding-block: 1.6rem; }
.disclaimer p { font-size: .85rem; color: var(--grey); margin: 0; max-width: 90ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B9CDE2; padding: clamp(48px,6vw,72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px,4vw,48px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { font-size: .92rem; color: #95AFC9; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: #B9CDE2; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .94rem; color: #B9CDE2; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan-soft); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #8AA4BE; }
.footer-bottom a { color: #8AA4BE; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14,42,94,.10);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .65rem; font-size: .72rem; font-family: var(--display); font-weight: 600; color: var(--navy); }
  .mobile-bar a svg { width: 22px; height: 22px; color: var(--blue); }
  .mobile-bar a:not(:last-child) { border-right: 1px solid var(--line-soft); }
  body { padding-bottom: 64px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Misc utilities ---------- */
.tag { display:inline-block; background: var(--bg-tint); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .3em .7em; border-radius: 7px; }
.divider-scan { height: 2px; background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--blue) 70%, transparent); opacity: .5; }
.text-balance { text-wrap: balance; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width:700px){ .related{ grid-template-columns:1fr; } }
.related a { display:block; background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.1rem 1.2rem; font-family:var(--display); font-weight:700; color:var(--navy); box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s; }
.related a:hover { transform:translateY(-3px); box-shadow:var(--shadow); color:var(--navy); }
.related a span { display:block; font-weight:400; font-size:.84rem; color:var(--grey); margin-top:.2rem; }

/* =========================================================
   PREMIUM ENHANCEMENTS (v2)
   ========================================================= */

/* Hero photo frame: scan sweep overlay + badge */
.hero-visual { position: relative; }
.frame { position: relative; }
.frame-scan {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; overflow: hidden;
}
.frame-scan::before {
  content: ""; position: absolute; left: 0; right: 0; height: 38%;
  background: linear-gradient(180deg, rgba(31,160,207,0) 0%, rgba(31,160,207,.28) 50%, rgba(31,160,207,0) 100%);
  animation: scanMove 4.5s cubic-bezier(.45,0,.55,1) infinite;
}
.frame-scan::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(14,42,94,.16) 0%, transparent 35%);
}
@keyframes scanMove { 0% { top: -38%; } 50% { top: 100%; } 100% { top: -38%; } }
@media (prefers-reduced-motion: reduce) { .frame-scan::before { display: none; } }

.hero-badge {
  position: absolute; bottom: 18px; left: -18px; display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-radius: 14px; padding: .8rem 1.1rem; box-shadow: 0 18px 40px rgba(11,31,69,.28);
  border: 1px solid rgba(255,255,255,.6);
}
.hero-badge-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; }
.hero-badge strong { display: block; font-family: var(--display); color: var(--navy); font-size: .95rem; line-height: 1.2; }
.hero-badge span { font-size: .8rem; color: var(--grey); }
@media (max-width: 900px) { .hero-badge { left: 10px; bottom: 10px; } }
@media (max-width: 520px) { .hero-badge { display: none; } }

/* ---------- Marquee / running text band ---------- */
.marquee {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  overflow: hidden; white-space: nowrap; padding: .9rem 0; position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--blue), transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.5rem; animation: marqueeScroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  color: #fff; display: inline-flex; align-items: center; gap: 2.5rem;
}
.marquee-track .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-soft); flex-shrink: 0; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Split media images ---------- */
.split-media.photo { box-shadow: var(--shadow-lg); position: relative; }
.split-media.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-media.photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(14,42,94,.08);
}
.media-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--navy); font-family: var(--display); font-weight: 700;
  font-size: .78rem; letter-spacing: .03em; padding: .45em .9em; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11,31,69,.18); display: inline-flex; align-items: center; gap: .45em;
}
.media-tag svg { width: 15px; height: 15px; color: var(--cyan); }

/* ---------- Promo / premier section ---------- */
.promo { position: relative; overflow: hidden; background: var(--navy-deep); color: #E7F0FA; }
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(31,160,207,.30), transparent 60%),
    radial-gradient(700px 500px at 5% 120%, rgba(16,111,182,.30), transparent 55%);
}
.promo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,64px); align-items: center; }
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; } }
.promo h2 { color: #fff; font-size: clamp(2rem,4vw,3rem); }
.promo .lead { color: #C7DBEC; }
.promo-points { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.promo-points li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.04rem; color: #DCE9F5; }
.promo-points svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--cyan-soft); margin-top: 2px; }
.promo-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.4); border: 1px solid rgba(124,178,228,.22); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.promo-stat {
  position: absolute; right: 16px; bottom: 16px; background: rgba(255,255,255,.97);
  border-radius: 14px; padding: .9rem 1.2rem; box-shadow: 0 18px 40px rgba(0,0,0,.3); text-align: center;
}
.promo-stat .n { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.promo-stat .l { font-size: .76rem; color: var(--grey); margin-top: .2rem; }

/* ---------- Service card images ---------- */
.svc-card.has-img { padding: 0; overflow: hidden; }
.svc-card.has-img .svc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-card.has-img .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card.has-img:hover .svc-img img { transform: scale(1.05); }
.svc-card.has-img .svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,42,94,.35) 100%); }
.svc-card.has-img .svc-body { padding: 1.5rem; }
.svc-card.has-img::before { left: 0; right: 0; top: 0; }

/* ---------- Inner page hero with image ---------- */
.page-hero.has-img { padding: 0; }
.page-hero.has-img .ph-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,56px); align-items: center; }
.page-hero.has-img .ph-copy { padding: clamp(40px,6vw,72px) 0; }
.page-hero.has-img .ph-media { align-self: stretch; position: relative; min-height: 320px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; margin: 2rem 0; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.page-hero.has-img .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero.has-img .ph-grid { grid-template-columns: 1fr; } .page-hero.has-img .ph-media { display: none; } .page-hero.has-img .ph-copy { padding-bottom: 2.6rem; } }

/* ---------- Prose inline figure ---------- */
.prose-figure { margin: 1.8rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.prose-figure img { width: 100%; display: block; }
.prose-figure figcaption { font-size: .82rem; color: var(--grey); padding: .7rem 1rem; background: var(--bg-alt); }

/* ---------- Gallery strip ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a, .gallery div.g-item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery .g-item:hover img { transform: scale(1.08); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Logo strip on dark ---------- */
.trust-band { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-band .wrap { padding-block: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.4rem; }
.trust-item { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-family: var(--display); font-weight: 600; font-size: .95rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--blue); }

/* Footer credit (revmedia) */
.footer-credit { display: inline-flex; align-items: center; gap: .4rem; }
.footer-credit a { color: #C7DBEC; font-weight: 600; }
.footer-credit a:hover { color: #fff; }
