/* ==========================================================================
   West Immigration — static wrapper
   Coastal editorial system
   ========================================================================== */

:root {
  --paper: #f3efe6;
  --ink: #14202b;
  --text: #24303a;
  --muted: #5c6b73;
  --teal: #14202b;
  --teal-hover: #24303a;
  --copper: #ed1c24;
  --line: #e2d9cc;
  --surface: #fffcf7;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-card: 20px;
  --radius-control: 14px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: 24px;
  --section-y: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 0 rgba(20, 32, 43, 0.04), 0 22px 44px -28px rgba(20, 32, 43, 0.28);
  --shadow-lift: 0 2px 0 rgba(20, 32, 43, 0.04), 0 30px 60px -30px rgba(20, 32, 43, 0.38);
  --header-h: 120px;
  --header-top-h: 70px;
}

@media (max-width: 1200px) {
  :root {
    --header-h: 72px;
    --header-top-h: 72px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-y: 56px;
    --gutter: 18px;
    --header-h: 66px;
    --header-top-h: 66px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--teal-hover);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--ink {
  background: var(--ink);
  color: rgba(243, 239, 230, 0.78);
}

.section--ink h2,
.section--ink h3 {
  color: var(--paper);
}

.section--ink .eyebrow {
  color: var(--copper);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head__text {
  max-width: 720px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.section-lead {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  color: var(--muted);
}

.section--ink .section-lead {
  color: rgba(243, 239, 230, 0.66);
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn svg {
  flex: none;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--teal);
  color: var(--surface);
  box-shadow: 0 14px 28px -16px rgba(20, 32, 43, 0.7);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: var(--surface);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(20, 32, 43, 0.22);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-full {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.link-arrow svg {
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile panel. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 239, 230, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 18px 40px -32px rgba(20, 32, 43, 0.5);
}

.site-header.is-scrolled::before {
  background: rgba(255, 252, 247, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-top-h);
  transition: min-height 0.4s var(--ease);
}

.header-inner > .wordmark {
  margin-right: auto;
}

.site-header.is-scrolled .header-inner {
  min-height: calc(var(--header-top-h) - 12px);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.header-licence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-licence svg {
  color: var(--copper);
}

.header-licence b {
  color: var(--ink);
  font-weight: 700;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}

.header-phone:hover {
  color: var(--teal);
}

.header-phone svg {
  color: var(--teal);
}

.wordmark {
  display: inline-flex;
  flex: none;
  line-height: 0;
}

.wordmark__img {
  display: block;
  width: auto;
  max-width: min(300px, 58vw);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.site-header.is-scrolled .wordmark__img {
  max-height: 48px;
}

.header-nav {
  border-top: 1px solid var(--line);
}

.header-nav__inner {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.primary-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin: 0 -11px;
  list-style: none;
}

.primary-menu > li {
  position: relative;
}

.primary-menu a,
.primary-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.primary-menu a:hover,
.primary-menu-toggle:hover {
  color: var(--ink);
  background: rgba(20, 32, 43, 0.05);
}

.primary-menu a[aria-current="page"],
.primary-menu-parent.is-current > .primary-menu-toggle {
  color: var(--teal);
}

.primary-menu a[aria-current="page"]::after,
.primary-menu-parent.is-current > .primary-menu-toggle::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

.primary-menu-toggle svg {
  transition: transform 0.4s var(--ease);
}

.primary-menu-parent.is-open > .primary-menu-toggle svg {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 340px;
  padding: 10px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
}

.primary-menu-parent.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (hover: hover) and (min-width: 1201px) {
  .primary-menu-parent:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.submenu a {
  display: flex;
  width: 100%;
  gap: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-control);
  white-space: normal;
}

.submenu a span {
  font-family: var(--font-head);
  color: var(--copper);
  min-width: 22px;
}

.submenu a:hover {
  background: var(--paper);
}

.submenu a[aria-current="page"]::after {
  display: none;
}

.submenu-all {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.submenu-all a {
  color: var(--teal);
}

/* language switcher */
.lang-switch {
  display: inline-flex;
  flex: none;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.lang-switch button {
  min-width: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.mobile-menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 18px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 23px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 28px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 32, 43, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-panel-extra {
  display: none;
}

@media (max-width: 1200px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header-meta {
    display: none;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    width: min(420px, 100%);
    padding: calc(var(--header-top-h) + 8px) 0 32px;
    overflow-y: auto;
    border-top: 0;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 60px -30px rgba(20, 32, 43, 0.4);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.6s var(--ease), visibility 0.6s;
  }

  .header-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .header-nav__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    min-height: 0;
    padding: 0 24px;
  }

  .header-top {
    position: relative;
    z-index: 130;
  }

  .primary-menu {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .primary-menu > li {
    border-bottom: 1px solid var(--line);
  }

  .primary-menu a,
  .primary-menu-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    border-radius: 0;
    font-size: 17px;
  }

  .primary-menu a:hover,
  .primary-menu-toggle:hover {
    background: none;
  }

  .primary-menu a[aria-current="page"]::after,
  .primary-menu-parent.is-current > .primary-menu-toggle::after {
    display: none;
  }

  .submenu {
    position: static;
    width: auto;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .primary-menu-parent.is-open > .submenu {
    display: block;
    transform: none;
  }

  .submenu a {
    justify-content: flex-start;
    padding: 10px 8px;
    font-size: 15px;
  }

  .nav-panel-extra {
    display: block;
    font-size: 14px;
    color: var(--muted);
  }

  .nav-panel-extra a {
    color: var(--ink);
    font-weight: 600;
  }

  .nav-panel-extra p {
    margin: 0 0 6px;
  }
}

@media (max-width: 480px) {
  .header-lang {
    display: none;
  }

  .header-nav .lang-switch--panel {
    align-self: flex-start;
  }
}

.lang-switch--panel {
  display: none;
}

@media (max-width: 480px) {
  .lang-switch--panel {
    display: inline-flex;
  }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}

.page-hero--simple .page-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: 1.04;
}

.page-hero .lead {
  margin: 24px 0 0;
  max-width: 620px;
}

.page-hero__aside {
  padding-bottom: 6px;
}

.page-hero__waves {
  position: absolute;
  right: -80px;
  top: 0;
  width: 720px;
  height: 100%;
  color: var(--teal);
  opacity: 0.12;
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--teal);
}

.hero-facts {
  display: grid;
  gap: 12px;
}

.hero-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.hero-fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.hero-fact span {
  font-size: 14px;
  color: var(--muted);
}

.hero-fact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 32, 43, 0.1);
  color: var(--teal);
}

/* Home hero */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 88px;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.home-hero .lead {
  max-width: 560px;
  margin: 28px 0 0;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.home-hero__list {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  list-style: none;
}

.home-hero__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}

.home-hero__list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
}

.home-hero__media {
  position: relative;
}

.home-hero__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
}

.home-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__badge {
  position: absolute;
  left: -36px;
  bottom: 40px;
  max-width: 280px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
}

.home-hero__badge small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.home-hero__badge strong {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.home-hero__badge span {
  font-size: 13.5px;
  color: var(--muted);
}

.home-hero__chip {
  position: absolute;
  right: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, 0.92);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.home-hero__chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 32, 43, 0.18);
}

/* ---------- Prose ---------- */
.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose > * {
  margin-top: 0;
  margin-bottom: 0;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 1.375rem;
}

.prose ul,
.prose ol {
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 28px;
}

.prose ul li + li,
.prose ol li + li {
  margin-top: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 10px;
  height: 1.5px;
  background: var(--copper);
}

.prose ol {
  counter-reset: prose-ol;
}

.prose ol li {
  counter-increment: prose-ol;
}

.prose ol li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-head);
  color: var(--copper);
}

.prose strong {
  color: var(--ink);
}

.prose blockquote,
.callout {
  margin: 1.6em 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--copper);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background: var(--surface);
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
}

