/* ==========================================================================
   Booking Page — dedicated stylesheet
   Loaded only on page-templates/template-new-booking.php
   ========================================================================== */

/* ---------- Hero ---------- */
.dostgo-nb-hero {
	position: relative;
	min-height: 760px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.dostgo-nb-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6,8,10,.78) 0%, rgba(6,8,10,.45) 45%, rgba(6,8,10,.15) 70%, rgba(6,8,10,0) 100%);
	z-index: 0;
}

.dostgo-nb-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 40px;
	padding-top: 120px;
	padding-bottom: 70px;
	width: 100%;
}

/* ---- Left: headline + copy ---- */
.dostgo-nb-hero__title {
	font-family: var(--dostgo-font-heading);
	font-size: 3.1rem;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.01em;
	color: #fff;
	text-transform: uppercase;
	margin: 0 0 22px;
}

.dostgo-nb-hero__rotate {
	display: inline-block;
	color: var(--dostgo-accent);
	transition: opacity .35s ease, transform .35s ease;
}

.dostgo-nb-hero__rotate.is-swapping {
	opacity: 0;
	transform: translateY(6px);
}

.dostgo-nb-hero__text {
	max-width: 480px;
	font-family: var(--dostgo-font-body);
	font-size: 1.02rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, .82);
	margin: 0;
}

/* ---- Right: booking widget ---- */
.dostgo-nb-widget {
	background: var(--dostgo-surface);
	border-radius: 20px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
	overflow: hidden;
	max-width: 460px;
	margin-left: auto;
	width: 100%;
}

.dostgo-nb-tabs {
	display: flex;
}

.dostgo-nb-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 16px 10px;
	background: var(--dostgo-light);
	border: none;
	border-bottom: 3px solid transparent;
	color: var(--dostgo-text-muted);
	font-family: var(--dostgo-font-body);
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.dostgo-nb-tab.is-active {
	background: var(--dostgo-primary);
	color: #fff;
}

.dostgo-nb-tab:not(.is-active):hover {
	background: #e9f7f5;
}

.dostgo-nb-panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px 22px 26px;
}

.dostgo-nb-panel[hidden] {
	display: none;
}

/* ---- Fields ---- */
.dostgo-nb-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--dostgo-light);
	border: 1px solid var(--dostgo-border);
	border-radius: 12px;
	padding: 0 14px;
	height: 50px;
}

.dostgo-nb-field__icon {
	flex-shrink: 0;
	color: var(--dostgo-text-muted);
}

.dostgo-nb-field__input {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	outline: none;
	font-family: var(--dostgo-font-body);
	font-size: .9rem;
	color: var(--dostgo-black);
	height: 100%;
}

