/* =====================================================================
   PHV Modern Layout — common styles (2026)
   Used by: philippines_temporary_visitor.php | apply_visa.php
   Theme: red #97201d · navy ink #14212e · gold #fcd116 (accent)
   Light-first design — no dark backgrounds.
   Font sizes: NOT overridden — inherits site-wide typography.
   Mobile-first: tight padding so 375px screens get max content width.
   ===================================================================== */

:root {
  --phv-navy: #14212e;
  --phv-navy2: #2a4060;
  --phv-red: #97201d;
  --phv-red2: #b02a26;
  --phv-gold: #fcd116;
  --phv-gold-soft: #fff8d6;
  --phv-ink: #14212e;
  --phv-body: #46525e;
  --phv-line: #e2e8f0;
  --phv-line2: #edf1f6;
  --phv-page: #ffffff;
  --phv-soft: #f7f9fc;
  --phv-r: 12px;
  --phv-r-lg: 18px;
  --phv-sh: 0 4px 14px -10px rgba(20, 33, 46, 0.14);
  --phv-sh-md: 0 12px 30px -18px rgba(20, 33, 46, 0.22);
}

/* ---------- Page shell ---------- */
.phv-page {
  background: var(--phv-page);
}

.phv-shell {
  padding-top: 14px;
  padding-bottom: 12px;
}

.phv-shell .phv-breadcrumb ul {
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.phv-shell .phv-breadcrumb li {
  color: #5b6875;
  font-weight: 600;
}

.phv-shell .phv-breadcrumb li.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.phv-shell .phv-breadcrumb li.breadcrumb-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--phv-gold-soft);
  color: var(--phv-red);
  font-size: 10px;
}

.phv-shell .phv-breadcrumb li.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  color: #9aa7b4;
  margin: 0 9px;
  font-weight: 700;
}

/* ---------- Hero (split, light) ---------- */
.phv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid var(--phv-line2);
  border-radius: 22px;
  padding: 38px 42px;
  margin: 12px 0 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--phv-sh);
}

.phv-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 209, 22, 0.30) 0%, rgba(252, 209, 22, 0) 70%);
  pointer-events: none;
}

/* .phv-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--phv-gold) 0 34%, var(--phv-red) 34% 67%, var(--phv-navy2) 67% 100%);
  opacity: 0.85;
} */

.phv-hero h1 {
  color: var(--phv-navy);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 16px;
  position: relative;
}

.phv-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 3px;
  margin-top: 12px;
  background: var(--phv-gold);
}

.phv-hero-lead {
  color: var(--phv-body) !important;
  line-height: 1.7;
  margin-bottom: 18px !important;
}

.phv-hero .apply-btn-wrap {
  margin: 6px 0 4px;
}

/* CTA button */
.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--phv-red) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(151, 32, 29, 0.50);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.apply-btn::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  transition: transform 0.25s ease;
}

.apply-btn:hover,
.apply-btn:focus {
  background: var(--phv-navy) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(20, 33, 46, 0.40);
}

.apply-btn:hover::after {
  transform: translateX(3px);
}

/* Hero media card */
.phv-hero-media {
  display: flex;
  justify-content: center;
  position: relative;
}

.phv-hero-media::before {
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  background: linear-gradient(160deg, rgba(252, 209, 22, 0.30), rgba(151, 32, 29, 0.14));
  border-radius: 18px;
  z-index: 0;
  pointer-events: none;
}

.phv-hero-media .wrapped-image {
  position: relative;
  z-index: 1;
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 460px !important;
  height: auto;
  display: block;
}

.phv-hero-media .img-design {
  width: 100%;
  height: auto;
  border: 5px solid #fff;
  border-radius: 16px;
  box-shadow: var(--phv-sh-md);
  display: block;
}

/* ---------- Section system ---------- */
.phv-sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.phv-section {
  background: #fff;
  border: 1px solid var(--phv-line2);
  border-radius: var(--phv-r-lg);
  padding: 26px 30px 24px;
  box-shadow: var(--phv-sh);
  scroll-margin-top: 90px;
}

.phv-section > p {
  line-height: 1.7;
}

.phv-section b,
.phv-section strong {
  color: var(--phv-ink);
}

.phv-section h2 {
  display: block;
  margin: 0 0 16px;
  color: var(--phv-navy);
  line-height: 1.3;
}

/* .phv-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--phv-gold), transparent);
} */

/* All links inside sections — clearly different from bold text */
.phv-section a {
  color: #0756a5;
}

