/* ==========================================================================
   Special Offers / Festival Offers landing page  (/atl-specialoffers)

   Scoped under .aso so nothing here can leak into other pages. Loaded after
   style.css + custom.css, which supply the site's Montserrat / Open Sans
   stack and the red brand colour reused below.
   ========================================================================== */

.aso {
	--aso-red: #e31e24;
	--aso-blue: #1f6fd0;
	--aso-navy: #1b3f8f;
	--aso-ink: #16233a;
	--aso-body: #5b6478;
	--aso-line: #e6eaf2;
	--aso-bg: #f4f7fb;
	/* Ink for the festival card badge icons. One place to recolour all 16. */
	--aso-badge-ink: #e31e24;
	--aso-card: #ffffff;
	--aso-radius: 14px;
	--aso-shadow: 0 2px 14px rgba(20, 40, 80, .06);
	--aso-shadow-lift: 0 10px 30px rgba(20, 40, 80, .12);

	background: var(--aso-bg);
	padding: 34px 0 0;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	color: var(--aso-ink);
	-webkit-font-smoothing: antialiased;
}

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

.aso-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

/* --------------------------------------------------------------- panel --- */
/* Rates block and the enquiry form sit side by side inside one white shell,
   matching the reference. They stack on tablet and below. */

.aso-top {
	display: flex;
	gap: 0;
	background: var(--aso-card);
	border: 1px solid var(--aso-line);
	border-radius: var(--aso-radius);
	box-shadow: var(--aso-shadow);
	overflow: hidden;
}

.aso-rates { flex: 1 1 auto; min-width: 0; padding: 30px 28px 22px; }
.aso-enquiry {
	flex: 0 0 336px;
	border-left: 1px solid var(--aso-line);
	padding: 30px 26px 26px;
	background: var(--aso-card);
}

.aso-rates h2 {
	margin: 0 0 6px;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--aso-ink);
}

.aso-rates .aso-sub {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--aso-body);
}

/* ---------------------------------------------------------- rate cards --- */

.aso-rate-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.aso-rate {
	border: 1px solid var(--aso-line);
	border-radius: 11px;
	padding: 13px 14px 14px;
	background: var(--aso-card);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.aso-rate:hover {
	border-color: #c7d6ee;
	box-shadow: var(--aso-shadow-lift);
	transform: translateY(-2px);
}

.aso-rate-head {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-height: 40px;
	margin-bottom: 10px;
}

/* Flag placeholders. Fixed box so a swapped-in real flag cannot reflow the
   card, whatever its intrinsic size. */
.aso-flags { flex: 0 0 auto; display: flex; gap: 3px; padding-top: 1px; }
.aso-flags img {
	width: 24px;
	height: 18px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
}

.aso-country {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--aso-ink);
}

.aso-from {
	font-size: 11px;
	color: var(--aso-body);
	margin-bottom: 1px;
}

.aso-price {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.4px;
	color: var(--aso-ink);
	margin-bottom: 10px;
	white-space: nowrap;
}

.aso-note {
	font-size: 10.5px;
	color: var(--aso-body);
	padding-top: 9px;
	border-top: 1px solid var(--aso-line);
	line-height: 1.5;
}

.aso-transit {
	display: block;
	margin-top: 5px;
	padding: 3px 7px;
	border-radius: 5px;
	background: var(--aso-bg);
	font-size: 10px;
	color: var(--aso-body);
}

/* ------------------------------------------------------------ features --- */

.aso-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--aso-line);
}

.aso-feature { display: flex; align-items: center; gap: 10px; }

.aso-feature-ico {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #eaf2fd;
	color: var(--aso-blue);
}

.aso-feature-ico svg { width: 18px; height: 18px; }

.aso-feature b {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--aso-blue);
	line-height: 1.3;
}

.aso-feature span {
	display: block;
	font-size: 10.5px;
	color: var(--aso-body);
	margin-top: 1px;
}

/* --------------------------------------------------------------- form --- */

.aso-enquiry h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 800;
	color: var(--aso-ink);
}

.aso-enquiry h3::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 9px;
	border-radius: 2px;
	background: var(--aso-red);
}

.aso-field { margin-bottom: 13px; }

