/* =========================================================
   Cody Nixon Mortgages — shared styles
   Mobile-first. Tokens at :root. Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================= */

:root {
  /* Colour */
  --navy: #10243e;
  --navy-deep: #0a1729;
  --navy-soft: #1c3557;
  --ink: #16202c;
  --muted: #5b687a;
  --line: #e3ddd2;
  --cream: #f6f2ea;
  --cream-deep: #eee7da;
  --white: #ffffff;
  --gold: #d6a04a;
  --gold-deep: #b9822c;
  --gold-soft: #f7ecd6;
  --success: #1f7a4d;
  --error: #b3261e;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
  --h2: clamp(1.875rem, 1.35rem + 2vw, 2.875rem);
  --h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --eyebrow: 0.8125rem;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 62, 0.06), 0 2px 8px rgba(16, 36, 62, 0.06);
  --shadow: 0 8px 24px rgba(16, 36, 62, 0.1), 0 2px 6px rgba(16, 36, 62, 0.06);
  --shadow-lg: 0 24px 48px rgba(16, 36, 62, 0.16);

  --container: min(1160px, 100% - 2.5rem);
  --header-h: 4.5rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--font-body); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--gold-deep); }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }

strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--gold);
  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;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--text-lg); color: var(--muted); }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--space-4);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: var(--text-lg); color: var(--muted); }
.section--navy .lead { color: rgba(255, 255, 255, 0.75); }

