/**
 * Emirates Visa Application Forms
 * Front end styles. Colour variables are injected inline from the site palette.
 */

/* Brand palette taken from the Emirates Visa Online logo:
   deep blue #0B1D36 and sky blue #C9A227. Both are used together as the
   gradient that runs through the cards, buttons and headings. */

.hvf-wrap {
	--hvf-primary: #0B1D36;
	--hvf-primary-dark: #061224;
	--hvf-primary-soft: #EFE9DA;
	--hvf-primary-tint: #F7F5F0;
	--hvf-accent: #C9A227;
	--hvf-accent-soft: #F5EDD0;
	--hvf-primary-rgb: 11, 29, 54;
	--hvf-accent-rgb: 201, 162, 39;
	--hvf-ink: #16283a;
	--hvf-muted: #5f7488;
	--hvf-border: #d5e3ee;
	--hvf-surface: #f4f9fc;
	--hvf-danger: #c0392b;
	--hvf-success: #1f8a5a;
	--hvf-radius: 14px;
	--hvf-radius-sm: 10px;
	--hvf-ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* The two brand colours as one reusable gradient. */
	--hvf-gradient: linear-gradient(135deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	--hvf-gradient-flat: linear-gradient(90deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	--hvf-gradient-soft: linear-gradient(135deg, var(--hvf-primary-tint) 0%, var(--hvf-accent-soft) 100%);

	/* Everything inside the form is sized in em, so this one value
	   scales the whole block up or down. */
	--hvf-base-size: 17px;

	max-width: 1180px;
	margin: 0 auto;
	color: var(--hvf-ink);
	font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: var(--hvf-base-size);
	line-height: 1.65;
}

.hvf-wrap input,
.hvf-wrap select,
.hvf-wrap textarea,
.hvf-wrap button {
	font-family: inherit;
}

.hvf-wrap *,
.hvf-wrap *::before,
.hvf-wrap *::after {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------
   Keyframes
--------------------------------------------------------------- */

@keyframes hvfRiseIn {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

@keyframes hvfSlideInRight {
	from { opacity: 0; transform: translateX(26px); }
	to   { opacity: 1; transform: none; }
}

@keyframes hvfSlideInLeft {
	from { opacity: 0; transform: translateX(-26px); }
	to   { opacity: 1; transform: none; }
}

@keyframes hvfPop {
	0%   { transform: scale(0.7); opacity: 0; }
	60%  { transform: scale(1.12); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes hvfShake {
	0%, 100% { transform: translateX(0); }
	20%      { transform: translateX(-5px); }
	40%      { transform: translateX(5px); }
	60%      { transform: translateX(-3px); }
	80%      { transform: translateX(3px); }
}

@keyframes hvfSpin {
	to { transform: rotate(360deg); }
}

@keyframes hvfSheen {
	0%   { transform: translateX(-120%) skewX(-18deg); }
	100% { transform: translateX(260%) skewX(-18deg); }
}

@keyframes hvfPulseRing {
	0%   { box-shadow: 0 0 0 0 rgba(var(--hvf-primary-rgb, 16, 73, 107), 0.35); }
	70%  { box-shadow: 0 0 0 10px rgba(var(--hvf-primary-rgb, 16, 73, 107), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--hvf-primary-rgb, 16, 73, 107), 0); }
}

/* Hard guarantee: themes often set display on buttons and lists, which can
   defeat the hidden attribute. Scope a reset so steps and buttons stay hidden. */
.hvf-wrap [hidden] {
	display: none !important;
}

.hvf-progress__list,
.hvf-summary__trust {
	list-style: none !important;
	padding-left: 0;
}

.hvf-progress__list li::marker,
.hvf-summary__trust li::marker {
	content: "";
}

.hvf-wrap button {
	font-family: inherit;
}

/* ---------------------------------------------------------------
   Header
--------------------------------------------------------------- */

.hvf-header {
	text-align: center;
	margin: 0 0 30px;
	animation: hvfRiseIn 0.5s var(--hvf-ease) both;
}

.hvf-eyebrow {
	margin: 0 0 8px;
	font-size: 0.8em;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hvf-accent);
	font-weight: 700;
}

.hvf-title {
	margin: 0 0 12px;
	font-size: clamp(32px, 4.4vw, 48px);
	line-height: 1.15;
	color: var(--hvf-primary);
	letter-spacing: -0.01em;
	background: var(--hvf-gradient-flat);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hvf-lede {
	margin: 0 auto;
	max-width: 640px;
	color: var(--hvf-muted);
	font-size: 1.02em;
}

/* ---------------------------------------------------------------
   Layout
--------------------------------------------------------------- */

.hvf-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 26px;
	align-items: start;
}

.hvf-form {
	position: relative;
	padding: 34px 32px;
	background: #fff;
	border: 1px solid var(--hvf-border);
	border-radius: var(--hvf-radius);
	box-shadow: 0 18px 44px -30px rgba(var(--hvf-primary-rgb), 0.55);
	animation: hvfRiseIn 0.55s var(--hvf-ease) 0.05s both;
}

.hvf-form::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	border-radius: var(--hvf-radius) var(--hvf-radius) 0 0;
	background: var(--hvf-gradient-flat);
}

/* ---------------------------------------------------------------
   Notices
--------------------------------------------------------------- */

.hvf-notice {
	border-radius: var(--hvf-radius-sm);
	padding: 15px 19px;
	margin: 0 0 22px;
	font-size: 0.95em;
	animation: hvfRiseIn 0.4s var(--hvf-ease) both;
}

.hvf-notice--error {
	background: #fdf2f1;
	border: 1px solid #f0c5c0;
	color: #8a2c2c;
}

.hvf-notice ul {
	margin: 8px 0 0;
	padding-left: 18px;
}

/* ---------------------------------------------------------------
   Progress
--------------------------------------------------------------- */

.hvf-progress {
	margin: 6px 0 26px;
}

.hvf-progress__track {
	height: 4px;
	background: var(--hvf-primary-soft);
	border-radius: 99px;
	overflow: hidden;
}

.hvf-progress__bar {
	display: block;
	height: 100%;
	width: 25%;
	border-radius: 99px;
	background: var(--hvf-gradient-flat);
	transition: width 0.5s var(--hvf-ease);
}

.hvf-progress__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.hvf-progress__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.92em;
	color: var(--hvf-muted);
	transition: color 0.3s ease;
}

.hvf-progress__dot {
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--hvf-surface);
	border: 1.5px solid var(--hvf-border);
	font-size: 13px;
	font-weight: 700;
	transition: background 0.3s var(--hvf-ease), border-color 0.3s var(--hvf-ease), color 0.3s ease, transform 0.3s var(--hvf-ease);
}

.hvf-progress__item.is-active {
	color: var(--hvf-primary);
	font-weight: 700;
}

.hvf-progress__item.is-active .hvf-progress__dot {
	background: var(--hvf-gradient);
	border-color: var(--hvf-accent);
	color: #fff;
	transform: scale(1.08);
	animation: hvfPulseRing 1.6s ease-out 1;
}

.hvf-progress__item.is-done .hvf-progress__dot {
	background: var(--hvf-success);
	border-color: var(--hvf-success);
	color: #fff;
}

.hvf-progress__item.is-done .hvf-progress__num {
	font-size: 0;
}

.hvf-progress__item.is-done .hvf-progress__num::after {
	content: "\2713";
	font-size: 13px;
	animation: hvfPop 0.35s var(--hvf-ease) both;
}

/* ---------------------------------------------------------------
   Steps
--------------------------------------------------------------- */

.hvf-step[hidden] {
	display: none;
}

.hvf-step.is-active {
	animation: hvfSlideInRight 0.45s var(--hvf-ease) both;
}

.hvf-step.is-active.is-back {
	animation-name: hvfSlideInLeft;
}

.hvf-step__hint {
	margin: 0 0 18px;
	padding: 13px 16px;
	background: var(--hvf-gradient-soft);
	border-left: 4px solid var(--hvf-accent);
	border-radius: 0 var(--hvf-radius-sm) var(--hvf-radius-sm) 0;
	font-size: 1em;
	color: var(--hvf-muted);
}

.hvf-subtitle {
	margin: 28px 0 14px;
	font-size: 1.25em;
	color: var(--hvf-primary);
}

/* ---------------------------------------------------------------
   Visa picker
--------------------------------------------------------------- */

.hvf-visa-picker {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
	margin: 0 0 24px;
}

.hvf-visa-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 17px 18px;
	border: 1.5px solid var(--hvf-border);
	border-radius: var(--hvf-radius-sm);
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.22s var(--hvf-ease), transform 0.22s var(--hvf-ease), box-shadow 0.22s var(--hvf-ease), background 0.22s ease;
	animation: hvfRiseIn 0.45s var(--hvf-ease) both;
	animation-delay: var(--hvf-delay, 0ms);
}