.dostgo-nb-field__input::placeholder { color: #9BA3AC; }

select.dostgo-nb-field__input {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.dostgo-nb-select {
	color: var(--dostgo-text-muted);
}

.dostgo-nb-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.dostgo-nb-row[hidden] {
	display: none;
}

.dostgo-nb-field-labeled label {
	display: block;
	font-family: var(--dostgo-font-body);
	font-size: .78rem;
	font-weight: 600;
	color: var(--dostgo-text-muted);
	margin: 0 0 6px;
}

/* Add Stop */
.dostgo-nb-stops {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dostgo-nb-stop-row {
	position: relative;
}

.dostgo-nb-stop-remove {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--dostgo-text-muted);
	cursor: pointer;
}

.dostgo-nb-add-stop {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
	font-weight: 600;
	color: var(--dostgo-primary);
	cursor: pointer;
}
.dostgo-nb-add-stop:hover { color: var(--dostgo-primary-hover); }

/* Return-ride 35% off */
.dostgo-nb-return-offer {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: var(--dostgo-light);
	border: 1px solid var(--dostgo-teal-line);
	border-radius: 12px;
	padding: 12px 16px;
	font-family: var(--dostgo-font-body);
	font-size: .82rem;
	font-weight: 700;
	color: var(--dostgo-primary);
	cursor: pointer;
	text-align: left;
}

.dostgo-nb-return-offer[hidden] {
	display: none;
}
.dostgo-nb-return-offer span { flex: 1; }
.dostgo-nb-return-offer:hover { background: var(--dostgo-100); }

.dostgo-nb-return-fields {
	position: relative;
	margin-top: 12px;
}

.dostgo-nb-return-remove {
	position: absolute;
	top: -12px;
	right: -8px;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #D64545;
	border: 2px solid #fff;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}

/* Phone field */
.dostgo-nb-field--phone { gap: 8px; }
.dostgo-nb-field__flag { font-size: 1.1rem; }
.dostgo-nb-field__code {
	border: none;
	background: transparent;
	outline: none;
	font-family: var(--dostgo-font-body);
	font-size: .88rem;
	font-weight: 600;
	color: var(--dostgo-black);
	cursor: pointer;
	padding-right: 4px;
}

/* Submit */
.dostgo-nb-submit {
	margin-top: 4px;
	width: 100%;
	background: var(--dostgo-dark);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 15px;
	font-family: var(--dostgo-font-body);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease;
}
.dostgo-nb-submit:hover { background: var(--dostgo-primary); }

/* Autocomplete suggestions dropdown */
.dostgo-nb-suggestions {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	background: var(--dostgo-surface);
	border: 1px solid var(--dostgo-border);
	border-radius: 12px;
	box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
	max-height: 220px;
	overflow-y: auto;
	z-index: 20;
}

.dostgo-nb-suggestions__item {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	border-bottom: 1px solid var(--dostgo-border);
	padding: 10px 14px;
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
	color: var(--dostgo-black);
	cursor: pointer;
}
.dostgo-nb-suggestions__item:last-child { border-bottom: none; }
.dostgo-nb-suggestions__item:hover { background: var(--dostgo-light); }

.dostgo-nb-response {
	margin-top: 6px;
	padding: 10px 14px;
	border-radius: 10px;
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
	font-weight: 600;
	text-align: center;
}

.dostgo-nb-response[hidden] {
	display: none;
}

.dostgo-nb-response.is-success {
	background: var(--dostgo-100);
	color: var(--dostgo-600);
}

.dostgo-nb-response.is-error {
	background: #FDEAEA;
	color: #C0392B;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.dostgo-nb-hero__title { font-size: 2.5rem; }
}

@media (max-width: 900px) {
	.dostgo-nb-hero { min-height: auto; }
	.dostgo-nb-hero__overlay {
		background: linear-gradient(180deg, rgba(6,8,10,.55) 0%, rgba(6,8,10,.75) 60%, rgba(6,8,10,.9) 100%);
	}
		.dostgo-nb-hero__inner {
		grid-template-columns: 1fr;
		padding-top: 90px;
		padding-bottom: 50px;
		gap: 34px;
	}
	.dostgo-nb-hero__title { font-size: 2.1rem; text-align: center; }
	.dostgo-nb-hero__text { max-width: 100%; text-align: center; margin: 0 auto; }
	.dostgo-nb-widget { max-width: 100%; margin: 0 auto; }
}

@media (max-width: 480px) {
	.dostgo-nb-hero__title { font-size: 1.7rem; }
	.dostgo-nb-tab { font-size: .72rem; padding: 13px 6px; gap: 5px; }
	.dostgo-nb-tab svg { width: 14px; height: 14px; }
	.dostgo-nb-panel { padding: 18px 16px 20px; }
	.dostgo-nb-row { grid-template-columns: 1fr; }
	.dostgo-nb-return-offer span { font-size: .74rem; }
}


/* ---------- Our Services (Booking page) ---------- */

.dostgo-nb-services {
	position: relative;
	padding: 90px 0;
	background: var(--dostgo-surface);
}

.dostgo-nb-services__inner {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 50px;
	align-items: stretch;
}

.dostgo-nb-services__heading {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 44px;
}

.dostgo-nb-services__eyebrow {
	font-family: var(--dostgo-font-heading);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--dostgo-primary);
	margin: 0 0 10px;
}

.dostgo-nb-services__heading h2 {
	font-family: var(--dostgo-font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--dostgo-black);
	margin: 0;
}

.dostgo-nb-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.dostgo-nb-service-card {
	background: var(--dostgo-light);
	border: 1px solid var(--dostgo-border);
	border-radius: 16px;
	padding: 26px 22px;
	text-align: center;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dostgo-nb-service-card:hover {
	transform: translateY(-5px);
	border-color: var(--dostgo-teal-line);
	box-shadow: 0 16px 34px rgba(16, 19, 24, .08);
}

.dostgo-nb-service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	color: var(--dostgo-primary);
}
.dostgo-nb-service-card__icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.dostgo-nb-service-card__title {
	font-family: var(--dostgo-font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--dostgo-black);
	margin: 0 0 8px;
}

.dostgo-nb-service-card__text {
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
	line-height: 1.6;
	color: var(--dostgo-text-muted);
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.dostgo-nb-service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
	font-weight: 700;
	color: var(--dostgo-primary);
	text-decoration: none;
}
.dostgo-nb-service-card__link:hover { color: var(--dostgo-primary-hover); }

/* ---- Right: auto-rotating promo ---- */
.dostgo-nb-promo {
	position: relative;
	width: 100%;
	max-width: 514px;
	aspect-ratio: 514 / 592;
	border-radius: 20px;
	overflow: hidden;
	background: var(--dostgo-light);
	margin: 0 auto;
}

.dostgo-nb-promo__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .8s ease;
}
.dostgo-nb-promo__slide.is-active { opacity: 1; }

.dostgo-nb-promo__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dostgo-nb-promo__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	color: var(--dostgo-text-muted);
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
}

.dostgo-nb-promo__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
	display:none;
}

