/* ==========================================================================
   View Canada Immigration Services — main stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #131d2b;
  --navy-800: #1a2638;
  --navy-700: #1f2d42;
  --navy-600: #2c3e57;
  --slate-600: #34587a;
  --slate-500: #4a6f92;
  --slate-300: #9fb8cf;
  --slate-100: #e6eef5;
  --maple: #b3221f;
  --maple-soft: #fbeceb;
  --cream: #f8f6f2;
  --cream-200: #efebe4;
  --white: #ffffff;
  --ink: #1f2d42;
  --muted: #55606e;
  --line: rgba(31, 45, 66, 0.12);
  --success: #1e6b45;
  --error: #b3221f;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(19, 29, 43, 0.06), 0 2px 8px rgba(19, 29, 43, 0.05);
  --shadow: 0 10px 30px rgba(19, 29, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(19, 29, 43, 0.16);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--slate-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--navy-700); text-wrap: balance; }
p { text-wrap: pretty; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy-700); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--sand { background: var(--cream-200); }
.section--navy { background: var(--navy-700); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--maple); }
.section--navy .eyebrow { color: var(--slate-300); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.75); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--maple); color: var(--white); box-shadow: 0 6px 18px rgba(179, 34, 31, 0.25); }
.btn--primary:hover { background: #961a17; color: var(--white); transform: translateY(-1px); }
.btn--dark { background: var(--navy-700); color: var(--white); }
.btn--dark:hover { background: var(--navy-600); color: var(--white); transform: translateY(-1px); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-700); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-700); }
.btn--light:hover { background: var(--cream-200); color: var(--navy-700); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy-700); }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--slate-600); text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover { color: var(--navy-700); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 246, 242, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(19, 29, 43, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-700); }
.brand__mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-700); display: grid; place-items: center; flex-shrink: 0; }
.brand__mark img { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.04em; }
.brand__tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav__link {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.98rem; font-weight: 500; color: var(--navy-700); text-decoration: none; position: relative;
}
.nav__link:hover { background: rgba(31, 45, 66, 0.06); color: var(--navy-700); }
.nav__link[aria-current="page"] { color: var(--navy-700); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--maple); border-radius: 2px;
}
.nav__cta { margin-left: 10px; min-height: 44px; padding: 10px 20px; font-size: 0.95rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 16px var(--gutter) 32px; overflow-y: auto;
    border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 18px 4px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--maple); }
  .nav__cta { margin: 28px 0 0; min-height: 54px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; margin-bottom: 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--navy-700); box-shadow: var(--shadow-sm);
}
.hero__badge img { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--maple); }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: clamp(1.1rem, 1.5vw, 1.22rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; padding: 0; list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; font-weight: 500; color: var(--navy-700); }
.hero__trust svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute; left: -28px; bottom: 32px; max-width: 290px;
  background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center;
}
.hero__card-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--maple-soft); display: grid; place-items: center; flex-shrink: 0; }
.hero__card-icon img { width: 24px; height: 24px; }
.hero__card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-700); line-height: 1.2; }
.hero__card span { font-size: 0.9rem; color: var(--muted); line-height: 1.4; display: block; }
.hero__stat {
  position: absolute; right: -18px; top: 28px; background: var(--navy-700); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); text-align: center;
}
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.hero__stat span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-300); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__card { left: 12px; bottom: 12px; right: 12px; max-width: none; }
  .hero__stat { right: 12px; top: 12px; }
}

/* ---------- Credential strip ---------- */
.cred-strip { background: var(--navy-700); color: var(--white); }
.cred-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-strip__item { padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.cred-strip__item:first-child { border-left: 0; }
.cred-strip__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; }
.cred-strip__label { margin-top: 6px; font-size: 0.92rem; color: var(--slate-300); }
@media (max-width: 760px) {
  .cred-strip__inner { grid-template-columns: 1fr 1fr; }
  .cred-strip__item:nth-child(3) { border-left: 0; }
  .cred-strip__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .cred-strip__item { padding: 22px 16px; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--slate-100); color: var(--slate-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.card .text-link { margin-top: auto; padding-top: 18px; }
.card--link .text-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__tag {
  position: absolute; top: 20px; right: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--maple-soft); color: var(--maple); padding: 4px 10px; border-radius: 999px;
}

.section--navy .feature { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(159, 184, 207, 0.14); color: var(--slate-300); margin-bottom: 18px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature p { font-size: 0.98rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- Split (image + content) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5 / 4; object-fit: cover; }
.split__media--frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--slate-300); border-radius: var(--radius-lg); z-index: -1;
}
.split h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split p { color: var(--muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--frame::before { display: none; }
}

.check-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.section--navy .check-list li { color: rgba(255, 255, 255, 0.88); }
.section--navy .check-list svg { color: var(--slate-300); }

.credential {
  display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px;
  background: var(--cream); border-radius: var(--radius); border-left: 4px solid var(--maple);
}
.credential__label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-600); }
.credential__value { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy-700); }
.credential a { font-size: 0.92rem; }