.hvf-visa-option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.hvf-visa-option:hover {
	border-color: var(--hvf-primary);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -18px rgba(29, 39, 51, 0.7);
}

.hvf-visa-option.is-selected {
	border-color: var(--hvf-accent);
	background: var(--hvf-gradient-soft);
	box-shadow: 0 10px 24px -18px rgba(var(--hvf-primary-rgb), 0.9);
}

.hvf-visa-option__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.hvf-visa-option__name {
	font-size: 1.08em;
	font-weight: 700;
	line-height: 1.25;
}

.hvf-visa-option__price {
	font-size: 1.35em;
	font-weight: 800;
	color: var(--hvf-primary);
	letter-spacing: -0.01em;
}

.hvf-visa-option__check {
	margin-left: auto;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid var(--hvf-border);
	display: grid;
	place-items: center;
	transition: background 0.22s var(--hvf-ease), border-color 0.22s var(--hvf-ease);
}

.hvf-visa-option.is-selected .hvf-visa-option__check {
	background: var(--hvf-gradient);
	border-color: var(--hvf-accent);
}

.hvf-visa-option.is-selected .hvf-visa-option__check::after {
	content: "\2713";
	color: #fff;
	font-size: 12px;
	line-height: 1;
	animation: hvfPop 0.32s var(--hvf-ease) both;
}

