/*
Theme Name: Yashasvi Rides
Theme URI: https://yashasvirides.com
Author: Yashasvi Rides Development Team
Author URI: https://yashasvirides.com
Description: High-performance, mobile-first custom WordPress theme for Yashasvi Rides cab and taxi services in Ahmedabad, Gujarat.
Version: 1.0.0
Tested up to: 7.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: yashasvi-rides
Tags: one-column, two-columns, custom-menu, custom-logo, editor-style, featured-images, translation-ready
*/

/* ==========================================================================
   1. Design Tokens & CSS Custom Properties
   ========================================================================== */
:root {
  --yr-gold: #F5B400;
  --yr-gold-hover: #121212;
  --yr-yellow: #FFD21F;
  --yr-black: #121212;
  --yr-black-surface: #121212;
  --yr-charcoal: #3A3A3A;
  --yr-charcoal-light: #3A3A3A;
  --yr-gray: #B8B8B8;
  --yr-gray-light: rgba(184, 184, 184, 0.15);
  --yr-gray-border: rgba(184, 184, 184, 0.4);
  --yr-white: #FFFFFF;

  --yr-font-main: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --yr-radius-sm: 6px;
  --yr-radius-md: 10px;
  --yr-radius-lg: 16px;
  --yr-radius-full: 9999px;

  --yr-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --yr-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --yr-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --yr-shadow-glow: 0 4px 20px rgba(245, 180, 0, 0.35);

  --yr-container-max: 1200px;
  --yr-container-pad: clamp(12px, 4vw, 24px);

  --yr-header-height: 72px;
  --yr-sticky-bar-height: 64px;
}

/* ==========================================================================
   2. Self-Hosted Variable Font (@font-face) & Metric Fallback (Zero CLS)
   ========================================================================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-roman.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback Metric Adjuster to prevent Layout Shifts */
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 102%;
}

/* ==========================================================================
   3. Reset & Base Typography (Mobile First, ~320px+)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--yr-font-main), 'Plus Jakarta Sans Fallback', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--yr-black);
  background-color: var(--yr-white);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--yr-header-height);
}

body {
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-bottom: calc(var(--yr-sticky-bar-height) + env(safe-area-inset-bottom, 0px));
}

body.error404,
body.page-template-page-thank-you,
body.page-template-page-booking-confirmed {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.error404 main#main-content,
body.page-template-page-thank-you main#main-content,
body.page-template-page-booking-confirmed main#main-content {
  flex: 1 0 auto;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

main#main-content {
  display: block;
  width: 100%;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.attachment-yr-hero,
.attachment-yr-card,
.attachment-yr-hero,
.attachment-yr-card,
.attachment-yr-thumb,
.attachment-post-thumbnail {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.yr-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--yr-radius-md);
  overflow: hidden;
  background: var(--yr-gray-light);
  margin-bottom: 28px;
}

.yr-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prevent CSS Grid column expansion beyond viewport */
.yr-grid,
.yr-grid>*,
.yr-hero-grid>*,
.yr-features-grid>*,
.yr-services-grid>*,
.yr-stats-grid>*,
.yr-footer-grid>*,
.yr-fleet-grid>*,
.yr-vehicle-specs>*,
.yr-sticky-action-inner>*,
.yr-form-row>* {
  min-width: 0;
  max-width: 100%;
}

.table-scroll-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.yr-content-body {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.yr-content-body div,
.yr-content-body figure {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

input,
button,
textarea,
select {
  font: inherit;
  font-size: 16px;
  /* iOS auto-zoom prevention */
}

/* Fluent Forms Input Size Normalization */
.fluentform input,
.fluentform select,
.fluentform textarea,
.fluentform .ff-el-form-control {
  font-size: 16px !important;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.yr-content-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

ul,
ol {
  list-style: none;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--yr-gold);
  color: var(--yr-black);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--yr-radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--yr-black);
}

/* Focus Visible Accessibility */
:focus-visible {
  outline: 3px solid var(--yr-gold);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--yr-black);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 2.50rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.05rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Container */
.yr-container {
  width: 100%;
  max-width: var(--yr-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--yr-container-pad);
  padding-right: var(--yr-container-pad);
}

/* Buttons */
.yr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--yr-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  white-space: normal;
  max-width: 100%;
}

