:root {
  --ink: #102923;
  --muted: #5f716c;
  --forest: #063d2c;
  --forest-2: #0a5139;
  --leaf: #1c7650;
  --lime: #d9ef6f;
  --sun: #f6ce54;
  --sand: #f5f0e6;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #dce4df;
  --soft-green: #eaf3ec;
  --soft-blue: #e9f4f5;
  --coral: #e67852;
  --shadow: 0 24px 60px rgba(4, 47, 33, 0.12);
  --shadow-sm: 0 12px 30px rgba(4, 47, 33, 0.09);
  --radius: 24px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
select,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(28, 118, 80, 0.4);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.service-bar {
  position: relative;
  z-index: 50;
  padding: 8px 20px;
  color: #edf5f0;
  background: #062b21;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.01em;
}

.service-bar strong {
  color: var(--lime);
}

body:not(.application-page):not(.admin-page) > .service-bar {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(9, 69, 49, 0.1);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: transparent url("assets/brazil-flag-round.png") center / contain no-repeat;
  box-shadow: 0 0 0 1px rgba(6, 61, 44, 0.14);
  font-size: 0;
}

.brand-mark::after {
  content: none;
}

.brand-mark span {
  visibility: hidden;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.5vw, 24px);
}

.main-nav a {
  position: relative;
  color: #36534a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--forest);
}

.nav-cta:hover {
  background: var(--forest-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--soft-green);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 118px;
  background:
    radial-gradient(circle at 10% 20%, rgba(217, 239, 111, 0.28), transparent 28%),
    radial-gradient(circle at 95% 10%, rgba(130, 198, 186, 0.2), transparent 29%),
    var(--sand);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(6, 61, 44, 0.18) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  gap: clamp(46px, 7vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--leaf);
  font-weight: 400;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 30px;
  color: #4c625b;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 11px 22px rgba(6, 61, 44, 0.2);
}

.btn-primary:hover {
  background: var(--forest-2);
  box-shadow: 0 15px 26px rgba(6, 61, 44, 0.25);
}

.btn-light {
  color: var(--forest);
  background: var(--white);
  border-color: rgba(6, 61, 44, 0.16);
}

.btn-outline {
  color: var(--forest);
  border-color: rgba(6, 61, 44, 0.24);
  background: transparent;
}

.btn svg,
.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.btn:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 620px;
  margin-top: 20px;
  color: #687871;
  font-size: 12px;
  line-height: 1.55;
}

.hero-note svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--leaf);
}

.hero-media {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 48% 48% 26px 26px / 34% 34% 26px 26px;
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 36, 27, 0.32), transparent 45%);
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.visa-card-float {
  position: absolute;
  z-index: 2;
  right: -28px;
  bottom: -32px;
  width: min(300px, 80%);
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.visa-card-float .card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--leaf);
}

.status-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29a26a;
  box-shadow: 0 0 0 4px rgba(41,162,106,0.12);
  content: "";
}

.visa-card-float strong {
  display: block;
  margin-bottom: 4px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.visa-card-float p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.stamp {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: -36px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 2px dashed rgba(255,255,255,0.7);
  border-radius: 50%;
  color: var(--white);
  background: rgba(6, 61, 44, 0.76);
  box-shadow: 0 8px 24px rgba(5, 44, 31, 0.22);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-9deg);
  backdrop-filter: blur(7px);
}

.checker-shell {
  position: relative;
  z-index: 5;
  width: var(--container);
  margin: -62px auto 0;
}

.checker {
  display: grid;
  align-items: end;
  grid-template-columns: 1.25fr 1fr 1fr auto;
  gap: 14px;
  padding: 25px;
  border: 1px solid rgba(6, 61, 44, 0.1);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checker-intro {
  align-self: center;
  padding-right: 20px;
}

.checker-intro span {
  display: block;
  margin-bottom: 3px;
  color: var(--leaf);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checker-intro strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #51665f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background-color: #fbfcf9;
}

.checker .btn {
  min-height: 51px;
  border-radius: 12px;
}

.trust-row {
  display: grid;
  padding: 55px 0 26px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 8px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 23px;
  height: 23px;
  color: var(--leaf);
}

.trust-item strong {
  display: block;
  color: var(--forest);
  font-size: 13px;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 68px 0;
}

.section-alt {
  background: #f1f5ef;
}

.section-dark {
  color: var(--white);
  background: var(--forest);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-head > div:first-child {
  max-width: 730px;
}

.section-head h2,
.content-head h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
}

.section-head > p {
  max-width: 410px;
  margin-bottom: 2px;
  color: var(--muted);
}

.section-dark .eyebrow,
.section-dark h2 em {
  color: var(--lime);
}

.section-dark .section-head > p {
  color: #bdd0c7;
}

.essentials-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
}

