/* #########################################################
   PAGE: Visa Services  —  html.pg-visa
   ######################################################### */
/* =========================================================
   Travel Point Holidays & Visa Services – Visa Services
   (extends common.css + about.css)
   ========================================================= */

/* ---------- Hero ---------- */
:where(.pg-visa) .phero--visa .phero__img img{ object-position: 50% 50%; filter: saturate(1.1) contrast(1.04) brightness(1.06); }
:where(.pg-visa) .phero--visa .phero__img::after{ background: linear-gradient(180deg, rgba(255, 190, 110, .35) 0%, transparent 60%); }
:where(.pg-visa) .phero__btns{ display: flex; flex-wrap: wrap; gap: clamp(10px, 1vw, 18px); }
:where(.pg-visa) .phero__btns .btn--outline{ border-radius: 10px; }
:where(.pg-visa) .phero__btns .btn--outline i{ font-size: 1.2em; }

/* ---------- Intro ---------- */
:where(.pg-visa) .story--visa{ padding-bottom: clamp(30px, 3vw, 60px); }
:where(.pg-visa) .story--visa .story__img img{ object-position: 50% 30%; transform: none; }
:where(.pg-visa) .story--visa .story__inner{ align-items: center; }
:where(.pg-visa) .story--visa .story__media{ margin-top: clamp(20px, 2vw, 40px); }
:where(.pg-visa) .story--visa .hl > i{ font-size: clamp(28px, 3vw, 54px); }