.yr-btn-primary {
  background: linear-gradient(135deg, var(--yr-yellow) 0%, var(--yr-gold) 100%);
  color: var(--yr-black);
  box-shadow: 0 2px 6px rgba(245, 180, 0, 0.25);
}

.yr-btn-primary:hover,
.yr-btn-primary:focus {
  background: var(--yr-gold-hover);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: var(--yr-shadow-glow);
}

.yr-btn-dark {
  background: var(--yr-black);
  color: var(--yr-white);
  border-color: var(--yr-black);
}

.yr-btn-dark:hover,
.yr-btn-dark:focus {
  background: var(--yr-charcoal);
  border-color: var(--yr-charcoal);
  color: var(--yr-yellow);
}

.yr-btn-outline {
  background: transparent;
  color: var(--yr-black);
  border-color: var(--yr-charcoal);
}

.yr-btn-outline:hover,
.yr-btn-outline:focus {
  border-color: var(--yr-gold);
  background: rgba(245, 180, 0, 0.1);
  color: var(--yr-black);
}

.yr-btn-whatsapp {
  background: #25D366;
  color: #121212;
  font-weight: 800;
}

.yr-btn-whatsapp:hover,
.yr-btn-whatsapp:focus {
  background: #16A34A;
  color: #121212;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* SVG Icon Helper */
.yr-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.yr-top-bar {
  display: none;
  background: var(--yr-black);
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--yr-charcoal);
}

@media (min-width: 992px) {
  .yr-top-bar {
    display: block;
  }
}

.yr-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yr-top-bar-left,
.yr-top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.yr-top-bar a {
  color: #FFFFFF;
  font-weight: 600;
}

.yr-top-bar a:hover {
  color: var(--yr-gold);
}

.yr-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--yr-white);
  box-shadow: var(--yr-shadow-sm);
  transition: all 0.3s ease;
}

.yr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--yr-header-height);
}

.yr-logo-link {
  display: flex;
  align-items: center;
}

.yr-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.yr-nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .yr-nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .yr-nav-desktop a {
    font-weight: 600;
    color: var(--yr-charcoal);
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
  }

  .yr-nav-desktop a:hover,
  .yr-nav-desktop .current-menu-item>a {
    color: var(--yr-black);
  }

  .yr-nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--yr-gold);
    transition: width 0.2s ease;
  }

  .yr-nav-desktop a:hover::after,
  .yr-nav-desktop .current-menu-item>a::after {
    width: 100%;
  }
}

.yr-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yr-menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

@media (min-width: 992px) {
  .yr-menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.yr-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: var(--yr-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  visibility: hidden;
}

.yr-mobile-drawer.is-active {
  right: 0;
  visibility: visible;
}

.yr-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.yr-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.yr-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yr-gray-border);
}

.yr-nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.yr-nav-mobile a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--yr-charcoal);
  padding: 10px 0;
  border-bottom: 1px solid var(--yr-gray-border);
}

.yr-nav-mobile a:hover,
.yr-nav-mobile .current-menu-item>a {
  color: var(--yr-gold);
}

/* ==========================================================================
   5. Hero Section & Booking Engine Form
   ========================================================================== */