.hvf-visa-option input:focus-visible + .hvf-visa-option__body {
	outline: 2px solid var(--hvf-primary);
	outline-offset: 4px;
}

/* ---------------------------------------------------------------
   Fields
--------------------------------------------------------------- */

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

.hvf-grid--docs {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hvf-field--wide {
	grid-column: span 1;
}

.hvf-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--hvf-ink);
}

.hvf-req {
	color: var(--hvf-danger);
	margin-left: 2px;
}

.hvf-optional {
	margin-left: 4px;
	font-weight: 400;
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hvf-muted);
}

.hvf-field input[type="text"],
.hvf-field input[type="email"],
.hvf-field input[type="tel"],
.hvf-field input[type="date"],
.hvf-field select {
	width: 100%;
	padding: 15px 16px;
	border: 1.5px solid var(--hvf-border);
	border-radius: var(--hvf-radius-sm);
	background: #fff;
	font-size: 1.02em;
	font-family: inherit;
	color: var(--hvf-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hvf-field input::placeholder {
	color: #9aa6b1;
}

.hvf-control {
	position: relative;
}

.hvf-control::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -5px;
	border-right: 2px solid var(--hvf-muted);
	border-bottom: 2px solid var(--hvf-muted);
	transform: rotate(45deg);
	pointer-events: none;
	transition: border-color 0.2s ease;
}

.hvf-control select {
	appearance: none;
	padding-right: 34px;
}

.hvf-control:focus-within::after {
	border-color: var(--hvf-primary);
}

.hvf-field input:focus,
.hvf-field select:focus {
	outline: none;
	border-color: var(--hvf-primary);
	box-shadow: 0 0 0 3px rgba(var(--hvf-primary-rgb, 16, 73, 107), 0.12);
	background: #fff;
}

.hvf-field.hvf-has-error input,
.hvf-field.hvf-has-error select {
	border-color: var(--hvf-danger);
	background: #fffafa;
	animation: hvfShake 0.35s ease both;
}

.hvf-field.is-filled input,
.hvf-field.is-filled select {
	border-color: rgba(var(--hvf-primary-rgb, 16, 73, 107), 0.35);
}

.hvf-field-error {
	display: block;
	margin-top: 6px;
	font-size: 0.88em;
	color: var(--hvf-danger);
	animation: hvfRiseIn 0.25s ease both;
}

.hvf-hint {
	margin: 7px 0 0;
	font-size: 0.9em;
	color: var(--hvf-muted);
}

.hvf-hint--center {
	text-align: center;
	margin-top: 16px;
}

.hvf-phone {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 6px;
}

.hvf-control--code select {
	padding-left: 10px;
	padding-right: 26px;
	text-overflow: ellipsis;
}

.hvf-control--code::after {
	right: 10px;
}

/* ---------------------------------------------------------------
   File drop zones
--------------------------------------------------------------- */

.hvf-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 122px;
	padding: 18px 16px;
	border: 1.5px dashed var(--hvf-border);
	border-radius: var(--hvf-radius-sm);
	background: var(--hvf-gradient-soft);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s var(--hvf-ease);
}

