/* ZiyaraWay website booking v2 (draft). Scoped to #zw-wb. Brand: green #075743, gold #C7A45A, cream #F6F0E5. */
#zw-wb {
	--zw-green: #075743;
	--zw-green-d: #053f31;
	--zw-gold: #C7A45A;
	--zw-cream: #F6F0E5;
	--zw-ink: #1d2623;
	--zw-muted: #5d6a65;
	--zw-line: #e4dccb;
	--zw-white: #ffffff;
	--zw-err: #9b2c2c;
	color: var(--zw-ink);
	background: var(--zw-cream);
	font-family: "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	line-height: 1.5;
	font-size: 16px;
	box-sizing: border-box;
}
#zw-wb *, #zw-wb *::before, #zw-wb *::after { box-sizing: border-box; }
#zw-wb[dir="rtl"] { font-family: "Noto Naskh Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif; }

/* Hero */
#zw-wb .zwwb-hero {
	background: linear-gradient(135deg, var(--zw-green-d) 0%, var(--zw-green) 100%);
	color: var(--zw-white);
	padding: 56px 20px 64px;
	border-bottom: 4px solid var(--zw-gold);
}
#zw-wb .zwwb-hero-inner { max-width: 1100px; margin: 0 auto; }
#zw-wb .zwwb-eyebrow { margin: 0 0 12px; color: var(--zw-gold); font-size: 14px; letter-spacing: .04em; }
#zw-wb h1 { margin: 0 0 14px; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; font-weight: 700; color: var(--zw-white); }
#zw-wb .zwwb-lead { margin: 0 0 24px; max-width: 640px; font-size: clamp(16px, 2.2vw, 19px); color: #e9efec; }
#zw-wb .zwwb-cta {
	display: inline-block; padding: 14px 26px; border-radius: 4px;
	background: var(--zw-gold); color: var(--zw-green-d); font-weight: 700; text-decoration: none;
}
#zw-wb .zwwb-cta:focus-visible, #zw-wb input:focus-visible, #zw-wb select:focus-visible, #zw-wb textarea:focus-visible, #zw-wb button:focus-visible, #zw-wb a:focus-visible {
	outline: 3px solid var(--zw-gold); outline-offset: 2px;
}

/* Layout */
#zw-wb .zwwb-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 20px 64px; }
#zw-wb .zwwb-form { display: grid; grid-template-columns: 1fr; gap: 22px; }
#zw-wb .zwwb-main { display: grid; gap: 18px; min-width: 0; }
#zw-wb .zwwb-card {
	margin: 0; padding: 22px; background: var(--zw-white); border: 1px solid var(--zw-line); border-radius: 6px;
	min-width: 0;
}
#zw-wb .zwwb-card legend { padding: 0 6px; font-size: 19px; font-weight: 700; color: var(--zw-green); }
#zw-wb .zwwb-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
#zw-wb .zwwb-span2 { grid-column: 1 / -1; }
#zw-wb .zwwb-field { display: grid; gap: 6px; }
#zw-wb .zwwb-field > span { font-size: 14px; font-weight: 600; color: var(--zw-ink); }
#zw-wb input[type="text"], #zw-wb input[type="tel"], #zw-wb input[type="email"], #zw-wb input[type="date"],
#zw-wb input[type="time"], #zw-wb input[type="number"], #zw-wb select, #zw-wb textarea {
	width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9c0ab; border-radius: 4px;
	background: var(--zw-white); color: var(--zw-ink); font: inherit;
}
#zw-wb textarea { min-height: 96px; resize: vertical; }
#zw-wb input[aria-invalid="true"], #zw-wb select[aria-invalid="true"] { border-color: var(--zw-err); }
#zw-wb select:disabled { background: #efebe2; }
#zw-wb [hidden] { display: none !important; }
#zw-wb .zwwb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Checkbox rows */
#zw-wb .zwwb-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; cursor: pointer; }
#zw-wb .zwwb-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--zw-green); flex: 0 0 auto; }
#zw-wb .zwwb-grid + .zwwb-check { margin-top: 16px; }

/* Segmented service picker */
#zw-wb .zwwb-seg { display: grid; grid-template-columns: 1fr; gap: 10px; }
#zw-wb .zwwb-seg label { position: relative; cursor: pointer; }
#zw-wb .zwwb-seg input { position: absolute; opacity: 0; pointer-events: none; }
#zw-wb .zwwb-seg span {
	display: block; padding: 14px 16px; border: 1px solid #c9c0ab; border-radius: 4px; font-weight: 600; text-align: center;
	background: var(--zw-white);
}
#zw-wb .zwwb-seg input:checked + span { background: var(--zw-green); color: var(--zw-white); border-color: var(--zw-green); }
#zw-wb .zwwb-seg input:focus-visible + span { outline: 3px solid var(--zw-gold); outline-offset: 2px; }