.dostgo-nb-promo__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	transition: background .2s ease, transform .2s ease;
}
.dostgo-nb-promo__dot.is-active {
	background: #fff;
	transform: scale(1.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.dostgo-nb-services__inner { grid-template-columns: 1fr; }
	.dostgo-nb-promo { max-width: 420px; }
}

@media (max-width: 768px) {
	.dostgo-nb-services { padding: 60px 0; }
	.dostgo-nb-services__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.dostgo-nb-services__heading h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
	.dostgo-nb-services__grid { gap: 12px; }
	.dostgo-nb-service-card { padding: 18px 12px; }
	.dostgo-nb-promo { max-width: 320px; }
}


/* ---------- Explore Our Fleet (Booking page) ---------- */

.dostgo-nb-fleet {
	position: relative;
	padding: 90px 0;
	background: var(--dostgo-light);
	overflow: hidden;
}

.dostgo-nb-fleet__inner {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 56px;
	align-items: center;
}

/* ---- Left: main image + vehicle pill ---- */
.dostgo-nb-fleet__left {
	position: relative;
}

.dostgo-nb-fleet__main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
}

.dostgo-nb-fleet__main-img {
	width: 100%;
	max-width: 520px;
	height: auto;
	object-fit: contain;
	transform: scale(1);
	transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .4s ease;
	opacity: 1;
}

.dostgo-nb-fleet__main-img.is-zooming {
	transform: scale(1.12);
	opacity: 0;
}

.dostgo-nb-fleet__img-placeholder {
	width: 100%;
	max-width: 420px;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dostgo-surface);
	border: 1px dashed var(--dostgo-border);
	border-radius: 14px;
	color: var(--dostgo-text-muted);
	font-family: var(--dostgo-font-body);
	font-size: .85rem;
}

.dostgo-nb-fleet__pill {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	max-width: 460px;
	margin: 10px auto 0;
	padding: 14px 22px;
	background: var(--dostgo-surface);
	border: 1px solid var(--dostgo-teal-line);
	border-radius: 999px;
	justify-content: center;
}

.dostgo-nb-fleet__vehicle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--dostgo-font-body);
	font-size: .84rem;
	font-weight: 600;
	color: var(--dostgo-black);
}
.dostgo-nb-fleet__vehicle svg { color: var(--dostgo-primary); flex-shrink: 0; }

.dostgo-nb-fleet__vehicle-img {
	width: 30px;
	height: 30px;
	/*border-radius: 50%;*/
	object-fit: cover;
	flex-shrink: 0;
}
span.dostgo-nb-fleet__vehicle {
    font-weight: 400;
    font-size: 12px;
    color: gray;
}

/* ---- Right: heading + grid ---- */
.dostgo-nb-fleet__eyebrow {
	font-family: var(--dostgo-font-heading);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--dostgo-primary);
	margin: 0 0 10px;
}

.dostgo-nb-fleet__title {
	font-family: var(--dostgo-font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--dostgo-black);
	margin: 0 0 16px;
}

.dostgo-nb-fleet__text {
	font-family: var(--dostgo-font-body);
	font-size: .95rem;
	line-height: 1.75;
	color: var(--dostgo-text-muted);
	margin: 0 0 28px;
	max-width: 520px;
}

.dostgo-nb-fleet__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.dostgo-nb-fleet-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	background: var(--dostgo-surface);
	border: 1px solid var(--dostgo-border);
	border-radius: 14px;
	padding: 18px 12px 16px;
	cursor: pointer;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
	overflow: hidden;
}

.dostgo-nb-fleet-card:hover {
	transform: translateY(-3px);
}

.dostgo-nb-fleet-card.is-active {
	border-color: var(--dostgo-primary);
	box-shadow: 0 10px 26px rgba(16, 19, 24, .1);
}

.dostgo-nb-fleet-card__label {
	font-family: var(--dostgo-font-heading);
	font-size: .95rem;
	font-weight: 700;
	color: var(--dostgo-black);
}

.dostgo-nb-fleet-card__img {
	width: 100%;
	height: 62px;
	object-fit: contain;
}

.dostgo-nb-fleet-card__view {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: calc(100% + 24px);
	margin: 4px -12px -16px;
	padding: 10px 0;
	background: #028187;
	color: #fff;
	font-family: var(--dostgo-font-body);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.dostgo-nb-fleet-card.is-active .dostgo-nb-fleet-card__view {
	display: flex;
}

.dostgo-nb-fleet__cta {
	display: inline-block;
	background: #028187;
	color: #fff;
	text-decoration: none;
	font-family: var(--dostgo-font-body);
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 15px 42px;
	border-radius: 50px;
	transition: background .2s ease;
}
.dostgo-nb-fleet__cta:hover { background: #111; color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.dostgo-nb-fleet__inner { grid-template-columns: 1fr; gap: 40px; }
	.dostgo-nb-fleet__text { max-width: 100%; }
}

@media (max-width: 768px) {
	.dostgo-nb-fleet { padding: 60px 0; }
	.dostgo-nb-fleet__title { font-size: 1.7rem; }
	.dostgo-nb-fleet__grid { grid-template-columns: repeat(2, 1fr); }
	.dostgo-nb-fleet__pill { gap: 12px; padding: 12px 16px; }
}

@media (max-width: 480px) {
	.dostgo-nb-fleet__grid { gap: 12px; }
	.dostgo-nb-fleet-card { padding: 14px 8px 12px; }
	.dostgo-nb-fleet__cta { width: 100%; text-align: center; padding: 14px; }
}