/*
Theme Name: RK Cab Kadence Child
Theme URI: https://rkcabjodhpur.com/
Description: Lightweight Kadence child theme for RK Cab & Travels Jodhpur.
Author: RK Cab & Travels Jodhpur
Author URI: https://rkcabjodhpur.com/
Template: kadence
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: rk-cab-kadence-child
*/

:root {
	--rk-blue: #0b4ea2;
	--rk-blue-dark: #07346e;
	--rk-blue-soft: #eaf3ff;
	--rk-gold: #f7b731;
	--rk-ink: #102033;
	--rk-muted: #5d6b7c;
	--rk-line: #dce6f2;
	--rk-bg: #f7fbff;
	--rk-white: #ffffff;
	--rk-radius: 8px;
	--rk-shadow: 0 12px 30px rgba(16, 32, 51, 0.1);
	--rk-max: 1180px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--rk-ink);
	background: var(--rk-white);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

body {
	text-transform: capitalize;
}

.rk-site-footer a[href^="mailto:"],
.rk-site-footer a[href^="https:"] {
	text-transform: none;
}

input::placeholder,
textarea::placeholder {
	text-transform: capitalize;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rk-container {
	width: min(100% - 32px, var(--rk-max));
	margin-inline: auto;
}

.rk-section {
	padding: 56px 0;
}

.rk-section--soft {
	background: var(--rk-bg);
}

.rk-eyebrow {
	margin: 0 0 8px;
	color: var(--rk-blue);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rk-section-title {
	margin: 0;
	color: var(--rk-ink);
	font-size: clamp(1.7rem, 4vw, 2.35rem);
	line-height: 1.18;
}

.rk-section-lead {
	max-width: 720px;
	margin: 12px 0 0;
	color: var(--rk-muted);
}

.rk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.rk-btn:hover,
.rk-btn:focus {
	transform: translateY(-1px);
}

.rk-btn--primary {
	color: var(--rk-white);
	background: var(--rk-blue);
}

.rk-btn--primary:hover,
.rk-btn--primary:focus {
	background: var(--rk-blue-dark);
}

.rk-btn--whatsapp {
	color: #0b3d28;
	background: #dff7e9;
	border-color: #aee8c5;
}

.rk-btn--light {
	color: var(--rk-blue-dark);
	background: var(--rk-white);
	border-color: rgba(255, 255, 255, 0.55);
}

.rk-site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--rk-line);
	box-shadow: 0 6px 18px rgba(16, 32, 51, 0.06);
	backdrop-filter: blur(12px);
}

.rk-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.rk-brand {
	display: grid;
	gap: 0;
	min-width: 0;
}

.rk-brand__name {
	color: var(--rk-blue-dark);
	font-size: clamp(1rem, 4vw, 1.22rem);
	font-weight: 900;
	line-height: 1.15;
}

.rk-brand__tagline {
	color: var(--rk-muted);
	font-size: 0.8rem;
	line-height: 1.3;
}

.rk-header-actions {
	display: none;
	align-items: center;
	gap: 10px;
}

.rk-main-nav {
	display: none;
	align-items: center;
	gap: 16px;
	margin-left: auto;
	color: var(--rk-muted);
	font-size: 0.92rem;
	font-weight: 800;
}

.rk-main-nav a:hover,
.rk-main-nav a:focus {
	color: var(--rk-blue);
}

.rk-mobile-action-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 90;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--rk-line);
	box-shadow: 0 -8px 22px rgba(16, 32, 51, 0.12);
}

.rk-mobile-action-bar .rk-btn {
	min-height: 46px;
	padding-inline: 10px;
	font-size: 0.9rem;
}

.rk-main {
	padding-bottom: 76px;
}

.rk-hero {
	position: relative;
	overflow: hidden;
	padding: 42px 0 44px;
	background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.rk-hero::before {
	position: absolute;
	inset: 0 0 auto;
	height: 240px;
	content: "";
	background: linear-gradient(90deg, rgba(11, 78, 162, 0.12), rgba(247, 183, 49, 0.12));
	pointer-events: none;
}

.rk-hero__grid {
	position: relative;
	display: grid;
	gap: 28px;
	align-items: center;
}

.rk-hero h1 {
	margin: 0;
	color: var(--rk-blue-dark);
	font-size: clamp(2.25rem, 10vw, 4.8rem);
	line-height: 0.98;
}

.rk-hero__subtitle {
	margin: 14px 0 0;
	color: var(--rk-blue);
	font-size: clamp(1.1rem, 4vw, 1.55rem);
	font-weight: 800;
	line-height: 1.28;
}

.rk-hero__text {
	max-width: 670px;
	margin: 16px 0 0;
	color: var(--rk-muted);
	font-size: 1.03rem;
}

.rk-hero__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 24px;
}