/* ---------- Specialty band ---------- */
.specialty { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.specialty__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: var(--white); }
.specialty__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.specialty__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 29, 43, 0.05) 20%, rgba(19, 29, 43, 0.9) 100%); z-index: 1; }
.specialty__body { position: relative; z-index: 2; padding: 32px; }
.specialty__body h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.specialty__body p { color: rgba(255, 255, 255, 0.85); max-width: 460px; }
.specialty__body .btn { margin-top: 20px; }
.pill { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--maple); color: var(--white); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 860px) { .specialty { grid-template-columns: 1fr; } .specialty__item { min-height: 380px; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--navy-700); color: var(--white); font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { font-size: 0.98rem; color: var(--muted); }
@media (min-width: 1025px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; right: -24px; width: 24px; height: 2px; background: var(--slate-300);
  }
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy-700);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex-shrink: 0; border-right: 2px solid var(--slate-600); border-bottom: 2px solid var(--slate-600);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--navy-800); }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 29, 43, 0.95) 0%, rgba(19, 29, 43, 0.6) 100%); z-index: 1; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(56px, 8vw, 96px); }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); max-width: 640px; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.8); max-width: 600px; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: var(--white); background: var(--navy-800); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19, 29, 43, 0.92) 0%, rgba(19, 29, 43, 0.65) 60%, rgba(19, 29, 43, 0.4) 100%); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 112px); max-width: 760px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero p { margin-top: 16px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.85); }
.page-hero .eyebrow { color: var(--slate-300); }

.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; font-size: 0.92rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Services page ---------- */
.services-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.toc h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-600); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a:hover { background: var(--cream); }
.toc a.is-active { background: var(--slate-100); color: var(--navy-700); font-weight: 600; }

.toc-mobile { display: none; margin-bottom: 24px; }
.toc-mobile label { display: block; font-weight: 600; margin-bottom: 8px; }

.svc { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.svc + .svc { margin-top: 24px; }
.svc__head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.svc__num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--slate-500); background: var(--slate-100); border-radius: 10px; width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; }
.svc h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.svc__tag { display: inline-block; margin-top: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maple); }
.svc__intro { color: var(--muted); }
.svc__list { list-style: none; padding: 0; margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.svc__list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.svc__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--maple); margin-top: 11px; flex-shrink: 0; }
.svc__list small { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.svc__foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.svc__foot p { color: var(--muted); font-style: italic; font-size: 0.98rem; }
.svc--featured { border: 2px solid var(--maple); }

@media (max-width: 960px) {
  .services-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile {
    display: block; position: sticky; top: var(--header-h); z-index: 5;
    margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 12px;
    background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .svc { scroll-margin-top: calc(var(--header-h) + 110px); }
}
@media (max-width: 640px) {
  .svc { padding: 24px 20px; }
  .svc__list { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-info { background: var(--navy-700); color: rgba(255, 255, 255, 0.85); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.contact-info h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.contact-info > p { color: rgba(255, 255, 255, 0.72); }
.info-list { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list__icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; flex-shrink: 0; color: var(--slate-300); }
.info-list__icon svg { width: 22px; height: 22px; }
.info-list__label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-300); }
.info-list a { color: var(--white); }
.info-list a:hover { color: var(--slate-300); }
.contact-info__photo { margin-top: 32px; border-radius: var(--radius); overflow: hidden; position: relative; }
.contact-info__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.contact-info__photo span { position: absolute; left: 14px; bottom: 12px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.contact-info .credential { background: rgba(255, 255, 255, 0.06); }
.contact-info .credential__value { color: var(--white); }
.contact-info .credential__label { color: var(--slate-300); }
.contact-info .credential a { color: var(--slate-300); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 2rem; }
.form-card > p { color: var(--muted); margin-top: 8px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 8px; color: var(--navy-700); }
.field .req { color: var(--maple); }
.field .optional { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  border: 1.5px solid #c9ced6; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231f2d42' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate-600); box-shadow: 0 0 0 4px rgba(52, 88, 122, 0.15); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field__hint { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.field__error { display: none; margin-top: 6px; font-size: 0.9rem; color: var(--error); font-weight: 500; }
.field.has-error .field__error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
fieldset.field { border: 0; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; min-height: 46px;
  border: 1.5px solid #c9ced6; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer;
}
.radio-row input { accent-color: var(--slate-600); width: 18px; height: 18px; }
.radio-row label:has(input:checked) { border-color: var(--slate-600); background: var(--slate-100); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--slate-600); flex-shrink: 0; }
.form-note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); text-align: center; }
.hidden-field { display: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { order: 2; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Simple content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 44px; margin-bottom: 12px; }
.prose h3 { font-size: 1.4rem; margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-y); }
.center-page__icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--maple-soft); display: grid; place-items: center; }
.center-page__icon img, .center-page__icon svg { width: 36px; height: 36px; }
.center-page h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.center-page p { margin: 16px auto 0; max-width: 560px; color: var(--muted); font-size: 1.15rem; }
.center-page .hero__actions { justify-content: center; }

/* ---------- Values (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.68); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 64px 44px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__tag { color: rgba(255, 255, 255, 0.55); }
.site-footer .brand__mark { background: rgba(255, 255, 255, 0.08); }
.footer-about { margin-top: 18px; max-width: 360px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid rgba(159, 184, 207, 0.35); color: var(--slate-300); font-size: 0.9rem; text-decoration: none;
}
.footer-badge:hover { color: var(--white); border-color: var(--white); }
.footer-badge svg { width: 16px; height: 16px; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 24px 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.88rem; }
.footer-bottom p { max-width: 640px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .toc, .toc-mobile { display: none !important; }
  body { background: #fff; }
}