.hvf-drop:hover,
.hvf-drop.is-dragging {
	border-color: var(--hvf-primary);
	background: var(--hvf-primary-soft);
	transform: translateY(-2px);
}

.hvf-drop input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.hvf-drop__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid var(--hvf-border);
	display: grid;
	place-items: center;
	transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s var(--hvf-ease);
}

.hvf-drop__icon::after {
	content: "\2191";
	font-size: 14px;
	font-weight: 700;
	color: var(--hvf-primary);
	transition: color 0.2s ease;
}

.hvf-drop__text {
	font-size: 0.92em;
	color: var(--hvf-muted);
	line-height: 1.45;
}

.hvf-drop.is-filled {
	border-style: solid;
	border-color: var(--hvf-success);
	background: #f2fbf6;
}

.hvf-drop.is-filled .hvf-drop__icon {
	background: var(--hvf-success);
	border-color: var(--hvf-success);
	animation: hvfPop 0.35s var(--hvf-ease) both;
}

.hvf-drop.is-filled .hvf-drop__icon::after {
	content: "\2713";
	color: #fff;
}

.hvf-file-name {
	display: block;
	margin-top: 6px;
	font-size: 0.8em;
	color: var(--hvf-muted);
	word-break: break-all;
}

/* ---------------------------------------------------------------
   Group members
--------------------------------------------------------------- */

.hvf-members[hidden] {
	display: none;
}

.hvf-member {
	padding: 18px;
	margin-bottom: 14px;
	border: 1px solid var(--hvf-border);
	border-radius: var(--hvf-radius-sm);
	background: var(--hvf-gradient-soft);
	animation: hvfRiseIn 0.4s var(--hvf-ease) both;
}

.hvf-member__title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--hvf-primary);
}

.hvf-member__badge {
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--hvf-gradient);
	color: #fff;
	font-size: 0.78em;
	letter-spacing: 0;
}

/* ---------------------------------------------------------------
   Review
--------------------------------------------------------------- */

.hvf-review {
	margin-top: 24px;
	padding: 18px 20px;
	background: var(--hvf-surface);
	border: 1px solid var(--hvf-border);
	border-radius: var(--hvf-radius-sm);
}

.hvf-review .hvf-subtitle {
	margin-top: 0;
}

.hvf-review__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 20px;
	margin: 0;
}

.hvf-review__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--hvf-border);
	font-size: 0.98em;
	animation: hvfRiseIn 0.3s var(--hvf-ease) both;
}

.hvf-review__row dt {
	color: var(--hvf-muted);
}

.hvf-review__row dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

/* ---------------------------------------------------------------
   Rating
--------------------------------------------------------------- */

.hvf-rating {
	margin-top: 22px;
	text-align: center;
}

.hvf-rating__label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.98em;
	font-weight: 600;
}

.hvf-stars {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 5px;
}

.hvf-star input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.hvf-star span[aria-hidden] {
	display: inline-block;
	font-size: 27px;
	line-height: 1;
	color: #d6dde3;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.2s var(--hvf-ease);
}

.hvf-star:hover span[aria-hidden],
.hvf-star:hover ~ .hvf-star span[aria-hidden],
.hvf-star input:checked ~ span[aria-hidden] {
	color: var(--hvf-accent);
	transform: scale(1.14);
}

.hvf-star input:focus-visible ~ span[aria-hidden] {
	outline: 2px solid var(--hvf-primary);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Consent
--------------------------------------------------------------- */

.hvf-consent {
	position: relative;
	margin-top: 22px;
}

.hvf-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1em;
	line-height: 1.55;
	cursor: default;
}

.hvf-checkbox__text label,
.hvf-checkbox__box {
	cursor: pointer;
}