.callout p {
  margin: 0;
}

.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.prose th {
  background: rgba(20, 32, 43, 0.07);
  font-weight: 700;
  color: var(--ink);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
}

/* Two-column content layout */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}

.content-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 20px;
}

.aside-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.aside-card h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
}

.aside-card p {
  font-size: 15px;
  color: var(--muted);
}

.aside-card--teal {
  background: var(--teal);
  border-color: var(--teal);
  color: rgba(255, 252, 247, 0.82);
}

.aside-card--teal h3 {
  color: var(--surface);
}

.aside-card--teal p {
  color: rgba(255, 252, 247, 0.8);
}

.fact-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.fact-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  font-size: 15px;
}

.fact-list li span:first-child {
  font-family: var(--font-head);
  color: var(--copper);
}

.aside-links {
  display: grid;
  list-style: none;
}

.aside-links li + li {
  border-top: 1px solid var(--line);
}

.aside-links a {
  display: block;
  padding: 12px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.aside-links a:hover {
  color: var(--teal);
}

/* consultant card */
.consultant {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.consultant .consultant__monogram {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--copper);
}

.consultant strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}

.consultant div span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.consultant a {
  font-weight: 700;
}

/* ---------- Program cards ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  perspective: 1400px;
}

.program-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-grid--4 .program-card {
  min-height: 250px;
  padding: 24px;
}

.program-grid--4 .program-card h3 {
  margin-top: 28px;
  font-size: 1.3125rem;
}

.program-card.program-card--cta {
  background: var(--teal);
  border-color: var(--teal);
}

.program-card--cta h3,
.program-card--cta .link-arrow {
  color: var(--surface);
}

.program-card--cta p {
  color: rgba(255, 252, 247, 0.78);
}

.program-card--cta .program-card__num {
  color: var(--paper);
}

@media (max-width: 1100px) {
  .program-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.program-card,
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: var(--text);
  transform-style: preserve-3d;
  transform: translate3d(0, var(--lift, 0), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s var(--ease);
}

.program-card:hover,
.news-card:hover {
  color: var(--text);
}

.program-card.is-tilting,
.news-card.is-tilting {
  --lift: -6px;
  transition: transform 0.15s linear, box-shadow 0.6s var(--ease), border-color 0.4s var(--ease);
  border-color: rgba(20, 32, 43, 0.35);
  box-shadow: var(--shadow-lift);
}

.program-card {
  padding: 28px;
  min-height: 260px;
}

.program-card__num {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--copper);
}

.program-card h3 {
  margin: 36px 0 12px;
  font-size: 1.5rem;
}

.program-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.program-card .link-arrow {
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal);
}

.program-card--featured {
  background: var(--ink);
  border-color: var(--ink);
}

.program-card--featured h3 {
  color: var(--paper);
}

.program-card--featured p {
  color: rgba(243, 239, 230, 0.7);
}

.program-card--featured .link-arrow {
  color: var(--paper);
}

.program-card__tag {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--copper);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* program list (programs.html) */
.program-list {
  display: grid;
  border-top: 1px solid var(--line);
  list-style: none;
}

