/* Country / apply-visa page */

/* Hero */
.vp-hero { position: relative; min-height: 380px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: var(--ft-navy); box-shadow: var(--ft-shadow-lg); }
.vp-hero__bg { position: absolute; inset: 0; }
.vp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.vp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 45, .92) 0%, rgba(8, 28, 45, .7) 45%, rgba(8, 28, 45, .15) 100%), linear-gradient(0deg, rgba(8, 28, 45, .6), transparent 50%); }
.vp-hero__content { position: relative; z-index: 2; padding: 40px; max-width: 720px; }
.vp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vp-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700 !important; line-height: 1.1; margin: 0 0 18px; }
.vp-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
.vp-hero__facts li { padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.vp-hero__facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.vp-hero__facts strong { font-size: 1.1rem; font-weight: 700; }
.vp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.vp-share { display: flex; align-items: center; gap: 6px; }
.vp-share a, .vp-share button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff; font-size: 1rem; line-height: 1; transition: background-color .2s; }
.vp-share i { display: flex; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; }
.vp-share i::before { display: block; line-height: 1; vertical-align: 0; }
.vp-share .bi-link-45deg::before { transform: translate(3px, 1px); }
.vp-share a:hover, .vp-share button:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.vp-hero__thumbs { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: flex; gap: 10px; }
.vp-hero__thumbs picture { display: block; width: 120px; height: 90px; border-radius: 14px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.vp-hero__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.vp-alert { margin-top: 20px; }

/* Layout */
.vp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 28px; }
.vp-main { display: flex; flex-direction: column; gap: 20px; grid-column: 1; grid-row: 1; }
.vp-aside { grid-column: 2; grid-row: 1; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.vp-aside .ft-section-title { margin-bottom: 2px; }
.vp-aside__help { margin: 4px 0 0; font-size: .9rem; color: var(--ft-muted); text-align: center; }
.vp-aside__help a { color: var(--ft-navy); font-weight: 600; }

/* Option cards */
.vp-option { background: #fff; border: 1px solid var(--ft-line); border-radius: var(--ft-radius); box-shadow: var(--ft-shadow); padding: 20px; transition: box-shadow .2s, border-color .2s; }
.vp-option:hover { box-shadow: var(--ft-shadow-lg); border-color: transparent; }
.vp-option__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed var(--ft-line); }
.vp-option__head h3 { font-size: 1.05rem; font-weight: 700 !important; margin: 0 0 6px; line-height: 1.3; }
.vp-option__price { text-align: right; flex: none; }
.vp-option__price small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ft-muted); }
.vp-option__price strong { font-size: 1.5rem; font-weight: 700; color: var(--ft-navy); white-space: nowrap; }
.vp-option__list { list-style: none; padding: 0; margin: 0 0 6px; }
.vp-option__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .93rem; border-bottom: 1px solid var(--ft-tint); }
.vp-option__list li span { color: var(--ft-muted); display: inline-flex; align-items: center; gap: 8px; }
.vp-option__list li i { color: var(--ft-navy); }
.vp-option__list li strong { font-weight: 600; text-align: right; }
.vp-option__list strong.vp-approx, .vp-timeline strong.vp-approx { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; line-height: 1.2; }
.vp-option__list strong.vp-approx small, .vp-timeline strong.vp-approx small { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ft-muted); }
.vp-fees { margin: 6px 0 14px; }
.vp-fees summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--ft-navy); }
.vp-fees summary::-webkit-details-marker { display: none; }
.vp-fees summary i { transition: transform .2s; }
.vp-fees[open] summary i { transform: rotate(180deg); }
.vp-fees ul { list-style: none; padding: 10px 14px; margin: 10px 0 0; border-radius: 12px; background: var(--ft-tint); }
.vp-fees li { display: flex; justify-content: space-between; padding: 4px 0; font-size: .88rem; }

/* Facts */
.vp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vp-fact { padding: 16px; border-radius: 14px; background: var(--ft-tint); }
.vp-fact > i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ft-navy); color: var(--ft-gold-light); font-size: 1.1rem; margin-bottom: 12px; }
.vp-fact small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ft-muted); }
.vp-fact strong { display: block; font-size: 1.02rem; font-weight: 700; margin-top: 2px; }
.vp-fact p { margin: 6px 0 0; font-size: .8rem; color: var(--ft-muted); line-height: 1.45; }
.vp-subtitle { font-size: 1rem; font-weight: 700 !important; margin: 22px 0 10px; }
.vp-timeline { list-style: none; padding: 0; margin: 0; border: 1px solid var(--ft-line); border-radius: 14px; overflow: hidden; }
.vp-timeline li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.vp-timeline li + li { border-top: 1px solid var(--ft-line); }
.vp-timeline strong { white-space: nowrap; color: var(--ft-navy); }
.vp-note { display: flex; gap: 12px; margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--ft-gold-soft); border: 1px solid #f1df9f; color: #4d3d00; }
.vp-note > i { font-size: 1.2rem; color: var(--ft-gold); }
.vp-note strong { display: block; margin-bottom: 4px; }

/* Documents */
.vp-docs__updated { margin: -6px 0 14px; font-size: .85rem; color: var(--ft-muted); }
.vp-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vp-docs li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ft-line); border-radius: 14px; }
.vp-docs li > i { color: #1a9a5a; font-size: 1.1rem; }
.vp-docs li.is-optional > i { color: var(--ft-muted); }
.vp-docs li > span:first-of-type { flex: 1; font-weight: 500; }
.vp-docs__hint { margin: 14px 0 0; font-size: .9rem; color: var(--ft-muted); }
.vp-docs__hint i { color: var(--ft-gold); }

/* Rejection reasons */
.vp-reasons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vp-reasons li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff5f5; color: #7a271a; font-weight: 500; }
.vp-reasons i { color: #d92d20; font-size: 1.1rem; }

/* Nationality modal list */
.vp-nationalities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.vp-nationalities li { padding: 10px 12px; border-radius: 10px; background: var(--ft-tint); }

@media (max-width: 1199.98px) {
  .vp-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .vp-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .vp-layout { grid-template-columns: 1fr; }
  .vp-aside { grid-column: 1; grid-row: 1; position: static; }
  .vp-main { grid-row: 2; }
  .vp-hero__thumbs { display: none; }
}

@media (max-width: 575.98px) {
  .vp-hero { min-height: 0; border-radius: 22px; }
  .vp-hero::after { background: linear-gradient(0deg, rgba(8, 28, 45, .95) 10%, rgba(8, 28, 45, .55) 70%, rgba(8, 28, 45, .3)); }
  .vp-hero__content { padding: 80px 20px 22px; }
  .vp-hero__facts li { padding: 8px 12px; }
  .vp-hero__facts strong { font-size: 1rem; }
  .vp-hero__actions .ft-btn { width: 100%; }
  .vp-share { width: 100%; justify-content: space-between; }
  .vp-facts, .vp-reasons, .vp-nationalities { grid-template-columns: 1fr; }
  .vp-docs li { flex-wrap: wrap; }
  .vp-alert { flex-wrap: wrap; }
  .vp-alert .ft-btn { width: 100%; }
}
