:root {
  --blue-950: #082f50;
  --blue-900: #104777;
  --blue-800: #2f6a97;
  --blue-650: #6492b5;
  --yellow: #fbb200;
  --yellow-soft: #ffe6a6;
  --paper: #f7f4eb;
  --surface: #fbfaf6;
  --white: #fff;
  --ink: #15364f;
  --muted: #657484;
  --line: rgba(16, 71, 119, .15);
  --shadow: 0 30px 90px rgba(8, 47, 80, .14);
  --radius: 28px;
  --max: 1240px;
}

html { scroll-padding-top: 110px; }

body {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.72), transparent 25rem),
    var(--paper);
}

::selection { color: var(--white); background: var(--yellow); }

.site-shell { overflow: clip; }

.nav {
  position: absolute !important;
  top: 14px;
  left: 14px;
  right: 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 42px rgba(8,47,61,.1);
  backdrop-filter: blur(18px);
}

.nav.scrolled,
body.menu-open .nav {
  background: rgba(255,255,255,.9);
  border-bottom-color: transparent;
  box-shadow: 0 16px 46px rgba(8,47,61,.14);
}

.nav-inner {
  width: min(var(--max), calc(100% - 34px));
  min-height: 74px;
}

.brand,
.nav.scrolled .brand,
body.menu-open .brand {
  min-width: 190px;
  color: var(--blue-950);
  font-size: clamp(21px,2vw,28px);
  letter-spacing: -.055em;
}

.brand::before {
  content: "✦";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  color: var(--yellow);
  font-size: 20px;
  vertical-align: 2px;
}

.nav-links,
.nav.scrolled .nav-links,
body.menu-open .nav-links {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--yellow);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

.lang-switch,
.nav.scrolled .lang-switch,
body.menu-open .lang-switch {
  background: #edf1ef;
  border-color: transparent;
  border-radius: 8px;
}

.lang-switch button,
.nav.scrolled .lang-switch button,
body.menu-open .lang-switch button { color: var(--blue-950); }

.lang-switch button { border-radius: 5px; }

.lang-switch button.active {
  color: var(--white);
  background: var(--blue-950);
  box-shadow: none;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.btn-primary { color: var(--blue-950); background: var(--yellow); box-shadow: none; }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(251,178,0,.3); }
.btn-secondary,
.btn-inverse { color: var(--white); background: var(--blue-950); border-color: transparent; }

.hero {
  min-height: 960px;
  padding: 154px 0 42px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8,47,80,.16), rgba(8,47,80,.06) 42%, rgba(8,47,80,.22)),
    url("assets/hero-canada-flag.jpg") center center / cover no-repeat;
  border-radius: 0 0 42px 42px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 34%, transparent 28%, rgba(8,47,80,.06) 76%);
  pointer-events: none;
}
.hero::after { display: none; }

.hero .container { position: relative; z-index: 1; }
.hero-grid,
.hero-inner { min-height: 760px; display: flex; flex-direction: column; justify-content: flex-start; }
.hero-copy {
  max-width: 940px;
  margin: 104px auto 0;
  text-align: center;
  filter: drop-shadow(0 5px 16px rgba(8,47,80,.46));
}

.hero-tag {
  margin: 0 auto 26px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(10px);
  letter-spacing: .02em;
}

.hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(58px,8.3vw,116px);
  line-height: .88;
  letter-spacing: -.042em;
  text-wrap: balance;
  text-shadow: 0 12px 50px rgba(4,39,53,.24);
}

.hero .lead {
  max-width: 680px;
  margin: 28px auto 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(17px,1.8vw,21px);
}

.hero-actions {
  justify-content: center;
}
.hero-actions .btn-primary {
  min-height: 60px;
  padding-inline: 32px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(251,178,0,.34);
}
.hero .btn-inverse {
  color: var(--white);
  background: rgba(8,47,80,.18);
  border-color: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
}
.hero .btn-inverse:hover { background: rgba(8,47,80,.34); }

.hero-bottom {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 24px;
}