/* ---------- Visa types ---------- */
:where(.pg-visa) .vtypes{ position: relative; padding: clamp(36px, 3.6vw, 70px) 0 clamp(40px, 4vw, 76px); background: linear-gradient(180deg, #fbf8f2 0%, #fff 100%); }
:where(.pg-visa) .vtypes::before{
  content: ""; position: absolute; left: 0; top: 0; width: 30%; height: 100%; background-image: var(--pattern); background-size: 110px; opacity: .1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent);
}
:where(.pg-visa) .vtypes .container{ padding-inline: clamp(16px, 4.8vw, 100px); }
:where(.pg-visa) .vgrid{ position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 26px); }
:where(.pg-visa) .vcard{
  background: #fff; border-radius: 14px; border: 1px solid #f3eee6; box-shadow: 0 6px 22px rgba(18, 48, 46, .07);
  padding: clamp(20px, 1.9vw, 36px) clamp(16px, 1.6vw, 30px); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
:where(.pg-visa) .vcard:hover{ transform: translateY(-6px); box-shadow: 0 16px 36px rgba(18, 48, 46, .13); border-color: #f1d9a6; }
:where(.pg-visa) .vcard h3{ font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(18px, 1.29vw, 21.8px); line-height: 1.2; }
:where(.pg-visa) .vcard__country{ font-size: clamp(11px, .85vw, 14px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 6px 0 clamp(8px, .8vw, 14px); }
:where(.pg-visa) .vcard p:last-child{ font-size: clamp(13px, 1.00vw, 16.2px); color: #4e5a5a; line-height: 1.6; }

/* ---------- Offers (dark band, reuses .mv) ---------- */
:where(.pg-visa) .offers{ min-height: 0; }
:where(.pg-visa) .offers .mv__bg{ width: 50%; }
:where(.pg-visa) .offers__inner{ padding-inline: var(--gutter-wide); padding-block: clamp(40px, 4vw, 76px); width: 100%; }
:where(.pg-visa) .offers__head{ display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: clamp(22px, 2.2vw, 40px); }
:where(.pg-visa) .offers__head .mv__title{ margin-bottom: 0; }
:where(.pg-visa) .offers__head p{ max-width: 46ch; font-size: clamp(13px, 1.05vw, 16.4px); color: #dce8e6; line-height: 1.6; }
:where(.pg-visa) .ogrid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 30px); }
:where(.pg-visa) .ocard{
  position: relative; background: rgba(255,255,255,.97); color: var(--text); border-radius: 16px;
  padding: clamp(22px, 2vw, 38px) clamp(18px, 1.8vw, 34px); display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: 0 14px 34px rgba(0,0,0,.22); border-top: 4px solid var(--gold-mid);
  transition: transform .3s;
}
:where(.pg-visa) .ocard:hover{ transform: translateY(-6px); }
:where(.pg-visa) .ocard--featured{ background: linear-gradient(180deg, #fffaf0 0%, #fdf0d6 100%); }
:where(.pg-visa) .ocard__tag{
  font-size: clamp(11px, .85vw, 14px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--heading); background: var(--peach); border-radius: 30px; padding: 4px 14px;
}
:where(.pg-visa) .ocard h3{ font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(19px, 1.33vw, 23.2px); line-height: 1.2; margin: clamp(12px, 1.1vw, 20px) 0 clamp(10px, 1vw, 18px); }
:where(.pg-visa) .ocard__price{ font-size: clamp(21px, 1.8vw, 30px); font-weight: 700; color: #111; line-height: 1.1; }
:where(.pg-visa) .ocard__price small{ display: block; font-size: clamp(11px, .8vw, 13px); font-weight: 500; color: #6b7676; letter-spacing: .04em; margin-bottom: 4px; }
:where(.pg-visa) .ocard__note{ font-size: clamp(12.5px, .95vw, 15.5px); color: #4e5a5a; margin: 8px 0 clamp(18px, 1.6vw, 28px); flex: 1; }
:where(.pg-visa) .ocard .btn{ width: 100%; padding: clamp(11px, 1vw, 16px) 20px; font-size: clamp(13px, 1.05vw, 16px); }

/* ---------- Process ---------- */
:where(.pg-visa) .process{ position: relative; padding: clamp(40px, 4vw, 76px) 0 clamp(30px, 3vw, 56px); background: #fff; }
:where(.pg-visa) .process .section-title{ margin-top: 8px; }
:where(.pg-visa) .steps{ list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 34px); margin-top: clamp(24px, 2.4vw, 44px); counter-reset: none; }
:where(.pg-visa) .step{
  position: relative; text-align: center; padding: clamp(26px, 2.2vw, 40px) clamp(16px, 1.6vw, 30px) clamp(20px, 1.8vw, 32px);
  background: #fff; border-radius: 14px; border: 1px solid #f3eee6; box-shadow: 0 6px 22px rgba(18, 48, 46, .07);
  display: flex; flex-direction: column; align-items: center;
}
:where(.pg-visa) .step:not(:last-child)::after{
  content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: calc(clamp(14px, 1.8vw, 34px) / -2); top: 50%; transform: translate(50%, -50%); z-index: 1;
  width: clamp(26px, 2vw, 36px); height: clamp(26px, 2vw, 36px); border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-mid)); color: var(--heading);
  display: grid; place-items: center; font-size: clamp(11px, .8vw, 14px); box-shadow: 0 4px 12px rgba(211, 162, 74, .35);
}
:where(.pg-visa) .step__num{
  position: absolute; top: 12px; left: 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 1.60vw, 28.2px);
  color: rgba(211, 162, 74, .35); line-height: 1;
}
:where(.pg-visa) .step h3{ font-family: var(--sans); font-weight: 600; color: #0e2c2c; font-size: clamp(15px, 1.17vw, 18.2px); margin-bottom: 8px; }
:where(.pg-visa) .step p{ font-size: clamp(12.5px, .98vw, 16px); color: #3a4444; line-height: 1.55; }

/* ---------- Documents + FAQ ---------- */
:where(.pg-visa) .docs{ position: relative; padding: clamp(20px, 2vw, 40px) 0 clamp(44px, 4.4vw, 84px); background: linear-gradient(180deg, #fff 0%, #fbf8f2 100%); }
:where(.pg-visa) .docs__inner{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 50px); padding-inline: clamp(16px, 4.8vw, 100px); align-items: start; }
:where(.pg-visa) .docs__card{ background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(18, 48, 46, .09); border: 1px solid #f3eee6; }
:where(.pg-visa) .docs__img{ aspect-ratio: 2.6; overflow: hidden; }
:where(.pg-visa) .docs__img img{ width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
:where(.pg-visa) .docs__body{ padding: clamp(20px, 2vw, 38px) clamp(20px, 2.2vw, 42px) clamp(22px, 2.2vw, 40px); }
:where(.pg-visa) .docs__body .commit__title, :where(.pg-visa) .faq .commit__title{ margin: 8px 0 clamp(14px, 1.3vw, 24px); }
:where(.pg-visa) .docs__body .checklist{ grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 10px; margin-bottom: clamp(16px, 1.5vw, 26px); }
:where(.pg-visa) .docs__body .checklist li{ padding-left: 28px; line-height: 1.45; }
:where(.pg-visa) .docs__body .checklist li::before{ top: .72em; }
:where(.pg-visa) .docs__note{ display: flex; gap: 10px; font-size: clamp(12.5px, .95vw, 15px); color: #4e5a5a; background: #fbf5e8; border-radius: 10px; padding: 12px 16px; }
:where(.pg-visa) .docs__note i{ color: var(--orange); margin-top: 3px; }

:where(.pg-visa) .faq{ padding-top: clamp(4px, .6vw, 12px); }
:where(.pg-visa) .faq__item{ background: #fff; border-radius: 12px; border: 1px solid #f0e9dc; box-shadow: 0 4px 16px rgba(18, 48, 46, .05); margin-bottom: clamp(10px, 1vw, 16px); overflow: hidden; }
:where(.pg-visa) .faq__item summary{
  list-style: none; cursor: pointer; position: relative;
  padding: clamp(14px, 1.3vw, 22px) 56px clamp(14px, 1.3vw, 22px) clamp(16px, 1.5vw, 26px);
  font-weight: 600; color: var(--heading); font-size: clamp(14px, 1.12vw, 17.1px); line-height: 1.4;
}
:where(.pg-visa) .faq__item summary::-webkit-details-marker{ display: none; }
:where(.pg-visa) .faq__item summary::after{
  content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--heading); display: grid; place-items: center; font-size: 12px;
  transition: transform .3s, background .3s;
}
:where(.pg-visa) .faq__item[open] summary::after{ content: "\f068"; background: linear-gradient(180deg, var(--gold-light), var(--gold-mid)); }
:where(.pg-visa) .faq__item summary:hover{ color: var(--gold-2); }
:where(.pg-visa) .faq__item p{ padding: 0 clamp(16px, 1.5vw, 26px) clamp(16px, 1.5vw, 24px); font-size: clamp(13px, 1.02vw, 16.2px); color: #4e5a5a; line-height: 1.65; }

/* ---------- Apply CTA (reuses .commit) ---------- */
:where(.pg-visa) #apply .commit__video img{ object-position: 50% 45%; }
:where(.pg-visa) #apply .commit__video{ aspect-ratio: 2.3; }
:where(.pg-visa) .apply__btns{ display: flex; flex-wrap: wrap; gap: clamp(10px, 1vw, 16px); }
:where(.pg-visa) .apply__wa{ padding: clamp(11px, 1.05vw, 20px) clamp(22px, 2.2vw, 40px); font-size: clamp(13px, 1.03vw, 15.5px); border-radius: 9px; }
:where(.pg-visa) .apply__wa i, :where(.pg-visa) .commit__btn .fa-phone{ font-size: 1.1em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :where(.pg-visa) .vgrid, :where(.pg-visa) .ogrid{ grid-template-columns: repeat(2, 1fr); }
  :where(.pg-visa) .offers .mv__bg{ width: 70%; }
  :where(.pg-visa) .offers__head{ flex-direction: column; align-items: flex-start; gap: 12px; }
  :where(.pg-visa) .steps{ grid-template-columns: repeat(2, 1fr); }
  :where(.pg-visa) .step:nth-child(2):not(:last-child)::after{ display: none; }
  :where(.pg-visa) .docs__inner{ grid-template-columns: 1fr; padding-inline: var(--gutter); }
}

@media (max-width: 860px) {
  :where(.pg-visa) .phero__btns{ justify-content: center; }
  :where(.pg-visa) .story--visa .story__media{ margin-top: 30px; }
}

@media (max-width: 640px) {
  :where(.pg-visa) .vtypes .container{ padding-inline: var(--gutter); }
  :where(.pg-visa) .vgrid, :where(.pg-visa) .ogrid, :where(.pg-visa) .steps{ grid-template-columns: 1fr; }
  :where(.pg-visa) .step:not(:last-child)::after{ display: none; }
  :where(.pg-visa) .docs__body .checklist{ grid-template-columns: 1fr; }
  :where(.pg-visa) .apply__btns{ justify-content: center; }
  :where(.pg-visa) .apply__btns .btn{ width: 100%; }
}

/* Readability over the photo + lining figures in Playfair */
:where(.pg-visa) .offers .mv__bg{ opacity: .6; }
:where(.pg-visa) .offers .mv__bg::after{ background: linear-gradient(90deg, rgba(3, 47, 48, .9) 0%, rgba(3, 47, 48, .35) 45%, transparent 100%); mix-blend-mode: normal; }
:where(.pg-visa) .step__num, :where(.pg-visa) .ocard__price, :where(.pg-visa) .story__badge strong{ font-variant-numeric: lining-nums; }

/* =========================================================
   PHONE APP LAYOUT (< 768px)
   ========================================================= */
@media (max-width: 767px) {
  /* Visa types: compact list rows (icon | text) */
  :where(.pg-visa) .vgrid{ gap: 10px; }
  :where(.pg-visa) .vcard{ display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: start; text-align: left; padding: 16px; border-radius: 18px; }
  :where(.pg-visa) .vcard:hover{ transform: none; }
  :where(.pg-visa) .vcard .wcard__icon{ grid-row: 1 / span 3; width: 52px; height: 52px; font-size: 20px; margin: 0; }
  :where(.pg-visa) .vcard h3{ font-size: 17px; }
  :where(.pg-visa) .vcard__country{ margin: 2px 0 6px; font-size: 10.5px; }
  :where(.pg-visa) .vcard p:last-child{ font-size: 13px; line-height: 1.5; }

  /* Visa offers: swipeable cards */
  :where(.pg-visa) .ogrid{
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter-wide) * -1); padding: 6px var(--gutter-wide) 18px; scroll-padding-inline: var(--gutter-wide);
  }
  :where(.pg-visa) .ogrid::-webkit-scrollbar{ display: none; }
  :where(.pg-visa) .ocard{ flex: 0 0 80%; scroll-snap-align: start; padding: 20px 18px; }
  :where(.pg-visa) .ocard:hover{ transform: none; }
  :where(.pg-visa) .ocard h3 br{ display: none; }

  /* Process: numbered rows */
  :where(.pg-visa) .steps{ gap: 10px; margin-top: 20px; }
  :where(.pg-visa) .step{ display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: start; text-align: left; padding: 16px 16px 16px 14px; border-radius: 18px; }
  :where(.pg-visa) .step .wcard__icon{ grid-row: 1 / span 2; width: 48px; height: 48px; font-size: 18px; margin: 0; }
  :where(.pg-visa) .step__num{ left: auto; right: 14px; top: 12px; font-size: 22px; }
  :where(.pg-visa) .step h3{ font-size: 15px; margin-bottom: 4px; padding-right: 34px; }
  :where(.pg-visa) .step p{ font-size: 13px; }

  :where(.pg-visa) .docs__img{ aspect-ratio: 2.2; }
}

/* "View Gulf Jobs" link inside a visa card (also used on the service pages) */
:where(.pg-visa) .vcard__link{ display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; color: var(--heading); white-space: nowrap; }
:where(.pg-visa) .vcard__link i{ font-size: .85em; color: var(--orange-2); transition: transform .25s; }
:where(.pg-visa) .vcard__link:hover{ color: var(--orange-2); }
:where(.pg-visa) .vcard__link:hover i{ transform: translateX(3px); }