.rk-hero__trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.rk-hero__trust li {
	padding: 12px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	box-shadow: 0 8px 20px rgba(16, 32, 51, 0.06);
}

.rk-hero__visual {
	overflow: hidden;
	border: 1px solid var(--rk-line);
	border-radius: 14px;
	background: var(--rk-blue-soft);
	box-shadow: var(--rk-shadow);
}

.rk-hero__visual img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.rk-booking {
	margin-top: -12px;
}

.rk-booking__box {
	padding: 20px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: 14px;
	box-shadow: var(--rk-shadow);
}

.rk-form {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.rk-field {
	display: grid;
	gap: 6px;
}

.rk-field label {
	font-size: 0.88rem;
	font-weight: 800;
}

.rk-field input,
.rk-field select,
.rk-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	color: var(--rk-ink);
	background: #fbfdff;
	border: 1px solid #cddbec;
	border-radius: var(--rk-radius);
	font: inherit;
}

.rk-field textarea {
	min-height: 92px;
	resize: vertical;
}

.rk-grid {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}

.rk-card {
	padding: 18px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	box-shadow: 0 8px 22px rgba(16, 32, 51, 0.06);
}

.rk-card h3 {
	margin: 0 0 8px;
	color: var(--rk-blue-dark);
	font-size: 1.08rem;
	line-height: 1.3;
}

.rk-card p {
	margin: 0;
	color: var(--rk-muted);
}

.rk-route-list {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.rk-route-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 16px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	font-weight: 800;
}

.rk-route-list a::after {
	color: var(--rk-blue);
	content: "Call";
	font-size: 0.9rem;
}

.rk-fleet-card {
	display: grid;
	gap: 12px;
}

.rk-fleet-card__image {
	display: grid;
	place-items: center;
	min-height: 118px;
	background: linear-gradient(135deg, var(--rk-blue-soft), #ffffff);
	border-radius: var(--rk-radius);
	overflow: hidden;
}

.rk-fleet-card__image img,
.rk-fleet-card__placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.rk-fleet-card__placeholder {
	display: grid;
	place-items: center;
	min-height: 190px;
	padding: 18px;
	color: var(--rk-blue-dark);
	background: linear-gradient(135deg, #eef6ff, #ffffff);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	text-align: center;
}

.rk-fleet-card__placeholder span {
	font-size: 1.3rem;
	font-weight: 900;
}

.rk-check-list {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.rk-check-list li {
	position: relative;
	padding-left: 30px;
	color: var(--rk-muted);
}

.rk-check-list li::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 22px;
	height: 22px;
	color: var(--rk-white);
	background: var(--rk-blue);
	border-radius: 50%;
	content: "✓";
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 22px;
	text-align: center;
}

.rk-review {
	display: grid;
	gap: 12px;
}

.rk-stars {
	margin: 0;
	color: var(--rk-gold);
	font-size: 1.1rem;
	letter-spacing: 0.03em;
}

.rk-review blockquote {
	margin: 0;
	color: var(--rk-muted);
}

.rk-review cite {
	color: var(--rk-blue-dark);
	font-style: normal;
	font-weight: 900;
}

.rk-review-placeholder {
	margin-top: 24px;
}

.rk-rating-box {
	display: grid;
	gap: 18px;
	margin-top: 24px;
	padding: 20px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: 14px;
	box-shadow: var(--rk-shadow);
}

.rk-rating-box h3 {
	margin: 0 0 8px;
	color: var(--rk-blue-dark);
	font-size: 1.35rem;
}

.rk-rating-box p {
	margin: 0;
	color: var(--rk-muted);
}

.rk-page-hero {
	padding: 48px 0;
	background: linear-gradient(180deg, var(--rk-bg), var(--rk-white));
	border-bottom: 1px solid var(--rk-line);
}

.rk-page-hero h1 {
	max-width: 860px;
	margin: 0;
	color: var(--rk-blue-dark);
	font-size: clamp(2rem, 7vw, 4rem);
	line-height: 1.04;
}

.rk-page-hero p:not(.rk-eyebrow) {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--rk-muted);
	font-size: 1.05rem;
}

.rk-page-grid {
	display: grid;
	gap: 24px;
}

.rk-page-content {
	margin-top: 24px;
	color: var(--rk-muted);
}

.rk-sidebar-cta {
	align-self: start;
	display: grid;
	gap: 12px;
}

.rk-sidebar-cta h2 {
	margin: 0;
	color: var(--rk-blue-dark);
	font-size: 1.25rem;
}

.rk-route-details {
	margin-top: 24px;
	padding: 18px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
}

.rk-route-details h2 {
	margin: 0 0 14px;
	color: var(--rk-blue-dark);
	font-size: 1.25rem;
}

.rk-route-details dl {
	display: grid;
	gap: 12px;
	margin: 0;
}

.rk-route-details dl div {
	display: grid;
	gap: 4px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rk-line);
}