.check-card,
.info-card,
.country-card,
.topic-card,
.faq-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 0 rgba(6, 61, 44, 0.015);
}

.check-card {
  padding: clamp(28px, 4vw, 44px);
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid #ecf0ed;
  color: #334f46;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-icon {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--lime);
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
}

.info-card.highlight {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.info-card.highlight::after {
  position: absolute;
  right: -30px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 26px solid rgba(217,239,111,0.16);
  border-radius: 50%;
  content: "";
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 13px;
  color: var(--forest);
  background: var(--lime);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.info-card h3,
.country-card h3,
.topic-card h3 {
  margin-bottom: 9px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.info-card.highlight h3 {
  color: var(--white);
}

.info-card p,
.country-card p,
.topic-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.info-card.highlight p {
  color: #c7d8d1;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.country-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.country-card::after {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--soft-green);
  content: "";
}

.country-code {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.country-card p {
  flex: 1;
  margin-bottom: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 850;
}

.evisa-panel {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #0b4f3a;
}

.evisa-panel::before {
  position: absolute;
  top: -110px;
  right: -50px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(217,239,111,0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(217,239,111,0.04), 0 0 0 120px rgba(217,239,111,0.03);
  content: "";
}

.evisa-top {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding: clamp(36px, 6vw, 70px);
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
}

.evisa-top h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
}

.evisa-top p {
  color: #c9dbd3;
}

.evisa-top .button-row {
  margin-top: 27px;
}

.evisa-top .btn-primary {
  color: var(--forest);
  background: var(--lime);
}

.evisa-top .btn-light {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.visa-visual {
  position: relative;
  max-width: 420px;
  justify-self: end;
  padding: 30px;
  border-radius: 22px;
  color: var(--ink);
  background: #f9f3e7;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  transform: rotate(2.5deg);
}

.visa-visual::before,
.visa-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.visa-visual::before {
  top: 20px;
  right: 24px;
  width: 70px;
  height: 70px;
  border: 2px dashed var(--coral);
  opacity: 0.65;
}

.visa-visual::after {
  right: 39px;
  bottom: 42px;
  width: 28px;
  height: 28px;
  background: var(--sun);
}

.visa-visual small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.visa-visual h3 {
  margin: 34px 0 4px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.visa-visual .mini-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.visa-visual .mini-grid span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visa-visual .mini-grid strong {
  color: var(--forest);
  font-size: 13px;
}

.stat-row {
  position: relative;
  z-index: 1;
  display: grid;
  border-top: 1px solid rgba(255,255,255,0.13);
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 27px 22px;
  border-right: 1px solid rgba(255,255,255,0.13);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.stat span {
  color: #bcd0c7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid #d8e1d9;
  border-radius: 15px;
  color: #566961;
  background: #f7faf6;
  font-size: 11px;
  line-height: 1.55;
}

.disclaimer strong {
  color: var(--forest);
}

.disclaimer svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--leaf);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.topic-card {
  padding: 34px;
}

.topic-card.wide {
  grid-column: 1 / -1;
}

.topic-card .number {
  display: inline-flex;
  margin-bottom: 27px;
  color: var(--leaf);
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.topic-card p + p {
  margin-top: 15px;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  color: #38534a;
  background: var(--soft-green);
  font-size: 13px;
}

.callout svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--leaf);
}

.timeline {
  display: grid;
  counter-reset: steps;
  grid-template-columns: repeat(5, 1fr);
}

.timeline-step {
  position: relative;
  padding: 0 25px 0 0;
  counter-increment: steps;
}

.timeline-step::before {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(217,239,111,0.45);
  border-radius: 50%;
  color: var(--forest);
  background: var(--lime);
  content: counter(steps, decimal-leading-zero);
  font-size: 11px;
  font-weight: 900;
}

.timeline-step::after {
  position: absolute;
  top: 20px;
  right: 16px;
  left: 51px;
  height: 1px;
  background: rgba(255,255,255,0.21);
  content: "";
}

.timeline-step:last-child::after {
  display: none;
}

.timeline-step h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.timeline-step p {
  margin-bottom: 0;
  color: #bcd0c7;
  font-size: 12px;
}

.faq-wrap {
  display: grid;
  align-items: start;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 7vw, 88px);
}

.faq-intro {
  position: sticky;
  top: 132px;
}

.faq-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
}

.faq-intro > p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-card {
  overflow: hidden;
  border-radius: 16px;
}

.faq-card summary {
  position: relative;
  padding: 22px 56px 22px 24px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--soft-green);
  content: "+";
  font-size: 20px;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 14px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cta-section {
  padding: 45px 0 90px;
}

.cta-card {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(40px, 7vw, 78px);
  border-radius: 32px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(4,52,37,0.98) 0%, rgba(7,77,54,0.95) 63%, rgba(11,101,68,0.88) 100%),
    url("assets/brazil-rio-travel-hero.jpg") center / cover;
  grid-template-columns: 1fr auto;
  gap: 50px;
}

.cta-card::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(217,239,111,0.11);
  border-radius: 50%;
  content: "";
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
}

.cta-card p {
  max-width: 700px;
  margin-bottom: 0;
  color: #c7d9d1;
}

.cta-card .btn-primary {
  color: var(--forest);
  background: var(--lime);
}

.site-footer {
  padding: 67px 0 28px;
  color: #b9cdc4;
  background: #05291f;
}

.footer-grid {
  display: grid;
  padding-bottom: 48px;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 54px;
}

.footer-brand .brand {
  margin-bottom: 19px;
  color: var(--white);
}

.footer-brand .brand-text small {
  color: #87a296;
}

.footer-brand > p {
  max-width: 330px;
  color: #91aa9f;
  font-size: 13px;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: #a9beb5;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-disclaimer {
  padding: 19px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #829c91;
  font-size: 11px;
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: #c1d3cb;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: #779187;
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--white);
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  visibility: hidden;
  background: rgba(3, 31, 23, 0.67);
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  backdrop-filter: blur(8px);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 36px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0,0,0,0.25);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.modal.is-open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--soft-green);
  font-size: 22px;
  cursor: pointer;
}

