/* Responsive CSS */
@media (max-width: 1200px) {
  .nav-menu-links {
    gap: 10px;
  }
  .nav-menu-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu-links {
    display: none;
  }
  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .three-column-grid {
    gap: 14px;
  }
  .stream-column {
    padding: 12px;
  }
  .fast-booking-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .booking-field-col.col-car {
    grid-column: span 6;
  }
  .booking-field-col.col-ploc {
    grid-column: span 3;
  }
  .booking-field-col.col-rloc {
    grid-column: span 3;
  }
  .booking-field-col.col-pdate {
    grid-column: span 3;
  }
  .booking-field-col.col-ptime {
    grid-column: span 3;
  }
  .booking-field-col.col-rdate {
    grid-column: span 3;
  }
  .booking-field-col.col-rtime {
    grid-column: span 3;
  }
  .booking-field-col.col-btn {
    grid-column: span 6;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.58rem;
  }
  .brand-logo-img {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
  }
  .footer-brand-logo {
    height: 50px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
  }
  .phone-badge-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* Hero & Banner Mobile (Full Width Edge-to-Edge) */
  .hero-banner-section {
    padding: 0 0 25px;
  }
  .hero-banner-fullwidth {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }
  .hero-banner-img {
    width: 100%;
    height: auto;
  }

  /* Booking Widget Card Mobile Polish */
  .fast-booking-box {
    padding: 18px 14px;
    margin: 12px auto 0;
    border-radius: 16px;
  }

  .booking-header-title {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .booking-heading-text {
    font-size: 1.12rem;
    justify-content: center;
    text-align: center;
  }

  .booking-service-switch {
    width: 100%;
    display: flex;
  }

  .service-tab-btn {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .fast-booking-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
  }

  .booking-field-col.col-car,
  .booking-field-col.col-ploc,
  .booking-field-col.col-rloc,
  .booking-field-col.col-btn {
    grid-column: 1 / -1;
  }

  .booking-field-col.col-pdate {
    grid-column: 1 / 2;
  }

  .booking-field-col.col-ptime {
    grid-column: 2 / 3;
  }

  .booking-field-col.col-rdate {
    grid-column: 1 / 2;
  }

  .booking-field-col.col-rtime {
    grid-column: 2 / 3;
  }

  .booking-submit-btn {
    height: 48px;
    font-size: 0.96rem;
    margin-top: 4px;
    border-radius: 12px;
  }

  /* Footer Mobile Redesign */
  .site-footer {
    padding: 35px 0 95px; /* Extra bottom clearance for floating contact buttons */
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 24px;
  }

  .footer-brand-header {
    gap: 10px;
    margin-bottom: 10px;
  }

  .footer-brand-logo {
    height: 48px;
  }

  .footer-brand-name {
    font-size: 1.15rem;
  }

  .footer-brand-desc {
    font-size: 0.84rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .footer-hotlines-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .footer-phone-pill {
    padding: 8px 6px;
    font-size: 0.78rem;
    justify-content: center;
  }

  .footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px 14px;
  }

  .footer-col-heading {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }

  .footer-nav-list {
    gap: 6px;
  }

  .footer-nav-list li a {
    font-size: 0.82rem;
  }

  .footer-contact-card {
    padding: 16px 14px;
    border-radius: 14px;
    grid-column: auto;
  }

  .footer-hub-info {
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .channels-btn-grid {
    gap: 6px;
  }

  .footer-channel-btn {
    padding: 8px 4px;
    font-size: 0.74rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding-top: 16px;
    font-size: 0.74rem;
  }

  /* Services Filter Box (Perfect 2x2 Grid on Mobile) */
  .services-filter-box {
    padding: 12px 10px !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .filter-categories-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .filter-category-btn {
    padding: 9px 6px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .filter-search-wrap {
    max-width: 100% !important;
    width: 100% !important;
  }

  .filter-search-inner input {
    height: 42px !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ---------- Fleet showroom on mobile ----------
     Home: each category becomes its own swipeable row (scroll-snap carousel) so cards stay
     full-size and readable. Grids (/services/, category pages, related cars): 2 compact columns. */
  .three-column-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .stream-column {
    padding: 14px 0 16px;
    border-radius: 14px;
  }

  .stream-header {
    padding: 0 14px 12px;
    margin-bottom: 14px;
  }

  .stream-cars-list {
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 14px;
    padding: 0 14px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 190, 56, 0.45) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .stream-cars-list::-webkit-scrollbar {
    height: 4px;
  }

  .stream-cars-list::-webkit-scrollbar-thumb {
    background: rgba(245, 190, 56, 0.45);
    border-radius: 4px;
  }

  .stream-cars-list > .car-card {
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: start;
  }

  .car-card {
    height: auto;
    min-height: 100%;
  }

  .car-card:hover {
    transform: none;
  }

  .car-card-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .car-card-body {
    padding: 12px;
  }

  .car-card-title {
    font-size: 0.98rem;
    line-height: 1.35;
    height: auto;
    min-height: calc(2 * 1.35em);
  }

  .car-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .card-actions-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .btn-detail-sm,
  .btn-book-sm {
    min-height: 44px;
    font-size: 0.86rem;
    padding: 6px 8px;
  }

  .services-cars-grid,
  .related-cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Floating Buttons on Mobile - positioned safely */
  .floating-contact-panel {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .floating-btn {
    width: 44px;
    height: 44px;
  }
  .floating-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Car Detail Page Mobile Overrides */
  .car-detail-hero-section {
    padding: 14px 0 45px;
  }

  .car-hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  .car-media-frame {
    border-radius: 14px;
  }

  .car-media-badges {
    top: 10px;
    left: 10px;
    gap: 6px;
  }

  .car-media-badges .car-card-badge,
  .car-media-badges .car-status-badge {
    position: static !important;
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .car-trust-pills {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .trust-pill-item {
    font-size: 0.74rem;
    padding: 8px 10px;
  }

  .car-hero-booking-box {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .booking-car-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .booking-car-subtitle {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .pricing-matrix-container {
    margin-bottom: 12px;
  }

  .pricing-rates-grid {
    gap: 6px;
  }

  .rate-box {
    padding: 10px 4px;
    border-radius: 10px;
  }

  .rate-box .rate-tag {
    font-size: 0.68rem;
  }

  .rate-box .rate-val {
    font-size: 1.02rem;
  }

  .rate-box .rate-unit {
    font-size: 0.6rem;
  }

  .detail-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .detail-form-group .booking-input,
  .detail-form-group .booking-select {
    height: 38px;
    font-size: 0.82rem;
    padding: 0 8px;
  }

  .hero-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
    gap: 6px;
    margin: 12px 0;
  }

  .hero-spec-card .h-label {
    font-size: 0.68rem;
  }

  .hero-spec-card .h-val {
    font-size: 0.82rem;
  }

  .booking-submit-btn {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .btn-hero-call {
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  .car-details-split-container {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .specs-panel,
  .features-panel {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .panel-title {
    font-size: 1.05rem;
  }

  .specs-table td {
    padding: 8px 4px;
    font-size: 0.82rem;
  }

  .specs-table td.label-col {
    width: 42%;
  }

  .specs-table td.val-col {
    text-align: right;
  }

  .features-grid-list {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 0 0 16px;
  }

  .features-grid-list li {
    font-size: 0.82rem;
    padding: 7px 10px;
  }

  .rental-docs-box {
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .doc-step-item {
    font-size: 0.78rem;
  }

  .car-story-box {
    padding: 12px 14px;
  }

  .story-desc {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .car-related-container {
    margin-top: 35px;
    padding-top: 25px;
  }

  .related-more-btn-wrap {
    margin-top: 24px;
  }

  .btn-view-more-cars {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .fast-booking-box {
    padding: 16px 12px;
  }
  .booking-heading-text {
    font-size: 1.05rem;
  }
  .service-tab-btn {
    font-size: 0.78rem;
    padding: 7px 6px;
  }
  .field-label {
    font-size: 0.78rem;
  }
  .booking-input, .booking-select {
    height: 42px;
    font-size: 0.88rem;
    padding: 0 10px;
  }
  textarea.booking-input, #contact-msg {
    height: auto;
    min-height: 80px;
    padding: 16px 14px 12px 14px !important;
    line-height: 1.6;
  }
  .pricing-car-name {
    font-size: 1.25rem;
  }
}

/* Compact 2-column fleet grids on phones */
@media (max-width: 560px) {
  .services-cars-grid,
  .related-cars-grid {
    gap: 10px !important;
  }

  .services-cars-grid .car-card-badge,
  .related-cars-grid .car-card-badge {
    font-size: 0.62rem;
    max-width: calc(100% - 12px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .services-cars-grid .car-card-body,
  .related-cars-grid .car-card-body {
    padding: 10px;
  }

  .services-cars-grid .car-card-title,
  .related-cars-grid .car-card-title {
    font-size: 0.86rem;
  }

  .services-cars-grid .car-card-sub,
  .related-cars-grid .car-card-sub {
    font-size: 0.72rem;
    height: 18px;
    margin-bottom: 6px;
  }

  .services-cars-grid .car-specs-chips,
  .related-cars-grid .car-specs-chips {
    gap: 4px;
    height: 22px;
    margin-bottom: 6px;
  }

  .services-cars-grid .spec-chip,
  .related-cars-grid .spec-chip {
    font-size: 0.66rem;
    padding: 2px 5px;
  }

  .services-cars-grid .price-label,
  .related-cars-grid .price-label {
    display: none;
  }

  .services-cars-grid .price-val,
  .related-cars-grid .price-val {
    font-size: 1.08rem;
  }

  .services-cars-grid .card-actions-group,
  .related-cars-grid .card-actions-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .services-cars-grid .btn-detail-sm,
  .related-cars-grid .btn-detail-sm {
    order: 2;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #0A1128;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 2100;
  padding: 24px 20px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-close-btn {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 16px;
}

.drawer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-links-list a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-links-list a:hover {
  color: #F5BE38;
}

/* Gallery Thumbnails Responsive Layout */
@media (max-width: 768px) {
  .gallery-thumbs-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 10px;
  }
  .gallery-thumb {
    border-radius: 6px;
  }
}
@media (max-width: 480px) {
  .gallery-thumbs-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }
  .gallery-thumb {
    border-radius: 5px;
  }
}

/* Contact Page Mobile & Tablet Polish */
@media (max-width: 992px) {
  .contact-atelier-grid {
    grid-template-columns: 1fr !important;
  }
  .atelier-form-card {
    order: 1 !important;
  }
  .atelier-visual-card {
    order: 2 !important;
  }
}

@media (max-width: 768px) {
  .contact-atelier-hero {
    padding: 35px 0 25px !important;
  }
  .contact-quick-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
  }
  .contact-quick-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .contact-form-dates-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 8px !important;
  }
  .atelier-form-card {
    padding: 20px 16px !important;
  }
  .atelier-badges-col {
    padding: 16px 14px !important;
    gap: 10px !important;
  }
  .terminal-badge-row {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  .atelier-image-wrap {
    height: 180px !important;
  }
  .field-label {
    flex-wrap: wrap;
    gap: 2px 8px;
  }
  .contact-map-card {
    margin-top: 24px;
    border-radius: 16px;
  }
  .contact-map-header {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .contact-map-title {
    font-size: 1.05rem;
  }
  .contact-map-btn {
    width: 100%;
    height: 44px;
    font-size: 0.92rem;
  }
  .contact-map-frame {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .contact-submit-btn {
    font-size: 0.95rem !important;
    padding: 0 14px !important;
    height: 48px !important;
  }
  .contact-submit-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Car Detail Hero Responsive Redesign */
@media (max-width: 991px) {
  .car-hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .car-hero-booking-box {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .pricing-rates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .booking-fields-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .booking-fields-grid.date-grid {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 8px;
  }
  .selected-rate-summary {
    padding: 10px 14px;
  }
  .summary-price {
    font-size: 1.35rem;
  }
}


/* Car detail booking box: let the Self-Drive / Chauffeur tabs wrap instead of
   pushing the page wider than the viewport on small phones */
@media (max-width: 480px) {
  .car-hero-booking-box .booking-service-switch {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .car-hero-booking-box .service-tab-btn {
    min-width: 0;
    white-space: normal;
    flex-wrap: wrap;
    gap: 2px 4px;
    line-height: 1.25;
    padding: 8px 6px;
  }
}


/* ==================== HEADER / DRAWER / TAP TARGETS (design QA) ==================== */
.mobile-drawer {
  width: min(300px, 86vw);
  right: calc(-1 * min(300px, 86vw) - 24px);
  padding: 16px 20px 24px;
  overflow-y: auto;
}

/* Dim the page behind the open drawer (outside clicks already close it - js/main.js) */
.mobile-drawer.open {
  box-shadow: 0 0 0 100vmax rgba(2, 5, 12, 0.6);
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  margin: 0 -8px 8px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.drawer-links-list {
  gap: 0;
}

.drawer-links-list a {
  padding: 12px 4px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-drawer .phone-badge-btn {
  min-height: 48px;
}

.mobile-drawer .social-icon-btn {
  width: 44px !important;
  height: 44px !important;
}

.phone-badge-btn {
  min-height: 40px;
}

.service-tab-btn {
  min-height: 40px;
}

@media (max-width: 768px) {
  .top-bar-strip .social-icon-btn {
    width: 28px;
    height: 28px;
  }

  .hamburger-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Small phones: keep the full date visible next to the native picker icon */
@media (max-width: 400px) {
  input[type="date"].booking-input,
  input[type="time"].booking-input {
    padding-left: 10px !important;
    padding-right: 6px !important;
    letter-spacing: 0;
  }

  input[type="date"]::-webkit-calendar-picker-indicator,
  input[type="time"]::-webkit-calendar-picker-indicator {
    margin-left: 2px;
    padding: 0;
  }
}

/* ==================== HOME HERO ON PHONES ====================
   The desktop banner has all its copy baked into the image (unreadable at 390px), so phones get an
   art-directed crop (airport + wordmark + cars, see scripts/optimize-images.js) and real HTML copy. */
@media (max-width: 768px) {
  .hero-banner-img {
    aspect-ratio: 1000 / 678;
  }

  .hero-banner-fullwidth {
    border-bottom: 0;
    box-shadow: none;
  }

  /* Soften the crop edges into the page background */
  .hero-banner-fullwidth::before,
  .hero-banner-fullwidth::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 1;
  }

  .hero-banner-fullwidth::before {
    top: 0;
    right: 0;
    bottom: 0;
    width: 12%;
    background: linear-gradient(to right, rgba(4, 8, 18, 0), rgba(4, 8, 18, 0.85));
  }

  .hero-banner-fullwidth::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background: linear-gradient(to bottom, rgba(4, 8, 18, 0) 0%, rgba(4, 8, 18, 0.8) 65%, #040812 100%);
  }

  .hero-intro {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    margin: -30px 0 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  .hero-intro-body {
    display: block;
  }

  .hero-intro-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 6.6vw, 1.9rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--pure-white);
    letter-spacing: -0.2px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  }

  .hero-intro-title span {
    display: block;
    font-size: 0.8em;
    font-weight: 600;
  }

  .hero-intro-sub {
    margin: 6px 0 14px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--gold-bright);
  }

  .hero-intro-chips {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-intro-chips li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 7px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(28, 43, 79, 0.85), rgba(12, 20, 40, 0.85));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .hero-intro-chips svg {
    flex-shrink: 0;
    color: var(--gold-bright);
  }

  .hero-intro-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 7px 10px;
    border-radius: 14px;
    text-decoration: none;
    font-family: var(--font-heading);
    line-height: 1.15;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
  }

  .hero-cta-btn:active {
    transform: scale(0.98);
  }

  .hero-cta-btn .app-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .hero-cta-btn span {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .hero-cta-btn strong {
    font-size: 1rem;
    font-weight: 700;
  }

  .hero-cta-btn small {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.92;
    white-space: nowrap;
  }

  .hero-cta-btn.call {
    background: var(--gold-gradient);
    color: #0A1128;
    box-shadow: 0 6px 18px rgba(229, 169, 60, 0.3);
  }

  .hero-cta-btn.line {
    background: #06C755;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(6, 199, 85, 0.25);
  }

  .hero-intro-alt {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
  }

  .hero-intro-alt strong {
    color: var(--pure-white);
    font-weight: 600;
  }

  .hero-banner-section .fast-booking-box {
    margin-top: 18px;
  }
}

/* Header on phones: keep the logo off the screen edge, and let it shrink a little on narrow phones */
@media (max-width: 768px) {
  .top-header .main-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 400px) {
  .top-header .nav-container {
    gap: 10px;
  }

  .brand-logo-img {
    height: 32px;
  }
}

/* ---------- Home showroom on phones: 3 category columns side by side (like desktop) ----------
   Compact cards: photo, 2-line name, price, one "จองเลย" button. Tapping the card opens the
   detail page (the title link is stretched over the card). Overrides the swipe-row layout above. */
@media (max-width: 768px) {
  .three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 6px;
  }

  .three-column-grid .stream-column {
    min-width: 0;
    padding: 8px 5px 10px;
    border-radius: 12px;
  }

  .three-column-grid .stream-header {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 0 8px;
    margin-bottom: 8px;
    text-align: center;
  }

  .three-column-grid .stream-header-badge {
    padding: 4px 6px;
    font-size: 0.6rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  .three-column-grid .stream-count-pill {
    font-size: 0.6rem;
    padding: 1px 6px;
  }

  .three-column-grid .stream-cars-list {
    flex-direction: column;
    gap: 7px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }

  .three-column-grid .stream-cars-list > .car-card {
    flex: none;
    position: relative;
    min-height: 0;
    border-radius: 10px;
  }

  .three-column-grid .car-card-media {
    aspect-ratio: 4 / 3;
  }

  .three-column-grid .car-card-badge,
  .three-column-grid .car-card-sub,
  .three-column-grid .car-specs-chips,
  .three-column-grid .price-label,
  .three-column-grid .btn-detail-sm {
    display: none !important;
  }

  .three-column-grid .car-card-body {
    padding: 6px 6px 7px;
    gap: 4px;
  }

  .three-column-grid .car-card-title {
    min-height: calc(2 * 1.3em);
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.3;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  /* Whole card opens the detail page */
  .three-column-grid .car-card-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .three-column-grid .car-card-footer {
    gap: 5px;
    padding-top: 5px;
    margin-top: 2px;
  }

  .three-column-grid .car-price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1px;
  }

  .three-column-grid .price-val {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .three-column-grid .price-unit {
    font-size: 0.58rem;
  }

  .three-column-grid .card-actions-group {
    display: block;
  }

  .three-column-grid .btn-book-sm {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 32px;
    padding: 4px;
    font-size: 0.7rem;
    border-radius: 7px;
  }
}

@media (max-width: 360px) {
  .three-column-grid { gap: 4px; }
  .three-column-grid .stream-column { padding: 7px 4px 9px; }
  .three-column-grid .stream-header-badge { font-size: 0.55rem; padding: 3px 4px; }
  .three-column-grid .car-card-title { font-size: 0.64rem; }
  .three-column-grid .price-val { font-size: 0.74rem; }
}

/* Hero: English line under every Thai sentence (owner request) */
@media (max-width: 768px) {
  .hero-intro-en {
    display: block;
    margin: 4px 0 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(226, 232, 240, 0.78);
    letter-spacing: 0.1px;
    text-shadow: none;
  }
  .hero-intro-sub .hero-intro-en { margin-top: 2px; color: rgba(245, 190, 56, 0.72); }
  .hero-intro-alt .hero-intro-en { font-size: 0.74rem; }
  .hero-intro-title + .hero-intro-en { margin-bottom: 2px; }
  .hero-intro-chips .chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .hero-intro-chips .chip-text small { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); }
  .hero-cta-btn strong em { font-style: normal; font-weight: 500; font-size: 0.82em; opacity: 0.85; }
}