/* The wording sits inline, not as a stacked field label. */
.hvf-checkbox__text label {
	display: inline;
	margin: 0;
	font-size: inherit;
	font-weight: 400;
	color: inherit;
}

.hvf-checkbox input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.hvf-checkbox__box {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border: 1.5px solid var(--hvf-border);
	border-radius: 6px;
	background: #fff;
	display: grid;
	place-items: center;
	transition: background 0.2s var(--hvf-ease), border-color 0.2s var(--hvf-ease);
}

.hvf-checkbox input:checked + .hvf-checkbox__box {
	background: var(--hvf-gradient);
	border-color: var(--hvf-accent);
}

.hvf-checkbox input:checked + .hvf-checkbox__box::after {
	content: "\2713";
	color: #fff;
	font-size: 12px;
	animation: hvfPop 0.3s var(--hvf-ease) both;
}

.hvf-checkbox input:focus-visible + .hvf-checkbox__box {
	box-shadow: 0 0 0 3px rgba(var(--hvf-primary-rgb, 16, 73, 107), 0.2);
}

.hvf-consent.hvf-has-error .hvf-checkbox__box {
	border-color: var(--hvf-danger);
	animation: hvfShake 0.35s ease both;
}

.hvf-recaptcha {
	margin-top: 16px;
}

/* ---------------------------------------------------------------
   Navigation buttons
--------------------------------------------------------------- */

.hvf-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--hvf-border);
}

.hvf-btn {
	position: relative;
	overflow: hidden;
	padding: 16px 36px;
	border: 1.5px solid transparent;
	border-radius: var(--hvf-radius-sm);
	font-size: 1.05em;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: transform 0.18s var(--hvf-ease), box-shadow 0.22s ease, background 0.2s ease, filter 0.2s ease;
}

.hvf-btn[hidden] {
	display: none;
}

.hvf-btn--next,
.hvf-btn--submit {
	margin-left: auto;
	background: var(--hvf-gradient);
	color: #fff;
	box-shadow: 0 12px 26px -14px rgba(var(--hvf-primary-rgb), 0.95);
}

.hvf-btn--submit {
	background: var(--hvf-gradient);
}

.hvf-btn--next::after,
.hvf-btn--submit::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
	transform: translateX(-120%) skewX(-18deg);
}

.hvf-btn--next:hover::after,
.hvf-btn--submit:hover::after {
	animation: hvfSheen 0.8s ease;
}

.hvf-btn--next:hover,
.hvf-btn--submit:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
}

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

.hvf-btn--ghost {
	background: #fff;
	border-color: var(--hvf-border);
	color: var(--hvf-muted);
}

.hvf-btn--ghost:hover {
	border-color: var(--hvf-primary);
	color: var(--hvf-primary);
}

.hvf-btn:focus-visible {
	outline: 2px solid var(--hvf-accent);
	outline-offset: 3px;
}

.hvf-spinner {
	display: none;
	width: 15px;
	height: 15px;
	margin-left: 9px;
	vertical-align: -2px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
}

.hvf-btn.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.hvf-btn.is-loading .hvf-spinner {
	display: inline-block;
	animation: hvfSpin 0.7s linear infinite;
}

/* ---------------------------------------------------------------
   Sticky summary
--------------------------------------------------------------- */

.hvf-aside {
	position: sticky;
	top: 24px;
	animation: hvfRiseIn 0.55s var(--hvf-ease) 0.12s both;
}

.hvf-summary {
	padding: 26px 24px;
	border-radius: var(--hvf-radius);
	background: linear-gradient(160deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	color: #fff;
	box-shadow: 0 20px 40px -28px rgba(29, 39, 51, 0.9);
}

.hvf-summary__label {
	display: block;
	font-size: 0.7em;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.72;
}

.hvf-summary__name {
	display: block;
	margin: 7px 0 18px;
	font-size: 1.4em;
	font-weight: 700;
	line-height: 1.25;
}

.hvf-summary__rows {
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hvf-summary__rows > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: 0.96em;
}

.hvf-summary__rows dt {
	opacity: 0.75;
}

.hvf-summary__rows dd {
	margin: 0;
	font-weight: 600;
}

.hvf-summary__deposit {
	margin: 14px 0;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 10px;
	font-size: 0.82em;
}

.hvf-summary__deposit-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-weight: 700;
	color: #fff;
}

