:root {
  --header-height: 96px;
  --ink: #000000;
  --gold: #c2b18a;
  --cream: #f1eee8;
  --white: #fff;
  --display: "Zodiak", Georgia, "Times New Roman", serif;
  --body: "Satoshi", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  font-size: 16px;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-feature-settings: "kern" 1;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 50% minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
  padding: 0 48px 0 clamp(56px, 4.8vw, 92px);
  background: transparent;
  transition: height 220ms ease, box-shadow 220ms ease;
}

.site-header::before { display: none; }
.site-header.is-scrolled { box-shadow: none; }

.brand {
  display: inline-flex;
  align-items: center;
  width: 204px;
}
.brand img { display: block; width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #15233a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.site-nav a {
  position: relative;
  padding: 12px 0;
  white-space: nowrap;
}
.site-nav a::after {
  position: absolute;
  right: 0; bottom: 3px; left: 0;
  height: 2px;
  background: #15233a;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.header-cta,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  padding: 0 22px;
  border: none;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}
.header-cta {
  min-height: 36px;
  padding: 0 14px;
  border: 2px solid #15233a;
  border-radius: 6px;
  background: transparent;
  color: #15233a;
  font-size: 16px;
  font-weight: 500;
}
.header-cta:hover {
  background: rgba(21, 35, 58, 0.08);
  transform: translateY(-1px);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 72svh;
  overflow: hidden;
  background: #eeeae1;
  isolation: isolate;
}
.hero::before {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: -2;
  background-image: url("assets/images/hero.jpg");
  background-position: center 58%;
  background-size: cover;
  content: "";
  animation: heroDrift 1000ms ease-out both;
}
.hero-overlay {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 100%);
}
.hero-content {
  grid-column: 1;
  align-self: center;
  width: min(560px, calc(100% - clamp(112px, 11vw, 184px)));
  margin-left: clamp(56px, 5.5vw, 106px);
  padding-top: var(--header-height);
  color: var(--ink);
  animation: contentIn 700ms ease-out 140ms both;
}
.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.1vw, 62px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero h1 em { display: block; font-style: italic; }
.hero p {
  max-width: 610px;
  margin: 30px 0 32px;
  font-weight: 500;
  line-height: 1.5;
}
.hero-cta {
  min-height: 48px;
  padding: 0 30px;
  background: #f2f2e9;
  color: var(--ink);
  gap: 13px;
  font-size: 13px;
  border-radius: 12px;
}
.hero-cta span {
  font-size: 15px;
  line-height: 0;
  transition: transform 180ms ease;
}

.contingency-wrapper { background: #f6f5f4; }

.contingency-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: start;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 104px) clamp(32px, 5vw, 72px) clamp(84px, 9vw, 112px);
}
.contingency-copy { max-width: 360px; }

.section-rule {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--gold);
}
.contingency-section h2 {
  max-width: 430px;
  margin: 0 0 28px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.2vw, 47px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}
.contingency-section p {
  max-width: 430px;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
}
.contingency-section p+p { margin-top: 22px; }
.contingency-image { width: 100%; margin: 0; overflow: hidden; }
.contingency-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  object-position: center;
}
.contingency-section[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.contingency-section.is-visible { opacity: 1; transform: translateY(0); }

.benefits-wrapper { background: #f1eee8; }

.benefits-section {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 104px) clamp(32px, 5vw, 72px) clamp(84px, 9vw, 112px);
}
.benefits-section h2 {
  margin: 0 0 clamp(58px, 7vw, 86px);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.15vw, 45px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(56px, 8vw, 126px);
  row-gap: clamp(54px, 7vw, 78px);
}
.benefit-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(194, 177, 138, 0.78);
  border-radius: 7px;
  color: #9d8550;
  background: rgba(255, 255, 255, 0.18);
}
.benefit-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-item p {
  max-width: 250px;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
}
.benefits-section[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.benefits-section.is-visible { opacity: 1; transform: translateY(0); }

.process-section {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 104px) clamp(32px, 5vw, 72px) clamp(84px, 9vw, 112px);
}
.process-section h2 {
  max-width: 1040px;
  margin: 0 auto clamp(54px, 6vw, 74px);
  text-align: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.15vw, 45px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}
