/*
 * ETB Reservas — booking form.
 * Scoped to .etb-booking. Colours are variables so they can be matched to
 * the live site's palette after the audit without touching the rules.
 */

.etb-booking {
	/* Live site palette (Elementor global kit, audit 2026-10-31). */
	--etb-accent: #ffbf00;
	--etb-accent-text: #091413;
	--etb-text: #204a63;
	--etb-muted: #5f6b70;
	--etb-border: rgba(2, 1, 1, 0.2);
	--etb-bg: #fff;
	--etb-error: #b3261e;
	--etb-success: #1e7d32;
	--etb-wa: #25d366;
	--etb-radius: 5px;

	color: var(--etb-text);
	font-size: 16px; /* 16px inputs prevent iOS zoom on focus */
	line-height: 1.4;
	/*
	 * The site font (Raleway) draws old-style digits: 3, 4, 5, 7 and 9 drop
	 * below the line, 6 and 8 rise above it, so "1 2 3 4…" looked uneven.
	 * Same-height, same-width digits everywhere in the form.
	 */
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings: "lnum" 1, "tnum" 1;
	/* The layout follows the space the page gives the form, not the screen. */
	container-type: inline-size;
}

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

.etb-booking [hidden] {
	display: none !important;
}

.etb-booking .etb-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 12px;
	align-items: flex-end;
}

/*
 * Rows line their boxes up at the bottom (labels may wrap). While a row shows
 * an error under one box, line them up at the top instead, or the boxes jump.
 */
.etb-booking .etb-row:has(.etb-field--error) {
	align-items: flex-start;
}

.etb-booking .etb-field {
	flex: 1 1 220px;
	min-width: 0;
	margin: 0;
	border: 0;
	padding: 0;
}

.etb-booking .etb-field--small {
	flex: 0 1 140px;
}

/* Labels and legends share one height, so every row lines up. */
.etb-booking label,
.etb-booking legend {
	display: block;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	margin: 0 0 4px;
	padding: 0;
}

.etb-booking .etb-req {
	color: var(--etb-error);
}

.etb-booking input[type="text"],
.etb-booking input[type="tel"],
.etb-booking input[type="email"],
.etb-booking input[type="date"],
.etb-booking input[type="time"],
.etb-booking input[type="number"],
.etb-booking select,
.etb-booking textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	font: inherit;
	color: inherit;
	background: var(--etb-bg);
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
}

/* One-line boxes: exactly 44px in every browser (padding + line height made 45). */
.etb-booking input[type="text"],
.etb-booking input[type="tel"],
.etb-booking input[type="email"],
.etb-booking select {
	height: 44px;
	line-height: 22px;
}

/* Count box: − [ value ] + */
.etb-booking .etb-stepper {
	display: flex;
	align-items: stretch;
	height: 44px;
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	background: var(--etb-bg);
	overflow: hidden;
}

/* The main suitcase count keeps a fixed, compact width (a text box would
   otherwise claim its natural ~20-character width and push the toggles away). */
.etb-booking .etb-field--small .etb-stepper {
	width: 132px;
}

/* Detailed luggage: three equal count boxes, even when one wraps on a phone. */
.etb-booking .etb-row--counts .etb-stepper {
	max-width: 150px;
}

.etb-booking .etb-stepper:focus-within {
	outline: 3px solid var(--etb-accent);
	outline-offset: 1px;
}

.etb-booking .etb-stepper input[type="text"] {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
	height: 42px;
	min-height: 0;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	text-align: center;
	font-weight: 600;
	background: transparent;
	outline: none;
}

.etb-booking .etb-stepper input::placeholder {
	color: var(--etb-muted);
	opacity: 1;
	font-weight: 400;
}