.result-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  color: var(--forest);
  background: var(--lime);
}

.result-icon svg {
  width: 26px;
  height: 26px;
}

.modal-card h2 {
  margin-bottom: 13px;
  padding-right: 34px;
  font-size: 36px;
  line-height: 1.1;
}

.modal-card > p {
  color: var(--muted);
}

.result-facts {
  display: grid;
  margin: 24px 0;
  padding: 17px;
  border-radius: 14px;
  background: var(--soft-green);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.result-facts span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-facts strong {
  color: var(--forest);
  font-size: 13px;
}

/* Interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 90% 0%, rgba(217,239,111,0.25), transparent 30%),
    var(--sand);
}

.page-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(45px, 7vw, 90px);
}

.page-hero h1 {
  font-size: clamp(44px, 5.8vw, 72px);
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
}

.fact-card {
  position: relative;
  padding: 34px;
  border-radius: 26px;
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.fact-card .tag {
  display: inline-flex;
  margin-bottom: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--lime);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-card h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.1;
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  color: #bcd0c7;
  font-size: 12px;
}

.fact-list li:last-child {
  border-bottom: 0;
}

.fact-list strong {
  color: var(--white);
  font-size: 13px;
  text-align: right;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--leaf);
}

.article-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(45px, 7vw, 90px);
}

.article-content h2 {
  margin: 62px 0 18px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 34px 0 11px;
  color: var(--forest);
  font-size: 18px;
}

.article-content p {
  color: #526861;
}

.article-content ul,
.article-content ol {
  padding-left: 20px;
  color: #526861;
}

.article-content li {
  margin: 9px 0;
  padding-left: 4px;
}

.article-content .lead {
  color: #314f46;
  font-size: 20px;
  line-height: 1.7;
}

.article-content .callout {
  margin: 28px 0;
}

.article-content .disclaimer {
  margin: 32px 0;
}

.side-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 24px;
  border-radius: 18px;
}

.side-card h3 {
  margin-bottom: 15px;
  color: var(--forest);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-card a:not(.btn) {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.side-card a:not(.btn):hover {
  color: var(--leaf);
}

.side-card.accent {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.side-card.accent h3,
.side-card.accent strong {
  color: var(--white);
}

.side-card.accent p {
  color: #bcd0c7;
  font-size: 13px;
}

.side-card.accent .btn {
  width: 100%;
  color: var(--forest);
  background: var(--lime);
}

.requirements-table {
  width: 100%;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  font-size: 13px;
}

.requirements-table th,
.requirements-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.requirements-table tr:last-child th,
.requirements-table tr:last-child td {
  border-bottom: 0;
}

.requirements-table th {
  width: 34%;
  color: var(--forest);
  background: #f2f6f2;
  font-weight: 800;
}

.requirements-table td {
  color: var(--muted);
  background: var(--white);
}

.source-list {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.source-list h3 {
  color: var(--forest);
  font-size: 14px;
}

.source-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 5px 16px 5px 0;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 750;
}

.source-list a::after {
  content: "↗";
}

.legal-page {
  max-width: 820px;
}

.legal-page h2 {
  margin: 42px 0 12px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 500;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  visibility: hidden;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  cursor: pointer;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.back-to-top.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 13px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 48px;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 440px;
  }

  .checker {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .checker-intro {
    grid-column: 1 / -1;
  }

  .checker .btn {
    align-self: end;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    z-index: 45;
    top: 92px;
    right: 16px;
    left: 16px;
    display: flex;
    max-height: calc(100vh - 126px);
    align-items: stretch;
    flex-direction: column;
    overflow-y: auto;
    gap: 0;
    padding: 16px;
    visibility: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px;
    border-bottom: 1px solid #edf0ed;
    font-size: 14px;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    padding: 58px 0 112px;
  }

  .hero-grid,
  .page-hero-grid,
  .evisa-top,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-media {
    max-width: 600px;
    margin-top: 10px;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 440px;
  }

  .stamp {
    left: -15px;
  }

  .visa-card-float {
    right: -10px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .essentials-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .faq-intro,
  .side-nav {
    position: static;
  }

  .country-grid {
    grid-template-columns: 1fr 1fr;
  }

  .country-card:last-child {
    grid-column: 1 / -1;
  }

  .visa-visual {
    width: min(420px, 88%);
    justify-self: center;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .timeline-step::after {
    display: none;
  }

  .cta-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .cta-card .button-row {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 660px) {
  :root {
    --container: calc(100vw - 28px);
    --radius: 19px;
  }

  .service-bar {
    padding: 7px 12px;
    font-size: 10px;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 14px;
  }

  .main-nav {
    top: 80px;
  }

  .hero {
    padding-top: 45px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .button-row .btn {
    width: 100%;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 340px;
  }

  .hero-image-wrap {
    border-radius: 160px 160px 22px 22px;
  }

  .stamp {
    top: 8px;
    width: 78px;
    height: 78px;
    font-size: 11px;
  }

  .visa-card-float {
    right: -4px;
    bottom: -45px;
    width: 86%;
  }

  .checker-shell {
    margin-top: -43px;
  }

  .checker {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .checker-intro {
    grid-column: auto;
  }

  .trust-row {
    padding-top: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 55px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
  }

  .section-head h2,
  .content-head h2 {
    font-size: 39px;
  }

  .country-grid,
  .topic-grid,
  .stat-row,
  .timeline,
  .result-facts {
    grid-template-columns: 1fr;
  }

  .country-card:last-child,
  .topic-card.wide {
    grid-column: auto;
  }

  .country-card {
    min-height: 280px;
  }

  .evisa-panel {
    border-radius: 24px;
  }

  .evisa-top {
    padding: 32px 23px 45px;
    gap: 44px;
  }

  .visa-visual {
    width: 92%;
    padding: 24px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.13);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .faq-wrap {
    gap: 35px;
  }

  .cta-section {
    padding-top: 20px;
  }

  .cta-card {
    padding: 38px 25px;
    border-radius: 24px;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 48px 0 60px;
  }

  .page-hero h1 {
    font-size: 45px;
  }

  .fact-card {
    padding: 27px;
  }

  .article-content .lead {
    font-size: 18px;
  }

  .requirements-table,
  .requirements-table tbody,
  .requirements-table tr,
  .requirements-table th,
  .requirements-table td {
    display: block;
    width: 100%;
  }

  .requirements-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--line);
  }

  .requirements-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .requirements-table td {
    padding-top: 6px;
  }

  .modal-card {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