.hvf-summary__deposit p {
	margin: 6px 0 0;
	opacity: 0.85;
	line-height: 1.5;
}

.hvf-summary__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.84em;
	opacity: 0.9;
}

.hvf-summary__total strong {
	font-size: 2.15em;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.hvf-summary__total strong.is-bumping {
	animation: hvfPop 0.35s var(--hvf-ease) both;
}

.hvf-summary__trust {
	margin: 18px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	list-style: none;
	font-size: 0.88em;
	opacity: 0.9;
}

.hvf-summary__trust li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 7px;
	line-height: 1.4;
}

.hvf-summary__trust li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #fff;
	font-weight: 700;
}

/* ---------------------------------------------------------------
   Honeypot
--------------------------------------------------------------- */

.hvf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------
   Visa cards shortcode
--------------------------------------------------------------- */

.hvf-visa-grid {
	display: grid;
	grid-template-columns: repeat(var(--hvf-columns, 4), minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 30px;
}

.hvf-visa-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border: 1.5px solid var(--hvf-border, #dde4ea);
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s var(--hvf-ease), box-shadow 0.2s ease;
	animation: hvfRiseIn 0.45s var(--hvf-ease) both;
}

.hvf-visa-card::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: linear-gradient(90deg, var(--hvf-primary, #0B1D36), var(--hvf-accent, #C9A227));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--hvf-ease);
}

.hvf-visa-card:hover {
	border-color: var(--hvf-accent, #C9A227);
	transform: translateY(-3px);
	box-shadow: 0 16px 30px -22px rgba(29, 39, 51, 0.8);
}

.hvf-visa-card:hover::before {
	transform: scaleX(1);
}

.hvf-visa-card__name {
	font-weight: 700;
	font-size: 1em;
}

.hvf-visa-card__price {
	font-size: 1.5em;
	font-weight: 800;
	color: var(--hvf-primary, #0B1D36);
}

.hvf-visa-card__cta {
	margin-top: 4px;
	font-size: 0.72em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hvf-muted, #5f7488);
}

/* ---------------------------------------------------------------
   Terms and conditions modal
--------------------------------------------------------------- */

.hvf-terms-link {
	color: var(--hvf-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.hvf-terms-link:hover,
.hvf-terms-link:focus {
	color: var(--hvf-accent);
}

/* The modal is moved to the end of <body> at runtime so a transformed
   Elementor ancestor cannot trap the fixed positioning. That takes it out
   of .hvf-wrap, so it carries its own copy of the brand variables. */
.hvf-modal {
	--hvf-primary: #0B1D36;
	--hvf-accent: #C9A227;
	--hvf-primary-rgb: 11, 29, 54;
	--hvf-primary-tint: #F7F5F0;
	--hvf-accent-soft: #F5EDD0;
	--hvf-muted: #5f7488;
	--hvf-border: #d5e3ee;
	--hvf-radius: 14px;
	--hvf-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hvf-gradient: linear-gradient(135deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	--hvf-gradient-flat: linear-gradient(90deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	--hvf-gradient-soft: linear-gradient(135deg, var(--hvf-primary-tint) 0%, var(--hvf-accent-soft) 100%);

	font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 17px;
	color: #16283a;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(9, 30, 46, 0.62);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s var(--hvf-ease), visibility 0.28s var(--hvf-ease);
}

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

.hvf-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(920px, 100%);
	height: min(80vh, 760px);
	background: #fff;
	border-radius: var(--hvf-radius);
	overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(9, 30, 46, 0.7);
	transform: translateY(18px) scale(0.98);
	transition: transform 0.32s var(--hvf-ease);
}

.hvf-modal.is-open .hvf-modal__dialog {
	transform: none;
}

.hvf-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	background: var(--hvf-gradient-flat);
	color: #fff;
}

.hvf-modal__title {
	margin: 0;
	font-size: 1.15em;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.hvf-modal__close {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s var(--hvf-ease);
}

.hvf-modal__close:hover {
	background: rgba(255, 255, 255, 0.32);
	transform: rotate(90deg);
}

.hvf-modal__body {
	position: relative;
	flex: 1 1 auto;
	background: #fff;
}

.hvf-modal__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.hvf-modal__loader {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--hvf-muted);
	font-size: 0.9em;
}

.hvf-modal.is-ready .hvf-modal__loader {
	display: none;
}

.hvf-modal[hidden] {
	display: none !important;
}

/* Shown only if the terms page refuses to load in a frame. */
.hvf-modal__fallback {
	position: absolute;
	inset: 0;
	display: none;
	place-content: center;
	gap: 14px;
	padding: 30px;
	text-align: center;
	background: #fff;
	color: var(--hvf-muted);
	line-height: 1.6;
}

.hvf-modal.is-blocked .hvf-modal__fallback {
	display: grid;
}

.hvf-modal.is-blocked .hvf-modal__loader,
.hvf-modal.is-blocked .hvf-modal__frame {
	display: none;
}

.hvf-modal__fallback a {
	color: var(--hvf-primary);
	font-weight: 700;
}

.hvf-modal__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 22px;
	border-top: 1px solid var(--hvf-border);
	background: var(--hvf-gradient-soft);
	font-size: 0.88em;
}

.hvf-modal__foot a {
	color: var(--hvf-primary);
	font-weight: 600;
}

.hvf-modal__accept {
	padding: 11px 26px;
	border: 0;
	border-radius: 99px;
	background: var(--hvf-gradient);
	color: #fff;
	font-family: inherit;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s var(--hvf-ease);
}

.hvf-modal__accept:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

body.hvf-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.hvf-modal {
		padding: 12px;
	}

	.hvf-modal__dialog {
		height: 88vh;
	}

	.hvf-modal__foot {
		justify-content: center;
	}
}

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */

@media (max-width: 1000px) {
	.hvf-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.hvf-aside {
		position: static;
		order: -1;
	}
}

@media (max-width: 820px) {
	.hvf-grid,
	.hvf-grid--docs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hvf-review__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.hvf-progress__label {
		display: none;
	}

	.hvf-progress__list {
		justify-items: center;
	}

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

@media (max-width: 560px) {
	.hvf-wrap {
		--hvf-base-size: 16px;
	}

	.hvf-form {
		padding: 24px 18px;
	}

	.hvf-grid,
	.hvf-grid--docs,
	.hvf-visa-picker,
	.hvf-visa-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hvf-nav {
		flex-wrap: wrap;
	}

	.hvf-btn {
		flex: 1 1 auto;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hvf-wrap *,
	.hvf-wrap *::before,
	.hvf-wrap *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ===============================================================
   Visa pricing cards  [emirates_visa_cards]
   =============================================================== */

.hvf-cards {
	--hvf-primary: #0B1D36;
	--hvf-primary-dark: #061224;
	--hvf-accent: #C9A227;
	--hvf-primary-rgb: 11, 29, 54;
	--hvf-accent-rgb: 201, 162, 39;
	--hvf-ink: #16283a;
	--hvf-muted: #5f7488;
	--hvf-border: #d5e3ee;
	--hvf-gradient: linear-gradient(135deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	--hvf-gradient-flat: linear-gradient(90deg, var(--hvf-primary) 0%, var(--hvf-accent) 100%);
	--hvf-gradient-soft: linear-gradient(135deg, #F7F5F0 0%, #F5EDD0 100%);
	--hvf-base-size: 17px;

	max-width: 1240px;
	margin: 0 auto;
	font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
	font-size: var(--hvf-base-size);
	color: var(--hvf-ink);
}

.hvf-cards *,
.hvf-cards *::before,
.hvf-cards *::after {
	box-sizing: border-box;
}

.hvf-cards [hidden] {
	display: none !important;
}

/* Tabs */

.hvf-tabs {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 0 auto 34px;
	width: fit-content;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 26px -20px rgba(0, 0, 0, 0.6);
}

.hvf-tab {
	position: relative;
	z-index: 1;
	padding: 15px 34px;
	border: 0;
	background: #0e2233;
	color: #fff;
	font-family: inherit;
	font-size: 1.08em;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.28s var(--hvf-ease, ease), color 0.28s ease;
}

.hvf-tab.is-active {
	background: var(--hvf-gradient);
}

.hvf-tab:hover:not(.is-active) {
	background: #17344b;
}

.hvf-tab:focus-visible {
	outline: 2px solid var(--hvf-accent);
	outline-offset: -4px;
}

/* Grid */

.hvf-cards__grid {
	display: grid;
	grid-template-columns: repeat(var(--hvf-columns, 3), minmax(0, 1fr));
	gap: 26px;
	align-items: stretch;
	animation: hvfRiseIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Card */

.hvf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 38px 30px 32px;
	background: #fff;
	border: 1px solid var(--hvf-border);
	border-radius: 16px;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 16px 40px -28px rgba(var(--hvf-primary-rgb), 0.55);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
	animation: hvfRiseIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--hvf-delay, 0ms);
}

.hvf-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 6px;
	background: var(--hvf-gradient-flat);
}

/* Gradient wash that sweeps up from the base of the card on hover. */
.hvf-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 70%;
	background: linear-gradient(0deg, rgba(var(--hvf-accent-rgb), 0.14), transparent);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hvf-card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--hvf-accent-rgb), 0.55);
	box-shadow: 0 30px 54px -30px rgba(var(--hvf-primary-rgb), 0.75);
}

.hvf-card:hover::after {
	opacity: 1;
}

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

.hvf-card__badge {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 12px;
	border-radius: 99px;
	background: var(--hvf-gradient);
	color: #fff;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hvf-card__title {
	margin: 10px 0 16px;
	font-size: 1.95em;
	font-weight: 700;
	line-height: 1.15;
	color: var(--hvf-ink);
	letter-spacing: -0.01em;
}

.hvf-card__title sup {
	margin-left: 2px;
	font-size: 0.55em;
	font-weight: 600;
	color: var(--hvf-primary);
	vertical-align: super;
}

.hvf-card__rule {
	display: block;
	width: 72%;
	height: 3px;
	margin: 0 0 22px;
	border-radius: 99px;
	background: var(--hvf-gradient-flat);
	opacity: 0.85;
}

.hvf-card__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	margin: 0 0 22px;
}

.hvf-card__amount {
	font-size: 3.2em;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	background: var(--hvf-gradient-flat);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--hvf-primary);
}

.hvf-card__currency {
	font-size: 1.4em;
	font-weight: 600;
	color: var(--hvf-primary);
}

.hvf-card__list {
	width: 100%;
	margin: 0 0 26px;
	padding: 0;
	list-style: none !important;
	text-align: left;
}

.hvf-card__list li {
	position: relative;
	padding: 0 0 0 30px;
	margin-bottom: 14px;
	font-size: 1.02em;
	line-height: 1.5;
	color: var(--hvf-muted);
}

.hvf-card__list li::marker {
	content: "";
}

.hvf-card__list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--hvf-accent);
}