.etb-booking .etb-stepper button.etb-stepper__btn,
.etb-booking .etb-stepper button.etb-stepper__btn:hover,
.etb-booking .etb-stepper button.etb-stepper__btn:focus,
.etb-booking .etb-stepper button.etb-stepper__btn:active {
	flex: 0 0 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(32, 74, 99, 0.06);
	color: var(--etb-text);
	font: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.etb-booking .etb-stepper button.etb-stepper__btn:hover {
	background: rgba(255, 191, 0, 0.3);
}

.etb-booking .etb-field--error .etb-stepper {
	border-color: var(--etb-error);
}

.etb-booking select {
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 32px;
}

.etb-booking input:focus,
.etb-booking select:focus,
.etb-booking textarea:focus,
.etb-booking button:focus-visible,
.etb-booking a:focus-visible {
	outline: 3px solid var(--etb-accent);
	outline-offset: 1px;
}

.etb-booking .etb-help {
	font-size: 13px;
	color: var(--etb-muted);
	margin: 4px 0 0;
}

/*
 * Date and time boxes: our own calendar and hour/minute grids, so they look
 * and work the same in every browser (Safari on a Mac pre-draws today's date
 * in grey and has no time picker). Read-only boxes with a hint and an icon.
 */
.etb-booking .etb-picker {
	position: relative;
}

.etb-booking .etb-picker .etb-picker__input {
	padding-right: 34px;
	background-color: var(--etb-bg);
	cursor: pointer;
	caret-color: transparent;
}

.etb-booking .etb-picker__input::placeholder {
	color: var(--etb-muted);
	opacity: 1;
}

.etb-booking .etb-dt::after {
	content: "";
	position: absolute;
	top: 22px;
	right: 10px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	pointer-events: none;
	background: no-repeat center / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23204a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.etb-booking .etb-dt--time::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23204a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* The pop-up panel under the box. */
.etb-booking .etb-pop {
	position: absolute;
	z-index: 60;
	top: calc(100% + 4px);
	left: 0;
	width: 288px;
	max-width: calc(100vw - 16px);
	padding: 12px;
	background: var(--etb-bg);
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
	text-align: left;
}

.etb-booking .etb-dt--time .etb-pop {
	left: auto;
	right: 0;
	width: 276px;
}

/*
 * Buttons inside the form are reset here: the site's theme paints every
 * button (pink background, padding, uppercase…) and its hover/focus states.
 */
.etb-booking .etb-pop button,
.etb-booking .etb-pop button:hover,
.etb-booking .etb-pop button:focus,
.etb-booking .etb-pop button:active {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	min-height: 0;
	width: 100%;
	height: 36px;
	border: 1px solid transparent;
	border-radius: var(--etb-radius);
	background: transparent;
	color: var(--etb-text);
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: none;
}

.etb-booking .etb-pop button:hover {
	background: rgba(255, 191, 0, 0.2);
}

.etb-booking .etb-pop button:focus-visible {
	outline: 3px solid var(--etb-accent);
	outline-offset: 0;
}

.etb-booking .etb-pop button[aria-pressed="true"],
.etb-booking .etb-pop button[aria-pressed="true"]:hover {
	background: var(--etb-accent);
	border-color: var(--etb-accent);
	color: var(--etb-accent-text);
	font-weight: 700;
}

.etb-booking .etb-pop button:disabled,
.etb-booking .etb-pop button:disabled:hover {
	background: transparent;
	color: rgba(32, 74, 99, 0.3);
	cursor: default;
}

/* Calendar */
.etb-booking .etb-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 8px;
}

.etb-booking .etb-cal__title {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
}

.etb-booking .etb-pop .etb-cal__nav,
.etb-booking .etb-pop .etb-cal__nav:hover,
.etb-booking .etb-pop .etb-cal__nav:focus {
	width: 36px;
	flex: 0 0 36px;
	border-color: var(--etb-border);
	font-size: 22px;
}

.etb-booking .etb-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 2px;
}

.etb-booking .etb-cal__wd {
	padding: 4px 0;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--etb-muted);
}

.etb-booking .etb-pop .etb-cal__day.is-today {
	border-color: var(--etb-text);
}

/* Time: hours (6 x 4) and minutes (6 x 2), all visible, no scrolling. */
.etb-booking .etb-time__head {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--etb-muted);
}

.etb-booking .etb-time__group + .etb-time__group {
	margin-top: 10px;
}

.etb-booking .etb-time__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 4px;
}

.etb-booking .etb-pop .etb-time__opt {
	border-color: rgba(2, 1, 1, 0.12);
}
/* Place picker */
.etb-booking .etb-combo {
	position: relative;
}

.etb-booking .etb-combo__list {
	position: absolute;
	z-index: 50;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 240px;
	overflow-y: auto;
	margin: 2px 0 0;
	padding: 4px 0;
	list-style: none;
	background: var(--etb-bg);
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.etb-booking .etb-combo__list li {
	margin: 0;
	padding: 10px 12px;
	min-height: 44px;
	cursor: pointer;
}

.etb-booking .etb-combo__list li:hover,
.etb-booking .etb-combo__list li[aria-selected="true"] {
	background: rgba(255, 191, 0, 0.2);
}

/* Direction on airport, port and station pages */
.etb-booking .etb-direction {
	margin: 0 0 12px;
}

.etb-booking .etb-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.etb-booking .etb-choice__opt {
	position: relative;
	flex: 1 1 200px;
	margin: 0;
	font-weight: 600;
}

.etb-booking .etb-choice__opt input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.etb-booking .etb-choice__opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 12px;
	text-align: center;
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	background: var(--etb-bg);
}

.etb-booking .etb-choice__opt input:checked + span {
	background: var(--etb-accent);
	border-color: var(--etb-accent);
	color: var(--etb-accent-text);
}