.program-row {
  border-bottom: 1px solid var(--line);
}

.program-row a {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr) 56px;
  gap: 24px;
  align-items: center;
  padding: 30px 8px;
  color: var(--text);
  transition: background-color 0.4s var(--ease), padding 0.5s var(--ease);
}

.program-row a:hover {
  background: var(--surface);
  padding-left: 20px;
  padding-right: 20px;
}

.program-row__num {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--copper);
}

.program-row h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
}

.program-row p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.program-row__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}

.program-row a:hover .program-row__arrow {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--surface);
  transform: rotate(-45deg);
}

/* ---------- Card reveal (data-card-grid) ---------- */
@keyframes card-in {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.js-card-motion [data-card-grid] .program-card,
.js-card-motion [data-card-grid] .news-card,
.js-card-motion [data-card-grid] .step {
  opacity: 0;
}

.js-card-motion [data-card-grid].is-inview .program-card,
.js-card-motion [data-card-grid].is-inview .news-card,
.js-card-motion [data-card-grid].is-inview .step {
  animation: card-in 0.95s var(--ease) both;
  animation-delay: calc(var(--stagger, 0) * 90ms);
}

.js-card-motion [data-card-grid] .is-revealed {
  opacity: 1;
  animation: none !important;
}

/* ---------- Free question block ---------- */
.ask {
  position: relative;
}

.ask__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.ask__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.ask__intro h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
}