.hero-panel,
.quick-panel {
  max-width: 520px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 24px;
  background: rgba(7,44,57,.52);
  backdrop-filter: blur(18px);
}

.hero-route,
.mini-route {
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  color: var(--blue-950);
}

.hero-route > span,
.mini-route > span { border-color: rgba(17,47,57,.12); background: transparent; color: var(--blue-950); }
.hero-route b,
.mini-route b { color: var(--yellow); }

.stat-strip { background: transparent; padding: 34px 0 24px; }
.stat-grid,
.stats {
  border-radius: 30px;
  background: var(--blue-950);
  color: var(--white);
  padding: 30px 24px;
}
.stat + .stat { border-color: rgba(255,255,255,.14); }
.stat strong { color: var(--white); font-size: clamp(34px,4vw,58px); letter-spacing: -.06em; }
.stat span { color: rgba(255,255,255,.68); }

.section { padding: 110px 0; }
.section h2 {
  max-width: 940px;
  font-size: clamp(44px,6vw,78px);
  line-height: .96;
  letter-spacing: -.036em;
  text-wrap: balance;
}

.eyebrow {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--blue-900);
  background: rgba(255,255,255,.46);
  letter-spacing: .08em;
}

.eyebrow::before { background: var(--yellow); }
.section-copy { max-width: 740px; font-size: 18px; }

.intro-grid,
.split { gap: clamp(48px,8vw,120px); align-items: center; }
.intro-visual,
.image-stack { min-height: 620px; }
.image-main,
.image-stack .image-main {
  right: auto !important;
  left: 0;
  width: 78%;
  height: 570px;
  border-radius: 180px 180px 30px 30px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.image-card,
.image-stack .image-card {
  left: auto !important;
  width: 48%;
  height: 320px;
  right: 0;
  bottom: -24px;
  border: 10px solid var(--paper);
  border-radius: 26px 120px 26px 26px;
  object-fit: cover;
}
.stamp {
  right: 20px;
  top: 12px;
  color: var(--blue-950);
  background: var(--yellow);
  border: 0;
  box-shadow: 0 18px 40px rgba(251,178,0,.28);
}

#services { padding-bottom: 130px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
  padding-bottom: 0;
  overflow: visible;
}
.service-card {
  min-width: 0;
  min-height: 420px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(8,47,61,.07);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.service-card::before { display: none; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.service-card img { position: relative; inset: auto; width: 100%; height: 225px; object-fit: cover; transition: transform .7s ease; }
.service-card:hover img { transform: scale(1.045); }
.service-card-content { padding: 28px; }
.service-card small {
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 5px;
  letter-spacing: .045em;
}
.service-card h3 { color: var(--blue-950); font-size: 27px; letter-spacing: -.018em; }
.service-card p { color: var(--muted); }

.blue-band {
  margin: 0 14px;
  border-radius: 38px;
  background: var(--blue-950);
  overflow: hidden;
  position: relative;
}
.blue-band::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -150px;
  top: -170px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.025);
}
.blue-band .container { position: relative; z-index: 1; }
.blue-band .eyebrow { color: var(--white); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.process-grid { gap: 0; margin-top: 62px; }
.process-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  background: transparent;
}
.process-card:first-child { border-radius: 26px 0 0 26px; }
.process-card:last-child { border-radius: 0 26px 26px 0; }
.process-number,
.process-card b {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 62px;
  color: var(--yellow);
  background: transparent;
  font-size: 64px;
  line-height: 1;
}

.trust-grid,
.trust-layout { gap: 24px; }
.consultant-section { padding: 0; }
.consultant-section .consultant-profile { margin-bottom: 0; }
.consultant-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr) auto;
  align-items: center;
  gap: 36px;
  margin-bottom: 24px;
  padding: clamp(32px,5vw,58px);
  border-radius: 32px;
  color: var(--white);
  background: var(--blue-950);
  box-shadow: var(--shadow);
}
.consultant-profile .eyebrow {
  color: var(--white);
  border-color: rgba(255,255,255,.22);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
}
.consultant-profile h2 {
  margin-bottom: 10px;
  color: var(--white);
}
.consultant-role {
  margin-bottom: 4px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
}
.consultant-company {
  margin-bottom: 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}