.hvf-card__list strong {
	color: var(--hvf-primary);
	font-weight: 600;
}

.hvf-card__note {
	color: var(--hvf-muted);
}

.hvf-card__note::before {
	content: "\26A0";
	color: #e0a028;
}

.hvf-card__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding: 15px 36px;
	border-radius: 99px;
	background: var(--hvf-gradient);
	color: #fff !important;
	font-size: 1.05em;
	font-weight: 600;
	text-decoration: none !important;
	overflow: hidden;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, filter 0.24s ease;
	box-shadow: 0 14px 26px -14px rgba(var(--hvf-primary-rgb), 0.95);
}

.hvf-card__cta::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transform: translateX(-130%) skewX(-18deg);
}

.hvf-card__cta:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	box-shadow: 0 20px 34px -16px rgba(var(--hvf-primary-rgb), 1);
}

.hvf-card__cta:hover::after {
	animation: hvfSheen 0.75s ease;
}

.hvf-card__cta:focus-visible {
	outline: 2px solid var(--hvf-accent);
	outline-offset: 3px;
}

.hvf-card__tick {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	font-size: 11px;
}

.hvf-card__tick::after {
	content: "\2713";
}

/* Responsive */

@media (max-width: 1000px) {
	.hvf-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hvf-cards__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hvf-tab {
		padding: 13px 22px;
		font-size: 0.95em;
	}

	.hvf-card__title {
		font-size: 1.6em;
	}

	.hvf-card__amount {
		font-size: 2.7em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hvf-cards *,
	.hvf-cards *::before,
	.hvf-cards *::after {
		animation: none !important;
		transition: none !important;
	}
}