.ask__intro .section-lead {
  margin-bottom: 32px;
}

.ask__points {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  list-style: none;
}

.ask__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
}

.ask__points svg {
  flex: none;
  margin-top: 3px;
  color: var(--teal);
}

/* ---------- Capture form ---------- */
.capture {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-card) + 8px);
  box-shadow: var(--shadow-lift);
}

.capture__label {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.channel-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.channel-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--ink);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.3s var(--ease);
}

.channel-btn:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: rgba(20, 32, 43, 0.2);
  box-shadow: 0 16px 30px -22px rgba(20, 32, 43, 0.5);
}

.channel-btn svg {
  flex: none;
}

.channel-btn-copy {
  display: grid;
  gap: 2px;
  line-height: 1.3;
}

.channel-btn-title {
  font-size: 14.5px;
  font-weight: 700;
}

.channel-btn-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.channel-btn--telegram {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 72px;
  padding: 16px 20px;
  border-color: #229ed9;
  background: #229ed9;
  color: #fff;
}

.channel-btn--telegram:hover {
  color: #fff;
  border-color: #1b8cc2;
  background: #1b8cc2;
}

.channel-btn--telegram .channel-btn-title {
  font-size: 16px;
}

.channel-btn__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.channel-btn__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.channel-btn__go {
  margin-left: auto;
  transition: transform 0.4s var(--ease);
}

.channel-btn--telegram:hover .channel-btn__go {
  transform: translateX(4px);
}

.channel-btn--viber svg {
  color: #7360f2;
}

.channel-btn--whatsapp svg {
  color: #25d366;
}

.whatsapp-warning {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  background: rgba(196, 120, 74, 0.1);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.whatsapp-warning svg {
  flex: none;
  margin-top: 1px;
  color: var(--copper);
}

.messenger-reply {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.capture__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.capture__divider::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.form-body {
  position: relative;
}

.capture-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  position: relative;
  display: block;
  min-width: 0;
}

.field__label {
  display: block;
  margin: 0 0 6px 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.field__label b {
  color: var(--copper);
  font-weight: 700;
}

.capture-form input[type="text"],
.capture-form input[type="email"],
.capture-form input[type="tel"] {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.capture-form input::placeholder {
  color: #8c979d;
}

.capture-form input:hover {
  border-color: #cfc4b3;
}

.capture-form input:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(20, 32, 43, 0.14);
}

.capture-form.was-validated input:invalid {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(196, 120, 74, 0.14);
}

.capture-form .btn {
  margin-top: 6px;
  min-height: 58px;
  font-size: 16px;
}

.form-consent {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.form-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.form-assurance {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 14px 8px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-control);
  text-align: center;
  line-height: 1.3;
}

.form-assurance svg {
  margin-bottom: 6px;
  color: var(--teal);
}

.form-assurance strong {
  font-size: 13px;
  color: var(--ink);
}

.form-assurance span {
  font-size: 12px;
  color: var(--muted);
}

.form-legal {
  margin: 16px 0 0;
  font-size: 13px;
  text-align: center;
}

.form-legal a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(20, 32, 43, 0.3);
  text-underline-offset: 3px;
}

/* success overlay */
.form-success {
  position: absolute;
  inset: -6px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, 0.97);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s;
}