.yr-hero {
  position: relative;
  background: radial-gradient(circle at 75% 30%, var(--yr-charcoal) 0%, #121212 100%);
  color: var(--yr-white);
  padding: 48px 0 60px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .yr-hero {
    padding: 40px 0 100px;
  }
}

.yr-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .yr-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

.yr-hero-content {
  min-width: 0;
  max-width: 100%;
}

.yr-hero-tag {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  background: rgba(245, 180, 0, 0.15);
  border: 1px solid var(--yr-gold);
  color: var(--yr-yellow);
  font-size: clamp(0.75rem, 3.5vw, 0.875rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--yr-radius-full);
  margin-bottom: 16px;
}

.yr-hero-title {
  color: var(--yr-white);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.yr-hero-title span {
  color: var(--yr-gold);
}

.yr-hero-desc {
  font-size: 1.15rem;
  color: var(--yr-gray);
  margin-bottom: 28px;
  max-width: 560px;
}

.yr-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Booking Card */
.yr-booking-card {
  background: var(--yr-white);
  color: var(--yr-black);
  border-radius: var(--yr-radius-lg);
  padding: 16px 12px;
  box-shadow: var(--yr-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 480px) {
  .yr-booking-card {
    padding: 24px;
  }
}

@media (min-width: 768px) {
  .yr-booking-card {
    padding: 32px;
  }
}

.yr-booking-card-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.yr-booking-card-sub {
  color: var(--yr-charcoal-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.yr-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 600px) {
  .yr-form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.yr-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yr-form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yr-charcoal);
}

.yr-form-input,
.yr-form-select,
.yr-form-textarea,
.fluentform input.ff-el-form-control,
.fluentform select.ff-el-form-control,
.fluentform textarea.ff-el-form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--yr-gray-border);
  border-radius: var(--yr-radius-sm);
  background: var(--yr-white);
  color: var(--yr-black);
  font-size: 16px;
  /* Prevents auto zoom on iOS */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yr-form-input:focus,
.yr-form-select:focus,
.yr-form-textarea:focus,
.fluentform input.ff-el-form-control:focus,
.fluentform select.ff-el-form-control:focus,
.fluentform textarea.ff-el-form-control:focus {
  border-color: var(--yr-gold);
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.25);
  outline: none;
}

.fluentform .ff-el-group {
  margin-bottom: 14px;
}

.fluentform .ff-el-input--label label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--yr-charcoal);
  margin-bottom: 6px;
  display: block;
}

.fluentform .ff-btn-submit {
  width: 100%;
  min-height: 48px;
  background: var(--yr-gold) !important;
  color: var(--yr-black) !important;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: var(--yr-radius-sm);
  cursor: pointer;
  box-shadow: var(--yr-shadow-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}

.fluentform .ff-btn-submit:hover {
  background: var(--yr-gold-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.fluentform .ff-errors-in-stack {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  padding: 10px 14px;
  border-radius: var(--yr-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
}

/* ==========================================================================
   6. Stats Band
   ========================================================================== */
.yr-stats-band {
  background: linear-gradient(135deg, var(--yr-yellow) 0%, var(--yr-gold) 100%);
  color: var(--yr-black);
  padding: 36px 0;
  box-shadow: var(--yr-shadow-sm);
}

.yr-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .yr-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.yr-stat-item {
  text-align: center;
}

.yr-stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.yr-stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   7. Section Headers & Cards
   ========================================================================== */
.yr-section {
  padding: 60px 0;
}


@media (min-width: 992px) {
  .yr-section {
    padding: 80px 0;
  }
}

.yr-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.yr-section-subtitle {
  color: var(--yr-black);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.yr-section-title {
  margin-bottom: 12px;
}

.yr-section-desc {
  color: var(--yr-charcoal-light);
  font-size: 1.05rem;
}

/* Services Grid */
.yr-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .yr-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .yr-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.yr-service-card {
  background: var(--yr-white);
  border: 1px solid var(--yr-gray-border);
  border-radius: var(--yr-radius-md);
  padding: 32px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.yr-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--yr-gold);
  box-shadow: var(--yr-shadow-md);
}

.yr-service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(245, 180, 0, 0.12);
  color: var(--yr-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.yr-service-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.yr-service-excerpt {
  color: var(--yr-charcoal);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 16px;
}

.yr-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--yr-black);
}

.yr-service-card:hover .yr-link-arrow {
  color: var(--yr-gold-hover);
}

/* Fleet Slider / Grid */
.yr-fleet-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(100%, 340px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
  .yr-fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    overflow-x: visible;
  }
}

.yr-vehicle-card {
  background: var(--yr-white);
  border: 1px solid var(--yr-gray-border);
  border-radius: var(--yr-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: all 0.25s ease;
}

.yr-vehicle-card:hover {
  border-color: var(--yr-gold);
  box-shadow: var(--yr-shadow-md);
  transform: translateY(-3px);
}

.yr-vehicle-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--yr-gray-light);
  overflow: hidden;
}

.yr-vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yr-gold);
  color: var(--yr-black);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--yr-radius-full);
}

