:root {
  --top-bar-height: 38px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  width: 100%;
}

/* ===== TOP HEADER ===== */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  color: #aaa;
  padding: 0 30px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  z-index: 1001;
  box-sizing: border-box;
  height: var(--top-bar-height);
  border-bottom: 1px solid #2a2a2a;
  letter-spacing: 0.3px;
}

.top-header svg {
  width: 13px;
  height: 13px;
  fill: #f37121;
  flex-shrink: 0;
}

.currency {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.currency li {
  cursor: pointer;
  transition: color 0.3s;
  font-weight: 600;
}

.currency li:hover {
  color: #f37121;
}

.header-location,
.header-phone,
.header-email {
  display: flex;
  align-items: center;
  gap: 7px;
}

.header-flags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-flags button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.header-flags button:hover {
  opacity: 1;
}

.flag-icon {
  width: 28px;
  height: 20px;
  cursor: pointer;
  border-radius: 2px;
}

/* ===== BOTTOM HEADER ===== */
.bottom-header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  box-sizing: border-box;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-header nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.bottom-header nav ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 4px;
}

.bottom-header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #f37121;
  transition: width 0.3s ease;
}

.bottom-header nav ul li a:hover {
  color: #fff;
}

.bottom-header nav ul li a:hover::after {
  width: 100%;
}

.bottom-header .home {
  color: #f37121 !important;
}

.bottom-header .home::after {
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* ===== HERO SECTION ===== */
.header-section {
  background-image: url(../images/background-images/pexels-sami-aksu-48867324-9182457.jpg);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--top-bar-height) + 80px + 20px) 80px 60px;
  gap: 40px;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.header-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 0;
}

.header-section::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f37121;
  z-index: 1;
  display: none;
}

/* ===== HERO TEXT ===== */
.header-display-text {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 560px;
  color: #fff;
  padding: 0;
  background: none;
  backdrop-filter: none;
  text-align: left;
}

.header-display-text h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 6px 0;
  color: #fff;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.header-display-text h2 span,
.header-display-text h2 em {
  color: #f37121;
  font-style: normal;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f37121;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.header-display-text .header-display-p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 32px 0;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #f37121;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== HERO FORM ===== */
.book-car {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 360px;
}

.header-section form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-section form::before {
  content: 'Find Your Car';
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f37121;
  margin-bottom: 6px;
}

.header-section form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-family: Arial, sans-serif;
  transition: all 0.25s ease;
  appearance: auto;
  -webkit-appearance: auto;
}

.header-section form select:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(243, 113, 33, 0.5);
}

.header-section form select:focus {
  outline: none;
  border-color: #f37121;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(243, 113, 33, 0.15);
}

.header-section form select option {
  color: #222;
  background: #fff;
}

.header-section form button {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: #f37121;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 8px 24px rgba(243, 113, 33, 0.4);
  position: relative;
  overflow: hidden;
}

.header-section form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.header-section form button:hover::before {
  left: 100%;
}

.header-section form button:hover {
  background: #e06010;
  box-shadow: 0 12px 30px rgba(243, 113, 33, 0.55);
  transform: translateY(-1px);
}

.header-section form button:active {
  transform: translateY(0);
}

/* ===== NO RESULTS ===== */
#noResults {
  display: none;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #f37121;
  margin: 30px auto;
  padding: 20px;
  max-width: 600px;
  border: 2px solid #f37121;
  border-radius: 10px;
  background-color: rgba(243, 113, 33, 0.08);
}

/* ===== TITLE SECTION ===== */
.title-section {
  text-align: center;
  margin: 50px 0;
}

.main-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.title-section svg {
  width: 200px;
  height: 30px;
  fill: #f37121;
}