.form-success.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.success-check {
  color: var(--teal);
  margin-bottom: 18px;
}

.success-ring {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
}

.success-tick {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.form-success.active .success-ring {
  animation: draw-stroke 0.8s var(--ease) 0.1s forwards;
}

.form-success.active .success-tick {
  animation: draw-stroke 0.55s var(--ease) 0.7s forwards;
}

@keyframes draw-stroke {
  to {
    stroke-dashoffset: 0;
  }
}

.form-success h3 {
  font-size: 1.75rem;
}

.form-success p {
  max-width: 380px;
  margin: 12px 0 20px;
  font-size: 15px;
  color: var(--muted);
}

.form-success .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

/* intl-tel-input */
.capture-form .iti {
  display: block;
  width: 100%;
}

.capture-form .iti--separate-dial-code .iti__selected-flag {
  padding: 0 10px 0 16px;
  border-radius: var(--radius-control) 0 0 var(--radius-control);
  background: transparent;
}

.capture-form .iti--separate-dial-code .iti__selected-flag:hover,
.capture-form .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background: rgba(20, 32, 43, 0.04);
}

.capture-form .iti__selected-dial-code {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.iti__country-list {
  max-width: min(340px, calc(100vw - 48px));
  margin-top: 6px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  font-family: var(--font-body);
  font-size: 14px;
  white-space: normal;
}

.iti__country {
  padding: 8px 14px;
}

.iti__country.iti__highlight {
  background: rgba(20, 32, 43, 0.08);
}

.iti__divider {
  border-bottom-color: var(--line);
}

.iti__dial-code {
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px 24px;
  border: 1px solid rgba(243, 239, 230, 0.12);
  border-radius: var(--radius-card);
  background: rgba(243, 239, 230, 0.035);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.step:hover {
  background: rgba(243, 239, 230, 0.07);
  border-color: rgba(196, 120, 74, 0.5);
}

.step__num {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1;
  color: var(--copper);
}

.step__title {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
}

.step__text {
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(243, 239, 230, 0.6);
}

.step--final {
  background: var(--copper);
  border-color: var(--copper);
}

.step--final:hover {
  background: #a8643c;
  border-color: #a8643c;
}

.step--final .step__num {
  color: var(--paper);
}

.step__line {
  position: absolute;
  top: 48px;
  right: -19px;
  width: 20px;
  height: 1px;
  background: rgba(196, 120, 74, 0.6);
}

.step:nth-child(4n) .step__line,
.step:last-child .step__line {
  display: none;
}

/* timeline variant (first-steps) */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  list-style: none;
  max-width: 920px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--copper), rgba(196, 120, 74, 0.15));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  padding: 0 0 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(196, 120, 74, 0.5);
  border-radius: 50%;
  background: var(--ink);
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--copper);
}

.timeline-item--final .timeline-item__num {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--paper);
}

.timeline-item h3 {
  padding-top: 14px;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
}

.timeline-item p {
  margin: 10px 0 0;
  max-width: 620px;
  color: rgba(243, 239, 230, 0.66);
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  perspective: 1400px;
}

.news-card {
  overflow: hidden;
}

.news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--line);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.news-card.is-tilting .news-card__media img {
  transform: scale(1.05);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  padding: 4px 11px;
  border: 1px solid rgba(20, 32, 43, 0.3);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
  background: rgba(20, 32, 43, 0.05);
}

.news-card h3 {
  font-size: 1.1875rem;
  line-height: 1.32;
}

.news-card .link-arrow {
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  color: var(--teal);
}

.news-card--featured {
  grid-column: span 2;
  flex-direction: row;
}

