:root {
  --ink: #101820;
  --muted: #5d6b73;
  --soft: #f5f5f5;
  --line: #e6e6e6;
  --brand: #c11425;
  --accent: #ffc000;
  --dark: #111111;
  --white: #ffffff;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(17, 17, 17, .10);
  --font-display: var(--font-family);
  --font-body: var(--font-family);
  --font-mono: var(--font-family);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 440px);
  overflow-x: clip;
  line-height: 1.5;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: var(--font-family);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

h1,
h2,
h3 {
  font-family: var(--font-family);
  font-weight: 600;
  margin: 0;
  line-height: 1.12;
}

.eyebrow {
  font-family: var(--font-family);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 18px 20px 0 !important;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}

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

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

.breadcrumb li[aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- HERO ---------- */
.hero {
  padding: 52px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin: 14px 0 20px;
}

.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: #a10f1f;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-dark-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-dark-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}

.hero-visual {
  position: relative;
}

.hero-visual .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--soft);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  max-width: 230px;
}

.float-card .eyebrow {
  margin-bottom: 8px;
}

.float-card .cf-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

.float-card .cf-sub {
  font-size: 13px;
  color: var(--muted);
}

.float-card .stars {
  color: var(--accent);
  margin-top: 10px;
  font-size: 14px;
}

/* ---------- SECTION HELPERS ---------- */
section {
  padding: 76px 0;
}

section.soft-bg {
  background: var(--soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 14px;
}

/* ---------- AEO ANSWER ---------- */
.aeo-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}

.aeo-block p {
  font-size: 17px;
  color: var(--ink);
  max-width: 70ch;
  margin: 0 0 16px;
}

.aeo-block p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- TRUST SUMMARY ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.trust-card .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.trust-card .tc-value {
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
}

.trust-card .tc-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- SEARCH + FILTERS ---------- */
.filter-search-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 12px 18px;
  background: var(--soft);
  margin-bottom: 18px;
}

.search-field svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.search-field input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  width: 100%;
  color: var(--ink);
  font-family: var(--font-family);
}

.filters-toggle {
  display: none;
}

.filter-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-group select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 34px 9px 12px;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%235d6b73'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 150px;
}

/* ---------- REVIEW GRID ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.rc-name {
  font-weight: 600;
  font-size: 16px;
}

.rc-loc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.rc-date {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  font-family: var(--font-family);
}

.rc-stars {
  color: var(--accent);
  font-size: 15px;
}

.rc-stars[aria-hidden] {}

.rc-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.rc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
}

.rc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.rc-source {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

.rc-source:hover {
  text-decoration: underline;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.placeholder-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding-top: 2px;
}

.grid-loadmore {
  text-align: center;
  margin-top: 40px;
}

/* ---------- FEATURED REVIEW ---------- */
.featured {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .5fr 1fr;
  overflow: hidden;
}

.featured-mark {
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.featured-mark span {
  font-family: var(--font-family);
  font-size: 140px;
  color: var(--line);
  line-height: 1;
}

.featured-body {
  padding: 48px;
}

.featured-quote {
  font-family: var(--font-family);
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 24px;
}

.featured-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.featured-cta {
  margin-top: 8px;
}

/* ---------- CATEGORY CARDS (visa type / processing) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease;
}

.cat-card:hover {
  border-color: var(--brand);
}

.cat-card h3 {
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-family);
}

.cat-card .cc-count {
  font-size: 13px;
  color: var(--muted);
}

.cat-card .cc-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 6px;
}

/* ---------- THEME GRID ---------- */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.theme-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  background: var(--white);
}

.theme-card h3 {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-family);
  margin-bottom: 6px;
}

.theme-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- SOURCE CARDS ---------- */
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.source-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.source-card h3 {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.source-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}

.source-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- PROCESS STEPS ---------- */
.steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.step {
  flex: 1;
  position: relative;
  padding: 0 20px;
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step-num {
  font-family: var(--font-family);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.step h3 {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.step-arrow {
  position: absolute;
  top: 8px;
  right: -6px;
  color: var(--line);
  font-size: 20px;
}

.step:last-child .step-arrow {
  display: none;
}

/* ---------- REVIEW POLICY ---------- */
.policy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
}

.policy-item {
  display: flex;
  gap: 14px;
}

.policy-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--brand);
  margin-top: 2px;
}

.policy-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.policy-note {
  margin-top: 32px;
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--line);
}

/* ---------- IMAGE + TEXT SPLIT ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 16px;
}

.split p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 26px;
  max-width: 48ch;
}

/* ---------- SERVICE GRID ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.service-card:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- BEFORE YOU APPLY ---------- */
.link-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-chip {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
}

.link-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .2s ease;
  color: var(--muted);
}

.faq-item[open] .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
}

.faq-item summary {
  list-style: none;
}

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

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--dark);
  color: var(--white);
  padding: 88px 0;
}

.final-cta .wrap {
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 42px);
}

.final-cta p {
  color: rgba(255, 255, 255, .7);
  font-size: 17px;
  max-width: 56ch;
  margin: 18px auto 34px;
}

.final-cta .cta-row {
  justify-content: center;
}

/* Styles migrated from inline attributes */
.page-inline-1 {
  text-align: center;
  margin-top: 20px;
}

.page-inline-2 {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.page-inline-3 {
  color: var(--ink);
}

.page-inline-4 {
  max-width: 760px;
}

.page-inline-5 {
  margin: 0;
  font-size: 16px;
}

.page-inline-6 {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width:1000px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .float-card {
    left: 16px;
    bottom: -24px;
    max-width: none;
    right: 16px;
  }

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

  .cat-grid,
  .cat-grid.three {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .steps {
    flex-direction: column;
    gap: 28px;
  }

  .step {
    padding: 0;
  }

  .step-arrow {
    display: none;
  }

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

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

@media (max-width:820px) {
  .featured {
    grid-template-columns: 1fr;
  }

  .featured-mark {
    padding: 24px;
  }

  .featured-mark span {
    font-size: 80px;
  }

  .featured-body {
    padding: 32px;
  }
}

@media (max-width:760px) {
  .filter-row {
    display: none;
    flex-direction: column;
    gap: 16px;
  }

  .filter-row.open {
    display: flex;
  }

  .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
  }

  .filter-group select {
    width: 100%;
  }

  .policy-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  .wrap {
    padding: 0 20px;
  }

  section {
    padding: 56px 0;
  }

  .aeo-block {
    padding: 28px;
  }

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

@media (max-width:560px) {
  .theme-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid,
  .cat-grid.three {
    grid-template-columns: 1fr;
  }

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