/* Precision Motors 2 LLC — phone-only layout refinements.
   Every rule is limited to small screens; desktop styling remains untouched. */
@media (max-width: 760px) {
  html, body { max-width: 100%; overflow-x: clip; }
  img, video, iframe { max-width: 100%; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

  /* Main-site header and navigation */
  .topline { min-height: 30px; height: auto; padding: 7px 16px; font-size: 8px; letter-spacing: .12em; }
  .header { min-height: 68px; height: auto; padding: 9px 15px; gap: 10px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 46px; height: 42px; flex: 0 0 auto; }
  .brand-copy { min-width: 0; }
  .brand-copy .brand-phone, .brand-copy b { font-size: 11px; letter-spacing: .06em; }
  .brand-copy small { font-size: 8px; margin-top: 5px; letter-spacing: .12em; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; font-size: 25px; cursor: pointer; }
  .header nav { display: none; }
  .header nav.open { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 76px); overflow-y: auto; padding: 8px 16px 14px; background: #070b12; border-bottom: 1px solid var(--line); box-shadow: 0 16px 35px rgba(0,0,0,.45); }
  .header nav.open a { display: block; min-height: 48px; padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 12px; letter-spacing: .1em; }
  .header nav.open .nav-button { margin: 10px 0 0; text-align: center; border: 0; }

  /* Home page */
  .scroll-banner { height: 34px; margin: 12px 0; font-size: 10px; }
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; padding: 28px 17px 42px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-art { order: -1; width: 100%; height: clamp(175px, 48vw, 245px); margin: 0; }
  .hero-ring { width: clamp(170px, 48vw, 220px); height: clamp(170px, 48vw, 220px); top: 0; right: 50%; transform: translateX(50%); }
  .hero-logo { width: clamp(130px, 38vw, 175px); height: clamp(130px, 38vw, 175px); top: 20px; right: 50%; transform: translateX(50%); }
  .floating-card { min-width: 0; padding: 8px 10px; }
  .floating-card.top { top: 8px; right: 0; }
  .floating-card.bottom { left: 0; right: auto; bottom: 0; }
  .floating-card b { font-size: 20px; }
  .hero-copy { width: 100%; }
  .kicker, .eyebrow { font-size: 9px; letter-spacing: .16em; }
  h1 { font-size: clamp(48px, 13vw, 66px); line-height: .88; margin: 16px 0; }
  .hero-copy > p { font-size: 14px; line-height: 1.65; }
  .title-disclosure, .coming-disclosure { padding: 15px; gap: 7px; }
  .title-disclosure strong, .coming-disclosure strong { font-size: 12px; letter-spacing: .1em; }
  .title-disclosure span, .coming-disclosure span { font-size: 12px; line-height: 1.6; }
  .actions { gap: 9px; margin: 20px 0 14px; }
  .btn { min-height: 46px; padding: 13px 15px; font-size: 10px; }
  .hero-points { gap: 9px 14px; font-size: 9px; }
  .hero-bottom { display: none; }

  /* Sections, cards, lists and forms */
  .section { padding: 52px 16px; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head h2, .about-copy h2, .process h2, .contact h2 { font-size: clamp(36px, 10vw, 46px); line-height: .98; }
  .home-inventory, .process-page, .process-details { padding-top: 52px; padding-bottom: 52px; }
  .inventory-grid, .steps, .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .car-visual { height: 205px; }
  .car-info { padding: 17px 15px 8px; gap: 8px; }
  .car-info h3 { font-size: 24px; }
  .specs { padding: 12px 14px; font-size: 8px; }
  .specs b { font-size: 10px; }
  .hub-art { aspect-ratio: 16 / 8; }
  .hub-copy { padding: 19px 17px 21px; }
  .hub-copy h3 { font-size: 28px; }
  .hub-copy p { min-height: 0; font-size: 12px; }
  .vehicle-row { grid-template-columns: 92px minmax(0, 1fr) 28px; gap: 10px; padding: 10px; }
  .vehicle-thumb { height: 82px; }
  .vehicle-row-main { min-width: 0; }
  .vehicle-row-main h3 { font-size: 19px; line-height: 1.05; overflow-wrap: anywhere; }
  .vehicle-row-main p { font-size: 10px; line-height: 1.45; }
  .vehicle-row-kicker { font-size: 8px; }
  .vehicle-row-stat { display: none !important; }
  .vehicle-row-arrow { font-size: 20px; }
  .coming-row { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .coming-row .vehicle-progress { grid-column: 1; grid-row: 1 / span 2; }
  .coming-row .vehicle-thumb { grid-column: 2; grid-row: 1; height: 104px; }
  .coming-row .vehicle-row-main { grid-column: 2; grid-row: 2; }
  .speedometer { width: 86px; height: 72px; }
  .speedometer-center { top: 45px; }
  .speedometer-center b { font-size: 17px; }
  .progress-current { max-width: 100%; font-size: 8px; line-height: 1.45; }
  .progress-guide { padding: 14px; }
  .progress-guide-steps { grid-template-columns: 1fr; gap: 11px; }
  .progress-guide-steps > div { align-items: center; gap: 10px; }
  .progress-guide-steps b { width: 27px; height: 27px; flex-basis: 27px; }
  .progress-guide-steps span { font-size: 11px; line-height: 1.5; white-space: normal; }
  .inventory-note { display: block; padding: 15px; }
  .inventory-note strong { display: block; margin: 0 0 7px; white-space: normal; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-list > div { gap: 12px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .contact-intro, .contact-panel form { padding: 22px 17px; }
  .contact-panel form { border-left: 0; border-top: 1px solid var(--line); }
  input, textarea, select { font-size: 16px; }
  .request-form { padding: 20px 16px; }
  .find-layout { grid-template-columns: minmax(0, 1fr); }
  .find-art { padding: 15px; }
  .find-art > img { height: 190px; }
  .content-card { padding: 42px 16px 55px; }
  .content-card > h1 { font-size: clamp(42px, 11vw, 58px); }
  .content-card .step { padding: 19px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-section { padding-top: 30px; padding-bottom: 30px; }
  .testimonials-row { grid-auto-columns: minmax(0, 88vw); gap: 12px; }
  .testimonial-card { padding: 17px; }
  .review-invite-inner, .review-form-panel { padding: 17px 14px; }
  .personal-story { padding: 20px 16px; margin: 32px 0; }
  .story-top { align-items: stretch; flex-direction: column; gap: 12px; }
  .story-toggle { width: 100%; min-height: 48px; }
  .story-text ul { columns: 1; }
  footer { flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; }
  .footer-brand { margin: 0 auto; }
  .footer-right { display: flex; flex-direction: column; gap: 10px; align-items: center; }

  /* Standard vehicle detail pages */
  .vehicle-wrap { width: 100%; padding: 0 15px; }
  .vehicle-title { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .vehicle-title h1 { font-size: clamp(38px, 10vw, 54px); overflow-wrap: anywhere; }
  .vehicle-price { align-self: stretch; }
  .vehicle-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .vehicle-content { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .vin, .vin-line b { overflow-wrap: anywhere; word-break: break-word; }

  /* Three showroom-style current inventory pages */
  .topbar { min-height: 32px; height: auto; padding: 7px 14px; gap: 8px; font-size: 8px; letter-spacing: .1em; }
  .topbar a { white-space: nowrap; }
  .nav { height: 66px; padding: 0 14px; gap: 10px; }
  .nav .brand { min-width: 0; }
  .nav .brand img { width: 42px; height: 40px; }
  .nav .brand b { font-size: 10px; }
  .nav .brand small { font-size: 8px; }
  .back { font-size: 8px; white-space: nowrap; }
  body > main { width: 100%; padding: 0 14px; }
  .crumb { padding: 16px 0; font-size: 8px; line-height: 1.6; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .main-photo { height: clamp(220px, 64vw, 360px); }
  .main-photo > img { width: 100%; height: 100%; object-fit: cover; }
  .photo-count, .expand { bottom: 9px; padding: 8px 9px; font-size: 8px; }
  .photo-count { left: 9px; }
  .expand { right: 9px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
  .thumb { height: 62px; }
  .buybox { min-width: 0; padding: 19px 16px; }
  .buybox h1 { font-size: clamp(37px, 10vw, 48px); line-height: .98; overflow-wrap: anywhere; }
  .buybox .eyebrow { margin: 22px 0 8px; }
  .price { font-size: 42px; }
  .quick-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 13px 0; }
  .quick-specs b { font-size: 16px; }
  .quick-specs small { font-size: 7px; }
  .notice { padding: 12px; }
  .notice p { font-size: 11px; line-height: 1.55; }
  .cta a { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .details { padding: 48px 0 38px; }
  .section-head { display: block; }
  .section-head h2, .difference h2 { font-size: clamp(35px, 9vw, 44px); }
  .vin { display: block; margin-top: 14px; font-size: 15px; overflow-wrap: anywhere; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .feature-grid article { min-height: 0; padding: 14px 11px; }
  .feature-grid article b { font-size: 12px; }
  .feature-grid article small { font-size: 9px; line-height: 1.45; }
  .difference { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .checks p { padding: 12px; }
  .personal-story { margin: 28px 0; }
  .story-top h2 { font-size: 26px; }
  .story-toggle { padding: 13px 15px; }
  .lightbox { padding: 18px; }
  .lightbox img { max-width: 94vw; max-height: 78vh; }
  .lightbox button { padding: 8px 12px; }
  .lightbox #close { right: 10px; top: 10px; }
  .lightbox .prev { left: 7px; }
  .lightbox .next { right: 7px; }
}

@media (max-width: 420px) {
  .brand-copy .brand-phone, .brand-copy b { font-size: 10px; }
  .brand img { width: 40px; }
  .hero-grid { padding-left: 14px; padding-right: 14px; }
  .hero-copy > p { font-size: 13px; }
  .vehicle-row { grid-template-columns: 78px minmax(0, 1fr) 22px; gap: 8px; }
  .vehicle-thumb { height: 72px; }
  .coming-row { grid-template-columns: 76px minmax(0, 1fr); }
  .coming-row .vehicle-thumb { height: 88px; }
  .speedometer { width: 76px; height: 66px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar span:nth-child(2) { display: none; }
  .nav .brand b { font-size: 9px; }
  .back { font-size: 7px; }
}