.rk-route-details dl div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.rk-route-details dt {
	color: var(--rk-blue-dark);
	font-weight: 900;
}

.rk-route-details dd {
	margin: 0;
	color: var(--rk-muted);
}

.rk-fare-table-wrap {
	overflow-x: auto;
	padding: 18px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	box-shadow: 0 8px 22px rgba(16, 32, 51, 0.06);
}

.rk-fare-table {
	width: 100%;
	min-width: 560px;
	margin-top: 18px;
	border-collapse: collapse;
}

.rk-fare-table th,
.rk-fare-table td {
	padding: 12px;
	border: 1px solid var(--rk-line);
	text-align: left;
}

.rk-fare-table th {
	color: var(--rk-blue-dark);
	background: var(--rk-blue-soft);
}

.rk-map-slot {
	margin-top: 14px;
	padding: 14px;
	border: 1px dashed rgba(255, 255, 255, 0.35);
	border-radius: var(--rk-radius);
}

.rk-map-slot iframe {
	width: 100%;
	min-height: 180px;
	border: 0;
}

.rk-faq {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}

.rk-faq details {
	padding: 16px;
	background: var(--rk-white);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
}

.rk-faq summary {
	cursor: pointer;
	color: var(--rk-blue-dark);
	font-weight: 900;
}

.rk-faq p {
	margin: 10px 0 0;
	color: var(--rk-muted);
}

.rk-final-cta {
	color: var(--rk-white);
	background: var(--rk-blue-dark);
}

.rk-final-cta .rk-section-title,
.rk-final-cta .rk-section-lead {
	color: var(--rk-white);
}

.rk-final-cta__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 24px;
}

.rk-site-footer {
	padding: 38px 0 86px;
	color: #dce9f8;
	background: #071d3d;
}

.rk-footer-grid {
	display: grid;
	gap: 22px;
}

.rk-site-footer h2,
.rk-site-footer h3 {
	margin: 0 0 10px;
	color: var(--rk-white);
}

.rk-site-footer p,
.rk-site-footer li {
	margin: 0;
	color: #c7d7ea;
}

.rk-site-footer ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-site-footer a {
	color: var(--rk-white);
}

.rk-footer-bottom {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.9rem;
}

@media (min-width: 560px) {
	.rk-hero__actions,
	.rk-final-cta__actions {
		display: flex;
		flex-wrap: wrap;
	}

	.rk-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rk-field--wide,
	.rk-form .rk-btn {
		grid-column: 1 / -1;
	}

	.rk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 780px) {
	.rk-section {
		padding: 74px 0;
	}

	.rk-header-actions {
		display: flex;
	}

	.rk-mobile-action-bar {
		display: none;
	}

	.rk-main {
		padding-bottom: 0;
	}

	.rk-hero {
		padding: 72px 0 82px;
	}

	.rk-hero__grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	}

	.rk-booking {
		margin-top: -44px;
	}

	.rk-booking__box {
		padding: 26px;
	}

	.rk-route-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rk-rating-box,
	.rk-page-grid {
		grid-template-columns: minmax(0, 1fr) 340px;
		align-items: start;
	}

	.rk-footer-grid {
		grid-template-columns: 1.35fr 1fr 1fr;
	}

	.rk-site-footer {
		padding-bottom: 38px;
	}
}

@media (min-width: 980px) {
	.rk-main-nav {
		display: flex;
	}

	.rk-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rk-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