.aso-field label {
	display: block;
	margin-bottom: 5px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--aso-body);
}

.aso-field label em { color: var(--aso-red); font-style: normal; }

.aso-enquiry input[type="text"],
.aso-enquiry input[type="email"],
.aso-enquiry input[type="tel"] {
	width: 100%;
	height: 42px;
	padding: 0 13px;
	border: 1px solid var(--aso-line);
	border-radius: 8px;
	background: #fbfcfe;
	font-size: 13px;
	font-family: inherit;
	color: var(--aso-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.aso-enquiry input::placeholder { color: #a7b0c0; }

.aso-enquiry input:focus {
	outline: none;
	border-color: var(--aso-blue);
	box-shadow: 0 0 0 3px rgba(31, 111, 208, .12);
	background: #fff;
}

.aso-submit {
	width: 100%;
	height: 46px;
	margin-top: 4px;
	border: 0;
	border-radius: 8px;
	background: var(--aso-red);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .6px;
	cursor: pointer;
	transition: background .15s ease, box-shadow .15s ease;
}

.aso-submit:hover {
	background: #c8171d;
	box-shadow: 0 6px 18px rgba(227, 30, 36, .28);
}

.aso-submit:focus-visible { outline: 3px solid rgba(227, 30, 36, .35); outline-offset: 2px; }

.aso-trust {
	display: flex;
	gap: 14px;
	margin-top: 18px;
	padding-top: 15px;
	border-top: 1px solid var(--aso-line);
}

.aso-trust div { display: flex; align-items: flex-start; gap: 7px; flex: 1 1 0; min-width: 0; }
.aso-trust svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; }
.aso-trust .t-fast svg { color: var(--aso-red); }
.aso-trust .t-safe svg { color: var(--aso-blue); }
.aso-trust b { display: block; font-size: 10.5px; font-weight: 700; color: var(--aso-ink); }
.aso-trust span { display: block; font-size: 9.5px; color: var(--aso-body); margin-top: 1px; }

/* intlTelInput is initialised on #phone by footer.html. These rules make its
   injected wrapper fill the field row the way the reference shows. */
.aso-enquiry .intl-tel-input { width: 100%; display: block; }
.aso-enquiry .intl-tel-input .selected-flag { border-radius: 8px 0 0 8px; }
.aso-enquiry .intl-tel-input input[type="text"] { padding-left: 13px; }

/* ------------------------------------------------------------ festival --- */

.aso-occasions { padding: 46px 0 40px; }

.aso-head { text-align: center; margin-bottom: 30px; }

.aso-head h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	color: var(--aso-ink);
	line-height: 1.3;
}

.aso-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
	color: #c3cddd;
}

.aso-rule::before,
.aso-rule::after {
	content: "";
	width: 92px;
	height: 1px;
	background: linear-gradient(90deg, transparent, #c3cddd);
}

.aso-rule::after { background: linear-gradient(90deg, #c3cddd, transparent); }
.aso-rule svg { width: 19px; height: 19px; color: var(--aso-body); }

.aso-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.aso-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--aso-card);
	border: 1px solid var(--aso-line);
	border-radius: var(--aso-radius);
	box-shadow: var(--aso-shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

/* Whole-card click target. Sits under the CTA so the visible link keeps
   its own focus ring and hover state. */
.aso-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.aso-card__link:focus-visible {
	outline: 2px solid var(--aso-blue);
	outline-offset: -3px;
}

.aso-card:hover { transform: translateY(-4px); box-shadow: var(--aso-shadow-lift); }

/* Fixed 4:3 media box: real photos drop straight in without changing the
   card height or knocking the grid rows out of alignment. */
.aso-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--aso-bg);
	overflow: hidden;
}

.aso-media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aso-badge {
	position: absolute;
	left: 50%;
	bottom: -26px;
	transform: translateX(-50%);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(20, 40, 80, .17);
	line-height: 1;
	color: var(--aso-badge-ink);
	transition: color .2s ease, box-shadow .2s ease;
}

/* Line icons inherit the badge's colour, so --aso-badge-ink above is the single
   place to recolour all 16 at once. */
.aso-badge svg {
	width: 26px;
	height: 26px;
	color: inherit;
}

.aso-card:hover .aso-badge {
	box-shadow: 0 4px 14px rgba(227, 30, 36, .25);
}

.aso-card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 38px 18px 18px;
	text-align: center;
}