.etb-booking .etb-choice__opt input:focus-visible + span {
	outline: 3px solid var(--etb-text);
	outline-offset: 1px;
}

/* Blocks revealed by the customer's answers */
.etb-booking .etb-block {
	margin: 0 0 12px;
	padding: 12px;
	border-left: 3px solid var(--etb-accent);
	background: rgba(32, 74, 99, 0.04);
}

.etb-booking .etb-block > fieldset {
	margin: 0 0 12px;
}

.etb-booking .etb-notice {
	font-size: 14px;
	color: var(--etb-muted);
	margin: 0 0 8px;
}

.etb-booking .etb-row--counts .etb-field {
	flex: 1 1 96px;
}

/* Checkboxes */
.etb-booking .etb-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	min-height: 44px;
	cursor: pointer;
	margin: 0;
}

.etb-booking .etb-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--etb-accent);
}

/* Passenger buttons (radio group) */
.etb-booking .etb-pax {
	margin: 0 0 12px;
}

/* Phones: two even rows of four. Wider: one row. */
.etb-booking .etb-pax__options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

@container (min-width: 400px) {
	.etb-booking .etb-pax__options {
		grid-template-columns: repeat(8, minmax(0, 52px));
	}
}

.etb-booking .etb-pax__opt {
	position: relative;
	margin: 0;
	font-weight: 600;
}

.etb-booking .etb-pax__opt input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.etb-booking .etb-pax__opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	background: var(--etb-bg);
}

.etb-booking .etb-pax__opt input:checked + span {
	background: var(--etb-accent);
	border-color: var(--etb-accent);
	color: var(--etb-accent-text);
}

.etb-booking .etb-pax__opt input:focus-visible + span {
	outline: 3px solid var(--etb-text);
	outline-offset: 1px;
}

/* Errors */
.etb-booking .etb-field--error input,
.etb-booking .etb-field--error select,
.etb-booking .etb-field--error textarea,
.etb-booking .etb-field--error .etb-pax__opt span {
	border-color: var(--etb-error);
}

.etb-booking .etb-error {
	color: var(--etb-error);
	font-size: 13px;
	margin: 4px 0 0;
	flex-basis: 100%;
}

.etb-booking .etb-status:not(:empty) {
	color: var(--etb-error);
	font-weight: 600;
	margin: 0 0 12px;
}

/* Submit */
.etb-booking .etb-submit {
	display: block;
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: var(--etb-radius);
	background: var(--etb-accent);
	color: var(--etb-accent-text);
	font: inherit;
	font-weight: 700;
	font-size: 18px;
	cursor: pointer;
}

/* The theme turns buttons pink on hover/focus: keep the site's yellow. */
.etb-booking button.etb-submit:hover,
.etb-booking button.etb-submit:focus,
.etb-booking button.etb-submit:active {
	background: #f2b600;
	color: var(--etb-accent-text);
	border: 0;
	box-shadow: none;
	text-decoration: none;
}

.etb-booking .etb-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.etb-booking .etb-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/*
 * Success. The price message is the biggest thing on the screen (client,
 * 11-05); WhatsApp stays as a second, quieter option.
 */
.etb-booking .etb-success {
	text-align: center;
	padding: 28px 20px;
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	outline: none;
}

.etb-booking .etb-success p {
	margin: 0 0 12px;
}

.etb-booking .etb-success__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--etb-success);
}

.etb-booking .etb-success__icon {
	flex: none;
}

.etb-booking .etb-success .etb-success__msg {
	max-width: 34em;
	margin: 0 auto 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--etb-text);
}

.etb-booking .etb-success__ref {
	font-size: 16px;
}

.etb-booking .etb-success__ref strong {
	display: inline-block;
	padding: 2px 10px;
	font-size: 20px;
	letter-spacing: 3px;
	border: 1px dashed var(--etb-text);
	border-radius: var(--etb-radius);
}

/* The two buttons share one line (they stack on narrow screens). */
.etb-booking .etb-success .etb-success__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 20px 0 0;
}

.etb-booking .etb-wa-btn,
.etb-booking .etb-wa-btn:hover,
.etb-booking .etb-wa-btn:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	margin: 0;
	border: 2px solid #1da851;
	border-radius: var(--etb-radius);
	background: var(--etb-bg);
	color: #128c3f;
	font-weight: 700;
	text-decoration: none;
}

.etb-booking .etb-wa-btn:hover {
	background: rgba(37, 211, 102, 0.1);
}