/* Vehicle cards */
#zw-wb .zwwb-vehicles { display: grid; grid-template-columns: 1fr; gap: 12px; }
#zw-wb .zwwb-vehicle { position: relative; display: grid; gap: 6px; cursor: pointer; border: 1px solid var(--zw-line); border-radius: 6px; padding: 12px; background: var(--zw-white); }
#zw-wb .zwwb-vehicle input { position: absolute; opacity: 0; pointer-events: none; }
#zw-wb .zwwb-vehicle:has(input:checked) { border-color: var(--zw-green); box-shadow: 0 0 0 2px var(--zw-green) inset; }
#zw-wb .zwwb-vehicle input:focus-visible ~ .zwwb-vehicle-name { text-decoration: underline; }
#zw-wb .zwwb-vehicle-media { display: block; aspect-ratio: 16 / 10; border-radius: 4px; background: #efebe2; overflow: hidden; }
#zw-wb .zwwb-vehicle-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
#zw-wb .zwwb-vehicle-name { font-weight: 700; color: var(--zw-green-d); }
#zw-wb .zwwb-vehicle-meta { font-size: 14px; color: var(--zw-muted); }

/* Error and submit */
#zw-wb .zwwb-error { margin: 0; min-height: 1.5em; color: var(--zw-err); font-weight: 600; }
#zw-wb .zwwb-submit {
	width: 100%; min-height: 56px; border: 0; border-radius: 4px; background: var(--zw-green); color: var(--zw-white);
	font: inherit; font-size: 18px; font-weight: 700; cursor: pointer;
}
#zw-wb .zwwb-submit:hover { background: var(--zw-green-d); }
#zw-wb .zwwb-submit:disabled { opacity: .6; cursor: default; }

/* Summary and price */
#zw-wb .zwwb-summary {
	background: var(--zw-green); color: var(--zw-white); border-radius: 6px; padding: 22px; align-self: start;
}
#zw-wb .zwwb-summary h2 { margin: 0 0 14px; font-size: 20px; color: var(--zw-gold); }
#zw-wb .zwwb-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
#zw-wb .zwwb-summary dt { color: #c9d9d3; font-size: 14px; }
#zw-wb .zwwb-summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
#zw-wb .zwwb-price { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
#zw-wb .zwwb-price h3 { margin: 0 0 6px; font-size: 16px; color: var(--zw-gold); }
#zw-wb .zwwb-price p { margin: 0 0 14px; font-size: 15px; color: #e9efec; }
#zw-wb .zwwb-wa {
	display: block; text-align: center; padding: 12px 14px; border-radius: 4px; background: var(--zw-gold);
	color: var(--zw-green-d); font-weight: 700; text-decoration: none;
}

/* Done state */
#zw-wb .zwwb-done {
	max-width: 620px; margin: 0 auto; padding: 32px 24px; background: var(--zw-white); border: 1px solid var(--zw-line);
	border-top: 4px solid var(--zw-gold); border-radius: 6px; text-align: center;
}
#zw-wb .zwwb-done h2 { margin: 0 0 14px; color: var(--zw-green); font-size: 26px; }
#zw-wb .zwwb-label { margin: 0; color: var(--zw-muted); font-size: 14px; }
#zw-wb .zwwb-ref { margin: 4px 0 14px; font-size: 26px; font-weight: 700; letter-spacing: .04em; color: var(--zw-green-d); }
#zw-wb .zwwb-done .zwwb-wa { display: inline-block; margin-top: 10px; padding: 14px 22px; }

/* Tablet and up */
@media (min-width: 640px) {
	#zw-wb .zwwb-grid { grid-template-columns: 1fr 1fr; }
	#zw-wb .zwwb-seg { grid-template-columns: repeat(3, 1fr); }
	#zw-wb .zwwb-vehicles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	#zw-wb .zwwb-form { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
	#zw-wb .zwwb-summary { position: sticky; top: 24px; }
	#zw-wb .zwwb-vehicles { grid-template-columns: repeat(4, 1fr); }
	#zw-wb .zwwb-hero { padding: 80px 20px 88px; }
}

/* Right-to-left (AR, UR) */
#zw-wb[dir="rtl"] .zwwb-summary dl { direction: rtl; }
#zw-wb[dir="rtl"] .zwwb-check input { margin-top: 0; }
#zw-wb[dir="rtl"] input[type="tel"], #zw-wb[dir="rtl"] input[type="email"] { direction: ltr; text-align: left; }
#zw-wb[dir="rtl"] .zwwb-cta, #zw-wb[dir="rtl"] .zwwb-submit, #zw-wb[dir="rtl"] .zwwb-vehicle-name { text-align: center; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	#zw-wb * { transition: none !important; scroll-behavior: auto !important; }
}

/* Website treatment (v0.2): hero depth, trust points */
#zw-wb .zwwb-hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(199, 164, 90, .18), transparent 45%),
		linear-gradient(135deg, var(--zw-green-d) 0%, var(--zw-green) 100%);
}
#zw-wb .zwwb-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
#zw-wb .zwwb-points li { position: relative; padding-inline-start: 22px; color: #e9efec; font-size: 16px; }
#zw-wb .zwwb-points li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--zw-gold);
}
#zw-wb .zwwb-card legend { font-family: inherit; }
#zw-wb .zwwb-summary { box-shadow: 0 10px 30px rgba(5, 63, 49, .18); }
@media (min-width: 960px) {
	#zw-wb .zwwb-hero { padding: 96px 20px 104px; }
}