.phv-section a:hover {
  color: #0756a5;
  /* text-decoration: underline; */
}

/* Links wrapped in <strong> are normal-weight so they read as links, not headings */
.phv-section a strong,
.phv-section strong a {
  font-weight: 600;
}

.phv-section h3 {
  color: var(--phv-red);
  font-weight: 700;
  margin: 20px 0 10px;
}

/* FAQ heading that is an h3 styled as a section header */
.phv-section--faq h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--phv-navy);
}

.phv-section--faq h3::before {
  content: "\f135";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--phv-gold-soft);
  color: var(--phv-red);
}

/* Bootstrap row/col inside sections → neutral */
.phv-section .row {
  margin-left: 0;
  margin-right: 0;
}

.phv-section .col-md-12 {
  padding: 0;
}

/* In-section figure */
.phv-figure {
  margin: 4px 0 18px;
  display: flex;
  justify-content: center;
}

.phv-figure .wrapped-image {
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 520px !important;
  height: auto;
}

.phv-figure .img-design {
  width: 100%;
  height: auto;
  border: 5px solid #fff;
  border-radius: 14px;
  box-shadow: var(--phv-sh);
  display: block;
}

/* ---------- Visa type cards ---------- */
.visa-types-grid,
.phv-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 6px;
}

.visa-types-grid .visa-type-card {
  position: relative;
  background: var(--phv-soft);
  border: 1px solid var(--phv-line2);
  border-radius: var(--phv-r);
  padding: 18px 14px 14px;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.visa-types-grid .visa-type-card::before {
  content: "\f0b1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -12px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--phv-line);
  color: var(--phv-red);
  box-shadow: var(--phv-sh);
  transition: background 0.25s ease, color 0.25s ease;
}

.visa-types-grid .visa-type-card:nth-child(2)::before { content: "\f5ca"; }
.visa-types-grid .visa-type-card:nth-child(3)::before { content: "\f479"; }
.visa-types-grid .visa-type-card:nth-child(4)::before { content: "\f21a"; }
.visa-types-grid .visa-type-card:nth-child(5)::before { content: "\f008"; }
.visa-types-grid .visa-type-card:nth-child(6)::before { content: "\f1ea"; }
.visa-types-grid .visa-type-card:nth-child(7)::before { content: "\f70c"; }
.visa-types-grid .visa-type-card:nth-child(8)::before { content: "\f141"; }

.visa-types-grid .visa-type-card h3 {
  color: var(--phv-red);
  font-weight: 800;
  margin: 12px 0 5px;
}

.visa-types-grid .visa-type-card p {
  color: var(--phv-body);
  line-height: 1.6;
  margin: 0;
}

.visa-types-grid .visa-type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--phv-sh);
  border-color: var(--phv-line);
}

.visa-types-grid .visa-type-card:hover::before {
  background: var(--phv-red);
  color: #fff;
}

/* ---------- Numbered step timeline (icon-item paragraphs) ----------
   display:block + gap:0 — neutralizes any conflicting
   `display:flex; gap` rules other stylesheets may add to .phv-steps */
.phv-steps {
  display: block;
  gap: 0;
  margin: 16px 0 6px;
}

.phv-steps .icon-item {
  position: relative;
  margin: 0;
  padding: 0 0 20px 52px;
  line-height: 1.65;
  color: var(--phv-body);
}

.phv-steps .icon-item:last-child {
  padding-bottom: 2px;
}

.phv-steps .icon-item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--phv-line), var(--phv-line2));
}

.phv-steps .icon-item:last-child::before {
  display: none;
}

.phv-steps .icon-item > .fa {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--phv-gold-soft);
  color: var(--phv-red);
}

.phv-steps .icon-item > b {
  display: block;
  color: var(--phv-navy);
  font-weight: 700;
  margin-bottom: 2px;
}

/* ---------- Document checklist grid ---------- */
.phv-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 6px;
}

.phv-docs .icon-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  background: var(--phv-soft);
  border: 1px solid var(--phv-line2);
  border-radius: 12px;
  line-height: 1.55;
  color: var(--phv-body);
}

.phv-docs .icon-item > .fa {
  position: static;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fbe9e8;
  color: var(--phv-red);
  margin-top: 2px;
}

.phv-docs .icon-item b {
  display: block;
  color: var(--phv-navy);
  font-weight: 700;
  margin-bottom: 2px;
}