.yr-vehicle-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.yr-vehicle-name {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.yr-vehicle-tagline {
  color: var(--yr-charcoal-light);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.yr-vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--yr-charcoal);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yr-gray-border);
}

.yr-vehicle-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--yr-black);
  margin-bottom: 16px;
}

.yr-vehicle-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yr-charcoal-light);
}

/* Call Now CTA Band */
.yr-cta-band {
  background: radial-gradient(circle at 50% 50%, var(--yr-charcoal) 0%, #121212 100%);
  color: var(--yr-white);
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.yr-cta-band h2 {
  color: var(--yr-white);
  margin-bottom: 12px;
}

.yr-cta-band p {
  color: var(--yr-gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Why Choose Us Feature Cards */
.yr-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .yr-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.yr-feature-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--yr-gray-light);
  border-radius: var(--yr-radius-md);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.yr-feature-card:hover {
  background: var(--yr-white);
  border-color: var(--yr-gold);
  box-shadow: var(--yr-shadow-md);
}

.yr-feature-icon {
  width: 64px;
  height: 64px;
  background: var(--yr-white);
  color: var(--yr-gold-hover);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--yr-shadow-sm);
}

/* FAQ Accordion */
.yr-faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yr-faq-item {
  border: 1px solid var(--yr-gray-border);
  border-radius: var(--yr-radius-sm);
  background: var(--yr-white);
  overflow: hidden;
}

.yr-faq-summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.yr-faq-summary::-webkit-details-marker {
  display: none;
}

.yr-faq-content {
  padding: 0 20px 20px;
  color: var(--yr-charcoal);
  font-size: 0.95rem;
  border-top: 1px solid var(--yr-gray-border);
  padding-top: 14px;
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.yr-footer {
  background: var(--yr-black);
  color: var(--yr-gray);
  padding: 60px 0 24px;
  font-size: 0.95rem;
  margin-top: auto;
}

.yr-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 600px) {
  .yr-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .yr-footer-grid {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  }
}

.yr-footer-col h4 {
  color: var(--yr-white);
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.yr-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--yr-gold);
}

.yr-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yr-footer-links a {
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
  color: var(--yr-gray);
}

.yr-footer-links a:hover {
  color: var(--yr-gold);
}

.yr-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--yr-charcoal);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .yr-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   9. Mobile Sticky Action Bar
   ========================================================================== */
.yr-sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: var(--yr-white);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  height: calc(var(--yr-sticky-bar-height) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--yr-gray-border);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.yr-sticky-action-bar.is-hidden-keyboard {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  .yr-sticky-action-bar {
    display: none;
    /* Desktop uses standard header */
  }
}

.yr-sticky-action-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  width: 100%;
}