.process-section h2 span { color: rgba(0, 0, 0, 0.58); }
.process-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 32px;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: calc(25% - 24px);
  min-width: 260px;
}
.process-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}
.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.process-copy h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.25;
}
.process-copy p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
}
.process-section[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.process-section.is-visible { opacity: 1; transform: translateY(0); }

.why-section {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 104px) clamp(32px, 5vw, 72px) clamp(64px, 8vw, 88px);
  background: var(--cream);
}
.why-section h2 {
  margin-top: 20px;
  text-align: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(36px, 3.7vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.why-section .intro-paragraph {
  max-width: 900px;
  margin: 0 auto clamp(58px, 6vw, 76px);
  text-align: center;
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}
.why-item {
  display: grid;
  justify-items: center;
  gap: 20px;
  min-width: 0;
  text-align: center;
}
.why-number {
  color: #9d8550;
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1;
}
.why-item p {
  max-width: 150px;
  margin: 0;
  color: rgba(0, 0, 0, 0.82);
  font-weight: 600;
  line-height: 1.35;
}
.form-note {
  max-width: 520px;
  margin: clamp(70px, 8vw, 96px) auto clamp(74px, 8vw, 96px);
  color: rgba(0, 0, 0, 0.34);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.form-note h2 {
  margin: 0 0 10px;
  color: rgba(0, 0, 0, 0.48);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.form-note p { margin: 0; }

.options-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(330px, 29vw, 382px);
  width: min(100%, 1140px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  isolation: isolate;
}
.options-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  width: min(100% - 40px, 1140px);
  transform: translateY(-3px);
  text-align: left;
}
.options-content h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(40px, 4vw, 50px);
  line-height: 1;
}
.options-content p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.45;
}
.chat-button {
  position: absolute;
  right: 15px; bottom: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 57px; height: 57px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}
.chat-button svg {
  width: 21px; height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-section[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.why-section.is-visible { opacity: 1; transform: translateY(0); }

.site-footer {
  padding: clamp(72px, 8vw, 88px) clamp(28px, 11vw, 208px) clamp(70px, 8vw, 84px);
  background: var(--cream);
  color: var(--ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 62px clamp(40px, 9vw, 120px);
}
.footer-links p,
.footer-bottom p { margin: 0; }
.footer-links p {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}
.footer-links nav,
.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0 7px;
  align-items: center;
  font-size: 18px;
  line-height: 1.55;
}
.footer-links a,
.footer-policies a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-policies { justify-content: flex-end; gap: 34px; }
.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  max-width: 840px;
  font-size: 18px;
  line-height: 1.55;
}
.site-footer .footer-legal {
  max-width: 1000px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes contentIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 50% minmax(0, 1fr) auto;
    gap: 18px;
    padding: 0 32px;
  }
  .brand { width: 176px; }
  .site-nav { gap: 16px; font-size: 14px; }
  .header-cta { font-size: 14px; }
  .contingency-section {
    grid-template-columns: minmax(260px, 0.8fr) minmax(430px, 1.2fr);
    gap: clamp(36px, 5vw, 64px);
  }
  .contingency-section h2 { font-size: clamp(34px, 4vw, 44px); }
  .benefits-grid { column-gap: clamp(32px, 5vw, 56px); }
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 46px; }
}