.news-card--featured .news-card__media {
  flex: 0 0 48%;
  aspect-ratio: auto;
  min-height: 320px;
}

.news-card--featured .news-card__body {
  padding: 32px;
}

.news-card--featured h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}

.news-card--text {
  background: var(--paper);
}

.news-card--text::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  opacity: 0.85;
}

/* ---------- Article ---------- */
.article-head {
  max-width: 900px;
}

.article-head h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.article-meta strong {
  color: var(--ink);
  font-weight: 700;
}

.article-cover {
  overflow: hidden;
  margin: 0 0 48px;
  border-radius: var(--radius-card);
  aspect-ratio: 21 / 9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.key-fact {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
}

.key-fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--teal);
}

.key-fact span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  transition: border-color 0.3s var(--ease);
}

.faq details[open] {
  border-color: rgba(20, 32, 43, 0.35);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--copper);
  transition: transform 0.4s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 15.5px;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Partner ---------- */
.partner-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  background: var(--ink);
  color: rgba(243, 239, 230, 0.76);
}

.partner-hero .breadcrumbs a,
.partner-hero .breadcrumbs {
  color: rgba(243, 239, 230, 0.55);
}

.partner-hero .breadcrumbs li + li::before {
  color: rgba(243, 239, 230, 0.25);
}

.partner-hero h1 {
  color: var(--paper);
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  line-height: 1.02;
}

.partner-hero .lead {
  margin: 24px 0 0;
  color: rgba(243, 239, 230, 0.75);
}

.partner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: end;
}

.partner-hero__income {
  padding: 32px;
  border: 1px solid rgba(243, 239, 230, 0.14);
  border-radius: var(--radius-card);
  background: rgba(243, 239, 230, 0.05);
}

.partner-hero__income small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.partner-hero__income strong {
  display: block;
  margin: 12px 0 6px;
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
}

.partner-hero__payback {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 239, 230, 0.14);
}

.partner-hero__payback b {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--paper);
}

.partner-hero .page-hero__waves {
  color: var(--copper);
  opacity: 0.18;
}

.partner-hero .home-hero__actions .btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}

.partner-hero .home-hero__actions .btn-primary:hover {
  background: var(--surface);
  color: var(--ink);
}

.partner-hero .home-hero__actions .btn-outline {
  border-color: rgba(243, 239, 230, 0.3);
  color: var(--paper);
}

.partner-hero .home-hero__actions .btn-outline:hover {
  border-color: var(--paper);
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.income-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.income-card__bar {
  height: var(--bar, 40px);
  margin-bottom: 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 32, 43, 0.18), rgba(20, 32, 43, 0.05));
  border: 1px solid rgba(20, 32, 43, 0.18);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1.2s var(--ease);
}

.is-inview .income-card__bar,
.no-js .income-card__bar {
  transform: scaleY(1);
}

.income-card:nth-child(2) .income-card__bar {
  transition-delay: 0.12s;
}

.income-card:nth-child(3) .income-card__bar {
  transition-delay: 0.24s;
}

.income-card:nth-child(4) .income-card__bar {
  transition-delay: 0.36s;
  background: linear-gradient(180deg, var(--teal), rgba(20, 32, 43, 0.7));
}

.income-card__num {
  font-family: var(--font-head);
  color: var(--copper);
  font-size: 14px;
}

.income-card span {
  font-size: 14px;
  color: var(--muted);
}

.income-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-control);
  background: rgba(196, 120, 74, 0.1);
  font-size: 14px;
  color: var(--text);
}