.prose { max-width: 42rem; }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-6); }
.prose ul li + li { margin-top: var(--space-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn--primary:hover { background: #e2ad5a; border-color: #e2ad5a; color: var(--navy-deep); box-shadow: var(--shadow-sm); }

.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--white); }

.btn--outline { background: transparent; color: var(--navy); border-color: rgba(16, 36, 62, 0.28); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: rgba(16, 36, 62, 0.04); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--lg { min-height: 3.5rem; padding: 1rem 1.8rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 36, 62, 0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.25rem 2rem;
  background: var(--white);
  overflow-y: auto;
}
.site-nav.is-open { display: flex; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.5rem 0;
  font-weight: 500;
  font-size: 1.0625rem;
  text-decoration: none;
  color: var(--navy);
}
.nav-list a[aria-current="page"] { color: var(--gold-deep); font-weight: 600; }

.nav-sub {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0 0 0 1rem;
}
.nav-sub a { min-height: 2.75rem; font-size: var(--text-sm); color: var(--muted); font-weight: 500; }
.nav-sub a:hover { color: var(--navy); }

.nav-cta { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.nav-cta .btn { width: 100%; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.nav-phone svg { width: 1.1rem; height: 1.1rem; color: var(--gold-deep); }

body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  .nav-list { flex-direction: row; align-items: center; gap: 0.25rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list a {
    min-height: 2.5rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.9875rem;
    border-radius: 999px;
  }
  .nav-list > li > a:hover { background: var(--cream); color: var(--navy); }
  .nav-list > li > a[aria-current="page"] { background: var(--gold-soft); color: var(--navy); }

  .has-sub > a::after {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-left: 0.45em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.7;
  }
  .nav-sub {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 15rem;
    margin: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
  .has-sub:hover .nav-sub,
  .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-sub a { min-height: 2.5rem; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
  .nav-sub a:hover { background: var(--cream); color: var(--navy); }

  .nav-cta { margin: 0; flex-direction: row; align-items: center; gap: 1.25rem; }
  .nav-cta .btn { width: auto; min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: 0.95rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(214, 160, 74, 0.16), transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(16, 36, 62, 0.06), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero__copy { max-width: 36rem; }
.hero__copy h1 { margin-bottom: 1.25rem; }
.hero__copy .lead { margin-bottom: 1.75rem; max-width: 32rem; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 1rem; height: 1rem; }

.hero__visual { position: relative; }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, 0.09), transparent 60%);
}
.portrait__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.portrait__placeholder svg { width: 40%; height: auto; color: rgba(255, 255, 255, 0.28); }
.portrait--sm { max-width: 20rem; aspect-ratio: 1; }

.float-card {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
}
.float-card--review {
  left: 0;
  bottom: -1.25rem;
  max-width: 17rem;
  font-size: 0.875rem;
  color: var(--ink);
}
.float-card--review p { margin: 0.35rem 0 0; line-height: 1.5; }
.float-card--review .stars svg { width: 0.85rem; height: 0.85rem; }
.float-card--stat {
  right: 0;
  top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.float-card--stat .stat__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1; }
.float-card--stat .stat__label { font-size: 0.78rem; color: var(--muted); line-height: 1.2; }

@media (max-width: 767px) {
  .hero__visual { padding-bottom: 1.5rem; }
  .float-card--stat { right: 0.5rem; top: 1rem; }
}

@media (min-width: 768px) {
  .hero__inner { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
  .hero__visual { padding-inline: 1rem; }
  .portrait { max-width: 24rem; }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .portrait { max-width: 26rem; }
  .float-card--review { left: -1rem; }
  .float-card--stat { right: -0.5rem; }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  padding: 1.75rem 0;
}
.stat { text-align: left; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 0.35rem; }
.stat__label { font-size: var(--text-sm); color: var(--muted); }

.stats-band { border-block: 1px solid var(--line); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 0; }
.card p { color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.card--link > a.card__cover { position: absolute; inset: 0; border-radius: inherit; }
.card .link-arrow { position: relative; z-index: 1; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.card__icon svg { width: 1.6rem; height: 1.6rem; }

.section--cream .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.section--navy .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }
.section--navy .card h3 { color: var(--white); }
.section--navy .card p { color: rgba(255, 255, 255, 0.72); }
.section--navy .card .card__icon { background: rgba(214, 160, 74, 0.18); color: var(--gold); }
.section--navy .card:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}
.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); margin: 0; }
.section--navy .step { border-top-color: rgba(214, 160, 74, 0.6); }
.section--navy .step p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Split section ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.split__media { order: -1; }
.split__copy .lead { margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split__media { order: 0; }
  .split--media-left .split__media { order: -1; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list li::before {
  content: "";
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9822c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.section--navy .check-list li::before { background-color: rgba(214, 160, 74, 0.2); }

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.reviews-head .section-head { margin-bottom: 0; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.google-badge:hover { color: var(--ink); border-color: var(--navy); }
.google-badge__logo { width: 1.6rem; height: 1.6rem; flex: none; }
.google-badge__score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--navy); }
.google-badge__meta { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.78rem; color: var(--muted); line-height: 1.2; }
.google-badge__meta .stars svg { width: 0.85rem; height: 0.85rem; }

.reviews {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.review {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review__date { font-size: 0.8125rem; color: var(--muted); }
.review__text { margin: 0; color: var(--ink); }
.review__source { display: flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; font-size: 0.78rem; color: var(--muted); }
.review__source svg { width: 1rem; height: 1rem; }
.reviews-note { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 100% 50%, rgba(214, 160, 74, 0.22), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 34rem; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; }
  .cta-band__actions { justify-self: end; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 100% 0%, rgba(214, 160, 74, 0.16), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 44rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { max-width: 36rem; }
.page-hero .btn-group { margin-top: 1.75rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Service page layout ---------- */
.service-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.service-aside { display: grid; gap: 1.25rem; }
.aside-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.aside-card--navy { background: var(--navy); color: rgba(255, 255, 255, 0.85); }
.aside-card--navy h3 { color: var(--white); }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.aside-card ul { margin: 0; padding-left: 1.1rem; }
.aside-card li + li { margin-top: 0.4rem; }
.aside-card .btn { margin-top: 1rem; }
.aside-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.aside-nav a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
}
.aside-nav a:hover { background: var(--white); }
.aside-nav a[aria-current="page"] { background: var(--white); color: var(--gold-deep); font-weight: 600; }

/* Steps inside the narrower service column stack as one row each, number beside text */
.service-layout .steps { grid-template-columns: 1fr; gap: 0; }
.service-layout .step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.service-layout .step:first-child { border-top: 2px solid var(--gold); }
.service-layout .step .step__num { grid-row: 1 / span 2; font-size: 1.85rem; margin: 0; }
.service-layout .step h3 { margin-bottom: 0.3rem; }

@media (min-width: 1024px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
  .service-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 46rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.25rem;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details > div { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Credentials ---------- */
.credentials {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.credential {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.credential__label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4rem; }
.credential__value { font-weight: 600; color: var(--navy); }
.credential p { margin: 0.25rem 0 0; font-size: var(--text-sm); color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; }
}

.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.contact-list .ci svg { width: 1.25rem; height: 1.25rem; }
.contact-list .cl { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list p { margin: 0; }

.apply-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}
.apply-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(214, 160, 74, 0.25), transparent 60%);
  pointer-events: none;
}
.apply-card > * { position: relative; }
.apply-card h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.5rem; }
.apply-card p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.25rem; }
.apply-card small { display: block; margin-top: 0.85rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }

.form-card {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.5rem; }

.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 480px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: var(--text-sm); color: var(--navy); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd5dd;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310243e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(214, 160, 74, 0.35);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.8125rem; color: var(--muted); }
.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}
.form-status.is-visible { display: block; }
.form-status--error { background: #fdecea; color: #7a1a14; }
.form-status--success { background: #e6f4ec; color: #14532d; }
.cf-turnstile { min-height: 65px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; } }

.footer-brand .brand { color: var(--white); }
.footer-brand .brand__tag { color: var(--gold); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer h4 { color: var(--white); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.2rem; color: var(--gold); }
.footer-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 1.1rem; height: 1.1rem; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal a { color: rgba(255, 255, 255, 0.7); }
.footer-legal a:hover { color: var(--gold); }
.footer-legal .licence { max-width: 44rem; }
@media (min-width: 768px) {
  .footer-legal__row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { min-height: 2.9rem; padding-inline: 0.75rem; font-size: 0.95rem; }
body.has-mobile-cta { padding-bottom: 4.6rem; }
@media (min-width: 768px) {
  .mobile-cta { display: none; }
  body.has-mobile-cta { padding-bottom: 0; }
}

/* ---------- Simple pages (thanks / 404) ---------- */
.simple-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section);
  background: var(--cream);
}
.simple-page__inner { max-width: 34rem; }
.simple-page .btn-group { justify-content: center; margin-top: 1.5rem; }
.simple-page .big { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}