@media (max-width: 980px) {
  :root { --header-height: 76px; }
  .site-header {
    position: relative;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 28px;
    background: rgba(241, 238, 232, 0.98);
  }
  .site-header::before { display: none; }
  .brand { width: 144px; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 42px; height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 23px; height: 2px;
    margin-left: auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .site-header.is-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .site-header.is-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .site-nav,
  .header-cta {
    position: absolute;
    right: 0; left: 0;
    display: none;
    background: var(--cream);
  }
  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta {
    display: flex;
    animation: menuIn 180ms ease both;
  }
  .site-nav {
    top: var(--header-height);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 40px 18px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
  }
  .site-nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
  }
  .header-cta {
    top: calc(var(--header-height) + 348px);
    width: fit-content;
    left: 40px;
    right: auto;
    z-index: 1;
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
  }

  .hero {
    display: flex;
    min-height: calc(100svh - var(--header-height));
    background-image: url("assets/images/hero-mobile.jpg");
    background-position: center 58%;
    background-size: cover;
  }
  .hero::before { inset: 0; background: inherit; }
  .hero-overlay {
    inset: 0;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.46) 33%, rgba(0, 0, 0, 0.18) 66%, rgba(0, 0, 0, 0.04) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  }
  .hero-content {
    width: min(620px, calc(100% - 56px));
    margin-left: 28px;
    padding-top: clamp(52px, 8vh, 72px);
    color: var(--white);
  }

  .contingency-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding: 68px 28px 76px;
  }
  .contingency-copy,
  .contingency-section h2,
  .contingency-section p { width: 100%; max-width: 560px; }
  .contingency-image { width: 100%; max-width: 720px; }

  .benefits-section { padding: 68px 28px 76px; }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 46px;
  }
  .benefit-item p { max-width: none; }

  .process-section { padding: 68px 28px 76px; }
  .process-section h2 { max-width: 720px; }

  .why-section { padding: 68px 28px 76px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 34px; }
  .why-item p { max-width: 190px; }
}

