/* Bhartiyan Booking: brand styles. Navy, golden yellow, white. No black. */
:root {
	--bh-navy: #0E2A47;
	--bh-navy-2: #163A5F;
	--bh-navy-line: #2C4D72;
	--bh-gold: #F2B632;
	--bh-gold-hover: #F5C24F;
	--bh-gold-soft: #FDF3DC;
	--bh-white: #FFFFFF;
	--bh-mist: #F3F6FA;
	--bh-line: #D7E0EA;
	--bh-muted: #4D6380;
	--bh-on-navy: #C9D6E6;
	--bh-error: #B3261E;
	--bh-wa: #25D366;
	--bh-max: 1120px;
	--bh-display: "Montserrat", "Segoe UI", Arial, sans-serif;
}

/* Brand name in the header */
.site-branding .site-title { letter-spacing: .16em; text-transform: uppercase; }

/* Pages with a hero: hide the theme's own title, let the hero run edge to edge */
body.bh-has-hero { overflow-x: clip; }
.bh-has-hero .entry-hero,
.bh-has-hero .entry-header { display: none; }

.bh-hero,
.bh-band {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ---------- Hero ---------- */
.bh-hero { background: var(--bh-navy); color: var(--bh-white); margin-top: 0; margin-bottom: 48px; }
.bh-hero-in {
	max-width: var(--bh-max); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start;
	padding-block: 48px 64px;
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.bh-hero-copy { display: grid; gap: 18px; min-width: 0; padding-top: 8px; }
.bh-tagline { margin: 0; font-family: var(--bh-display); font-weight: 600; color: var(--bh-gold); font-size: 15px; letter-spacing: .04em; }
.bh-hero h1 { margin: 0; color: var(--bh-white); font-family: var(--bh-display); font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; text-wrap: balance; }
.bh-lead { margin: 0; color: var(--bh-on-navy); font-size: 17px; max-width: 34em; }
.bh-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.bh-tile { display: grid; gap: 2px; border: 1px solid var(--bh-navy-line); border-radius: 10px; padding: 10px 14px; min-width: 0; }
.bh-tile b { font-family: var(--bh-display); font-size: 16px; color: var(--bh-gold); }
.bh-tile small { color: var(--bh-on-navy); font-size: 13px; line-height: 1.4; }
.bh-hero-call { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.bh-hero-call a { display: inline-flex; align-items: center; gap: 8px; color: var(--bh-white); text-decoration: none; font-family: var(--bh-display); font-weight: 700; font-size: 15px; }
.bh-hero-call a:hover { color: var(--bh-gold); }
.bh-hero-call svg { width: 18px; height: 18px; color: var(--bh-gold); }

@media (max-width: 900px) {
	.bh-hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px 40px; }
	.bh-hero-copy { padding-top: 0; }
}

/* ---------- Booking card ---------- */
.bh-book { background: var(--bh-white); color: var(--bh-navy); border-radius: 14px; padding: 24px; box-shadow: 0 18px 40px rgba(4, 16, 30, .35); min-width: 0; scroll-margin-top: 90px; }
.bh-book-title { margin: 0; font-family: var(--bh-display); font-size: 22px; color: var(--bh-navy); }
.bh-book-sub { margin: 4px 0 0; color: var(--bh-muted); font-size: 14px; }
.bh-form { display: grid; gap: 14px; margin-top: 18px; }
.bh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bh-field { display: grid; gap: 5px; min-width: 0; }
.bh-form label,
.bh-form legend { font-family: var(--bh-display); font-weight: 600; font-size: 13px; color: var(--bh-navy); margin: 0; padding: 0; }
.bh-opt { font-weight: 500; color: var(--bh-muted); }
.bh-form input,
.bh-form select,
.bh-form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--bh-navy); background: var(--bh-white);
	border: 1.5px solid var(--bh-line); border-radius: 8px; padding: 10px 12px; min-height: 46px; box-shadow: none; margin: 0;
}
.bh-form textarea { min-height: 70px; resize: vertical; }
.bh-form input:focus,
.bh-form select:focus,
.bh-form textarea:focus { border-color: var(--bh-navy); outline: 2px solid var(--bh-gold); outline-offset: 0; }
.bh-err { display: none; color: var(--bh-error); font-size: 13px; }
.bh-bad .bh-err { display: block; }
.bh-bad input, .bh-bad select { border-color: var(--bh-error); }
.bh-alert { background: #FCEDEC; color: var(--bh-error); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.bh-cars-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bh-cars-pick legend { grid-column: 1 / -1; margin-bottom: 5px; }
.bh-car-opt { position: relative; }
.bh-car-opt input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; }
.bh-car-opt label { display: grid; gap: 2px; border: 1.5px solid var(--bh-line); border-radius: 8px; padding: 10px 12px; cursor: pointer; font-size: 15px; font-weight: 700; }
.bh-car-opt label small { font-family: inherit; font-weight: 400; color: var(--bh-muted); font-size: 13px; }
.bh-car-opt input:checked + label { border-color: var(--bh-navy); background: var(--bh-gold-soft); box-shadow: inset 0 0 0 1px var(--bh-navy); }
.bh-car-opt input:focus-visible + label { outline: 3px solid var(--bh-gold); outline-offset: 2px; }
.bh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bh-fine { margin: 0; font-size: 12px; color: var(--bh-muted); text-align: center; }