/* ===== CAR CARDS ===== */
.main-below-title {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.car-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 25px;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.ford-c-max,
.toyota-jeep,
.toyota-rav4,
.minivan {
  width: 100%;
  height: 350px;
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, height 0.3s;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.ford-c-max:hover,
.toyota-jeep:hover,
.toyota-rav4:hover,
.minivan:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  height: auto;
}

.ford-c-max img,
.toyota-jeep img,
.toyota-rav4 img,
.minivan img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ford-c-max h4,
.toyota-jeep h4,
.toyota-rav4 h4,
.minivan h4 {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.ford-c-max:hover h4,
.toyota-jeep:hover h4,
.toyota-rav4:hover h4,
.minivan:hover h4 {
  opacity: 1;
  max-height: 100px;
  padding: 20px;
  margin: 0;
}

.car-info {
  padding: 0;
  margin: 0;
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  text-align: left;
}

.ford-c-max:hover .car-info,
.toyota-jeep:hover .car-info,
.toyota-rav4:hover .car-info,
.minivan:hover .car-info {
  opacity: 1;
  max-height: 200px;
  padding: 0 20px;
  margin-bottom: 15px;
}

.car-rental-prices {
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  align-items: center;
  margin-top: auto;
}

.car-rental-prices p {
  margin: 0;
  font-size: 0.9rem;
}

.car-rental-prices p:nth-child(odd) {
  color: #666;
  font-weight: 500;
}

.car-rental-prices p:nth-child(even) {
  color: #f37121;
  font-weight: bold;
  text-align: right;
}

.rent-now-btn {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 12px 20px;
  background-color: #f37121;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.car-rental-prices a {
  display: contents;
}

.rent-now-btn:hover {
  background-color: #d85f15;
}

.scroll-card:hover .rent-now-btn {
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer-section {
  background-color: #222;
  color: #fff;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 0 40px;
}

.footer-contact-info {
  grid-column: 1;
}

.contact-title-info {
  font-size: 1.5rem;
  color: #f37121;
  margin-bottom: 30px;
  letter-spacing: 1px;
  font-weight: bold;
}

.footer-contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-info ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s;
}

.footer-contact-info ul li:hover {
  color: #f37121;
  cursor: pointer;
}

.footer-contact-info ul li svg {
  width: 20px;
  height: 20px;
  fill: #f37121;
  flex-shrink: 0;
}

.footer-contact-info ul li p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.car-manufacturers {
  grid-column: 2;
}

.car-manufacturers ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.car-manufacturers ul li:first-child {
  font-size: 1.5rem;
  color: #f37121;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-weight: bold;
}

.car-manufacturers ul li {
  font-size: 0.95rem;
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
  padding-left: 0;
}

.car-manufacturers ul li:not(:first-child):hover {
  color: #f37121;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #999;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  width: 100%;
  background-color: #f37121;
  color: #fff;
  font-size: 18px;
  padding: 20px 25px;
  border: none;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #d85f15;
}

.faq-question:focus {
  background-color: #d85f15;
  border-radius: 6px 6px 0 0;
}

.faq-answer {
  display: none;
  background-color: #e0e0e0;
  padding: 20px 25px;
  border-radius: 0 0 6px 6px;
  line-height: 1.6;
  color: #333;
}

.faq-title {
  text-align: left;
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

.faq-contact {
  position: relative;
  margin: 40px auto;
  border: 1px solid #777;
  width: 100%;
  max-width: 350px;
  border-radius: 30px;
}

.faq-contact .svg-navs {
  display: flex;
  gap: 25px;
  padding-bottom: 50px;
  justify-content: center;
}

.faq-contact h2 {
  text-align: center;
  padding: 20px;
  color: #ffffff;
  background-color: #f37121;
  border-radius: 30px 30px 0 0;
  font-size: 20px;
  font-weight: bold;
}

.faq-contact .svg-navs div svg {
  width: 30px;
  margin-top: 15px;
  height: 30px;
  cursor: pointer;
  transition: 0.3s;
  padding: 10px;
  border-radius: 50%;
}

.faq-contact .svg-navs svg:hover {
  background-color: #f37121;
  fill: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes appear {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes disappear {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.4); }
}

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

.scroll-card {
  opacity: 0;
}

/* ===== BURGER ===== */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #fff;
  margin: 5px auto;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 7px);
  background-color: #f37121;
}
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
  background-color: #f37121;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

.currency li.currency-active {
  color: #f37121;
}

/* ── 1200px ── */
@media (max-width: 1200px) {
  .header-section {
    padding: calc(var(--top-bar-height) + 80px + 20px) 50px 60px;
    gap: 30px;
  }

  .header-display-text {
    max-width: 480px;
  }

  .book-car {
    width: 320px;
  }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
  .header-section {
    padding: calc(var(--top-bar-height) + 80px + 20px) 35px 50px;
    gap: 25px;
  }

  .header-display-text h2 {
    font-size: 2.4rem;
  }

  .book-car {
    width: 300px;
  }

  .car-cards {
    gap: 30px;
    padding: 20px;
  }

  .hero-stats {
    gap: 20px;
  }
}

/* ── 850px — stack hero vertically ── */
@media (max-width: 850px) {
  .header-section {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: calc(var(--top-bar-height) + 80px + 20px) 25px 50px;
    gap: 28px;
    text-align: center;
  }

  .header-section::before {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.3) 100%
    );
  }

  .header-display-text {
    max-width: 600px;
    text-align: center;
  }

  .header-display-text .header-display-p {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .book-car {
    width: 100%;
    max-width: 500px;
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  :root {
    --top-bar-height: 70px;
  }

  /* Top header wraps to 2 rows */
  .top-header {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 16px;
    font-size: 11px;
    padding: 6px 15px;
    height: auto;
    min-height: var(--top-bar-height);
  }

  .header-location,
  .header-phone,
  .header-email {
    flex: 1 1 45%;
    min-width: 120px;
  }

  .header-currency,
  .header-flags {
    flex: 1 1 auto;
  }

  .bottom-header {
    /* top is already handled by var(--top-bar-height) */
    padding: 0 15px;
    height: 65px;
  }

  .header-logo img {
    height: 55px;
    width: auto;
  }

  /* Hero padding = top-bar + bottom-bar + small gap */
  .header-section {
    padding: calc(var(--top-bar-height) + 65px + 15px) 18px 40px;
    gap: 22px;
    min-height: auto;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
  }

  /* Mobile nav drawer */
  .header-nav {
    display: none;
    flex-direction: column;
    background: linear-gradient(160deg, #111 0%, #1e1e1e 100%);
    position: fixed;
    top: 0;
    right: -100%;
    width: 72%;
    max-width: 290px;
    height: 100vh;
    padding: 90px 35px 40px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: right 0.38s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
  }

  .header-nav.active {
    display: flex;
    right: 0;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header-nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    animation: slideIn 0.4s forwards;
  }

  .header-nav.active ul li:nth-child(1) { animation-delay: 0.08s; }
  .header-nav.active ul li:nth-child(2) { animation-delay: 0.16s; }
  .header-nav.active ul li:nth-child(3) { animation-delay: 0.24s; }
  .header-nav.active ul li:nth-child(4) { animation-delay: 0.32s; }

  .header-nav ul li a {
    display: block;
    padding: 18px 20px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.25s ease;
    position: relative;
  }

  .header-nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #f37121;
    transform: scaleY(0);
    transition: transform 0.25s ease;
  }

  .header-nav ul li a:hover::before { transform: scaleY(1); }
  .header-nav ul li a:hover {
    padding-left: 30px;
    background: rgba(243, 113, 33, 0.08);
  }

  .burger { display: flex; }

  .header-display-text h2 {
    font-size: 1.9rem;
  }

  .header-display-text .header-display-p {
    font-size: 0.88rem;
  }

  .hero-stat strong { font-size: 1.3rem; }

  .header-section form {
    padding: 24px 20px;
    gap: 12px;
  }

  /* Car cards: 2 col */
  .car-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px;
    max-width: 100%;
  }

  .ford-c-max,
  .toyota-jeep,
  .toyota-rav4,
  .minivan {
    max-width: 100%;
    height: 300px;
  }

  .ford-c-max img,
  .toyota-jeep img,
  .toyota-rav4 img,
  .minivan img { height: 180px; }

  .main-below-title { padding: 10px; }

  .car-rental-prices {
    padding: 12px;
    gap: 6px 10px;
  }

  .car-rental-prices p { font-size: 0.8rem; }
  .rent-now-btn { font-size: 0.85rem; padding: 10px; }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

  .footer-contact-info,
  .car-manufacturers { grid-column: 1; }

  .contact-title-info,
  .car-manufacturers ul li:first-child { font-size: 1.2rem; }

  .footer-section {
    padding: 40px 15px 20px;
    margin-top: 40px;
  }

  .main-title { font-size: 1.6rem; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  :root {
    --top-bar-height: 120px;
  }

  .top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px;
    height: auto;
    min-height: var(--top-bar-height);
  }

  .header-location,
  .header-phone,
  .header-email {
    flex: unset;
    width: 100%;
    font-size: 11px;
  }

  .header-currency,
  .header-flags { width: 100%; }

  .bottom-header {
    /* top auto-updates via --top-bar-height */
    height: 60px;
  }

  .header-section {
    padding: calc(var(--top-bar-height) + 60px + 15px) 12px 35px;
    gap: 18px;
  }

  .header-display-text h2 { font-size: 1.6rem; }

  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 1.1rem; }

  .header-section form {
    padding: 20px 16px;
    gap: 10px;
    border-radius: 12px;
  }

  /* Car cards: 1 col */
  .car-cards {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 20px;
  }

  .ford-c-max,
  .toyota-jeep,
  .toyota-rav4,
  .minivan {
    height: 320px;
    max-width: 400px;
    margin: 0 auto;
  }

  .ford-c-max img,
  .toyota-jeep img,
  .toyota-rav4 img,
  .minivan img { height: 200px; }

  .footer-contact-info ul li { font-size: 0.85rem; }
  .car-manufacturers ul li { font-size: 0.85rem; }
  .footer-content { gap: 25px; }
  .main-title { font-size: 1.3rem; }
  .flag-icon { width: 24px; height: 18px; }
}

/* ── 360px ── */
@media (max-width: 360px) {
  :root {
    --top-bar-height: 135px;
  }

  .top-header {
    height: auto;
    min-height: var(--top-bar-height);
  }

  .bottom-header {
    height: 60px;
  }

  .header-section {
    padding: calc(var(--top-bar-height) + 60px + 10px) 10px 28px;
  }

  .header-display-text h2 { font-size: 1.35rem; }
  .header-display-text .header-display-p { font-size: 0.82rem; }
  .main-title { font-size: 1.15rem; }
}