.disclaimer svg {
  flex: none;
  margin-top: 2px;
  color: var(--copper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.split--media {
  align-items: center;
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lift);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commission-list {
  display: grid;
  border-top: 1px solid var(--line);
  list-style: none;
}

.commission-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.commission-list span {
  font-size: 15.5px;
}

.commission-list strong {
  flex: none;
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.chip-cloud li {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--font-head);
  font-size: 1.125rem;
  color: var(--ink);
}

.chip-cloud li:nth-child(3n + 1) {
  border-color: rgba(20, 32, 43, 0.35);
}

.chip-cloud li:nth-child(3n + 2) {
  border-color: rgba(196, 120, 74, 0.45);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  counter-reset: reason;
}

.reasons li {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  font-size: 15px;
  counter-increment: reason;
}

.reasons--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reasons li::before {
  content: counter(reason, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  color: var(--copper);
}

.entry-cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
  padding: 36px 40px;
  border-radius: var(--radius-card);
  background: var(--teal);
  color: rgba(255, 252, 247, 0.82);
}

.entry-cost h3 {
  color: var(--surface);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.entry-cost p {
  margin: 10px 0 0;
}

.entry-cost__value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--surface);
  white-space: nowrap;
}

.timeline-30 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline-30 li {
  position: relative;
  padding: 40px 32px 8px 0;
}

.timeline-30 li + li {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.timeline-30 li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 5px var(--paper);
}

.timeline-30 li + li::before {
  left: -6px;
}

.timeline-30 strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--teal);
}

.timeline-30 p {
  margin: 16px 0 0;
  font-size: 15.5px;
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(20, 32, 43, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314202b' 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 / 12px no-repeat;
}

.section--ink .check-list li::before {
  background-color: rgba(243, 239, 230, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c4784a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.card-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.card-panel h3 {
  font-size: 1.625rem;
  margin-bottom: 20px;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 4px 24px;
  min-width: 0;
}

.contact-item + .contact-item {
  border-left: 1px solid var(--line);
}

.contact-item:first-child {
  padding-left: 0;
}

.contact-item__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--teal);
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: break-word;
}

.contact-item a {
  display: block;
}

.contact-item a:hover {
  color: var(--teal);
}

.contact-item span {
    display: flex;
    font-size: 13px;
    color: var(--muted);
    align-items: center;
    justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 32px;
  background: #eceff0;
  color: var(--muted);
  font-size: 14.5px;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
}

.site-footer .wordmark__img {
  max-width: 280px;
  max-height: 54px;
}

.footer-about {
  margin: 24px 0 0;
  max-width: 340px;
}

.footer-title {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-links a,
.footer-contacts a {
  color: var(--text);
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--ink);
}

.footer-contacts {
  display: grid;
  gap: 14px;
}

.footer-contacts p {
  margin: 0;
}

.footer-contacts a {
  display: block;
}

.footer-licence {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 56px;
  padding: 20px 24px;
  border: 1px solid rgba(20, 32, 43, 0.1);
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, 0.55);
  color: var(--text);
}

.footer-licence svg {
  flex: none;
  color: var(--copper);
}

.footer-licence a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(20, 32, 43, 0.35);
  text-underline-offset: 3px;
}

.footer-licence a:hover {
  color: var(--copper);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 32, 43, 0.1);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--text);
}

.footer-bottom a:hover {
  color: var(--ink);
}

.footer-waves {
  position: absolute;
  right: -120px;
  bottom: -40px;
  width: 760px;
  height: 360px;
  color: var(--ink);
  opacity: 0.06;
  pointer-events: none;
}

/* ---------- 404 / simple ---------- */
.notfound {
  padding: 120px 0 140px;
  text-align: center;
}

.notfound__code {
  font-family: var(--font-head);
  font-size: clamp(7rem, 22vw, 15rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--teal);
}