.bh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	appearance: none; border: 0; cursor: pointer; text-decoration: none;
	background: var(--bh-gold); color: var(--bh-navy); font-family: var(--bh-display); font-weight: 800; font-size: 16px;
	padding: 14px 18px; border-radius: 10px; min-height: 52px; line-height: 1.2; transition: background .15s ease;
}
.bh-btn:hover, .bh-btn:focus { background: var(--bh-gold-hover); color: var(--bh-navy); }
.bh-btn:focus-visible { outline: 3px solid var(--bh-navy); outline-offset: 2px; }
.bh-btn[disabled] { opacity: .7; cursor: wait; }
.bh-btn svg { width: 20px; height: 20px; }
.bh-btn-sm { font-size: 15px; padding: 11px 18px; min-height: 46px; }
.bh-btn-out { background: var(--bh-white); border: 1.5px solid var(--bh-navy); }
.bh-btn-out:hover, .bh-btn-out:focus { background: var(--bh-mist); }
.bh-btn-wa { background: var(--bh-wa); color: var(--bh-white); }
.bh-btn-wa:hover, .bh-btn-wa:focus { background: #1EBE5A; color: var(--bh-white); }

.bh-thanks { display: grid; gap: 14px; }
.bh-thanks[hidden], .bh-form-view[hidden], .bh-alert[hidden], .bh-btn[hidden] { display: none; }
.bh-thanks-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--bh-gold); color: var(--bh-navy); display: grid; place-items: center; }
.bh-thanks-badge svg { width: 26px; height: 26px; }
.bh-ticket { border: 1.5px dashed var(--bh-line); border-radius: 10px; padding: 14px; display: grid; gap: 6px; font-size: 14px; }
.bh-ticket div { display: flex; justify-content: space-between; gap: 12px; }
.bh-ticket span { color: var(--bh-muted); }
.bh-ticket b { text-align: right; overflow-wrap: anywhere; }

@media (max-width: 420px) {
	.bh-row { grid-template-columns: 1fr; }
	.bh-book { padding: 18px; }
}

/* ---------- Full-width coloured bands (Group block with class bh-band) ---------- */
.bh-band {
	background: var(--bh-mist);
	padding-block: 56px;
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
	margin-block: 48px;
}
.bh-band > * { max-width: var(--bh-max); margin-left: auto !important; margin-right: auto !important; }
.bh-section { margin-block: 48px; }

/* Why-us grid (Group block with class bh-why) */
.bh-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.bh-why > * { margin: 0 !important; }
.bh-why h3 { font-size: 17px; margin: 0 0 6px; }
.bh-why h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--bh-gold); margin-bottom: 12px; }
.bh-why p { margin: 0; color: var(--bh-muted); font-size: 15px; }
@media (max-width: 900px) { .bh-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .bh-why { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Car cards ---------- */
.bh-cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 24px; }
.bh-car { border: 1px solid var(--bh-line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--bh-white); }
.bh-car-img { aspect-ratio: 16 / 9; max-width: 100%; background: var(--bh-mist); display: grid; place-items: center; overflow: hidden; }
.bh-car-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-car-img svg { width: 62%; height: auto; }
.bh-car-body { padding: 20px; display: grid; gap: 14px; align-content: start; }
.bh-car-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bh-car h3 { margin: 0; font-size: 20px; }
.bh-pax { font-family: var(--bh-display); font-weight: 700; font-size: 13px; background: var(--bh-navy); color: var(--bh-white); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.bh-specs { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; color: var(--bh-muted); }
.bh-specs li { margin: 0; }
.bh-specs b { color: var(--bh-navy); }
.bh-car .bh-btn { justify-self: start; }
@media (max-width: 680px) { .bh-cars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Service links ---------- */
.bh-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 16px; }
.bh-areas a { text-decoration: none; border: 1.5px solid var(--bh-navy); color: var(--bh-navy); border-radius: 99px; padding: 8px 16px; font-family: var(--bh-display); font-weight: 600; font-size: 14px; }
.bh-areas a:hover, .bh-areas a:focus { background: var(--bh-navy); color: var(--bh-white); }

/* ---------- FAQ (Details blocks) ---------- */
.entry-content details.wp-block-details { border: 1px solid var(--bh-line); border-radius: 10px; background: var(--bh-white); padding: 0; margin-block: 10px; }
.entry-content details.wp-block-details summary { cursor: pointer; padding: 16px 18px; font-family: var(--bh-display); font-weight: 600; color: var(--bh-navy); }
.entry-content details.wp-block-details > *:not(summary) { padding: 0 18px; margin-bottom: 16px; color: var(--bh-muted); }

/* ---------- Contact cards ---------- */
.bh-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 20px; }
.bh-c-card { border: 1px solid var(--bh-line); border-radius: 10px; padding: 18px; display: grid; gap: 4px; min-width: 0; background: var(--bh-white); }
.bh-c-card span { font-size: 12px; color: var(--bh-muted); font-family: var(--bh-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.bh-c-card a { font-size: 17px; font-weight: 700; color: var(--bh-navy); text-decoration: none; overflow-wrap: anywhere; }
.bh-c-card a:hover { color: var(--bh-navy-2); text-decoration: underline; }
@media (max-width: 760px) { .bh-contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Floating buttons ---------- */
.bh-float {
	position: fixed; z-index: 999; display: grid; gap: 12px;
	right: calc(16px + env(safe-area-inset-right, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.bh-float a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(4, 16, 30, .3); }
.bh-float svg { width: 28px; height: 28px; }
.bh-f-wa { background: var(--bh-wa); color: var(--bh-white); }
.bh-f-call { background: var(--bh-gold); color: var(--bh-navy); }
.bh-float a:focus-visible { outline: 3px solid var(--bh-navy); outline-offset: 3px; }
/* Leave room so the buttons never cover the footer text */
.site-footer { padding-bottom: 80px; }

@media (prefers-reduced-motion: reduce) {
	.bh-btn { transition: none; }
}