.yr-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  border-radius: var(--yr-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   10. Click-to-load Map Facade
   ========================================================================== */
.yr-map-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  background: var(--yr-gray-light);
  border-radius: var(--yr-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.yr-map-facade-btn {
  background: var(--yr-black);
  color: var(--yr-white);
  padding: 12px 24px;
  border-radius: var(--yr-radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--yr-shadow-md);
  transition: all 0.2s ease;
}

.yr-map-facade:hover .yr-map-facade-btn {
  background: var(--yr-gold);
  color: var(--yr-black);
}

/* ==========================================================================
   11. Print Stylesheet
   ========================================================================== */
@media print {

  .yr-header,
  .yr-sticky-action-bar,
  .yr-footer,
  .yr-hero-ctas,
  .yr-btn {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: var(--yr-black);
  }

  .yr-container {
    max-width: 100%;
    padding: 0;
  }
}

/* Responsive Singular Layout Grid */
.yr-singular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .yr-singular-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Responsive 2-Column Grid for Quick Booking Card */
@media (min-width: 600px) {
  .yr-booking-card .fluentform .frm-fluent-form {
    display: block !important;
    column-gap: 16px !important;
    row-gap: 6px !important;
    align-items: start !important;
  }
  #fluentform_1 .yr-col-6,
  #fluentform_1 .ff-el-group.yr-col-6 {
    display: inline-block !important;
    width: calc(50% - 8px) !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    vertical-align: top !important;
  }
  #fluentform_1 .yr-col-6:nth-child(odd),
  #fluentform_1 .ff-el-group.yr-col-6:nth-child(odd) {
    margin-left: 16px !important;
  }
  .yr-booking-card .fluentform .ff-el-group {
    margin-bottom: 8px !important;
    width: 100% !important;
    grid-column: span 1 !important;
  }

  /* 100% Full Width: Name field (User Request 3) */
  .yr-booking-card .fluentform .ff-el-group:has(input[name="customer_name"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[name="full_name"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[id*="customer_name"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[placeholder*="Name" i]),
  .yr-booking-card .fluentform .ff-el-group:first-child,
  .yr-booking-card .fluentform .ff-el-group.yr-col-12 {
    grid-column: span 2 !important;
  }

  /* 50% Half Width: WhatsApp Number & Email on same row (User Request 3) */
  .yr-booking-card .fluentform .ff-el-group:has(input[name="phone"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[name="whatsapp"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[id*="phone"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[type="email"]),
  .yr-booking-card .fluentform .ff-el-group:has(input[name="email"]),
  .yr-booking-card .fluentform .ff-el-group.yr-col-6 {
    grid-column: span 1 !important;
  }

  /* 100% Full Width: Your Message & Special Requests (User Request 3) */
  .yr-booking-card .fluentform .ff-el-group:has(textarea),
  .yr-booking-card .fluentform .ff-el-group:has(textarea[name="message"]),
  .yr-booking-card .fluentform .ff-el-group:has(textarea[name="your_message"]),
  .yr-booking-card .fluentform .ff-el-group.yr-message-group {
    grid-column: span 2 !important;
  }

  /* 100% Full Width: Submit Button */
  .yr-booking-card .fluentform .ff-submit-group {
    grid-column: span 2 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }
}

/* Service & Route Card Image Enhancements */
.yr-service-card-with-img,
.yr-route-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.yr-service-card-with-img:hover,
.yr-route-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--yr-shadow-lg) !important;
}

.yr-service-card-with-img:hover .yr-service-card-img img,
.yr-route-card:hover .yr-route-card-img img {
  transform: scale(1.05) !important;
}

/* Indicative Rate Text High-Contrast Safety */
.yr-stats-band,
.yr-stats-band * {
  color: var(--yr-black) !important;
}

.yr-stat-disclaimer,
.yr-vehicle-price span,
span[style*="font-size: 0.72rem"],
span[style*="font-size: 0.7rem"] {
  color: #121212 !important;
  font-weight: 600;
}

/* Button Hover State High-Contrast Guarantee */
.yr-btn-primary:hover {
  background: var(--yr-gold-hover) !important;
  color: #FFFFFF !important;
}

.yr-btn-dark:hover {
  background: var(--yr-gold) !important;
  color: var(--yr-black) !important;
}

.yr-btn-outline:hover {
  background: var(--yr-gold) !important;
  color: var(--yr-black) !important;
  border-color: var(--yr-gold) !important;
}

.yr-btn-whatsapp:hover {
  background: #1eb853 !important;
  color: #FFFFFF !important;
}