@media (max-width: 620px) {
  :root { --header-height: 68px; }
  .site-header { padding: 0 22px; }
  .brand { width: 150px; }
  .menu-toggle {
    width: 44px; height: 44px;
    border: 2px solid var(--ink);
    border-radius: 4px;
  }
  .menu-toggle span { width: 24px; margin-right: auto; }
  .site-nav { padding: 18px 40px 16px; }
  .site-nav a { padding: 12px 0; }
  .header-cta {
    top: calc(var(--header-height) + 322px);
    left: 40px;
    min-height: 40px;
  }

  .hero { min-height: 640px; background-position: 58% 58%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.79) 0%, rgba(0, 0, 0, 0.55) 58%, rgba(0, 0, 0, 0.2) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.11) 0%, rgba(0, 0, 0, 0.26) 100%);
  }
  .hero-content {
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-top: 44px;
  }
  .hero h1 {
    max-width: 360px;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 0.98;
  }
  .hero p {
    max-width: 360px;
    margin: 18px 0 22px;
    line-height: 1.5;
  }
  .hero-cta {
    min-height: 42px;
    max-width: 100%;
    padding: 0 18px;
    font-size: 10px;
  }

  .contingency-section {
    gap: 34px;
    padding: 56px 20px 64px;
  }
  .contingency-copy,
  .contingency-section h2,
  .contingency-section p,
  .contingency-image { max-width: none; }
  .section-rule { margin-bottom: 22px; }
  .contingency-section h2 {
    font-size: clamp(31px, 9vw, 40px);
    margin-bottom: 22px;
  }
  .contingency-image img { aspect-ratio: 1.34 / 1; }

  .benefits-section { padding: 56px 20px 64px; }
  .benefits-section h2 {
    margin-bottom: 42px;
    font-size: clamp(31px, 9vw, 40px);
  }
  .benefits-grid { grid-template-columns: 1fr; gap: 30px; }
  .benefit-item { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
  .benefit-icon { width: 34px; height: 34px; }

  .process-section { padding: 56px 20px 64px; }
  .process-section h2 {
    margin-bottom: 38px;
    font-size: clamp(31px, 9vw, 40px);
  }
  .process-section h2 span { display: none; }
  .process-copy h3 { font-size: 21px; }

  .why-section { padding: 56px 20px 64px; }
  .why-section h2 {
    margin-bottom: 42px;
    font-size: clamp(31px, 9vw, 40px);
  }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-item {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    gap: 16px;
    text-align: left;
  }
  .why-item p { max-width: none; align-self: center; }

  .form-note { margin: 52px auto 54px; text-align: left; }

  .options-cta { min-height: 330px; }
  .options-content h2 { font-size: clamp(31px, 9vw, 40px); }
  .options-content p { margin-bottom: 30px; }
  .chat-button { right: 16px; bottom: 16px; width: 42px; height: 42px; }

  .site-footer { padding: 54px 24px 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-policies { justify-content: flex-start; gap: 18px 28px; }
  .footer-links p,
  .footer-links nav,
  .footer-policies,
  .footer-bottom { font-size: 16px; }
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.options-cta-sec {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (max-width: 900px) {
  .options-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .options-content h2 { font-size: clamp(31px, 6vw, 40px); }
}

/* CBI (Citizenship by Investment) section */
.cbi-section {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 104px) clamp(32px, 5vw, 72px) clamp(84px, 9vw, 112px);
}
.cbi-section h2 {
  margin: 0 0 clamp(58px, 7vw, 86px);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.15vw, 45px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.cbi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(28px, 3vw, 44px);
  row-gap: clamp(48px, 6vw, 64px);
}
.cbi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease;
}
.cbi-item:hover { transform: translateY(-4px); }
.cbi-item:hover h3 { color: #9d8550; }
.cbi-flag {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f0ece5;
}
.cbi-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cbi-item h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  transition: color 180ms ease;
}
.cbi-item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
}
.cbi-section[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.cbi-section.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .cbi-grid { column-gap: clamp(24px, 3vw, 36px); }
}
@media (max-width: 980px) {
  .cbi-section { padding: 68px 28px 76px; }
  .cbi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 44px;
  }
}
@media (max-width: 620px) {
  .cbi-section { padding: 56px 20px 64px; }
  .cbi-section h2 {
    margin-bottom: 42px;
    font-size: clamp(31px, 9vw, 40px);
  }
  .cbi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 36px;
  }
  .cbi-item h3 { font-size: 20px; }
  .cbi-item p { font-size: 14px; }
}

.cbi-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}
.cbi-cta-wrap .hero-cta { margin: 0 auto; }

/* Latvia hero override — uses Latvia-specific image */
.hero-latvia::before {
  background-image: url("assets/images/hero-latvia.jpg");
}

@media (max-width: 980px) {
  .hero-latvia {
    background-image: url("assets/images/hero-latvia-mobile.jpg");
  }
}

/* Latvia hero eyebrow + support line */
.hero-eyebrow {
  margin: 0 0 18px !important;
  padding: 6px 14px;
  display: inline-block;
  color: #9d8550;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: 1px solid rgba(157, 133, 80, 0.5);
  border-radius: 4px;
  text-transform: uppercase;
}

.hero-support {
  max-width: 610px;
  margin: 6px 0 28px !important;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: rgba(0, 0, 0, 0.62);
}

@media (max-width: 980px) {
  .hero-latvia .hero-content { color: var(--white); }
  .hero-latvia .hero-support { color: rgba(255, 255, 255, 0.85); }
  .hero-latvia .hero-eyebrow {
    color: #e6d9b4;
    border-color: rgba(230, 217, 180, 0.5);
  }
}

/* Closing Window facts under headline */
.window-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 430px;
}

.window-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.window-fact-number {
  color: #9d8550;
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  line-height: 1.05;
}

.window-fact-label {
  color: rgba(0, 0, 0, 0.62);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Single-item CBI grid variant for Latvia programme block */
.cbi-grid-single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

@media (max-width: 620px) {
  .cbi-grid-single { grid-template-columns: 1fr; }
  .window-facts { max-width: none; }
}
