/* =========================================================
   DEE Canadian Immigration Consultants — main stylesheet
   ========================================================= */
:root {
  --red: #c8102e;
  --red-dark: #9e0b22;
  --red-soft: #fdecef;
  --ink: #1d1d1f;
  --charcoal: #2a2a2c;
  --text: #45474b;
  --muted: #7a7d83;
  --line: #e6e6e8;
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 30, .08);
  --shadow-lg: 0 24px 60px rgba(20, 20, 30, .16);
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Lato", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--bg); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.container { width: min(1600px, 100% - clamp(32px, 10vw, 300px)); margin-inline: auto; }
.narrow { width: min(960px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--charcoal); color: #cfd0d4; }
.section.dark h2, .section.dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--head);
  text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.lead { font-size: 1.2rem; color: var(--text); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border: 2px solid var(--b);
  background: var(--b); color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .12em;
  font-size: .95rem; border-radius: 4px; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn.ghost { background: transparent; --b: #fff; }
.btn.ghost::before { background: #fff; }
.btn.ghost:hover { color: var(--ink); border-color: #fff; }
.btn.outline { background: transparent; color: var(--red); }
.btn.outline:hover { color: #fff; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; background: #fff; z-index: 999; display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader img { width: 120px; animation: pulse 1.4s ease-in-out infinite; }
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.08) rotate(4deg); } }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--red); color: #fff; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 7px 0; }
.topbar a { color: #fff; opacity: .95; }
.topbar .tb-links { display: flex; gap: 22px; }
.topbar .tagline { font-family: var(--head); letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(29, 29, 31, .97);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); background: rgba(29,29,31,.99); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s ease; }
.site-header.scrolled .nav { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img {
  width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4));
  transition: width .3s ease, height .3s ease, transform .6s var(--ease);
}
.site-header.scrolled .brand img { width: 50px; height: 50px; }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand-text { font-family: var(--head); line-height: 1.05; text-transform: uppercase; letter-spacing: .06em; }
.brand-text b { display: block; font-size: 1.3rem; font-weight: 600; }
.brand-text small { font-size: .62rem; letter-spacing: .16em; color: #c9c9cd; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  color: #e7e7ea; font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem;
  padding: 10px 11px; position: relative; display: block; white-space: nowrap;
}
.menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.menu a.active { color: #fff; }
.menu .btn { padding: 11px 20px; font-size: .85rem; margin-left: 10px; color: #fff; }
.menu .btn::after { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s, opacity .3s;
}
.burger::before { top: 14px; } .burger span { top: 21px; } .burger::after { top: 28px; }
.nav-open .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span { opacity: 0; }
.nav-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Services dropdown ---------- */
.has-sub { position: relative; }
.has-sub > a { display: flex; align-items: center; gap: 7px; }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.sub-toggle { display: none; }
.submenu {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 14px); left: 50%; width: 330px; background: #fff; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; z-index: 5;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* hover bridge */
.submenu::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.submenu a {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 8px; color: var(--text); font-family: var(--body); text-transform: none;
  letter-spacing: 0; font-size: .95rem; white-space: normal; line-height: 1.35; transition: background .25s, color .25s, padding .3s;
}
.submenu a::after { display: none; }
.submenu a b { font-family: var(--head); color: var(--red); font-weight: 500; font-size: .85rem; min-width: 18px; }
.submenu a:hover, .submenu a.current { background: var(--red-soft); color: var(--red-dark); padding-left: 16px; }
.submenu .sub-all a { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: #fff; background: var(--red); justify-content: center; margin-bottom: 6px; }
.submenu .sub-all a:hover { background: var(--red-dark); color: #fff; padding-left: 12px; }
@media (min-width: 1241px) {
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(-135deg) translateY(-1px); }
  .submenu li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
  .has-sub:hover .submenu li, .has-sub:focus-within .submenu li { opacity: 1; transform: none; }
  .has-sub:hover .submenu li:nth-child(1) { transition-delay: 0ms; }
  .has-sub:hover .submenu li:nth-child(2) { transition-delay: 30ms; }
  .has-sub:hover .submenu li:nth-child(3) { transition-delay: 60ms; }
  .has-sub:hover .submenu li:nth-child(4) { transition-delay: 90ms; }
  .has-sub:hover .submenu li:nth-child(5) { transition-delay: 120ms; }
  .has-sub:hover .submenu li:nth-child(6) { transition-delay: 150ms; }
  .has-sub:hover .submenu li:nth-child(7) { transition-delay: 180ms; }
  .has-sub:hover .submenu li:nth-child(8) { transition-delay: 210ms; }
  .has-sub:hover .submenu li:nth-child(9) { transition-delay: 240ms; }
  .has-sub:hover .submenu li:nth-child(10) { transition-delay: 270ms; }
}
@media (max-width: 1240px) {
  .has-sub { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
  .has-sub > a .caret { display: none; }
  .sub-toggle { display: block; height: 48px; background: none; border: 0; border-bottom: 1px solid #333; cursor: pointer; position: relative; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -70%) rotate(45deg); transition: transform .3s var(--ease); }
  .has-sub.open .sub-toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .submenu {
    grid-column: 1 / -1; position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #232325; border-radius: 8px;
    padding: 0 6px; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), padding .3s;
  }
  .submenu::before, .submenu::after { display: none; }
  .has-sub.open .submenu { max-height: 720px; padding: 6px; margin-bottom: 8px; }
  .menu .submenu a { color: #d9d9dd; border-bottom: 0; font-size: .92rem; padding: 10px 8px; }
  .menu .submenu a:hover, .menu .submenu a.current { background: rgba(200,16,46,.18); color: #fff; }
  .menu .submenu .sub-all a { color: #fff; }
}

/* ---------- Hero slideshow ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h) - 38px); min-height: 560px; max-height: 860px; overflow: hidden; background: #111; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.slide.active { opacity: 1; visibility: visible; }
.slide .bg {
  position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.12);
}
.slide.active .bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,14,.82) 0%, rgba(10,10,14,.55) 50%, rgba(10,10,14,.25) 100%);
}
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; padding-inline: clamp(0px, 4vw, 60px); }
.slide-content > h1, .slide-content > h2 { max-width: 900px; }
.slide-content > p { max-width: 640px; }
.slide-content > * { opacity: 0; transform: translateY(30px); }
.slide.active .slide-content > * { animation: rise .9s var(--ease) forwards; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .25s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .45s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .65s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.slide h1, .slide h2 { color: #fff; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
.slide h1 em, .slide h2 em { font-style: normal; color: #ff4d5e; }
.slide p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e4e4e8; max-width: 620px; }
.slide .kicker { font-family: var(--head); letter-spacing: .3em; text-transform: uppercase; font-size: .9rem; color: #fff; display: flex; align-items: center; gap: 12px; }
.slide .kicker::before { content: ""; width: 40px; height: 2px; background: var(--red); }
.hero-arrow {
  position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.2); color: #fff; font-size: 1.4rem; cursor: pointer; transform: translateY(-50%);
  border-radius: 50%; transition: background .3s, border-color .3s, transform .3s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 86px; } .hero-arrow.next { right: 24px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 34px; height: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; position: relative; overflow: hidden; border-radius: 2px; }
.hero-dots button.active::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: fill 7s linear forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; bottom: 30px; right: 40px; z-index: 5; color: #fff; font-family: var(--head); letter-spacing: .25em; font-size: .75rem; writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(#fff, transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); color: #fff; overflow: hidden; background: #111; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 14s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,14,.88), rgba(10,10,14,.45)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; text-transform: uppercase; max-width: 900px; }
.page-hero p { max-width: 680px; font-size: 1.2rem; color: #e4e4e8; }
.page-hero .eyebrow { color: #ff6b79; }
.crumbs { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--head); color: #bbb; margin-bottom: 18px; }
.crumbs a { color: #fff; }

/* ---------- Generic layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.rev > :first-child { order: 2; }
.img-stack { position: relative; }
.img-stack .main { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.img-stack .float {
  position: absolute; width: 48%; bottom: -40px; right: -30px; border-radius: var(--radius); border: 8px solid #fff;
  box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; animation: bob 6s ease-in-out infinite;
}
.img-stack .badge {
  position: absolute; top: 30px; left: -30px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 10px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; box-shadow: var(--shadow-lg); line-height: 1.2;
  animation: bob 7s ease-in-out infinite reverse;
}
.img-stack .badge b { display: block; font-size: 1.8rem; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.quote-line { border-left: 4px solid var(--red); padding: 6px 0 6px 22px; font-family: var(--head); font-size: 1.35rem; color: var(--ink); line-height: 1.4; margin: 28px 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); position: relative;
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); border: 1px solid var(--line);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 62px; height: 62px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center;
  margin-bottom: 22px; transition: background .4s, color .4s, transform .6s var(--ease);
}
.card:hover .icon { background: var(--red); color: #fff; transform: rotateY(180deg); }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--head); font-size: 3.4rem; color: var(--red); opacity: .12; position: absolute; right: 22px; top: 6px; line-height: 1; transition: opacity .4s; }
.card:hover .num { opacity: .3; }

/* Service image cards */
.svc-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); color: var(--text); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .thumb img { transform: scale(1.1); }
.svc-card .thumb span { position: absolute; left: 18px; bottom: 14px; font-family: var(--head); color: #fff; font-size: 2.4rem; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.svc-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.6)); }
.svc-card .thumb span { z-index: 2; }
.svc-card .body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.svc-card p { font-size: .98rem; color: var(--muted); }
.svc-card .more { margin-top: auto; font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.svc-card .more i { transition: transform .35s var(--ease); font-style: normal; }
.svc-card:hover .more i { transform: translateX(6px); }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: 1.05rem; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; opacity: .6; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--red); line-height: 1; font-weight: 500; }
.stat span { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--muted); font-family: var(--head); }

/* ---------- Feature list (DEE difference) ---------- */
.feature { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.feature:last-child { border-bottom: 0; }
.feature .n { font-family: var(--head); font-size: 2.2rem; color: var(--red); line-height: 1; }
.feature h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feature p { margin: 0; }
.dark .feature p { color: #b9bac0; }

/* ---------- Founder ---------- */
.founder-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(135deg, #2a2a2c, #4a1018); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.founder-photo:has(img) { background: linear-gradient(160deg, #ffffff 55%, #fdecef); }
.founder-photo:has(img)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); }
.founder-photo:hover img { transform: scale(1.04); }
.founder-photo .ph { color: #fff; text-align: center; font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; padding: 20px; }
.founder-photo .ph b { font-size: 5rem; display: block; color: #ff6b79; line-height: 1; margin-bottom: 10px; }
.founder-photo .ph small { display: block; opacity: .6; font-size: .75rem; margin-top: 8px; font-family: var(--body); letter-spacing: .04em; text-transform: none; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.creds span { background: var(--red-soft); color: var(--red-dark); padding: 7px 14px; border-radius: 30px; font-size: .88rem; font-weight: 700; }

/* ---------- Services detail page ---------- */
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }
.svc-nav { position: sticky; top: 100px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.svc-nav a { display: flex; gap: 12px; padding: 11px 14px; border-radius: 8px; color: var(--text); font-size: .95rem; line-height: 1.35; transition: background .3s, color .3s, padding .3s; }
.svc-nav a b { font-family: var(--head); color: var(--red); font-weight: 500; }
.svc-nav a:hover { background: var(--bg-alt); padding-left: 18px; }
.svc-nav a.active { background: var(--red); color: #fff; }
.svc-nav a.active b { color: #fff; }
.svc-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 40px; }
.svc-block .banner { position: relative; height: 240px; overflow: hidden; }
.svc-block .banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-block:hover .banner img { transform: scale(1.06); }
.svc-block .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,14,.85), rgba(10,10,14,.2)); }
.svc-block .banner .t { position: absolute; z-index: 2; left: 36px; bottom: 28px; right: 36px; color: #fff; }
.svc-block .banner .t span { font-family: var(--head); color: #ff6b79; letter-spacing: .2em; font-size: .9rem; }
.svc-block .banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 4px 0 0; }
.svc-block .inner { padding: 36px; }
.svc-block .tag { font-family: var(--head); font-size: 1.3rem; color: var(--red); margin-bottom: 16px; line-height: 1.35; }
.svc-block h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; color: var(--ink); margin: 26px 0 14px; font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.checks.one { grid-template-columns: 1fr; }
.checks li { position: relative; padding-left: 30px; font-size: .98rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.subgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.subgrid .sub { background: var(--bg-alt); border-radius: 12px; padding: 24px; transition: background .3s, transform .4s var(--ease); }
.subgrid .sub:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
.subgrid .sub h4 { margin-top: 0; color: var(--red); }
.subgrid .checks { grid-template-columns: 1fr; }
.note { background: #fff8e6; border-left: 4px solid #e0a100; padding: 16px 20px; border-radius: 6px; font-size: .93rem; color: #6b5413; margin-top: 24px; }
.note b { color: #4d3c0b; }

/* ---------- Individual service page ---------- */
.svc-page { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.svc-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.svc-side .svc-nav { position: static; }
.svc-nav h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; color: var(--ink); margin: 6px 14px 10px; font-weight: 500; }
.side-cta { background: var(--ink); color: #cfd0d4; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.side-cta::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(var(--red), transparent 70%); opacity: .35; top: -90px; right: -90px; }
.side-cta h3 { color: #fff; font-size: 1.35rem; position: relative; }
.side-cta p { font-size: .93rem; position: relative; }
.side-cta .btn { width: 100%; justify-content: center; margin-bottom: 14px; }
.side-line { display: block; color: #fff; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .95rem; position: relative; }
.side-line:hover { color: #ff8a95; }
.svc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-pager a { background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); color: var(--ink); font-family: var(--head); font-size: 1.1rem; transition: transform .35s var(--ease), box-shadow .35s; }
.svc-pager a small { display: block; font-family: var(--body); font-size: .8rem; color: var(--red); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.svc-pager a.next { text-align: right; }
.svc-pager a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (max-width: 960px) {
  .svc-page { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .svc-side .svc-nav { display: block; overflow: visible; }
  .svc-side .svc-nav a { white-space: normal; }
}
@media (max-width: 680px) { .svc-pager { grid-template-columns: 1fr; } .svc-pager a.next { text-align: left; } }

/* ---------- Accordion (corporate) ---------- */
.acc { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s; }
.acc.open { box-shadow: var(--shadow-lg); }
.acc-head { width: 100%; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 10px; padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; }
.acc-head .n { font-family: var(--head); font-size: 2rem; color: var(--red); }
.acc-head h3 { margin: 0; font-size: 1.3rem; }
.acc-head small { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; font-family: var(--body); }
.acc-head .pm { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--red); position: relative; transition: background .3s, transform .4s var(--ease); }
.acc-head .pm::before, .acc-head .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--red); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.acc-head .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.open .pm { background: var(--red); transform: rotate(180deg); }
.acc.open .pm::before, .acc.open .pm::after { background: #fff; }
.acc.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body .pad { padding: 0 26px 28px 106px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.cta-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .25; transform: scale(1.1); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 860px; margin-inline: auto; }
.cta-band p { color: #d0d0d5; max-width: 640px; margin: 0 auto 30px; font-size: 1.15rem; }
.leaf-float { position: absolute; color: var(--red); opacity: .25; z-index: 1; animation: drift 14s ease-in-out infinite; pointer-events: none; }
.leaf-float svg { width: 100%; height: 100%; }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-30px) rotate(25deg); } }

/* ---------- Video / RCIC ---------- */
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #1d1d1f, #4a1018); box-shadow: var(--shadow-lg); display: grid; place-items: center; text-align: center; color: #fff; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .play { width: 92px; height: 92px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin: 0 auto 18px; position: relative; }
.video-frame .play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--red); animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.video-frame .play svg { width: 34px; margin-left: 6px; }
.ack { font-size: .88rem; color: var(--muted); margin-top: 14px; font-style: italic; }

/* ---------- CRS calculator ---------- */
.crs-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.crs-form fieldset { border: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin: 0 0 24px; }
.crs-form legend { font-family: var(--head); font-size: 1.25rem; color: var(--ink); padding: 0; float: left; width: 100%; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.crs-form legend span { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; clear: both; }
.fields.c4 { grid-template-columns: repeat(4, 1fr); }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field select, .field input, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.field select:focus, .field input:focus, .contact-form :is(input,select,textarea):focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.field.full { grid-column: 1 / -1; }
.spouse-only[hidden] { display: none; }
.crs-result { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-lg); overflow: hidden; }
.crs-result::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(var(--red), transparent 70%); opacity: .35; top: -110px; right: -110px; }
.crs-result h3 { color: #fff; position: relative; }
.score-ring { position: relative; width: 200px; height: 200px; margin: 10px auto 22px; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 12; }
.score-ring .track { stroke: rgba(255,255,255,.1); }
.score-ring .val { stroke: var(--red); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.score-ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--head); }
.score-ring .num b { font-size: 3.4rem; font-weight: 500; display: block; line-height: 1; }
.score-ring .num small { color: #aaa; letter-spacing: .2em; font-size: .75rem; }
.breakdown { list-style: none; margin: 0; padding: 0; position: relative; }
.breakdown li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .93rem; color: #cfd0d4; }
.breakdown li b { color: #fff; font-family: var(--head); font-weight: 500; }
.crs-result .btn { width: 100%; justify-content: center; margin-top: 24px; }

[hidden] { display: none !important; }
.crs-intro { background: #fff; border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 8px; box-shadow: var(--shadow); font-size: .95rem; margin-bottom: 24px; }
.crs-form .field label { line-height: 1.4; }
.crs-form .field label a { color: var(--red); text-decoration: underline; }
.sub-label { font-weight: 700; color: var(--ink); font-size: .9rem; margin: 18px 0 8px; clear: both; }
.crs-warn { background: #fdecef; color: var(--red-dark); border-radius: 8px; padding: 12px 16px; font-size: .92rem; font-weight: 700; }
.crs-hint { color: #bfc0c5; font-size: .88rem; text-align: center; margin: -8px 0 16px; position: relative; min-height: 1.2em; }
.crs-result.pending .score-ring .val { opacity: .2; }
.crs-more { position: relative; margin-top: 12px; }
.crs-more summary { cursor: pointer; color: #ff8a95; font-size: .9rem; padding: 6px 0; list-style: none; }
.crs-more summary::-webkit-details-marker { display: none; }
.crs-more summary::before { content: "+ "; }
.crs-more[open] summary::before { content: "– "; }
.crs-more .breakdown li { font-size: .85rem; padding: 7px 0; }
.crs-note { font-size: .8rem; color: #9a9ba1; margin: 18px 0 0; position: relative; }
.crs-note a { color: #ff8a95; }
.crs-form > .btn { margin-top: 4px; }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 30px; cursor: pointer; font: inherit; font-size: .92rem; color: var(--text); transition: all .3s; }
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button.active { background: var(--red); border-color: var(--red); color: #fff; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; color: var(--text); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.08); }
.post-card .cat { position: absolute; top: 16px; left: 16px; background: var(--red); color: #fff; font-size: .75rem; padding: 5px 12px; border-radius: 20px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.post-card h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.post-card p { font-size: .96rem; color: var(--muted); }
.post-card .more { margin-top: auto; font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--red); }
.article { font-size: 1.1rem; }
.article h2 { font-size: 1.9rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: .5em; }
.article-hero-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: -80px 0 50px; position: relative; z-index: 3; aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.how-to { background: var(--bg-alt); border: 2px dashed #cfcfd4; border-radius: var(--radius); padding: 28px 30px; margin-top: 60px; font-size: .95rem; }
.how-to code { background: #fff; padding: 2px 6px; border-radius: 4px; font-size: .88rem; color: var(--red-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info .item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .item .icon { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.contact-info .item .icon svg { width: 22px; }
.contact-info .item b { display: block; font-family: var(--head); font-weight: 500; color: var(--ink); font-size: 1.1rem; }
/* contact page: social media icons in one row */
.contact-info .social-row { gap: 14px; align-items: center; flex-wrap: wrap; }
.social-row a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.social-row a svg { width: 22px; height: 22px; }
.social-row a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.social-row .soc-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 40%, #d6249f 65%, #285aeb 95%); }
.social-row .soc-fb { background: #1877f2; }
.social-row .soc-tt { background: #111; }
.social-row .soc-tt svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.social-row .soc-li { background: #0a66c2; }
.social-row .soc-ph { background: var(--red); }
.social-row .soc-wa { background: #25d366; }
/* 6 icons: shrink evenly on narrow phones so they stay on one line */
.contact-info { min-width: 0; }
.contact-info .social-row { flex-wrap: nowrap; }
.social-row a { flex: 0 1 52px; height: auto; aspect-ratio: 1; min-width: 0; }
.contact-form { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.contact-form .fields { margin-bottom: 20px; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-ok { display: none; background: #e9f8ee; color: #1d6b3a; border-radius: 8px; padding: 14px 18px; margin-top: 16px; }
.form-ok.show { display: block; animation: rise .5s var(--ease) both; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: .78rem; color: var(--muted); margin: 0; }
.form-consent a, .contact-form p a { color: var(--red); text-decoration: underline; }
.form-ok.error { background: #fff4e5; color: #7a4a00; }
.btn.sending { opacity: .7; pointer-events: none; }
.footer-bottom a { color: #d0d1d5; text-decoration: underline; }

/* ---------- Language switcher ---------- */
.topbar .tb-links { align-items: center; }
.lang-switch { position: relative; font-family: var(--body); }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff;
  border-radius: 999px; padding: 3px 10px 3px 8px; font: 700 .78rem/1.4 var(--body); letter-spacing: .06em; cursor: pointer; transition: background .3s; }
.lang-toggle:hover, .lang-switch.open .lang-toggle { background: rgba(255,255,255,.25); }
.lang-toggle svg { width: 15px; height: 15px; }
.lang-toggle .caret { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.lang-switch.open .lang-toggle .caret { transform: rotate(-135deg) translateY(-1px); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: #fff; color: var(--ink); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28); padding: 8px; z-index: 300; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu ul { list-style: none; margin: 0; padding: 0; }
.lang-menu button { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; text-align: left;
  background: none; border: 0; border-radius: 7px; padding: 7px 10px; cursor: pointer; color: var(--ink); font-family: var(--body); transition: background .2s; }
.lang-menu button:hover { background: #f4f4f5; }
.lang-menu button.current { background: #fdecef; }
.lang-menu button b { font-size: .95rem; font-weight: 700; }
.lang-menu button small { grid-row: 2; font-size: .74rem; color: var(--muted); }
.lang-menu button i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font: 600 .72rem var(--head); letter-spacing: .1em; color: var(--red); }
.lang-menu p { font-size: .72rem; line-height: 1.45; color: var(--muted); margin: 6px 10px 4px; padding-top: 8px; border-top: 1px solid #eee; }
/* desktop: inside the menu, left of "Book a Consultation"; tablet/phone: in the header next to the menu icon */
.lang-li { margin-left: 8px; }
.lang-hd { display: none; flex: none; }
@media (max-width: 1240px) { .lang-li { display: none; } .lang-hd { display: block; margin-left: auto; margin-right: 6px; } }
/* laptops (1241–1440px): make room in the header for the language button */
@media (min-width: 1241px) and (max-width: 1440px) {
  .site-header .container { width: calc(100% - 48px); }
  .menu a { padding: 10px 8px; letter-spacing: .07em; }
  .menu .btn { padding: 11px 16px; margin-left: 6px; }
  .lang-li { margin-left: 4px; }
}
@media (min-width: 1241px) and (max-width: 1320px) { .menu a { padding: 10px 6px; } .nav { gap: 12px; } }

/* hide Google Translate's own bar, tooltips and highlights */
body { top: 0 !important; position: static; }
.skiptranslate iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }
#gt-el { display: none !important; }

/* ---------- RCIC-IRB badge (College of Immigration and Citizenship Consultants licensee mark) ---------- */
.rcic-foot { display: inline-flex; flex-direction: column; gap: 8px; margin: 4px 0 22px; }
/* white card so the badge's grey text stays readable on the dark footer */
.footer-brand .rcic-foot img { width: 210px; height: auto; margin: 0; padding: 8px 14px; background: #fff; border-radius: 10px; filter: none; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.footer-brand .rcic-foot:hover img { transform: translateY(-2px); }
.rcic-foot .rcic-no { color: #fff; font-family: var(--head); letter-spacing: .1em; font-size: .95rem; }
.rcic-mark { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 22px; padding: 14px 18px; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.rcic-mark img { width: 200px; height: auto; }
.rcic-mark p { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.rcic-mark b { font-family: var(--head); font-weight: 500; letter-spacing: .08em; color: var(--ink); font-size: 1rem; }
.rcic-mark a { color: var(--red); text-decoration: underline; }
.rcic-hero-mark { width: 300px; max-width: 100%; height: auto; display: block; margin-bottom: 18px; }

/* Areas & Resources dropdowns */
.sub-areas .submenu { width: 260px; } .sub-resources .submenu { width: 290px; }
.submenu .sub-label { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); padding: 10px 12px 4px; margin-top: 4px; border-top: 1px solid var(--line); }
.menu .submenu .sub-label { border-color: rgba(255,255,255,.12); }
.sub-areas .submenu .sub-label ~ li a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: 0 0 7px; align-self: center; }

/* Canada-wide, international and hub page extras */
.area-ico { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 12px; }
.area-wide .card { padding: 34px; }
.area-wide .card h3 { font-size: 1.6rem; }
.lp-remote { color: #e4e4e8; font-size: .95rem; margin: 16px 0 0; }
.prov-grid .card h3 { font-size: 1.2rem; }
.prov-grid .card p { font-size: .93rem; }

/* ---------- Footer ---------- */
.site-footer { background: #161618; color: #a9aab0; padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; margin-bottom: 20px; font-weight: 500; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #a9aab0; transition: color .3s, padding .3s; }
.site-footer ul a:hover { color: #fff; padding-left: 6px; }
.footer-brand img { width: 150px; height: 150px; object-fit: contain; margin-bottom: 20px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); transition: transform .6s var(--ease); }
.footer-brand img:hover { transform: rotate(-8deg) scale(1.04); }
@media (max-width: 680px) { .footer-brand img { width: 120px; height: 120px; } }
/* desktop: one line — copyright | Powered by Moonshipped | disclaimer.
   (main.js lifts the back-to-top button above this line when the page is scrolled to the bottom) */
.footer-bottom { border-top: 1px solid #2a2a2e; margin-top: 60px; padding: 22px 0 24px; font-size: .85rem;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-bottom > span { white-space: nowrap; }
.footer-credit { text-align: center; }
.footer-credit a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 1px; transition: color .25s; }
.footer-credit a:hover { color: #ff6b79; }
/* smaller laptops: not enough width for one line, so stack and centre (credit stays in the middle) */
@media (max-width: 1240px) {
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom > span { white-space: normal; }
}
/* tablets & phones: centred and stacked, credit on its own line at the bottom */
@media (max-width: 960px) {
  .footer-bottom { padding: 22px 0 20px; }
  .footer-credit { order: 3; margin-top: 6px; padding-top: 12px; border-top: 1px solid #2a2a2e; width: 100%; font-size: .8rem; letter-spacing: .03em; }
}
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.socials svg { width: 17px; }

/* Mobile sticky action bar (like sample site) */
.action-bar { display: none; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; font-size: 1.2rem;
}
.to-top.show { opacity: 1; transform: translateY(calc(-1 * var(--lift, 0px))); }

/* ---------- Left quick-contact widget ---------- */
.side-widget {
  position: fixed; left: 0; top: 50%; z-index: 102; display: flex; flex-direction: column; width: 62px;
  transform: translateY(-50%); transition: transform .5s var(--ease);
  border-radius: 0 12px 12px 0; overflow: hidden; box-shadow: 4px 8px 28px rgba(0,0,0,.22);
  animation: swIn .8s var(--ease) .9s both;
}
@keyframes swIn { from { transform: translate(-100%, -50%); } to { transform: translateY(-50%); } }
.side-widget.collapsed { transform: translate(-62px, -50%); overflow: visible; animation: none; }
.sw-toggle {
  height: 38px; border: 0; background: #111; color: #fff; font-size: 1.15rem; cursor: pointer; transition: background .3s;
}
.sw-toggle:hover { background: #333; }
.side-widget.collapsed .sw-toggle { position: absolute; left: 62px; top: 0; width: 38px; border-radius: 0 10px 10px 0; box-shadow: 4px 4px 14px rgba(0,0,0,.2); }
.sw-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; border: 0; cursor: pointer;
  height: 62px; font: inherit; position: relative; transition: filter .3s, padding .3s;
}
.sw-tab svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.sw-tab:hover { color: #fff; filter: brightness(1.12); }
.sw-tab:hover svg { transform: scale(1.18); }
.sw-contact { background: var(--red); height: 168px; flex-direction: column-reverse; gap: 10px; }
.sw-contact span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: .88rem; }
.sw-contact svg { width: 18px; height: 18px; }
.sw-contact[aria-expanded="true"] { background: var(--red-dark); }
.sw-wa { background: #25d366; }
.sw-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 40%, #d6249f 65%, #285aeb 95%); }
.sw-fb { background: #1877f2; }
.sw-tt { background: #111; }
.sw-li { background: #0a66c2; }
.sw-tt svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.sw-phone { background: #1fa855; }
.sw-blog { background: #2a2a2c; height: 66px; }
/* shorter buttons on short laptop screens so the whole bar fits */
/* desktop: main.js fixes the bar in the space below the header (see initSideWidget) */
/* short laptop screens: more compact buttons so the whole bar fits under the header */
@media (min-width: 961px) and (max-height: 720px) {
  .side-widget .sw-toggle { height: 32px; }
  .side-widget .sw-tab { height: 44px; } .side-widget .sw-tab svg { width: 19px; height: 19px; }
  .side-widget .sw-contact { height: 112px; } .side-widget .sw-contact svg { width: 16px; height: 16px; } .side-widget .sw-contact span { font-size: .8rem; }
  .side-widget .sw-blog { height: 48px; }
}
@media (min-width: 961px) and (max-height: 900px) { .sw-tab { height: 50px; } .sw-tab svg { width: 20px; height: 20px; } .sw-contact { height: 132px; } .sw-blog { height: 54px; } }
.sw-blog small { font-size: .74rem; font-weight: 700; }
/* hover label that slides out */
.sw-tab[aria-label]:not(.sw-contact)::after {
  content: attr(aria-label); position: absolute; left: 100%; top: 50%; transform: translate(-8px, -50%); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 7px 12px; border-radius: 0 6px 6px 0; white-space: nowrap; font-size: .85rem;
  transition: opacity .25s, transform .35s var(--ease);
}
.side-widget:not(.collapsed):hover { overflow: visible; }
.sw-tab:hover::after { opacity: 1; transform: translate(0, -50%); }

.sw-panel {
  position: fixed; left: 72px; top: 50%; z-index: 101; max-height: calc(100vh - 24px); overflow-y: auto; width: min(400px, calc(100vw - 90px)); background: #fff; border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,.25); padding: 26px 24px 24px; opacity: 0; visibility: hidden;
  transform: translate(-30px, -50%) scale(.97); transform-origin: left center;
  transition: opacity .35s ease, transform .45s var(--ease), visibility .35s;
}
.sw-panel.open { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.sw-panel h3 { color: var(--red); font-size: 1.5rem; margin: 0 0 4px; }
.sw-panel > p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.sw-close { position: absolute; right: 14px; top: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: #999; cursor: pointer; border-radius: 50%; transition: background .25s, color .25s, transform .35s; }
.sw-close:hover { background: var(--bg-alt); color: var(--ink); transform: rotate(90deg); }
.sw-form { display: grid; gap: 12px; }
.sw-form input, .sw-form textarea {
  width: 100%; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 24px; font: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.sw-form textarea { min-height: 110px; resize: vertical; border-radius: 18px; }
.sw-form :is(input, textarea):focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.sw-form .btn { justify-content: center; border-radius: 30px; margin-top: 6px; }

/* ---------- FAQ + keyword chips ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.kw-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.kw-chips a { padding: 7px 14px; border-radius: 30px; border: 1.5px solid var(--line); color: var(--text); font-size: .88rem; background: #fff; transition: all .3s var(--ease); }
.kw-chips a:hover { border-color: var(--red); background: var(--red); color: #fff; transform: translateY(-2px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative; font-family: var(--head); font-size: 1.2rem; color: var(--ink); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 2px solid var(--red);
  color: var(--red); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq details[open] summary { color: var(--red); }
.faq details[open] summary::after { content: "–"; background: var(--red); color: #fff; transform: rotate(180deg); }
.faq summary:hover { color: var(--red); }
.faq details > div { padding: 0 10px 22px 0; animation: rise .45s var(--ease) both; }
.faq details p { margin: 0; }

/* Announcement strip */
.announce { background: var(--ink); color: #e9e9ec; font-size: .9rem; text-align: center; padding: 9px 44px; position: relative; }
.announce a { color: #fff; font-weight: 700; border-bottom: 1px solid var(--red); }
.announce b { color: #ff6b79; font-family: var(--head); letter-spacing: .12em; margin-right: 8px; font-weight: 500; }
.announce button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #aaa; font-size: 1.3rem; cursor: pointer; }
.announce.hide { display: none; }

/* ---------- Content protection ---------- */
/* text can be highlighted for reading; buttons, menus and icons stay unselectable */
.protected body { -webkit-touch-callout: none; }
.protected .btn, .protected nav, .protected .menu, .protected .burger, .protected .side-widget, .protected .action-bar, .protected .social-row, .protected .lang-switch, .protected img, .protected svg { -webkit-user-select: none; user-select: none; }
.protected input, .protected textarea, .protected select { -webkit-user-select: text; user-select: text; }
/* email and phone links can be selected, copied and long-pressed ("Copy") */
.protected a[href^="mailto:"], .protected a[href^="tel:"], .protected [data-contact="email"], .protected [data-contact="phone"] { -webkit-user-select: text !important; user-select: text !important; -webkit-touch-callout: default; }
/* highlighter-pen look */
/* see-through so the highlight never hides letters on the line above (tight heading spacing) */
::selection { background: rgba(255, 212, 0, .42); color: inherit; }
/* headings: a full-height marker band drawn per line of text instead of a box, so two highlighted lines never overlap (Chrome/Edge) */
.hl-marker :is(h1, h2, h3, h4)::selection {
  background: transparent; color: inherit;
  text-decoration: underline; text-decoration-color: rgba(255, 212, 0, .6);
  text-decoration-thickness: 1.12em; text-underline-offset: -.9em; text-decoration-skip-ink: none;
}
.protected img { -webkit-user-drag: none; }
.protect-toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 30px; font-size: .9rem; box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--red); transition: opacity .3s, transform .4s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.protect-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media print { .protected body { display: none; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 110ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu a { padding: 10px 8px; font-size: .82rem; }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .crs-wrap { grid-template-columns: 1fr; }
  .crs-result { position: relative; top: 0; }
}
@media (max-width: 1240px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 100px 26px 30px; gap: 2px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: -1; overflow-y: auto;
  }
  .nav-open .menu { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .menu a { font-size: 1rem; padding: 14px 6px; border-bottom: 1px solid #333; }
  .menu .btn { margin: 20px 0 0; justify-content: center; }
}
@media (max-width: 960px) {
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 100px 26px 30px; gap: 2px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: -1; overflow-y: auto;
  }
  .nav-open .menu { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .menu a { font-size: 1rem; padding: 14px 6px; border-bottom: 1px solid #333; }
  .menu .btn { margin: 20px 0 0; justify-content: center; }
  .split, .contact-grid, .faq-wrap { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: relative; top: 0; display: flex; overflow-x: auto; gap: 6px; }
  .svc-nav a { white-space: nowrap; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .topbar .tagline { display: none; }
  .img-stack { margin-bottom: 40px; }
  .img-stack .float { right: 0; }
  .img-stack .badge { left: 10px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; overflow-x: clip; }
  .reveal.left, .reveal.right { transform: translateY(40px); }
  .reveal.left.in, .reveal.right.in { transform: none; }
  .grid.c2, .grid.c3, .grid.c4, .checks, .subgrid, .fields, .fields.c4, .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero { height: calc(100svh - var(--header-h)); }
  .hero-arrow { display: none; }
  .scroll-cue { display: none; }
  /* phones: keep the full company name, sized to fit beside the language button and menu icon */
  .brand { gap: 8px; min-width: 0; }
  .brand img, .site-header.scrolled .brand img { width: 48px; height: 48px; }
  .brand-text b { font-size: 1.08rem; }
  .brand-text small { font-size: .56rem; letter-spacing: .08em; }
  .lang-hd .lang-toggle { padding: 3px 8px; gap: 5px; }
  .lang-hd .lang-toggle .caret { display: none; }
  .lang-hd { margin-right: 2px; }
  .svc-block .inner, .contact-form, .crs-form fieldset { padding: 24px; }
  .acc-head { grid-template-columns: 48px 1fr 36px; padding: 18px; }
  .acc-body .pad { padding: 0 18px 24px; }
  .to-top { bottom: 76px; }
}
@media (max-width: 360px) {
  .brand-text b { font-size: .98rem; }
  .brand-text small { font-size: .5rem; letter-spacing: .05em; }
  .brand img, .site-header.scrolled .brand img { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Quick-contact widget: bottom bar on tablets & phones ---------- */
@media (min-width: 961px) and (max-width: 1400px) {
  /* keep page content clear of the left widget */
  .container { width: min(1600px, 100% - 160px); }
}
@media (max-width: 960px) {
  body { padding-bottom: 62px; }
  .action-bar { display: none !important; }
  .side-widget, .side-widget.collapsed {
    left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 62px; flex-direction: row; transform: none; animation: none;
    border-radius: 0; overflow: hidden; box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
  .sw-toggle { display: none; }
  .menu { padding-bottom: 90px; }
  .sw-tab, .sw-contact, .sw-blog { flex: 1; height: 62px; flex-direction: column; gap: 3px; min-width: 0; }
  .sw-tab svg, .sw-contact svg { width: 21px; height: 21px; }
  .sw-contact span { writing-mode: horizontal-tb; transform: none; font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: .7rem; font-weight: 700; }
  .sw-blog small { font-size: .7rem; }
  .sw-tab[aria-label]:not(.sw-contact)::after {
    content: attr(data-label); position: static; transform: none; opacity: 1; background: none; padding: 0; border-radius: 0; font-size: .7rem; font-weight: 700;
  }
  .sw-blog::after { display: none; }
  .sw-tab[aria-label]:not(.sw-contact)::after, .sw-contact span, .sw-blog small { font-size: .62rem; white-space: nowrap; }
  .sw-tab:hover::after { transform: none; }
  .sw-panel { left: 12px; right: 12px; width: auto; top: auto; bottom: 74px; transform: translateY(30px); max-height: calc(100svh - 160px); overflow-y: auto; }
  .sw-panel.open { transform: none; }
  .to-top { bottom: 76px; }
  .protect-toast { bottom: 76px; }
}
/* phones: no Call button in the bottom bar (desktop widget keeps it) */
@media (max-width: 960px) { .side-widget .sw-phone { display: none; } }
/* narrow phones: bottom bar labels */
@media (max-width: 400px) {
  .sw-tab[aria-label]:not(.sw-contact)::after, .sw-contact span, .sw-blog small { font-size: .55rem; letter-spacing: -.01em; }
  .sw-tab svg, .sw-contact svg { width: 19px; height: 19px; }
}

/* =========================================================
   Marketing pages: ad landing pages (body.landing), area pages, Express Entry checklist
   ========================================================= */
/* Landing pages: no menu or announcement strip — keep visitors focused on the form */
.landing .announce { display: none; }
.landing .menu > li:not(.lang-li) { display: none; }
.landing .burger { display: none; }

.lp-hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); }
.lp-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 14s ease-out forwards; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,14,.92), rgba(10,10,14,.72) 55%, rgba(10,10,14,.55)); }
.lp-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.lp-hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; margin: 8px 0 16px; }
.lp-hero .eyebrow { color: #ff6b79; }
.lp-sub { font-size: 1.18rem; color: #e4e4e8; max-width: 620px; }
.lp-bullets { margin: 22px 0 26px; }
.lp-bullets li { color: #f1f1f4; font-size: 1.02rem; }
.lp-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-trust img { width: 150px; height: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.lp-trust span { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }
.lp-trust b { font-family: var(--head); font-weight: 500; letter-spacing: .08em; color: inherit; }
.lp-trust a { color: inherit; text-decoration: underline; opacity: .9; }
.lp-hero .lp-trust { color: #fff; }
.lp-quick { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-weight: 700; }
.lp-quick a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.lp-quick a:hover { border-color: #ff6b79; color: #ff6b79; }
.lead-form h3 { font-size: 1.6rem; margin: 0 0 4px; color: var(--ink); }
.lead-form-sub { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.lead-form .btn { width: 100%; justify-content: center; }
.lead-form .form-consent { margin-top: 12px; }
.lead-form textarea { min-height: 84px; }
.lp-form-wrap .lead-form { color: var(--text); scroll-margin-top: 110px; }
.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; }
.lp-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 74px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.lp-steps li::before { content: counter(s); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 1.1rem; }
.lp-steps b { display: block; font-family: var(--head); font-weight: 500; color: var(--ink); font-size: 1.1rem; }
.lp-steps span { font-size: .95rem; }
.lp-foot-note { padding: 34px 0; }
.lp-disclaimer { font-size: .8rem; color: var(--muted); max-width: 900px; margin: 24px auto 0; text-align: center; line-height: 1.55; }

/* Area pages */
.area-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px; border-top: 4px solid var(--red); }
.area-card h3 { margin-top: 0; }
.area-facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.area-facts li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: .95rem; }
.area-facts b { font-family: var(--head); font-weight: 500; color: var(--ink); }
.area-facts a { color: var(--red); }
.area-map { width: 100%; height: 220px; border: 0; border-radius: 10px; margin-bottom: 18px; background: var(--bg-alt); }
.area-link { display: flex; flex-direction: column; color: inherit; }
.area-link p { flex: 1; }
.area-link .more { color: var(--red); font-weight: 700; margin-top: 8px; }

/* Express Entry checklist */
.narrow-wide { width: min(1000px, 100% - 32px); margin-inline: auto; }
.cl-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--text) !important; line-height: 1.45; cursor: pointer; }
.cl-consent input { width: 18px !important; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--red); padding: 0 !important; }
.cl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cl-head h2 { margin-bottom: 6px; }
.cl-sec { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; margin-bottom: 20px; }
.cl-sec h3 { margin: 0 0 4px; color: var(--red); }
.cl-note { font-size: .92rem; color: var(--muted); margin: 0 0 12px; }
.cl-list { list-style: none; padding: 0; margin: 0; }
.cl-list li { border-top: 1px solid var(--line); }
.cl-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; font-size: .98rem; line-height: 1.5; }
.cl-list input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--red); }
.cl-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.cl-list b { color: var(--ink); }
.cl-tips { background: var(--ink); color: #d6d6db; border-radius: var(--radius); padding: 28px; margin-top: 26px; }
.cl-tips h3 { color: #fff; margin-top: 0; }
.cl-tips .checks li { color: #e4e4e8; }

@media (max-width: 960px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-form-wrap .lead-form { padding: 26px; }
}

/* Printing the checklist (copy protection otherwise blocks printing) */
@media print {
  .protected body.allow-print { display: block !important; }
  body.allow-print > *:not(#checklist) { display: none !important; }
  body.allow-print #checklist { padding: 0; background: #fff; }
  body.allow-print .cl-head .btn, body.allow-print .cl-tips .btn-row { display: none !important; }
  body.allow-print .cl-sec, body.allow-print .cl-tips { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  body.allow-print .cl-tips { background: #fff; color: #222; } body.allow-print .cl-tips h3, body.allow-print .cl-tips li { color: #222; }
}

.lp-jump { display: none; margin: 6px 0 4px; }
@media (max-width: 960px) { .lp-jump { display: inline-flex; } }