.notfound h1 {
  margin-top: 24px;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

.notfound p {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
}

.notfound .home-hero__actions {
  justify-content: center;
}

/* ---------- Reveal ---------- */
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal.visible,
.reveal-left.visible,
.reveal-scale.visible,
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-scale {
  opacity: 1;
  transform: none;
}

/* ---------- Page transition ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 20000;
  width: 100%;
  height: 100dvh;
  pointer-events: none;
  visibility: hidden;
}

.page-transition.is-visible,
html.pt-enter .page-transition {
  visibility: visible;
  pointer-events: auto;
}

.page-transition__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-transition__svg path {
  fill: var(--teal);
}

.page-transition__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  line-height: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.page-transition__logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
}

.page-transition.is-marked .page-transition__mark {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  .contact-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .contact-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .page-hero__inner,
  .home-hero__grid,
  .ask__grid,
  .split,
  .content-grid,
  .partner-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .ask__intro,
  .content-aside {
    position: static;
  }

  .home-hero__media {
    max-width: 560px;
  }

  .home-hero__photo {
    aspect-ratio: 4 / 3;
  }

  .home-hero__badge {
    left: 16px;
    bottom: -28px;
  }

  .home-hero {
    padding-bottom: 104px;
  }

  .program-grid,
  .news-grid,
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(4n) .step__line {
    display: block;
  }

  .step:nth-child(2n) .step__line {
    display: none;
  }

  .income-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-row a {
    grid-template-columns: 56px minmax(0, 1fr) 48px;
  }

  .program-row p {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .program-row__arrow {
    grid-row: 1 / 3;
    grid-column: 3;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15.5px;
  }

  .page-hero {
    padding: 40px 0 48px;
  }

  .home-hero {
    padding-top: 32px;
  }

  .program-grid,
  .news-grid,
  .reasons,
  .steps-grid,
  .key-facts,
  .timeline-30 {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-card--featured {
    grid-column: auto;
    flex-direction: column;
  }

  .news-card--featured .news-card__media {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .news-card--featured .news-card__body {
    padding: 24px;
  }

  .step {
    min-height: 0;
  }

  .step__line {
    display: none !important;
  }

  .capture {
    padding: 20px;
    border-radius: var(--radius-card);
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-btn {
    flex-direction: row;
    align-items: center;
    min-height: 64px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-assurances {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-assurance {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    column-gap: 12px;
    padding: 12px 14px;
    text-align: left;
  }

  .form-assurance svg {
    grid-row: 1 / 3;
    margin: 0;
  }

  .contact-strip__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .contact-item,
  .contact-item:first-child {
    padding: 0;
    border-left: 0 !important;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .footer-licence {
    align-items: flex-start;
  }

  .timeline::before {
    left: 27px;
  }

  .timeline-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 32px;
  }

  .timeline-item__num {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .timeline-item h3 {
    padding-top: 6px;
  }

  .timeline-30 li,
  .timeline-30 li + li {
    padding: 28px 0 24px 28px;
    border-left: 1px solid var(--line);
  }

  .timeline-30 {
    border-top: 0;
  }

  .timeline-30 li::before,
  .timeline-30 li + li::before {
    top: 32px;
    left: -6px;
  }

  .entry-cost {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
  }

  .income-grid {
    gap: 12px;
  }

  .income-card {
    padding: 18px;
  }

  .card-panel {
    padding: 24px;
  }

  .program-row a {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 12px 14px;
    padding: 24px 0;
  }

  .program-row a:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .program-row__arrow {
    width: 40px;
    height: 40px;
  }

  .article-cover {
    aspect-ratio: 16 / 10;
  }

  .home-hero__badge {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: -48px 16px 0;
  }

  .home-hero {
    padding-bottom: 64px;
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .home-hero__actions .btn {
    flex: 1 1 100%;
  }

  .commission-list li {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .income-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wordmark__img {
    max-width: min(240px, 62vw);
    max-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-scale,
  .js-card-motion [data-card-grid] .program-card,
  .js-card-motion [data-card-grid] .news-card,
  .js-card-motion [data-card-grid] .step {
    opacity: 1;
    transform: none;
  }

  .income-card__bar {
    transform: none;
  }

  html.pt-enter .page-transition,
  .page-transition {
    display: none !important;
  }
}