/* The theme paints buttons pink and strips padding: set every state here. */
.etb-booking .etb-success button.etb-new-btn,
.etb-booking .etb-success button.etb-new-btn:hover,
.etb-booking .etb-success button.etb-new-btn:focus,
.etb-booking .etb-success button.etb-new-btn:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 1px solid var(--etb-border);
	border-radius: var(--etb-radius);
	background: var(--etb-bg);
	color: var(--etb-text);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

.etb-booking .etb-success button.etb-new-btn:hover {
	background: rgba(32, 74, 99, 0.06);
}

.etb-booking button.etb-link,
.etb-booking button.etb-link:hover,
.etb-booking button.etb-link:focus,
.etb-booking button.etb-link:active {
	background: none;
	border: 0;
	box-shadow: none;
	color: var(--etb-muted);
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	font: inherit;
	min-height: 44px;
	padding: 0;
	margin: 0;
	text-align: left;
}

.etb-booking button.etb-link:hover {
	color: var(--etb-text);
}

.etb-booking textarea {
	min-height: 88px;
	resize: vertical;
}

/* Date + time (and return date + time) stay side by side even on phones. */
.etb-booking .etb-row--pair .etb-field {
	flex: 1 1 130px;
}

/*
 * Narrow forms (phones): the date needs more room than the time, or
 * "dd/mm/aaaa" is cut off. Below ~270px the two boxes stack.
 */
@container (max-width: 559px) {
	.etb-booking .etb-row--pair .etb-field:first-child {
		flex: 1.4 1 150px;
	}

	.etb-booking .etb-row--pair .etb-field:last-child {
		flex: 1 1 110px;
	}
}

/*
 * Medium spaces (iPad portrait, wide phones in landscape): rows stay full
 * width, but luggage and the two toggles share one line instead of three.
 */
@container (min-width: 560px) {
	.etb-booking .etb-form {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		column-gap: 16px;
	}

	.etb-booking .etb-form > * {
		flex: 1 1 100%;
	}

	.etb-booking .etb-form > [data-etb-block="luggage_simple"],
	.etb-booking .etb-form > .etb-row--toggle {
		flex: 0 0 auto;
	}

	.etb-booking .etb-form > .etb-row--toggle {
		margin-bottom: 12px;
	}

	/* The honeypot stays off-screen and out of the flow. */
	.etb-booking .etb-form > .etb-hp {
		flex: none;
	}
}

/*
 * Wide spaces (home hero, full-width sections): a compact strip like the old
 * form. Where and when on one line; passengers, luggage and the two toggles on
 * the next; contact last. Same field order as on phones.
 */
@container (min-width: 860px) {
	.etb-booking .etb-pax__options {
		grid-template-columns: repeat(8, 44px);
	}

	.etb-booking .etb-form > .etb-row--route,
	.etb-booking .etb-form > .etb-row--when,
	.etb-booking .etb-form > .etb-row--half {
		flex: 1 1 calc(50% - 8px);
	}

	.etb-booking .etb-form > .etb-row--route .etb-field,
	.etb-booking .etb-form > .etb-row--contact .etb-field {
		flex-basis: 160px;
	}

	.etb-booking .etb-form > .etb-pax {
		flex: 0 0 auto;
	}

	/*
	 * The vehicle line under the passenger buttons made that block taller, so
	 * "Maletas" and the toggles sat lower than "Pasajeros" (client point 1).
	 * While they share a line, it goes on the label line, on the right.
	 */
	.etb-booking .etb-form:not(:has(> [data-etb-block="luggage_detail"]:not([hidden]))) > .etb-pax {
		position: relative;
	}

	/* A fieldset places it from under its legend: 20px line + 4px gap. */
	.etb-booking .etb-form:not(:has(> [data-etb-block="luggage_detail"]:not([hidden]))) > .etb-pax [data-etb-vehicle-info] {
		position: absolute;
		top: -24px;
		right: 0;
		margin: 0;
		line-height: 20px;
		white-space: nowrap;
	}

	/* Return details open on their own line, right under "Ida y vuelta". */
	.etb-booking .etb-form > [data-etb-block="return"],
	.etb-booking .etb-form > [data-etb-block="return_flight"] {
		flex-basis: 100%;
	}

	.etb-booking .etb-form > [data-etb-block="return"] .etb-field {
		flex: 0 1 calc(25% - 12px);
	}

	.etb-booking .etb-form > [data-etb-block="return_flight"] .etb-field {
		flex: 0 1 calc(50% - 8px);
	}

	/* Inside the revealed blocks, fields keep a readable width. */
	.etb-booking .etb-block .etb-field {
		flex-grow: 0;
		flex-basis: 240px;
	}

	/*
	 * 5+ passengers: passengers take their own line; the three luggage counts
	 * stay compact so they and both toggles share the next one.
	 */
	.etb-booking .etb-form:has(> [data-etb-block="luggage_detail"]:not([hidden])) > .etb-pax {
		flex-basis: 100%;
	}

	.etb-booking .etb-form > [data-etb-block="luggage_detail"] {
		flex: 0 0 420px;
		flex-wrap: nowrap;
	}

	.etb-booking .etb-form > [data-etb-block="luggage_detail"] .etb-field {
		flex: 1 1 0;
	}
}