/* ---------- Lists (ul) ---------- */
.phv-list {
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.phv-list li {
  position: relative;
  margin: 0;
  padding: 12px 13px 12px 38px;
  background: var(--phv-soft);
  border: 1px solid var(--phv-line2);
  border-radius: 12px;
  line-height: 1.55;
  color: var(--phv-body);
}

.phv-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 12px;
  top: 13px;
  color: var(--phv-red);
}

.phv-list li b,
.phv-list li strong {
  color: var(--phv-navy);
}

/* ---------- Stage tiles (ol) ---------- */
.phv-stages {
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: phvstage;
}

.phv-stages li {
  counter-increment: phvstage;
  position: relative;
  margin: 0;
  padding: 18px 16px 14px;
  border-radius: var(--phv-r);
  background: var(--phv-soft);
  border: 1px solid var(--phv-line2);
  box-shadow: var(--phv-sh);
  overflow: hidden;
  text-align: center;
}

.phv-stages li::before {
  content: counter(phvstage, decimal-leading-zero);
  display: block;
  font-weight: 800;
  color: var(--phv-red);
  line-height: 1;
  margin-bottom: 8px;
}

.phv-stages li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--phv-gold), rgba(252, 209, 22, 0));
}

.phv-stages li strong {
  display: block;
  color: var(--phv-navy);
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- eVisa process step cards ---------- */
.phv-section--steps .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 0;
  counter-reset: phvstep;
}

.phv-section--steps .card-item {
  counter-increment: phvstep;
}

.phv-section--steps .card-step {
  position: relative;
  height: 100%;
  background: #fff !important;
  border: 1px solid var(--phv-line2) !important;
  border-radius: var(--phv-r) !important;
  box-shadow: var(--phv-sh) !important;
  overflow: visible !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.phv-section--steps .card-step::before {
  content: counter(phvstep, decimal-leading-zero);
  position: absolute;
  top: 6px;
  right: 14px;
  font-weight: 800;
  line-height: 1;
  color: var(--phv-line2);
  pointer-events: none;
}

.phv-section--steps .card-step .card-body {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
}

.phv-section--steps .step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--phv-gold-soft);
  color: var(--phv-red);
  flex-shrink: 0;
}

.phv-section--steps .card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-weight: 700;
  color: var(--phv-navy);
  line-height: 1.35;
  margin: 0;
}

.phv-section--steps .step-number {
  display: none;
}

.phv-section--steps .card-text {
  line-height: 1.55;
  color: var(--phv-body);
  margin-bottom: 0;
}

.phv-section--steps .card-text a {
  color: #0756a5;
}

.phv-section--steps .card-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--phv-sh-md) !important;
  border-color: var(--phv-line) !important;
}

/* ---------- Requirement / info tiles ---------- */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 14px 0 6px;
}

.req-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--phv-soft) !important;
  border: 1px solid var(--phv-line2) !important;
  border-left: 1px solid var(--phv-line2) !important;
  border-radius: 13px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.req-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--phv-sh);
}

.req-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--phv-gold-soft);
  color: var(--phv-red);
}

.req-text {
  line-height: 1.5;
  color: var(--phv-body);
}

.req-text strong {
  color: var(--phv-navy);
}

/* ---------- Benefits grid ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.benefits-grid > .benefit-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 18px 16px 14px;
  background: var(--phv-soft);
  border: 1px solid var(--phv-line2);
  border-radius: var(--phv-r);
  line-height: 1.6;
  color: var(--phv-body);
}

.benefits-grid > .benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--phv-red) 0%, var(--phv-gold) 100%);
}

.benefits-grid > .benefit-card > b {
  display: block;
  color: var(--phv-navy);
  font-weight: 700;
  margin: 0 0 6px;
  padding-top: 2px;
}

.benefits-grid > .benefit-card > b::before {
  content: "\f15b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #fbe9e8;
  color: var(--phv-red);
  margin: 0 7px 3px 0;
  vertical-align: middle;
}

.benefits-grid > .benefit-card:nth-child(2) > b::before { content: "\f030"; }
.benefits-grid > .benefit-card:nth-child(3) > b::before { content: "\f0b1"; }
.benefits-grid > .benefit-card:nth-child(4) > b::before { content: "\f479"; }
.benefits-grid > .benefit-card:nth-child(5) > b::before { content: "\f0c0"; }
.benefits-grid > .benefit-card:nth-child(6) > b::before { content: "\f072"; }

.benefits-grid > .benefit-card:nth-child(6n + 1) > b::before { content: "\f15b"; }

/* ---------- FAQ accordion ---------- */
.phv-faq-item {
  margin: 0 0 10px;
  background: var(--phv-soft);
  border: 1px solid var(--phv-line2);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.phv-faq-item:hover {
  border-color: var(--phv-line);
}

.phv-faq-item .accordion_t {
  display: block;
  background: transparent !important;
  color: var(--phv-navy) !important;
  cursor: pointer;
  padding: 14px 50px 14px 16px;
  padding-right: 52px !important;
  width: 100%;
  border: 0;
  text-align: left;
  outline: 0;
  font-weight: 600;
  line-height: 1.45;
  position: relative;
  transition: background 0.2s ease;
}

.phv-faq-item .accordion_t b {
  color: inherit;
}

.phv-faq-item .accordion_t::after {
  content: "\002B";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--phv-line);
  color: var(--phv-red) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 700;
}