.aso-card-body h3 {
	margin: 0 0 9px;
	font-size: 16px;
	font-weight: 700;
	color: var(--aso-blue);
	line-height: 1.3;
}

.aso-card-body p {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.65;
	color: var(--aso-body);
	/* Pushes every CTA to the same baseline regardless of copy length. */
	flex: 1 1 auto;
}

.aso-cta {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--aso-blue);
	text-decoration: none;
	transition: gap .18s ease, color .18s ease;
}

.aso-cta:hover,
.aso-cta:focus { color: var(--aso-navy); gap: 11px; text-decoration: none; }
.aso-cta svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------- stats --- */

.aso-stats {
	background: linear-gradient(135deg, #1b3f8f 0%, #21489e 55%, #16357a 100%);
	border-radius: var(--aso-radius);
	margin-bottom: 46px;
	padding: 26px 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	color: #fff;
}

.aso-stat { display: flex; align-items: center; justify-content: center; gap: 12px; }

.aso-stat svg {
	flex: 0 0 auto;
	width: 27px;
	height: 27px;
	color: #ffffff;
	opacity: .92;
}

.aso-stat b { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; }
.aso-stat span { display: block; font-size: 11.5px; opacity: .86; margin-top: 2px; }

/* ---------------------------------------------------------- responsive --- */

/* Laptop */
@media (max-width: 1199px) {
	.aso-rate-grid { grid-template-columns: repeat(4, 1fr); gap: 11px; }
	.aso-rate { padding: 11px 11px 12px; }
	.aso-price { font-size: 20px; }
	.aso-grid { gap: 18px; }
	.aso-enquiry { flex-basis: 310px; }
}

/* Small laptop / large tablet: form drops below the rates */
@media (max-width: 991px) {
	.aso-top { flex-direction: column; }
	.aso-enquiry {
		flex-basis: auto;
		border-left: 0;
		border-top: 1px solid var(--aso-line);
	}
	.aso-rate-grid { grid-template-columns: repeat(3, 1fr); }
	.aso-grid { grid-template-columns: repeat(3, 1fr); }
	.aso-trust { max-width: 460px; }
}

/* Tablet */
@media (max-width: 767px) {
	.aso { padding-top: 22px; }
	.aso-rates { padding: 24px 18px 18px; }
	.aso-enquiry { padding: 24px 18px 22px; }
	.aso-rates h2 { font-size: 23px; }
	.aso-rate-grid { grid-template-columns: repeat(2, 1fr); }
	.aso-features { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.aso-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.aso-head h2 { font-size: 21px; }
	.aso-rule::before, .aso-rule::after { width: 54px; }
	.aso-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 24px 16px; }
	.aso-occasions { padding: 34px 0 30px; }
}

/* Mobile */
@media (max-width: 575px) {
	.aso-wrap { padding: 0 12px; }
	.aso-top { border-radius: 12px; }
	.aso-rates { padding: 20px 14px 16px; }
	.aso-enquiry { padding: 20px 14px 20px; }
	.aso-rates h2 { font-size: 20px; }
	.aso-rate-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
	.aso-rate { padding: 10px 9px 11px; }
	.aso-price { font-size: 17px; }
	.aso-country { font-size: 11.5px; }
	.aso-features { grid-template-columns: 1fr; gap: 13px; }
	.aso-grid { grid-template-columns: 1fr; gap: 15px; }
	.aso-card-body { padding: 36px 16px 17px; }
	.aso-stats { grid-template-columns: 1fr; gap: 18px; }
	.aso-stat { justify-content: flex-start; }
	.aso-trust { flex-direction: column; gap: 11px; }
}

/* Very small phones: keep two rate columns readable rather than cramming. */
@media (max-width: 359px) {
	.aso-rate-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.aso-card, .aso-rate, .aso-cta, .aso-submit { transition: none; }
	.aso-card:hover, .aso-rate:hover { transform: none; }
}