/*
 * display="button": the hero shows one button and the photo; the form opens
 * in a window on top (client, 11-06). Same form, same rules inside.
 */
.etb-launch,
.etb-modal {
	--etb-accent: #ffbf00;
	--etb-accent-text: #091413;
	--etb-text: #204a63;
	--etb-muted: #5f6b70;
}

.etb-launch {
	display: flex;
	margin: 0;
}

.etb-launch button.etb-launch__btn,
.etb-launch button.etb-launch__btn:hover,
.etb-launch button.etb-launch__btn:focus,
.etb-launch button.etb-launch__btn:active {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	margin: 0;
	padding: 0 26px 0 22px;
	border: 0;
	border-radius: 8px;
	background: var(--etb-accent);
	color: var(--etb-accent-text);
	font-family: Poppins, Raleway, sans-serif; /* same as the hero title above it */
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: none;
	text-decoration: none;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.etb-launch button.etb-launch__btn:hover {
	background: #ffc929;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(255, 191, 0, 0.25);
}

.etb-launch button.etb-launch__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.etb-launch .etb-launch__icon {
	flex: none;
	width: 26px;
	height: 26px;
}

.etb-launch .etb-launch__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

@media (max-width: 600px) {
	.etb-launch .etb-launch__actions {
		width: 100%;
	}

	.etb-launch button.etb-launch__btn,
	.etb-launch button.etb-launch__btn:hover,
	.etb-launch button.etb-launch__btn:focus,
	.etb-launch button.etb-launch__btn:active {
		width: 100%;
		justify-content: center;
	}
}

/*
 * The Elementor box that held the form was a white card. With the button it
 * becomes see-through, so the photo shows, and the line under it turns white.
 * Only boxes that hold a launch button are touched.
 */
.e-con:has(> .elementor-widget-shortcode .etb-launch) {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* Lined up with the hero title: left on wide screens, centred on phones (as the site does). */
.e-con:has(> .elementor-widget-shortcode .etb-launch) .elementor-widget-heading,
.e-con:has(> .elementor-widget-shortcode .etb-launch) .elementor-heading-title {
	text-align: left !important;
}

@media (max-width: 767px) {
	.etb-launch {
		justify-content: center;
	}

	.e-con:has(> .elementor-widget-shortcode .etb-launch) .elementor-widget-heading,
	.e-con:has(> .elementor-widget-shortcode .etb-launch) .elementor-heading-title {
		text-align: center !important;
	}
}

/*
 * The site draws this line in hairline Poppins (weight 100) with a 1px black
 * outline: fine on white, a dark smudge on a photo.
 */
.e-con:has(> .elementor-widget-shortcode .etb-launch) .elementor-heading-title,
.e-con:has(> .elementor-widget-shortcode .etb-launch) .elementor-heading-title * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	-webkit-text-stroke: 0 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* The window. */
html.etb-modal-open {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.etb-modal {
	width: min(1000px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	box-sizing: border-box;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: #fff;
	color: var(--etb-text);
	/* Yellow stripe along the top (a border would bend at the round corners). */
	box-shadow: inset 0 5px 0 var(--etb-accent), 0 30px 80px -20px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	text-align: left;
}

.etb-modal[open] {
	display: flex;
	flex-direction: column;
	animation: etb-modal-in 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.etb-modal::backdrop {
	background: rgba(6, 16, 22, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: etb-fade-in 0.26s ease;
}

.etb-modal.is-closing {
	animation: etb-modal-out 0.18s ease forwards;
}

.etb-modal.is-closing::backdrop {
	animation: etb-fade-out 0.18s ease forwards;
}

/* Browsers without <dialog> (Safari before 15.4). */
.etb-modal.etb-modal--fallback[open] {
	position: fixed;
	inset: 0;
	z-index: 999999;
	box-shadow: 0 0 0 100vmax rgba(6, 16, 22, 0.55);
}

.etb-modal .etb-modal__head {
	display: flex;
	flex: none;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 25px 24px 16px;
	border-bottom: 1px solid rgba(2, 1, 1, 0.08);
}

.etb-modal .etb-modal__title {
	margin: 0;
	padding: 0;
	font-family: Poppins, Raleway, sans-serif; /* the site's heading font */
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	color: var(--etb-text);
	outline: none;
}

.etb-modal .etb-modal__sub {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--etb-muted);
}

/* After sending, the success screen says it all. */
.etb-modal:has(.etb-success:not([hidden])) .etb-modal__sub {
	display: none;
}

.etb-modal button.etb-modal__close,
.etb-modal button.etb-modal__close:hover,
.etb-modal button.etb-modal__close:focus,
.etb-modal button.etb-modal__close:active {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 0;
	margin: -4px -8px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(32, 74, 99, 0.07);
	color: var(--etb-text);
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.etb-modal button.etb-modal__close:hover {
	background: rgba(32, 74, 99, 0.15);
}

.etb-modal button.etb-modal__close:focus-visible {
	outline: 3px solid var(--etb-accent);
	outline-offset: 2px;
}

.etb-modal .etb-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 20px 24px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

/* Phones: the window fills the screen and slides up. */
@media (max-width: 600px) {
	.etb-modal {
		width: 100%;
		height: 100%;
		height: 100dvh;
		max-height: none;
		margin: 0;
		border-radius: 0;
		box-shadow: inset 0 5px 0 var(--etb-accent);
	}

	.etb-modal[open] {
		animation-name: etb-sheet-in;
	}

	.etb-modal.is-closing {
		animation-name: etb-sheet-out;
	}

	.etb-modal .etb-modal__head {
		padding: 19px 16px 12px;
	}

	.etb-modal .etb-modal__title {
		font-size: 20px;
	}

	.etb-modal .etb-modal__sub {
		font-size: 14px;
	}

	.etb-modal .etb-modal__body {
		padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
	}
}

@keyframes etb-modal-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.98);
	}
}

@keyframes etb-modal-out {
	to {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

@keyframes etb-sheet-in {
	from {
		opacity: 0.6;
		transform: translateY(48px);
	}
}

@keyframes etb-sheet-out {
	to {
		opacity: 0;
		transform: translateY(48px);
	}
}

@keyframes etb-fade-in {
	from {
		opacity: 0;
	}
}

@keyframes etb-fade-out {
	to {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.etb-launch button.etb-launch__btn,
	.etb-modal,
	.etb-modal::backdrop {
		transition: none !important;
		animation: none !important;
	}
}

/*
 * display="hero": the home hero (user's design review, 11-09). Darker on the
 * text side so it reads well and the people and the taxi stay bright on the
 * right; title, subtitle, two buttons, four key points, then the small line.
 * Everything comes in once when the page opens. Only the Elementor section
 * that holds the hero shortcode is touched.
 */
.e-con.e-parent:has(.etb-hero) {
	isolation: isolate;
}

.e-con.e-parent:has(.etb-hero)::before {
	background: linear-gradient(0deg, rgba(7, 18, 26, 0.5) 0%, rgba(7, 18, 26, 0) 38%),
		linear-gradient(90deg, rgba(7, 18, 26, 0.88) 0%, rgba(7, 18, 26, 0.66) 40%, rgba(7, 18, 26, 0.2) 75%, rgba(7, 18, 26, 0.08) 100%) !important;
	opacity: 1 !important;
}

.e-con.e-parent:has(.etb-hero) > .e-con-inner {
	position: relative;
	z-index: 1;
}

.e-con.e-parent:has(.etb-hero) .elementor-widget-heading h1.elementor-heading-title {
	font-size: clamp(34px, 3.5vw, 52px) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.015em;
	max-width: 15em;
	text-wrap: balance;
	color: #fff !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.e-con.e-parent:has(.etb-hero) .elementor-widget-heading:has(h1) + .elementor-widget-heading .elementor-heading-title {
	max-width: 34em;
	font-size: clamp(17px, 1.35vw, 20px) !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	color: rgba(255, 255, 255, 0.9) !important;
}

.etb-launch.etb-hero {
	flex-direction: column;
	align-items: flex-start;
	margin-top: 10px;
}

/* Main button: one soft light sweep after it appears. */
.etb-hero button.etb-launch__btn {
	position: relative;
	overflow: hidden;
}

.etb-hero button.etb-launch__btn::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -50%;
	width: 40%;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-20deg) translateX(0);
	pointer-events: none;
	animation: etb-hero-shine 1.1s ease-in-out 1.7s both;
}

/* Second button: email, solid white with the same size and type as the yellow
 * one (the see-through version looked weak on the photo, user 11-10). */
.etb-hero .etb-hero__mailbox {
	position: relative;
	display: flex;
}

.etb-hero a.etb-hero__mail,
.etb-hero a.etb-hero__mail:hover,
.etb-hero a.etb-hero__mail:focus,
.etb-hero a.etb-hero__mail:active,
.etb-hero a.etb-hero__mail:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	min-height: 60px;
	margin: 0;
	padding: 0 26px 0 22px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: var(--etb-text);
	font-family: Poppins, Raleway, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Hover only with a mouse: on a phone the glow would stay after the tap. */
.etb-hero a.etb-hero__mail[aria-expanded="true"] {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(255, 255, 255, 0.22);
}

@media (hover: hover) {
	.etb-hero a.etb-hero__mail:hover {
		transform: translateY(-2px);
		box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(255, 255, 255, 0.22);
	}
}

.etb-hero a.etb-hero__mail:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.etb-hero .etb-hero__mail-icon {
	flex: none;
	width: 24px;
	height: 24px;
}

/* Computer: the address to copy and the usual webmails, under the button. */
.etb-hero .etb-mailpop {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 20;
	box-sizing: border-box;
	width: max-content;
	min-width: 100%;
	max-width: calc(100vw - 32px);
	padding: 18px 20px 20px;
	border-radius: 12px;
	background: #fff;
	color: var(--etb-text);
	font-family: Poppins, Raleway, sans-serif;
	text-align: left;
	box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
	animation: etb-mailpop-in 0.16s ease-out;
}

.etb-hero .etb-mailpop[hidden] {
	display: none;
}

.etb-hero .etb-mailpop::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 28px;
	width: 12px;
	height: 12px;
	background: #fff;
	transform: rotate(45deg);
}

.etb-hero .etb-mailpop p.etb-mailpop__label {
	margin: 0 0 8px;
	color: var(--etb-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.etb-hero .etb-mailpop__row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e3e8eb;
}

.etb-hero .etb-mailpop__addr {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	user-select: all;
}

.etb-hero .etb-mailpop button.etb-mailpop__copy,
.etb-hero .etb-mailpop button.etb-mailpop__copy:hover,
.etb-hero .etb-mailpop button.etb-mailpop__copy:focus {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	margin: 0 0 0 auto;
	padding: 7px 12px;
	border: 1px solid #cfd8dd;
	border-radius: 6px;
	background: #fff;
	color: var(--etb-text);
	font: 500 14px/1.2 Poppins, Raleway, sans-serif;
	text-transform: none;
	cursor: pointer;
}

.etb-hero .etb-mailpop button.etb-mailpop__copy:hover {
	border-color: var(--etb-text);
}

.etb-hero .etb-mailpop button.etb-mailpop__copy.is-done {
	border-color: #1f8a4c;
	color: #1f8a4c;
}

.etb-hero .etb-mailpop__apps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.etb-hero .etb-mailpop__apps a,
.etb-hero .etb-mailpop__apps a:visited {
	padding: 9px 14px;
	border-radius: 6px;
	background: #eef2f4;
	color: var(--etb-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.etb-hero .etb-mailpop__apps a:hover {
	background: var(--etb-accent);
	color: var(--etb-accent-text);
}

.etb-hero .etb-mailpop button:focus-visible,
.etb-hero .etb-mailpop__apps a:focus-visible {
	outline: 2px solid var(--etb-text);
	outline-offset: 2px;
}

@keyframes etb-mailpop-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

/* Key points: 2 x 2 under a thin line. */
.etb-hero ul.etb-hero__points {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 14px 40px;
	width: max-content;
	max-width: 100%;
	box-sizing: border-box;
	margin: 30px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	list-style: none;
}

.etb-hero ul.etb-hero__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: Poppins, Raleway, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.etb-hero ul.etb-hero__points svg {
	flex: none;
	box-sizing: border-box;
	width: 38px;
	height: 38px;
	padding: 9px;
	border: 1px solid rgba(255, 191, 0, 0.4);
	border-radius: 50%;
	background: rgba(255, 191, 0, 0.14);
	color: #ffbf00;
}

/* The site's line under it becomes a quiet footnote. */
.e-con.e-con:has(> .elementor-widget-shortcode .etb-hero) .elementor-heading-title,
.e-con.e-con:has(> .elementor-widget-shortcode .etb-hero) .elementor-heading-title * {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: rgba(255, 255, 255, 0.75) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
}

/* Phones: centred like the site, buttons one under the other, points as 2 x 2 tiles. */
@media (max-width: 767px) {
	.e-con.e-parent:has(.etb-hero)::before {
		background: linear-gradient(180deg, rgba(7, 18, 26, 0.6) 0%, rgba(7, 18, 26, 0.72) 55%, rgba(7, 18, 26, 0.85) 100%) !important;
	}

	.e-con.e-parent:has(.etb-hero) .elementor-widget-heading h1.elementor-heading-title {
		margin-inline: auto;
		font-size: clamp(28px, 8vw, 34px) !important;
		line-height: 1.15 !important;
	}

	.e-con.e-parent:has(.etb-hero) .elementor-widget-heading:has(h1) + .elementor-widget-heading .elementor-heading-title {
		margin-inline: auto;
		font-size: 16px !important;
	}

	.etb-launch.etb-hero {
		align-items: center;
	}

	.etb-hero .etb-launch__actions {
		flex-direction: column;
		width: 100%;
		max-width: 420px;
	}

	.etb-hero .etb-hero__mailbox {
		width: 100%;
	}

	.etb-hero button.etb-launch__btn,
	.etb-hero button.etb-launch__btn:hover,
	.etb-hero button.etb-launch__btn:focus,
	.etb-hero button.etb-launch__btn:active,
	.etb-hero a.etb-hero__mail,
	.etb-hero a.etb-hero__mail:hover,
	.etb-hero a.etb-hero__mail:focus,
	.etb-hero a.etb-hero__mail:active,
	.etb-hero a.etb-hero__mail:visited {
		width: 100%;
		justify-content: center;
		min-height: 56px;
	}

	.etb-hero ul.etb-hero__points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 12px;
		width: 100%;
		max-width: 420px;
		margin-top: 24px;
		padding-top: 20px;
	}

	.etb-hero ul.etb-hero__points li {
		flex-direction: column;
		gap: 8px;
		font-size: 13px;
		text-align: center;
	}
}

/* Very small phones (320 px): both button labels stay on one line. */
@media (max-width: 359px) {
	.etb-hero button.etb-launch__btn,
	.etb-hero button.etb-launch__btn:hover,
	.etb-hero button.etb-launch__btn:focus,
	.etb-hero button.etb-launch__btn:active,
	.etb-hero a.etb-hero__mail,
	.etb-hero a.etb-hero__mail:hover,
	.etb-hero a.etb-hero__mail:focus,
	.etb-hero a.etb-hero__mail:active,
	.etb-hero a.etb-hero__mail:visited {
		gap: 8px;
		padding: 0 12px;
		font-size: 15px;
	}
}

/* The load animation: the photo comes into focus, then the text rises in order. */
.e-con.e-parent:has(.etb-hero)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(7, 18, 26, 0.85);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	pointer-events: none;
	animation: etb-hero-focus 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s forwards;
}

.e-con.e-parent:has(.etb-hero) .elementor-widget-heading:has(h1) {
	animation: etb-hero-rise-blur 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.e-con.e-parent:has(.etb-hero) .elementor-widget-heading:has(h1) + .elementor-widget-heading {
	animation: etb-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.48s backwards;
}

.etb-hero .etb-launch__actions > * {
	animation: etb-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.64s backwards;
}

.etb-hero .etb-launch__actions > * + * {
	animation-delay: 0.74s;
}

.etb-hero ul.etb-hero__points {
	animation: etb-hero-line 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.86s backwards;
}

.etb-hero ul.etb-hero__points li {
	animation: etb-hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.92s backwards;
}

.etb-hero ul.etb-hero__points li:nth-child(2) {
	animation-delay: 1s;
}

.etb-hero ul.etb-hero__points li:nth-child(3) {
	animation-delay: 1.08s;
}

.etb-hero ul.etb-hero__points li:nth-child(4) {
	animation-delay: 1.16s;
}

.e-con:has(> .elementor-widget-shortcode .etb-hero) > .elementor-widget-heading {
	animation: etb-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.28s backwards;
}

/* The header slides in with the hero (home only). */
body:has(.etb-hero) .elementor-location-header {
	animation: etb-hero-drop 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes etb-hero-focus {
	to {
		visibility: hidden;
		opacity: 0;
		-webkit-backdrop-filter: blur(0);
		backdrop-filter: blur(0);
	}
}

@keyframes etb-hero-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 26px, 0);
	}
}

@keyframes etb-hero-rise-blur {
	from {
		opacity: 0;
		transform: translate3d(0, 26px, 0);
		filter: blur(8px);
	}
}

@keyframes etb-hero-line {
	from {
		border-top-color: rgba(255, 255, 255, 0);
	}
}

@keyframes etb-hero-drop {
	from {
		opacity: 0;
		transform: translate3d(0, -16px, 0);
	}
}

@keyframes etb-hero-shine {
	to {
		transform: skewX(-20deg) translateX(500%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.e-con.e-parent:has(.etb-hero)::after {
		content: none;
	}

	.e-con.e-parent:has(.etb-hero) .elementor-widget-heading,
	.etb-hero .etb-launch__actions > *,
	.etb-hero button.etb-launch__btn::after,
	.etb-hero a.etb-hero__mail,
	.etb-hero .etb-mailpop,
	.etb-hero ul.etb-hero__points,
	.etb-hero ul.etb-hero__points li,
	body:has(.etb-hero) .elementor-location-header {
		transition: none !important;
		animation: none !important;
	}

	.etb-hero button.etb-launch__btn::after {
		content: none;
	}
}