.phv-faq-item .accordion_t:hover {
  background: #eef3f8 !important;
}

.phv-faq-item .active_t {
  background: var(--phv-gold-soft) !important;
}

.phv-faq-item .active_t::after {
  content: "\2212";
  background: var(--phv-red) !important;
  color: #fff !important;
  border-color: var(--phv-red) !important;
}

.phv-faq-item .panel_t {
  margin-top: 0;
  padding: 2px 16px 14px;
  background: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.phv-faq-item .panel_t p {
  margin: 0;
  line-height: 1.6;
  color: var(--phv-body);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .visa-types-grid,
  .phv-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phv-section--steps .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .phv-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 26px;
  }

  .phv-hero h1 {
    margin-bottom: 12px;
  }

  .phv-hero-media {
    order: -1;
  }

  .phv-hero-media .wrapped-image {
    max-width: 400px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phv-stages {
    grid-template-columns: 1fr;
  }

  .phv-section {
    padding: 22px 20px 20px;
  }
}

@media (max-width: 767px) {
  .phv-shell {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .phv-hero {
    border-radius: 18px;
    padding: 22px 18px;
    margin: 8px 0 16px;
  }

  .phv-hero-media .wrapped-image {
    max-width: 100%;
  }

  .phv-hero h1::after {
    width: 56px;
  }

  .visa-types-grid,
  .phv-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phv-steps .icon-item {
    padding-left: 48px;
  }

  .phv-section--steps .card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .phv-section {
    padding: 18px 14px 16px;
    border-radius: 14px;
  }

  .phv-section h2 {
    margin-bottom: 12px;
  }

  .phv-section h2::after {
    margin-top: 8px;
  }

  .phv-section h3 {
    margin-top: 16px;
  }
}

@media (max-width: 575px) {
  .phv-section {
    padding: 14px 6px 12px;
    border-radius: 13px;
  }

  .visa-types-grid,
  .phv-types {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .visa-types-grid .visa-type-card {
    padding: 16px 12px 12px;
  }

  .visa-types-grid .visa-type-card::before {
    left: 12px;
    top: -11px;
    width: 32px;
    height: 32px;
  }

  .phv-docs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .phv-docs .icon-item {
    padding: 10px 12px;
  }

  .phv-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .phv-list li {
    padding: 10px 12px 10px 36px;
  }

  .phv-list li::before {
    left: 11px;
    top: 12px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .benefits-grid > .benefit-card {
    padding: 14px 14px 12px;
  }

  .apply-btn {
    width: 100%;
    max-width: 320px;
  }

  .phv-section h2::after {
    width: 48px;
  }

  .phv-section--faq h3 {
    gap: 9px;
  }

  .phv-section--faq h3::before {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .phv-faq-item {
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .phv-faq-item .accordion_t {
    padding: 12px 44px 12px 12px;
  }

  .phv-faq-item .accordion_t::after {
    width: 24px;
    height: 24px;
    right: 10px;
  }

  .phv-faq-item .panel_t {
    padding: 2px 12px 12px;
  }

  .phv-steps .icon-item {
    padding-left: 44px;
    padding-bottom: 16px;
  }

  .phv-steps .icon-item > .fa {
    width: 32px;
    height: 32px;
  }

  .phv-steps .icon-item::before {
    left: 15px;
  }

  .phv-section--steps .card-step .card-body {
    padding: 16px 14px 14px;
    gap: 8px;
  }

  .phv-section--steps .step-icon {
    width: 36px;
    height: 36px;
  }

  .req-grid {
    gap: 8px;
  }

  .req-card {
    padding: 11px 12px;
    gap: 10px;
  }

  .req-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apply-btn,
  .visa-types-grid .visa-type-card,
  .phv-section--steps .card-step,
  .req-card {
    transition: none;
  }
}

/* =====================================================================
   COMPACT DENSITY PASS — deliver more information with less scrolling
   (Appended last — these win by cascade order.)
   ===================================================================== */

.phv-sections {
  gap: 14px;
}

.phv-section {
  padding: 24px 28px 22px;
}

.phv-section h2 {
  margin-bottom: 14px;
}

.phv-section h3 {
  margin: 18px 0 8px;
}

.phv-list {
  margin: 10px 0 14px;
  gap: 8px;
}

.phv-list li {
  padding: 11px 12px 11px 34px;
}

.phv-docs {
  gap: 9px;
}

.phv-docs .icon-item {
  padding: 11px 12px;
}

.phv-stages {
  gap: 10px;
}

.phv-stages li {
  padding: 16px 14px 13px;
}

.phv-section--steps .card-grid {
  gap: 12px;
}

.phv-section--steps .card-step .card-body {
  padding: 18px 16px 16px;
}

.req-grid {
  gap: 9px;
}

.req-card {
  padding: 12px;
}

.benefits-grid {
  gap: 10px;
}

.benefits-grid > .benefit-card {
  padding: 16px 14px 13px;
}

.phv-faq-item {
  margin-bottom: 9px;
}

.phv-steps {
  display: block;
  gap: 0;
  margin: 14px 0 4px;
}

.phv-steps .icon-item {
  padding-bottom: 16px;
}

@media (max-width: 767px) {
  .phv-hero {
    padding: 18px 14px;
    margin: 8px 0 12px;
  }

  .phv-hero h1 {
    margin-bottom: 12px;
  }

  .phv-hero h1::after {
    width: 48px;
    margin-top: 8px;
  }

  .phv-hero-lead {
    margin-bottom: 14px !important;
  }

  .phv-section {
    padding: 14px 12px;
  }

  .phv-section h2 {
    margin-bottom: 8px;
  }

  .phv-section h2::after {
    display: none;
  }

  .phv-section h3 {
    margin-top: 12px;
    margin-bottom: 8px;
  }
}

@media (max-width: 575px) {
  .phv-section {
    padding: 12px 10px;
  }

  .phv-list li {
    padding: 9px 10px 9px 30px;
  }

  .phv-list li::before {
    left: 10px;
    top: 10px;
  }

  .phv-docs .icon-item {
    padding: 9px 10px;
    gap: 9px;
  }

  .benefits-grid > .benefit-card {
    padding: 12px 12px 11px;
  }

  .phv-faq-item {
    margin-bottom: 7px;
    border-radius: 11px;
  }

  .phv-faq-item .accordion_t {
    padding: 11px 40px 11px 11px;
  }

  .phv-faq-item .accordion_t::after {
    right: 9px;
  }

  .phv-faq-item .panel_t {
    padding: 2px 11px 11px;
  }

  .phv-steps .icon-item {
    padding-left: 42px;
    padding-bottom: 12px;
  }

  .phv-steps .icon-item > .fa {
    width: 30px;
    height: 30px;
  }

  .phv-steps .icon-item::before {
    left: 14px;
  }

  .phv-section--steps .card-step .card-body {
    padding: 13px 12px;
    gap: 7px;
  }

  .phv-section--steps .step-icon {
    width: 34px;
    height: 34px;
  }

  .req-card {
    padding: 9px 10px;
    gap: 9px;
  }
}

/* =====================================================================
   FINAL LINK PASS — links must be unmistakably links.
   Placed last + !important so it wins over every strong/b color rule
   (mine and design-layer's) and over any nested <strong>/<b>/<span>.
   Button / CTA links are excluded and keep their own styling.
   ===================================================================== */

.phv-section a:not(.apply-btn):not(.btn),
.phv-section a:not(.apply-btn):not(.btn) strong,
.phv-section a:not(.apply-btn):not(.btn) b,
.phv-section a:not(.apply-btn):not(.btn) span,
.phv-section strong a,
.phv-section b a {
  color: #0756a5 !important;
  /* text-decoration: underline; */
}

.phv-section a:hover:not(.apply-btn):not(.btn) {
  color: #064a89 !important;
}

/* Text wrapped inside a link stays normal-weight so it reads as a link,
   not as a bold heading. */
.phv-section a strong,
.phv-section a b {
  font-weight: 600 !important;
}

/* Keep CTA / button links exactly as designed (red bg, white text, no underline). */
.phv-section a.apply-btn,
.phv-section a.btn,
.phv-section .apply-btn,
.phv-section .apply-btn a {
  color: #fff !important;
  text-decoration: none !important;
}