.consultant-credentials {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin: 0;
}
.consultant-credentials div {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.consultant-credentials dt {
  margin-bottom: 7px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.consultant-credentials dd {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}
.consultant-verify {
  color: var(--blue-950);
  background: var(--yellow);
}
.trust-card {
  min-height: 600px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(32px,5vw,68px);
  border: 0;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(8,47,61,.08);
}
.trust-card .check-list {
  margin-top: auto;
  padding-top: 30px;
}
.trust-card.accent,
.trust-card.highlight { background: var(--yellow); color: var(--blue-950); }
.trust-card.accent .eyebrow,
.trust-card.highlight .eyebrow {
  color: var(--blue-950);
  border-color: rgba(8,47,80,.18);
  border-radius: 6px;
  background: var(--white);
}
.trust-card:not(.highlight) .eyebrow { border-radius: 6px; }
.trust-card.highlight h2,
.trust-card.highlight p,
.trust-card.highlight li { color: var(--blue-950); }
.trust-card.accent li::before,
.trust-card.highlight .check-list li::before { background: var(--blue-900); box-shadow: 0 0 0 5px rgba(16,71,119,.14); }
.trust-list li,
.check-list li { border-color: rgba(17,47,57,.12); }

.quote-grid { gap: 22px; }
.quote-card {
  min-height: 370px;
  padding: 36px;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 40px rgba(8,47,61,.07);
}
.quote-card:nth-child(2) { background: #dfeaf2; transform: translateY(34px); }
.quote-card:nth-child(3) { background: #fff0c7; }
.quote-card p { font-size: clamp(22px,2vw,29px); line-height: 1.22; letter-spacing: -.03em; }

.form-section {
  margin: 80px 14px 14px;
  border-radius: 38px;
  background: #dfeaf2;
}
.form-shell,
.form-wrap { border-radius: 30px; border: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.form-wrap h2 { color: var(--blue-950); }
.form-wrap p { color: var(--muted); }
.form-explainer {
  max-width: 720px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  background: rgba(16,71,119,.06);
  font-size: 15px;
  line-height: 1.5;
}
.form-required {
  margin: 0 0 4px;
  color: var(--muted) !important;
  font-size: 13px;
}
.form-copy { background: var(--blue-950); }
.appointment-card { border-color: transparent; background: var(--blue-950); border-radius: 22px; }
.appointment-card strong { color: var(--yellow); }
.appointment-card span { color: rgba(255,255,255,.74); }
.form-panel { background: var(--surface); }
.form-subhead { color: var(--yellow); }
.form-wrap form { color: var(--ink); }
.form-wrap form label { color: var(--blue-950); }
.form-wrap input,
.form-wrap textarea,
.form-wrap select {
  border: 0;
  border-bottom: 1px solid rgba(17,47,57,.22);
  border-radius: 0;
  background: transparent;
  color: var(--blue-950);
  padding-inline: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.45;
}
.form-wrap input::placeholder,
.form-wrap textarea::placeholder {
  color: #8795a0;
  font-weight: 400;
}
.form-wrap input[type="date"] { color-scheme: light; }
.form-wrap input:focus,
.form-wrap textarea:focus,
.form-wrap select:focus { box-shadow: none; border-bottom-color: var(--yellow); }
.form-wrap form > label:not(.consent):has(input[required], select[required], textarea[required]) > span:first-child::after {
  content: " *";
  color: #b34a00;
}
.consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(16,71,119,.16);
  border-radius: 8px;
  background: rgba(16,71,119,.05);
  color: var(--ink) !important;
  font-size: 14px;
  line-height: 1.5;
}
.form-wrap .consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue-900);
}
.consent a {
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer { margin: 0 14px 14px; border-radius: 38px; background: #062733; }
.footer-brand { letter-spacing: -.055em; }
.footer .footer-brand,
.footer h3,
.footer a { color: var(--white); }
.footer p,
.footer-bottom { color: rgba(255,255,255,.62); }
.footer-grid { border-bottom-color: rgba(255,255,255,.14); }
.footer a:hover { color: var(--yellow); }

@media (max-width: 980px) {
  .nav { top: 8px; left: 8px; right: 8px; }
  .hero { min-height: 880px; padding-top: 130px; border-radius: 0 0 30px 30px; }
  .hero-grid,
  .hero-inner { min-height: 700px; }
  .hero-copy { margin-top: 70px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-route { order: -1; }
  .intro-visual,
  .image-stack { min-height: 560px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consultant-profile { grid-template-columns: 1fr; }
  .consultant-verify { width: fit-content; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-card:first-child { border-radius: 24px 0 0 0; }
  .process-card:nth-child(2) { border-radius: 0 24px 0 0; }
  .process-card:nth-child(3) { border-radius: 0 0 0 24px; }
  .process-card:last-child { border-radius: 0 0 24px 0; }
  .trust-card { min-height: 520px; }
}

@media (max-width: 760px) {
  .nav { border-radius: 12px; }
  .nav-inner { min-height: 64px; width: calc(100% - 22px); gap: 10px; }
  .brand { min-width: auto; font-size: 20px; }
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .nav-actions { gap: 6px; }
  .lang-switch button { min-width: 0; min-height: 32px; padding: 0 9px; font-size: 12px; }
  .brand::before { display: none; }
  .menu-button { border-radius: 8px; background: var(--blue-950); color: var(--white); border: 0; }
  .nav-links { border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .hero { min-height: 820px; padding-top: 106px; }
  .hero-grid,
  .hero-inner { min-height: 680px; }
  .hero-copy { margin-top: 52px; }
  .hero h1 { font-size: clamp(52px,15vw,74px); }
  .hero .lead { font-size: 17px; }
  .hero-bottom { display: block; }
  .hero-panel { margin-top: 14px; }
  .hero-route,
  .mini-route { display: none; }
  .stat-grid,
  .stats { grid-template-columns: repeat(2,1fr); padding: 14px; }
  .stat { padding: 18px 12px; }
  .section { padding: 82px 0; }
  .section h2 { font-size: clamp(40px,12vw,58px); }
  .intro-visual,
  .image-stack { min-height: 470px; display: block; }
  .image-stack .image-main { position: absolute; width: 88%; height: 440px; border-radius: 120px 120px 24px 24px; }
  .image-stack .image-card { position: absolute; width: 48%; height: 230px; border-width: 7px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card img { height: 280px; }
  .blue-band,
  .form-section,
  .footer { margin-left: 8px; margin-right: 8px; border-radius: 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card,
  .process-card:first-child,
  .process-card:nth-child(2),
  .process-card:nth-child(3),
  .process-card:last-child { min-height: auto; border-radius: 22px; margin-bottom: 10px; }
  .trust-card { min-height: auto; }
  .consultant-credentials { grid-template-columns: 1fr; }
  .quote-card:nth-child(2) { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Standalone confirmation and privacy pages */
.utility-page {
  min-height: 100vh;
  padding: 28px;
  background: var(--blue-950);
}
.utility-shell {
  width: min(920px,100%);
  margin: 0 auto;
}
.utility-brand {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.utility-card {
  padding: clamp(30px,6vw,72px);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.utility-card h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--blue-950);
  font-size: clamp(46px,8vw,82px);
  line-height: .94;
  letter-spacing: -.035em;
}
.utility-card h2 {
  margin-top: 42px;
  font-size: clamp(28px,4vw,42px);
}
.utility-card h3 {
  margin-top: 30px;
  font-size: 21px;
}
.utility-card p,
.utility-card li { color: var(--muted); line-height: 1.65; }
.utility-card ul { padding-left: 20px; }
.utility-card a:not(.btn) { color: var(--blue-900); text-decoration: underline; text-underline-offset: 3px; }
.utility-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.utility-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.utility-language {
  margin: 54px 0 0;
  padding-top: 44px;
  border-top: 2px solid var(--line);
}
