/* 
Toyota Libya Custom Styles 
Stand-alone version
*/

:root {
  --toyota-red: #e60021;
  --toyota-slate-blue: #425368;
  --toyota-gray: #e3ded9;
  --toyota-light: #f8f9fa;
  --toyota-dark: #000000;
  --header-height: 96px;
}

.py-80 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.container-1600 {
  max-width: 1600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@font-face {
  font-family: "Univers";
  src: url("../fonts/UniversBold.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Univers";
  src: url("../fonts/UniversRegular.ttf") format("truetype");
  font-weight: 400;
}

body {
  overflow-x: hidden;
}

body {
  font-family: "Univers", sans-serif;
  font-size: 18px;
  line-height: 1.66;
  color: var(--toyota-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Univers", sans-serif;
  font-weight: 700;
}

/* Custom Toyota styling overrides Bootstrap */
.bg-primary {
  background-color: var(--toyota-red) !important;
}

.text-primary {
  color: var(--toyota-red) !important;
}

.text-toyota-slate {
  color: var(--toyota-slate-blue);
}

.btn-primary {
  background-color: var(--toyota-red) !important;
  border-color: transparent !important;
  border-radius: 100px !important;
  align-items: center;
  font-family: "Univers", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  transition: all 0.3s ease;
  color: #ffffff !important;
  text-decoration: none !important;
  width: 250px;
  height: 50px;
  display: block;
  font-size: 16px !important;
  padding: 0 !important;
  align-content: center;
}

.btn-primary:hover {
  background-color: #e60021 !important;
  border-color: #cc001f00 !important;
  /* transform: scale(1.05); */
  font-size: 17px !important;
}

.btn-secondary {
  background-color: var(--toyota-gray) !important;
  border-color: var(--toyota-gray) !important;
  border-radius: 100px !important;
  padding: 0px !important;
  align-items: center;
  font-family: "Univers", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  transition: 0.5s all ease;
  color: var(--toyota-dark) !important;
  text-decoration: none !important;
  width: 250px;
  font-size: 16px;
  display: block;
  height: 50px;
  align-content: center;
}

.btn-secondary:hover {
  background-color: #d6d1cb !important;
  border-color: #d6d1cb !important;
  /* transform: scale(1.05); */
  font-size: 17px;
}

.hero-title {
  font-size: 70px;
  line-height: 1.2;
}

.promise-tabs-list {
  gap: 100px !important;
}

.promise-slider .slick-dots {
  display: none !important;
}

h4.footer-col-title a {
  text-decoration: none;
  color: #e60021;
}

.bg-toyota-gray {
  background-color: var(--toyota-gray);
}

/* Header Specific Styles Mapper to Figma */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: var(--header-height);
  background: #ffffff;
  box-shadow: 0px 4px 18.571px 0px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  z-index: 11;
}

body {
  padding-top: var(--header-height);
}

.header-logo .logo-image {
  width: 102px;
  height: 80px;
  object-fit: contain;
}

.main-navigation .nav-link {
  color: #425368 !important;
  font-family: "Univers", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
  text-decoration: none !important;
  padding: 0 0 4px;
  position: relative;
  transition: color 0.3s ease;
}

.main-navigation .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--toyota-red);
  transition: width 0.3s ease;
}

.main-navigation .nav-link:hover,
.main-navigation .current-menu-item .nav-link {
  color: var(--toyota-red) !important;
}

.main-navigation .nav-link:hover::after,
.main-navigation .current-menu-item .nav-link::after {
  width: 100%;
}

.main-navigation .nav {
  gap: 60px;
}

.lang-picker-btn {
  width: 115px;
  height: 38px;
  padding: 10px;
  background: #fff;
  border: none;
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #000000;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 200px;
  transition: all 0.3s ease;
}

.lang-picker-btn::after {
  display: none !important;
}

.lang-picker-btn:hover {
  background: #f5f5f5;
}

.lang-picker-icon {
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-arrow {
  width: 10px;
  height: 6px;
  object-fit: contain;
}

.language-picker .dropdown-menu {
  min-width: 115px;
  margin-top: 10px !important;
  border-radius: 12px;
}

.lang-dropdown-item {
  width: 115px;
  height: 38px;
  padding: 10px;
  color: #000;
  border-radius: 8px;
  font-family: "Univers", sans-serif;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.lang-dropdown-item:hover {
  background: #f5f5f5;
  color: var(--toyota-red);
}

/* =============================================
   Flyout Menu
   ============================================= */

/* Hamburger Toggle Button */
.flyout-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.flyout-toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Dark overlay behind flyout */
.flyout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.flyout-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Flyout slide-in panel */
.flyout-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  padding-top: 10px;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
}

.flyout-menu.active {
  transform: translateX(0);
}

/* Body scroll lock */
html.flyout-open {
  overflow: hidden;
}

/* Flyout header row */
.flyout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 0px;
}

.flyout-logo {
  width: 150px !important;
  height: 100px !important;
  object-fit: contain !important;
}

/* Close button */
.flyout-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.flyout-close:hover {
  background: #f2f2f2;
}

.flyout-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flyout-nav-list li {
  border-bottom: 1px solid #f0f0f0;
}

.flyout-nav-list li a {
  display: block;
  padding: 16px 4px;
  font-family: "Univers", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #425368;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.flyout-nav-list li a:hover,
.flyout-nav-list li.current-menu-item a {
  color: var(--toyota-red);
  padding-left: 10px;
}

/* Flyout footer: language picker */
.flyout-footer {
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: 0px;
}

/* Slick Slider Custom Overrides */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  margin-top: -11vh;
}

.hero-slider-section,
.home-hero-slider,
.home-hero-slider .slick-list,
.home-hero-slider .slick-track,
.home-hero-slider .slide-item {
  height: 100vh;
  min-height: 800px;
}

.home-hero-slider .slide-item {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) -6.83%, #000 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-padding-bottom {
  padding-bottom: 180px;
}

.hero-overlay {
  z-index: 10;
}

.hero-content-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding-bottom: 0%;
}

.title-underline {
  width: 154px;
  height: 5px;
  background-color: var(--toyota-red);
  margin-top: 10px;
}

.hero-bottom-nav {
  position: absolute;
  bottom: 70px;
  width: 100%;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-line-container {
  position: relative;
  width: 60%;
  /* Matches the Title Underline width for consistency */
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 !important;
}
.progress-line-container .progress-step-icon:nth-child(3) {
  position: relative;
  left: 10px;
}
.progress-bg-line {
  position: absolute;
  top: 50%;
  left: 1.5%;
  width: 97%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}

.progress-fill-line {
  position: absolute;
  top: 50%;
  left: 1.5%;
  width: 0%;
  height: 2px;
  background: var(--toyota-red);
  transform: translateY(-50%);
  transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 4;
}

[dir="rtl"] .progress-bg-line {
  left: auto;
  right: 1.98%;
}

[dir="rtl"] .progress-fill-line {
  left: auto;
  right: 1.98%;
}

/* Snap final step to 95% to align with last icon at this resolution */
.progress-fill-line[style*="width: 49%"] {
  width: 48.5% !important;
}

.progress-fill-line[style*="width: 58.8%"] {
  width: 58.3% !important;
}

.progress-fill-line[style*="width: 73.5%"] {
  width: 73% !important;
}

.progress-fill-line[style*="width: 78.4%"] {
  width: 77% !important;
}

.progress-fill-line[style*="width: 98%"] {
  width: 97% !important;
}

.progress-step-icon {
  width: 26px;
  height: 26px;
  z-index: 5;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 1;
}

.progress-step-icon.is-active {
  opacity: 1;
  transform: scale(1.1);
}

.progress-step-icon:hover {
  opacity: 0.9;
}

.slider-glass-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 200px;
  padding: 10px 20px;
  color: #ffffff;
  font-family: "Univers", sans-serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.info-btn-pos {
  bottom: 70px;
  left: 60px;
}

.pause-btn-pos {
  bottom: 65px;
  right: 60px;
  width: 50px;
  height: 50px;
  padding: 0;
  justify-content: center;
}

.slider-info-tooltip {
  position: absolute;
  bottom: 0px;
  left: 60px;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  padding: 18px 22px;
  border-radius: 12px;
  color: #ffffff;
  font-family: "Univers", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  margin-bottom: 15px;
}

.info-btn-pos:hover + .slider-info-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 115px;
}

/* Global Hero Slider Slick Dots */
.home-hero-slider .slick-dots {
  position: absolute;
  bottom: 90px;
  display: none !important;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  z-index: 10;
}

.home-hero-slider .slick-dots li {
  margin: 0 6px;
}

.home-hero-slider .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 16px;
  height: 16px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  outline: none;
  background: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.home-hero-slider .slick-dots li.slick-active button {
  background: var(--toyota-red);
  border-color: var(--toyota-red);
  transform: scale(1.2);
}

/* Featured Vehicles Section (Node 410:1492) */
.featured-vehicles-section {
  padding: 100px 0;
  background: #ffffff;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px !important;
}

.section-title {
  font-size: 50px;
  color: #000000;
  margin-bottom: 20px;
}

.section-title-underline {
  width: 154px;
  height: 5px;
  background-color: var(--toyota-red);
  margin: 0 auto;
}

.vehicle-accordion-container {
  display: flex;
  height: 650px;
  gap: 9px;
}

.vehicle-radio {
  display: none;
}

.vehicle-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.5s all ease;
  background-size: cover;
  background-position: 80%;
}

.vehicle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 32%) 0%, rgb(0 0 0) 100%);
  opacity: 0;
  z-index: 1;
}
.vehicle-accordion-container:not(:hover)
  .vehicle-radio:checked
  + .vehicle-card::before,
.vehicle-accordion-container .vehicle-card:hover::before {
  opacity: 0.8;
}

.vehicle-badge {
  position: absolute;
  top: 36px;
  left: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.39);
  border-radius: 100px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
  padding: 12px 16px;
  z-index: 10;
  color: #ffffff;
  font-family: "Univers", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  min-width: 125px;
  text-align: center;
}

.vehicle-expanded-content {
  position: absolute;
  bottom: 35px;
  left: 35px;
  right: 40px;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.2s ease,
    transform 0.4s ease;
  pointer-events: none;
}

.vehicle-card-name {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.2;
}

.specs-grid {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.spec-item {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

.spec-item:first-child {
  border: none;
  padding: 0;
}

.spec-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.spec-value {
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
}

.vehicle-actions {
  display: flex;
  gap: 15px;
}

/* Get Started Dark Section (Node 139:1398) */
.get-started-section {
  background-color: #000000;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.bg-text-toyota-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 108px;
  height: 100%;
  padding-top: 13%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.bg-text-toyota {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 140px;
  /* Scalable based on viewport height for proportional section fit */
  color: #4d4d4d;
  line-height: 1;
  letter-spacing: 0.1em;
  transform: rotate(90deg);
  white-space: nowrap;
  opacity: 0.3;
}

.get-started-header {
  position: relative;
  z-index: 10;
  margin-bottom: 70px;
}

/* Video BG Shape (Node 157:383) */
.get-started-video-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 859px;
  /* Fixed design width bounded by viewport */
  height: 100%;
  max-height: 657px;
  /* Fixed design height bounded by section */
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.video-masked-container {
  width: 100%;
  height: 100%;
  clip-path: url(#toyotaParallelogram);
  background: black;
}

.get-started-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Centering logic for cover in irregular shape */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.02);
}

.get-started-title {
  font-size: 50px;
  color: #ffffff;
  margin-bottom: 20px;
}

.get-started-underline {
  width: 154px;
  height: 5px;
  background-color: var(--toyota-red);
}

.icon-box-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 10;
}

.icon-box-item {
  flex: 1;
  min-width: 250px;
  height: 220px;
  background: radial-gradient(
    119.5% 150.11% at 0.9% 2.98%,
    rgba(54, 54, 54, 0.51) 0%,
    rgba(104, 104, 104, 0.38) 25%,
    rgba(154, 154, 154, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(21px);
  border: 1px solid #404040;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  text-decoration: none !important;
}

.icon-box-item:hover {
  transform: translateY(-10px);
  border-color: var(--toyota-red);
  background: radial-gradient(
    119.5% 150.11% at 99.1% 97.02%,
    rgba(54, 54, 54, 0.51) 0%,
    rgba(104, 104, 104, 0.38) 25%,
    rgba(154, 154, 154, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.icon-box-icon {
  height: 60px !important;
  object-fit: contain;
  margin-bottom: 30px;
}

.box-test-drive .icon-box-icon {
  width: 52.5px !important;
}

.box-service .icon-box-icon {
  width: 87.273px !important;
}

.box-part .icon-box-icon {
  width: 64px !important;
  aspect-ratio: 16 / 15 !important;
}

.box-dealer .icon-box-icon {
  width: 45px !important;
}

.box-quote .icon-box-icon {
  width: 62px !important;
  aspect-ratio: 31 / 30 !important;
}

.icon-box-text {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* Responsive Get Started */

/* Laptop: unset min-width so 5 items share space equally */

.btn-white {
  display: flex !important;
  width: 181px !important;
  height: 50px !important;
  padding: 10px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px;
  border-radius: 100px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: 0.5s all ease;
}

.btn-white:hover {
  background: var(--toyota-red) !important;
  color: #ffffff !important;
  font-size: 15px !important;
}

.btn-outline-glass {
  display: flex !important;
  width: 181px !important;
  height: 50px !important;
  padding: 10px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px;
  border-radius: 100px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(2px) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.vehicle-accordion-container .btn-outline-glass {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(2px) !important;
}

/* Accordion Logic (Hover & Default Checked) */
.vehicle-accordion-container:not(:hover) .vehicle-radio:checked + .vehicle-card,
.vehicle-accordion-container .vehicle-card:hover {
  flex: 2.2;
  /* Matches the ~650px/300px ratio */
}

.vehicle-accordion-container:not(:hover)
  .vehicle-radio:checked
  + .vehicle-card
  .vehicle-expanded-content,
.vehicle-accordion-container .vehicle-card:hover .vehicle-expanded-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vehicle-accordion-container:not(:hover)
  .vehicle-radio:checked
  + .vehicle-card
  .vehicle-badge,
.vehicle-accordion-container .vehicle-card:hover .vehicle-badge {
  display: none;
  /* Badge disappears when expanded as name is visible at bottom */
}

/* Responsive Featured Vehicles */

.max-w-1000 {
  max-width: 1000px;
}

/* Toyota Ownership Promise Section */
.ownership-promise-section {
  background-color: #ffffff;
  overflow: hidden;
  padding: 80px 0;
}

.section-description {
  max-width: 800px;
  font-size: 18px;
  color: #58595b;
  line-height: 1.6;
}

.promise-tabs-list {
  background: transparent;
  padding: 5px;
  border-radius: 10px;
}

.promise-tab {
  padding: 7px 18px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #000000;
  font-weight: 400;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e60021;
}

.promise-tab.active {
  background-color: var(--toyota-red) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.promise-panel {
  display: none;
}

.promise-panel.active {
  display: block;
}

.promise-panels-container {
  position: relative;
}

.promise-slider {
  margin: 0;
}

.promise-slider .slick-list {
  overflow: visible !important;
}

.promise-slider .slick-dots {
  display: none !important;
}

.promise-slide-item {
  position: relative;
  display: flex !important;
  width: 100% !important;
  height: 600px;
  padding: 80px 50px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 15px;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

/* Let Slick control the track width */
.promise-slider .slick-track {
  display: flex !important;
}

/* Next/Prev slide dimming effect */
.slick-slide:not(.slick-center) .promise-slide-item {
  opacity: 0.5;
  transform: scale(0.95);
}

.slick-slide.slick-center .promise-slide-item {
  opacity: 1;
  transform: scale(1);
}

.promise-image-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.promise-glass-card {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 450px;
  padding: 40px 30px;
  background: radial-gradient(
    119.5% 150.11% at 0.9% 2.98%,
    rgba(54, 54, 54, 0.51) 0%,
    rgba(104, 104, 104, 0.38) 25%,
    rgba(154, 154, 154, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  border: 1px solid #404040;
  border-radius: 10px;
  color: #ffffff;
  z-index: 10;
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.1);
}

.promise-card-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.promise-card-underline {
  width: 154px;
  height: 5px;
  background-color: var(--toyota-red);
  margin-bottom: 30px;
}

.promise-card-desc {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 30px;
  color: #ffffff;
}

/* .btn-pill-red {
  display: inline-flex;
  width: 181px;
  height: 50px;
  background-color: var(--toyota-red) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: 0.5s all ease;
}

.btn-pill-red:hover {
  background-color: #cc0000 !important;
  font-size: 15px;
} */

/* Custom Slick Arrows */
.ownership-promise-section .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 100;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0;
  /* Hide default text */
}

.ownership-promise-section .slick-arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.ownership-promise-section .slick-prev {
  left: 30px;
}

.ownership-promise-section .slick-prev::before {
  transform: rotate(-135deg);
  margin-left: 5px;
}

.ownership-promise-section .slick-next {
  right: 23%;
  /* Adjusted to be near the peek gap */
}

.ownership-promise-section .slick-next::before {
  transform: rotate(45deg);
  margin-right: 5px;
}

.ownership-promise-section .slick-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* Slick dots for promise slider - Prominent Bar Style */
.promise-slider .slick-dots {
  display: none !important;
}

.promise-slider .slick-dots li {
  margin: 0;
  display: flex;
  align-items: center;
}

.promise-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--toyota-red);
  opacity: 1;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0;
  line-height: 0;
}

.promise-slider .slick-dots li.slick-active button {
  background: var(--toyota-red);
  opacity: 1;
  width: 50px;
  /* Expands to a bar */
  border-radius: 100px;
}

/* Hide arrows explicitly if they managed to sneak in */
.ownership-promise-section .slick-arrow {
  display: none !important;
}

/* Responsive Toyota Ownership Promise */

/* Laptop: promise slider â€" placed AFTER base rules so !important overrides correctly */

/* Toyota Community Section */
.community-section {
  background-color: #dce0e4;
  padding: 100px 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
}

.community-card {
  position: relative;
  height: 620px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  text-decoration: none !important;
  transition: all 0.4s ease;
}

.community-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-card:hover .community-card-bg {
  transform: scale(1.1);
}

.community-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 2;
  opacity: 0.8;
}

.community-card-content {
  position: relative;
  z-index: 10;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-card-title {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #ffffff !important;
  line-height: 1.4;
  letter-spacing: -0.6px;
  margin: 0;
  text-transform: capitalize;
  transition: transform 0.8s ease;
}

.community-card-hover-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    max-height 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-card-desc {
  font-family: "Univers", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  margin: 20px 0 30px 0;
}

.community-card-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  padding: 13px 35px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 1.2s ease;
}

.community-card-btn:hover {
  background-color: var(--toyota-red);
  color: #ffffff;
}
.community-card-btn .cta-text-wrapper {
  transition: 0.5s all ease;
}
.community-card-btn:hover .cta-text-wrapper {
  transform: scale(1.05);
}
/* Hover State */
.community-card:hover .community-card-hover-content {
  opacity: 1;
  max-height: 300px;
  transform: translateY(0);
}

.community-card:hover .community-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

/* Force open state on touch/mobile viewports */

/* Community Responsive */

/* Compare Models Banner Section */
.compare-banner-section {
  background-color: #ffffff;
}

.compare-banner-wrapper {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 30px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px;
  align-content: flex-start;
}

.compare-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  z-index: 1;
}

.compare-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.compare-title {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 50px;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.compare-title-underline {
  width: 150px;
  height: 4px;
  background-color: var(--toyota-red);
  margin-bottom: 25px;
  /* Added spacing */
}

.compare-desc {
  font-family: "Univers", sans-serif;
  font-weight: 400;
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 30px;
  /* Added spacing to button */
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 0px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff !important;
  /* transform: translateY(-2px); */
  font-size: 15px !important;
}

/* Compare Banner Responsive */

/* Recent News & Updates Section */
.news-section {
  background-color: #f7f7f7;
  padding-top: 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
  padding: 18px;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.news-card-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 25px;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 250px;
  object-fit: cover !important;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-content {
  padding: 0 5px 15px 5px;
}

.news-date-badge {
  display: flex;
  padding: 1px 10px;
  align-items: flex-start;
  border-radius: 3px;
  background: rgba(230, 0, 33, 0.1);
  margin-bottom: 20px;
  color: #e60021;
  font-family: "Univers", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24.5px;
  width: fit-content;
}

.news-card-title {
  font-family: "Univers", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 15px;
  height: 64px;
  /* Fixed height for title to align Read More */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card-title a:hover {
  color: var(--toyota-red);
}

.news-read-more {
  display: inline-block;
  color: #425368;
  font-family: "Univers", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-transform: uppercase;
  transition: 0.5s all ease;
}

.news-read-more:hover {
  color: var(--toyota-red);
  text-decoration-line: underline;
  font-size: 15px;
}

/* News Responsive */

/* Advanced Footer Section */
.site-footer {
  background-color: #f0f2f4;
  padding-top: 70px;
  padding-bottom: 20px;
  border-top: 1px solid #e5e5e5;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 0px;
}

.footer-logo-col img {
  max-width: 220px;
  height: auto;
}

.footer-col-title {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--toyota-red);
  margin-bottom: 25px;
  text-transform: capitalize;
}

.footer-sub-title {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #4a4a4a;
  margin-top: 25px;
  margin-bottom: 15px;
}

.footer-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-list li {
  margin-bottom: 7px;
}

.footer-list li a {
  font-family: "Univers", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4a4a4a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list li a:hover,
.footer-list li.current-menu-item a {
  color: var(--toyota-red);
}

/* <b> menu items render as sub-headings (e.g. Passenger Vehicles, Commercial) */
.footer-list li a b {
  font-weight: 700;
  font-size: 18px;
  color: #4a4a4a;
  pointer-events: none;
  cursor: default;
  display: block;
}

.footer-list li:has(a b) {
  margin-top: 18px;
  margin-bottom: 8px;
}

.footer-list li:has(a b) a {
  pointer-events: none;
  cursor: default;
}

.footer-list li:has(a b) a:hover {
  color: inherit;
}

.footer-bottom-row {
  border-top: 0px solid #d9d9d9;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  flex-direction: row;
}

.footer-legal-text,
.footer-legal-text a {
  font-size: 16px;
  color: #000000;
  font-weight: 400;
  text-decoration: none;
  transition: 0.5s all ease;
}
.footer-legal-text a:hover {
  color: #e60021;
}
.footer-legal-links {
  gap: 10px;
  display: flex;
  margin-right: 20px;
}

.footer-legal-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
}

.social-icons-wrapper {
  display: flex;
  gap: 15px;
}

.social-icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1.5px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #000000;
  text-decoration: none;
}

.social-icon-btn:hover {
  background-color: var(--toyota-red);
  border-color: white !important;
  color: #ffffff;
  transform: translateY(-3px);
}

.social-icon-btn:hover svg path {
  fill: white !important;
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
}

/* Global CTA Text Scaler Animation */
.cta-text-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

a.news-read-more span {
  text-decoration: underline;
  color: #425368;
}

/* Global Mobile Section Headings Override */

/* Phone Overrides */

/* ==========================================================
   Why Toyota â€" Hero Banner (Nodes 215:1675â€"215:1684)
   ========================================================== */
.why-toyota-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #000;
  z-index: 10;
}
.why-toyota-banner-bg {
  position: absolute;
  inset: 0;
  background-color: lightgray;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Dark overlay â€" bottom-heavy gradient to let text read clearly */
.why-toyota-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) -6.83%, #000000 100%);
}

/* Inner layout wrapper â€" sits above overlay */
.why-toyota-banner-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
  width: 100%;
}

/* Title col â€" vertically aligns to the bottom-left */
.why-toyota-title-col {
  padding-bottom: 0;
}

/* Heading â€" Node 215:1677 */
.why-toyota-heading {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: normal;
  color: #ffffff;
  margin: 0 0 18px 0;
  text-transform: none;
}

/* Red underline accent â€" Node 215:1678 */
.why-toyota-underline {
  width: 20%;
  height: 5px;
  background-color: var(--toyota-red);
  border-radius: 2px;
}

/* Description column */
.why-toyota-desc-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  padding-bottom: 12px;
}

/* Description text â€" Node 215:1680 */
.why-toyota-desc {
  font-family: "Univers", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #ffffff;
  max-width: 476px;
  margin: 0;
}

/* CTA Button â€" Node 215:1683 */
.why-toyota-cta {
  display: inline-flex !important;
  height: 50px;
  padding: 0px !important;
  align-items: center;
  justify-content: center;
  border-radius: 100px !important;
  background-color: var(--toyota-red) !important;
  border-color: var(--toyota-red) !important;
  color: #ffffff !important;
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none !important;
  align-self: flex-start;
  transition: 0.5s all ease;
}

.why-toyota-cta:hover {
  background-color: #e60021 !important;
  border-color: #e60021 !important;
}

/* CTA button group — horizontal layout for multiple buttons */
.why-toyota-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  /* flex-wrap: wrap; */
}

/* Secondary (white) CTA variant */
.why-toyota-cta--secondary {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

.why-toyota-cta--secondary:hover {
  background-color: var(--toyota-red) !important;
  border-color: var(--toyota-red) !important;
  color: #ffffff !important;
  font-size: 17px;
}

/* ==========================================================
   Vehicle Banner — scoped overrides for Vehicles page
   (Figma frame 6001:7195 — 1920×819)
   ========================================================== */


/* Exact underline width from Figma (154×5px — Node 3258:3741) */
.vehicle-banner .why-toyota-underline {
  width: 154px;
}

/* Both CTA buttons fixed at 196px wide (Figma: Nodes 3273:4167, 3273:4170) */
.vehicle-banner .why-toyota-cta {
  width: 196px;
}

/* Background image — center to keep vehicles visible */
.vehicle-banner .why-toyota-banner-bg {
  background-position: center;
}

/* ---- Vehicle Banner — Responsive ---- */

@media (max-width: 1199px) {
  .vehicle-banner .why-toyota-heading {
    max-width: 100%;
  }
  .vehicle-banner .why-toyota-cta {
    width: 180px;
  }
}

@media (max-width: 991px) {
  .vehicle-banner .why-toyota-cta {
    width: 170px;
  }
}

@media (max-width: 767px) {
  .vehicle-banner .why-toyota-underline {
    width: 100px;
  }
  .vehicle-banner .why-toyota-cta {
    width: 100%;
  }
}

/* Responsive â€" Tablet */

/* Tablets */
@media (min-width: 768px) and (max-width: 1199px) {
  .icon-box-item {
    min-width: 0;
  }

  .hero-content-inner {
    padding-bottom: 25vh;
  }

  section.hero-slider-section {
    height: 80vh;
  }
}

/* Responsive â€" Mobile landscape */

/* Responsive â€" Mobile portrait */

/* ==========================================================
   Toyota's Unmatched Standards â€" Car Showcase (Nodes 248/250)
   ========================================================== */
.unmatched-section {
  position: relative;
  background-color: #ffffff;
  padding: 170px 0;
  overflow: hidden;
}

/* Decorative "TOYOTA" logo watermarks on sides (Node 248:378) */
.unmatched-side-text {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  /* Place behind card content */
  width: 154px;
  height: 875px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unmatched-side-text--left {
  left: 0;
  top: -0%;
}

.unmatched-side-text--right {
  right: 0;
  top: 29%;
}

.vehicle-accordion-container label.vehicle-card:nth-of-type(2) {
  background-position: 23%;
}
.vehicle-accordion-container label.vehicle-card:nth-of-type(3) {
  background-position: 49%;
}
.vehicle-accordion-container label.vehicle-card:nth-of-type(4) {
  background-position: 99%;
}
.unmatched-side-img {
  display: block;
  width: 154px;
  height: 875px;
  max-width: none;
  object-fit: contain;
  opacity: 0.8;
}

.unmatched-section {
  position: relative;
  overflow: visible;
  /* Logo "bleeds" out/up */
  padding: 170px 0;
  z-index: 1;
}

/* Section title (Node 248:372) */
.unmatched-title {
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #000000;
  line-height: normal;
  margin-bottom: 18px;
  white-space: nowrap;
}

/* Red underline accent (Node 248:373) */
.unmatched-underline {
  width: 154px;
  height: 5px;
  background-color: var(--toyota-red);
  border-radius: 2px;
  margin: 0 auto;
}
.why-cta-content .unmatched-underline {
  margin-right: unset;
}
/* Car card container â€" rounded grey bg (Node 250:396 / 250:379) */
.unmatched-card {
  position: relative;
  background-color: #f0f2f4;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  /* Aspect-ratio derived from Figma: 1611 Ã— 921 â‰ˆ 57.17% */
  padding-top: 57.17%;
  isolation: isolate;
  /* keeps z-index stack clean */
}

/* Full-bleed background image layer that cross-fades on hotspot click */
.unmatched-card-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition:
    opacity 0.55s ease,
    background-image 0s;
  z-index: 0;
}

.unmatched-card-bg.is-visible {
  opacity: 1;
}

/* Ellipse glow â€" positioned via % identical to Figma inset (Node 250:380)
   inset top:67.43% right:17.5% bottom:18.89% left:13.78% */
.unmatched-glow {
  position: absolute;
  top: 55%;
  left: 14%;
  right: 17.5%;
  bottom: 19%;
  display: none;
  /* Hidden per user request */
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.unmatched-glow-img {
  width: 160%;
  height: 160%;
  object-fit: contain;
  opacity: 0.6;
  margin-left: -30%;
  margin-top: -30%;
}

/* Car image wrapper â€" left:11.73% right:15.46%, top set from Figma 211px / 921px â‰ˆ 22.91% (Node 250:381)
   We use bottom: -65px to "sink" the transparent padding at the bottom of the RAV4 render,
   bringing the wheels into contact with the ground. */
.unmatched-car-wrap {
  position: absolute;
  left: 11.73%;
  right: 15.46%;
  top: 22.91%;
  bottom: 1%;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.unmatched-car-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* Car ground shadow / ellipse (Node 250:421)
   Figma Spec: 68% height, bottom: 0, contain image. */
.unmatched-car-shadow {
  position: absolute;
  bottom: 0;
  left: -9.03%;
  right: -9.03%;
  height: 68%;
  pointer-events: none;
  z-index: 0;
}

.unmatched-car-shadow-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain !important;
  opacity: 0.8;
}

/* â"€â"€ Hotspots â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€ */
.unmatched-hotspot {
  position: absolute;
  width: 15px;
  height: 15px;
  background: red;
  border: none;
  border-radius: 50px;
  padding: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 20;
  outline: none;
}

/* Individual Hotspot Positions (Adjusted for car grounding) */
.unmatched-hotspot:nth-of-type(1) {
  top: 62.8%;
  left: 55.93%;
}

.unmatched-hotspot:nth-of-type(2) {
  top: 39.3%;
  left: 39.62%;
}

.unmatched-hotspot:nth-of-type(3) {
  top: 64.6%;
  left: 73%;
}

/* Inner solid red dot â€" Figma Ellipse13: 14Ã—14px */
.hs-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-color: var(--toyota-red);
  border-radius: 50%;
  z-index: 2;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Pulsing ring â€" continuous zoom in/out (scale 1 â†' 3.5 â†' 1) */
.hs-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: red;
  opacity: 0.7;
  animation: hsPulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes hsPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }

  65% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Stagger delays â€" organic feel across the 3 dots */
.unmatched-hotspot:nth-of-type(1) .hs-pulse {
  animation-delay: 0s;
}

.unmatched-hotspot:nth-of-type(2) .hs-pulse {
  animation-delay: 0.7s;
}

.unmatched-hotspot:nth-of-type(3) .hs-pulse {
  animation-delay: 1.4s;
}

/* Dot scale up when hotspot is active */
.unmatched-hotspot.is-active .hs-dot {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 0 4px rgba(230, 0, 33, 0.3);
}

/* â"€â"€ Popup panel (Figma: 485Ã—219px glass card) â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€
   Matches Figma SVG inline gradient:
   radialGradient: cx=0 cy=0 r=10 matrix(47.32 20.687 -45.868 46.155 4.3625 6.5157)
   stop 0: rgba(23,23,23,0.7)   stop 1: rgba(0,0,0,0)
   backdrop-filter: blur(21px) from Figma
   border: 1px solid #404040
   â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€â"€ */
.hs-popup {
  position: absolute;
  /* Centre the popup below the dot */
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px);
  /* Figma spec size */
  width: clamp(260px, 30.1vw, 485px);
  min-height: 100px;
  /* User requested background and filter */
  background:
    radial-gradient(
      231% 135.8% at 0.9% 2.98%,
      rgba(23, 23, 23, 0.7) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  border: 1px solid #404040;
  border-radius: 10px;
  padding: 24px 31px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 30;
  overflow: visible;
}
.unmatched-card button.unmatched-hotspot:nth-child(4) .hs-popup {
  top: calc(100% + 14px);
  bottom: unset;
}
/* Upward-pointing arrow â†' connects popup to dot */
/* .hs-popup::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #404040;
}

.hs-popup::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(23, 23, 23, 0.85);
} */

/* â"€â"€ Popup title â€" Figma: Univers Bold, 24px, white â"€â"€ */
.hs-title {
  display: block;
  font-family: "Univers", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: normal;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  /* accent underline from Figma */
  /*white-space: nowrap;*/
}

/* â"€â"€ Popup description â€" Figma: Univers Regular, 18px, line-height 30px â"€â"€ */
.hs-desc {
  font-family: "Univers", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
  color: #ffffff;
  /* Pure white per user request */
  margin: 0;
}

/* â"€â"€ Active state: slide popup up and show â"€â"€ */
.unmatched-hotspot.is-active .hs-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* â"€â"€ Left-anchored popup variant (Hotspot 3 â€" Tinted Windows)
   Sits to the left to avoid overflowing the right card edge â"€â"€ */
.hs-popup.hs-popup--left {
  left: auto;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
}

.hs-popup.hs-popup--left::before,
.hs-popup.hs-popup--left::after {
  /* Right-pointing arrow */
  top: 50%;
  left: auto;
  right: -8px;
  transform: translateY(-50%);
  border-bottom: 0;
}

.hs-popup.hs-popup--left::before {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #404040;
  right: -9px;
}

.hs-popup.hs-popup--left::after {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid rgba(23, 23, 23, 0.85);
  right: -7px;
}

.unmatched-hotspot.is-active .hs-popup.hs-popup--left {
  transform: translateY(-50%) translateX(0);
}

/* Responsive â€" Tablet */

/* Responsive â€" Mobile */

/* =============================================
   Why Toyota - Resilience Section
   ============================================= */
.resilience-section {
  padding: 20px 0 120px;
  background-color: #fff;
}

section.resilience-section .container-1600 {
  max-width: 1720px;
}

.resilience-card {
  background: #f0f2f4;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition: transform 0.3s ease;
}

.resilience-card:hover {
  transform: translateY(-5px);
}

.resilience-icon-wrap {
  background: #000;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.resilience-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.resilience-card-title {
  font-size: 30px;
  margin-bottom: 15px;
  color: #000;
}

.resilience-card-subtitle {
  font-size: 24px;
  color: var(--toyota-red);
  margin-bottom: 20px;
  font-weight: 700;
}

.resilience-card-desc {
  font-size: 17.5px;
  line-height: 1.6;
  color: #425368;
}

/* =============================================
   Why Toyota - Pillars Section
   ============================================= */
.pillars-section {
  padding-bottom: 100px;
}

.pillar-card {
  position: relative;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.pillar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.pillar-card:hover .pillar-bg {
  transform: scale(1.05);
}
.pillar-card:hover .pillar-desc {
  max-height: 48px;
  opacity: 0.9;
}
.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.pillar-content {
  position: relative;
  z-index: 10;
}

.pillar-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    max-height 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-desc {
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  max-height: 0;
  margin: 0;
  opacity: 0;
  transition: 0.5s all ease;
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    max-height 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================
   Why Toyota - Innovation Section
   ============================================= */
.innovation-section {
  padding: 200px 0 100px;
  background: #fff;
}

.innovation-subtitle {
  font-size: 18px;
  color: #000;
  text-align: center;
  margin-top: 20px;
  text-transform: capitalize;
}

.innovation-grid {
  margin-top: 40px;
}

.innovation-card {
  text-align: center;
  cursor: pointer;
}

.innovation-thumb-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  aspect-ratio: 387/350;
}

.innovation-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.innovation-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.innovation-card:hover .innovation-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.play-icon-wrap {
  width: 68px;
  height: 68px;
  display: block;
  transition: transform 0.3s ease;
}

.innovation-card:hover .play-icon-wrap {
  transform: scale(1.1);
}

.innovation-card-title {
  font-size: 20px;
  color: #000;
  line-height: 1.3;
}

/* =============================================
   Why Toyota - CTA Section
   ============================================= */
.why-cta-section {
  background: #000;
  position: relative;
  overflow: visible;
  min-height: 800px;
  display: flex;
  align-items: center;
  z-index: 10;
}

.why-cta-bg-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 76%;
  height: 100%;
}

.why-cta-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  filter: grayscale(100%);
  opacity: 0.15;
}

.why-cta-car-wrap {
  position: absolute;
  right: 0;
  top: 73%;
  transform: translateY(-49%) translateX(5%);
  width: 56%;
  pointer-events: none;
  z-index: 999;
}

.why-cta-car-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 64%;
  width: 100%;
  height: 126px;
  border-radius: 1099px;
  background: #000;
  filter: blur(50px);
  z-index: -1;
}

.why-cta-car {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.why-cta-glass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
  max-width: 1200px;
  width: 79%;
}

.why-cta-glass-card {
  width: 298px !important;
  height: 189px !important;
  background: radial-gradient(
    135.25% 154.51% at 1% 1%,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(21px);
  border-radius: 12px;
  padding: 0 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px !important;
  transition: background 0.3s ease;
  text-decoration: none !important;
}

.why-cta-glass-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.why-cta-card-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.why-cta-card-label {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.why-cta-desc {
  font-size: 50px;
  line-height: 1.2;
  color: #fff;
  max-width: 650px;
}

.why-cta-subtext {
  font-size: 18px;
  color: #fff;
  margin-top: 30px;
}

/* Staggered Accordion Active States */
.vehicle-accordion-container .vehicle-card:hover {
  transition-delay: 0s;
}

.vehicle-accordion-container .vehicle-card:hover .vehicle-expanded-content {
  transition-delay: 0.4s;
}

.vehicle-accordion-container:not(:hover)
  .vehicle-radio:checked
  + .vehicle-card {
  transition-delay: 0s;
}

.vehicle-accordion-container:not(:hover)
  .vehicle-radio:checked
  + .vehicle-card
  .vehicle-expanded-content {
  transition-delay: 0.4s;
}

.icon-box-grid {
  flex-wrap: nowrap;
}

.footer-legal-links {
  gap: 10px;
  display: flex;
  margin-right: 20px;
  align-items: center;
}

/* =============================================
   MEDIA QUERIES
   ============================================= */

/* -----------------------------------------------
   Desktop Large — min-width: 1651px
   ----------------------------------------------- */
/* @media (min-width: 1651px) {
  .container-1600 {
    max-width: 1600px !important;
  }

  .icon-box-item {
    max-width: unset;
  }

  .icon-box-text {
    font-size: 15px;
  }

  .vehicle-accordion-container {
    height: 80vh !important;
  }

  section.unmatched-section {
    padding: 100px 0;
  }

  .unmatched-side-text--left {
    top: 0 !important;
  }

  .unmatched-card {
    width: 80%;
    margin: auto;
  }

  .unmatched-card {

    padding-top: 46.17%;

  }

} */

/* -----------------------------------------------
   Desktop — min-width: 1250px
   ----------------------------------------------- */
@media (min-width: 1250px) {
  .container-1600 {
    max-width: 1250px !important;
  }

  .progress-line-container {
    width: 70% !important;
  }
}

/* -----------------------------------------------
   Desktop — min-width: 1200px
   ----------------------------------------------- */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 54px;
  }

  .icon-box-item {
    min-width: 0 Im !important;
  }
}

/* -----------------------------------------------
   Laptop Large — max-width: 1649px
   ----------------------------------------------- */
@media (max-width: 1649px) {
  .pillar-card:hover .pillar-desc {
    max-height: 72px;
  }
  .unmatched-card {
    overflow: visible;
  }
  .specs-grid {
    gap: 20px;
  }
  .spec-item {
    width: 50%;
  }
  .spec-value {
    font-size: 18px;
  }
  .why-cta-car-wrap {
    width: 50% !important;
    top: 83% !important;
    right: -2% !important;
  }
  .hs-desc {
    font-size: 14px;
    line-height: 23px;
  }
  .hs-title {
    padding: 0;
    font-size: 22px;
  }

  .hs-popup {
    width: 315px;
    padding: 15px;
  }
  .container-1600 {
    min-width: 1440px;
  }

  .hero-title {
    font-size: 60px;
  }

  section.hero-slider-section,
  .home-hero-slider,
  .home-hero-slider .slide-item {
    height: 90vh !important;
    min-height: 700px;
  }

  .section-title {
    font-size: 45px;
  }

  .vehicle-accordion-container {
    height: 80vh !important;
  }

  .why-toyota-heading {
    font-size: 55px !important;
  }

  .resilience-card-title,
  .innovation-card-title,
  .pillar-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .resilience-card-desc,
  .pillar-desc {
    font-size: 15px !important;
    line-height: 24px !important;
  }

  .resilience-icon-wrap {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 20px !important;
  }

  .resilience-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .resilience-card-subtitle {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .progress-line-container {
    width: 94%;
  }

  /* Snap final step to 95% to align with last icon at this resolution */
  .progress-fill-line[style*="width: 98%"] {
    width: 95% !important;
  }

  /* Snap midway step to 24% at 1649px viewports */
  .progress-fill-line[style*="width: 24.5%"] {
    width: 24% !important;
  }

  /* Snap midway step to 24% at 1649px viewports */
  .progress-fill-line[style*="width: 49%"] {
    width: 48% !important;
  }

  /* Snap midway step to 24% at 1649px viewports */
  .progress-fill-line[style*="width: 73.5%"] {
    width: 72% !important;
  }

  .progress-fill-line[style*="width: 98%"] {
    width: 96% !important;
  }

  .icon-box-item {
    min-width: unset;
  }

  .icon-box-text {
    font-size: 15px;
  }

  .progress-bg-line {
    top: 50%;
    left: 2%;
    width: 96%;
  }

  .progress-fill-line {
    top: 50%;
    left: 2%;
    width: 0%;
  }
  .promise-slider,
  .promise-slider .slick-list {
    padding: 0 0% 0 !important;
  }
  .compare-banner-wrapper {
    height: 450px;
    padding: 40px;
  }
}

/* -----------------------------------------------
   Laptop — min-width: 1200px and max-width: 1650px
   ----------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1650px) {
  .footer-list li {
    margin-bottom: 3px;
  }

  .social-icon-btn {
    width: 36px;
    height: 36px;
  }

  .footer-list li a,
  .footer-list li a b {
    font-size: 14px;
  }

  .footer-list li:has(a b) {
    margin-top: 15px;
    margin-bottom: 0px;
  }

  .footer-top-row {
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }

  section.get-started-section .icon-box-grid,
  section.get-started-section .get-started-header {
    padding: 0 5% !important;
  }

  .community-card {
    height: 480px;
  }

  .promise-slide-item {
    height: 80vh;
  }

  .promise-tabs-list {
    gap: 5% !important;
  }

  .bg-text-toyota-wrapper {
    width: 7vw;
  }

  .bg-text-toyota-wrapper {
    top: 5%;
    left: -0.5%;
  }

  .icon-box-item {
    min-width: 180px;
    padding: 20px;
    height: 200px;
  }

  .icon-box-text {
    font-size: 18px;
  }

  .icon-box-grid {
    gap: 15px;
  }

  .bg-text-toyota {
    font-size: 8.4vw;
  }
}

@media (min-width: 1440px) and (max-width: 1650px) {
  .unmatched-side-text--left {
    left: 0;
    top: 0 !important;
  }

  .unmatched-card {
    width: 90% !important;
    margin: auto;
  }

  .unmatched-card {
    padding-top: 48.17%;
  }

  .unmatched-side-text--right {
    right: 0;
    top: 10%;
  }

  .unmatched-hotspot:nth-of-type(2) {
    top: 34.3% !important;
    left: 57.62% !important;
  }
  .unmatched-hotspot:nth-of-type(1) {
    top: 62.8% !important;
  }
  .unmatched-hotspot:nth-of-type(3) {
    top: 61.6% !important;
  }
}

/* -----------------------------------------------
   Laptop — min-width: 992px and max-width: 1440px
   ----------------------------------------------- */
@media (min-width: 992px) and (max-width: 1440px) {
  .container-1600 {
    max-width: 1250px;
  }

  .icon-box-item {
    min-width: 0;
    flex: 1;
  }

  .promise-slider .slick-list {
    padding: 0 8% 0 0 !important;
  }

  .promise-slide-item {
    width: 100% !important;
    height: 500px;
    padding: 60px 30px;
  }

  .promise-glass-card {
    width: 330px;
    right: 30px;
    padding: 28px 22px;
  }

  .promise-card-title {
    font-size: 26px;
  }

  .promise-card-desc {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
  }
}

/* -----------------------------------------------
   Laptop — max-width: 1440px
   ----------------------------------------------- */
@media (max-width: 1440px) {
  .footer-list li a,
  .footer-list li a b,
  .footer-legal-text,
  .footer-legal-text a,
  .footer-legal-links a {
    font-size: 14px;
  }
  .unmatched-section,
  .innovation-section {
    padding: 120px 0;
  }

  .why-cta-desc {
    font-size: 42px;
  }

  /* User Requested Laptop Hotspot Adjustments */
  .unmatched-card {
    width: 85% !important;
    padding-top: 49.17% !important;
    margin: auto !important;
    overflow: visible !important;
  }

  .unmatched-side-text--left {
    left: 0 !important;
    top: -29% !important;
  }

  .unmatched-side-text--right {
    right: 0 !important;
    top: 5% !important;
  }

  .container-1600 {
    max-width: 1250px;
  }

  .hero-title {
    font-size: 54px;
  }

  .section-title {
    font-size: 40px;
  }

  .hero-padding-bottom {
    padding-bottom: 120px;
  }

  .bg-text-toyota-wrapper {
    top: 10%;
    left: -0.5%;
  }

  .bg-text-toyota {
    font-size: 9.3vw;
  }

  .unmatched-side-text--left {
    left: 0;
    top: 0 !important;
  }
}

/* -----------------------------------------------
   Laptop — max-width: 1364px
   ----------------------------------------------- */
@media (max-width: 1364px) {
  .container-1600 {
    max-width: 1140px;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .vehicle-accordion-container {
    height: 550px;
  }

  .promise-slide-item {
    height: 500px;
  }
}

@media (max-width: 1250px) {
  .progress-line-container {
    width: 65% !important;
  }
  .spec-label {
    font-size: 16px;
  }
}
/* -----------------------------------------------
   Tablet — max-width: 1200px
   ----------------------------------------------- */
@media (max-width: 1200px) {
  /* --- Consolidated Typography Tablet --- */
  .hero-title {
    font-size: 55px !important;
  }

  .section-title,
  .get-started-title,
  .compare-title,
  .unmatched-title {
    font-size: 40px !important;
  }

  .promise-card-title,
  .community-card-title,
  .news-card-title,
  .vehicle-card-name,
  .resilience-card-title {
    font-size: 28px !important;
  }

  body,
  .section-description,
  .why-toyota-desc,
  .compare-desc,
  .promise-tab {
    font-size: 16px !important;
  }

  .community-card-desc,
  .news-card-desc,
  .hs-desc {
    font-size: 14px !important;
  }

  /* --- End Typography --- */

  .bg-text-toyota-wrapper {
    top: 0%;
    left: -0.5%;
  }

  .bg-text-toyota {
    font-size: 7.3vw;
  }

  .get-started-header {
    margin-bottom: 20px;
  }

  h2.get-started-title {
    font-size: 040px;
  }

  .icon-box-item {
    height: 170px !important;
    padding: 5px !important;
  }

  .get-started-section {
    padding: 62px;
  }

  section.get-started-section .icon-box-grid {
    width: 64% !important;
    margin: auto;
    gap: 10px;
  }

  .get-started-video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
  }

  .icon-box-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .icon-box-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
  }

  .progress-line-container {
    width: 70% !important;
  }

  .progress-bg-line {
    left: 3% !important;
    width: 94% !important;
  }

  .icon-box-grid {
    flex-wrap: nowrap !important;
  }

  .community-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-grid .community-card:last-child:nth-child(odd),
  .news-grid .news-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 50%;
  }

  .unmatched-side-text {
    width: 5%;
    height: 10%;
  }

  .unmatched-side-text--left {
    left: 0;
    top: 43% !important;
  }

  .unmatched-side-img {
    display: block;
    width: 8vw;
    height: 100vw;
  }

  .unmatched-side-text.unmatched-side-text--left {
    display: none;
  }

  .unmatched-side-text.unmatched-side-text--right {
    display: none;
  }

  section.unmatched-section {
    padding: 100px 0 0 0;
  }

  a.why-cta-glass-card {
    padding: 10px;
  }

  section.why-cta-section {
    min-height: 600px !important;
  }

  .why-cta-card-label {
    color: #fff;
    font-size: 9px;
    font-weight: 700;
  }

  a.why-cta-glass-card {
    gap: 5px;
  }

  .innovation-grid {
    margin-top: 0px;
  }
}
@media (min-width: 1199px) and (max-width: 1300px) {
  .footer-list li a,
  .footer-list li a b,
  .footer-legal-text,
  .footer-legal-text a,
  .footer-legal-links a {
    font-size: 13px;
  }
}
/* -----------------------------------------------
   Tablet — max-width: 1199px
   ----------------------------------------------- */
@media (max-width: 1199px) {
  .spec-item {
    width: 100%;
  }
  .why-toyota-banner {
    height: 550px;
  }
  .progress-line-container.container.mx-auto {
    display: none;
  }
  .hs-popup-title {
    font-size: 18px;
  }

  .hs-popup-desc {
    font-size: 14px;
    line-height: 22px;
  }

  .hs-popup {
    padding: 14px 18px;
  }

  .container-1600 {
    max-width: 960px;
  }

  .hero-title {
    font-size: 42px;
  }

  .footer-top-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Landscape / Small Desktop */

@media (min-width: 1199px) and (max-width: 1200px) {
  .progress-line-container.container.mx-auto {
    /*     display: flex !important; */
  }

  .why-toyota-banner {
    height: 600px !important;
  }

  .why-toyota-heading {
    font-size: 50px !important;
  }

  .why-toyota-desc {
    font-size: 16px !important;
    line-height: 26px !important;
  }

  .home-hero-slider.slick-initialized.slick-slider,
  section.hero-slider-section {
    height: 80vh;
    min-height: 0;
  }

  .hero-content-inner {
    padding-bottom: 30vh;
  }
}

/* -----------------------------------------------
   Tablet — max-width: 1100px
   ----------------------------------------------- */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -----------------------------------------------
   Tablet — max-width: 1199px
   ----------------------------------------------- */
@media (max-width: 1199px) {
  article.news-card {
    padding: 10px;
  }

  .news-card-title a {
    font-size: 17px;
    line-height: 20px;
  }

  /* --- Consolidated Typography Tablet --- */
  .hero-title {
    font-size: 55px !important;
  }

  .section-title,
  .get-started-title,
  .compare-title,
  .unmatched-title {
    font-size: 40px !important;
  }

  .promise-card-title,
  .community-card-title,
  .news-card-title,
  .vehicle-card-name,
  .resilience-card-title {
    font-size: 28px !important;
  }

  body,
  .section-description,
  .why-toyota-desc,
  .compare-desc,
  .promise-tab {
    font-size: 16px !important;
  }

  .community-card-desc,
  .news-card-desc,
  .hs-desc {
    font-size: 14px !important;
  }

  /* --- End Typography --- */

  section.news-section {
    padding: 50px 0;
  }

  .community-card {
    height: 500px;
  }

  .promise-glass-card {
    position: absolute;
    transform: translateY(-50%);
  }
  .promise-slide-item {
    height: 440px;
  }
  .compare-banner-wrapper {
    height: 400px;
  }

  .promise-tab {
    padding: 13px 24px;
    font-size: 15px;
  }

  .promise-tabs-list {
    gap: 10px !important;
  }

  .get-started-video-wrapper {
    max-height: 100%;
  }

  .get-started-header {
    position: relative;
    z-index: 10;
    margin-bottom: 35px;
    text-align: left;
  }

  h2.get-started-title {
    text-align: left;
  }

  .get-started-underline {
    margin-left: 0;
  }

  .bg-text-toyota-wrapper {
    top: 0%;
    left: -2.5%;
  }

  section.get-started-section .icon-box-grid {
    width: auto;
    margin: auto;
    flex-wrap: nowrap !important;
  }

  .spec-item {
    border-left: 0px solid rgba(255, 255, 255, 0.2);
    padding-left: 0px;
  }

  .specs-grid {
    gap: 7px;
    margin-bottom: 20px;
    display: flex;
    grid-auto-flow: row;
    flex-direction: column;
  }

  .spec-label {
    font-size: 13px;
  }

  .vehicle-accordion-container {
    height: auto !important;
  }

  /* Tablet Navigation Sync */
  .home-hero-slider .slick-dots {
    display: flex !important;
    bottom: 20px !important;
    gap: 10px;
  }

  .hero-overlay {
    padding-bottom: 80px !important;
  }

  .hero-content-inner {
    padding-bottom: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-title {
    font-size: 42px !important;
  }

  section.hero-slider-section,
  .home-hero-slider,
  .home-hero-slider .slide-item {
    height: 70vh !important;
    min-height: 500px;
  }

  .unmatched-section,
  .resilience-section,
  .innovation-section,
  .why-cta-section,
  .pillars-section {
    padding: 60px 0;
  }

  .why-toyota-heading {
    font-size: 50px !important;
    white-space: normal;
  }

  .why-toyota-desc {
    max-width: 100%;
    line-height: 22px;
  }

  .pillars-section .unmatched-title {
    text-align: center !important;
    width: 100% !important;
  }

  .unmatched-section .col-auto,
  .resilience-section .col-auto,
  .pillars-section .col-auto,
  .innovation-section .col-auto {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .unmatched-title {
    white-space: normal !important;
    width: 100% !important;
    text-align: center !important;
  }

  .why-toyota-title-col,
  .why-toyota-desc-col {
    text-align: left !important;
  }

  .why-toyota-underline {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .pillars-section .row.justify-content-center {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Hotspot Typography Tablet */
  .hs-title {
    font-size: 18px;
    margin-bottom: 8px;
    white-space: normal;
  }

  .hs-desc {
    font-size: 13.5px;
    line-height: 20px;
  }

  .hs-popup {
    /*     padding: 12px 18px; */
    width: 230px;
    /*     z-index: 999 !important; */
  }

  /* Tablet: 2 per row for Featured Vehicles Accordion */
  .vehicle-accordion-container {
    flex-wrap: wrap;
    flex-direction: row !important;
    height: auto;
    gap: 20px !important;
  }

  .vehicle-card {
    flex: 0 0 calc(50% - 10px) !important;
    height: 350px !important;
  }

  .vehicle-expanded-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
  }

  .vehicle-badge {
    display: none !important;
  }

  /* Grid Adjustments for Tablet */
  .unmatched-card {
    overflow: visible !important;
  }

  .resilience-card-title {
    font-size: 24px;
  }

  /* Resilience Section (Show TWO on Tablets only, center the last one) */
  .resilience-section .row {
    justify-content: center !important;
  }

  .resilience-section .row > div {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center !important;
  }

  .resilience-icon-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pillars-section .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .pillar-card {
    height: 320px;
    padding: 25px;
  }

  /* CTA Section Tablet */
  .why-cta-glass-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    width: 100% !important;
    max-width: 100%;
    margin-top: 30px;
    gap: 15px !important;
  }

  .why-cta-glass-card {
    width: auto !important;
    padding: 20px 15px !important;
    height: 160px !important;
  }

  .why-cta-card-label {
    font-size: 13px !important;
  }

  /* CTA Section Tablet (Flex Reorder) */
  .why-cta-section {
    min-height: auto;
    display: flex !important;
    flex-direction: column !important;
    /*     overflow: hidden; */
  }
  .innovation-section {
    padding-top: 110px;
  }
  /* Text container first */
  .why-cta-section .container-1600 {
    order: 1 !important;
  }

  .why-cta-section .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .why-cta-content {
    max-width: 100% !important;
  }

  /*   .why-cta-car-wrap {
    display: none !important;
  } */

  .why-cta-desc {
    font-size: 32px;
    max-width: 100%;
  }

  .why-cta-bg-wrap {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    right: auto !important;
  }

  .why-cta-bg {
    object-fit: cover !important;
    object-position: bottom !important;
    width: 100% !important;
    height: 100% !important;
  }

  .unmatched-side-text {
    display: none !important;
  }

  h3.news-card-title {
    font-size: 20px !important;
    height: auto;
  }

  .innovation-grid {
    margin: 0;
  }

  a.why-cta-glass-card {
    padding: 10px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .why-cta-card-label {
    font-size: 12px;
  }

  section.get-started-section .icon-box-grid {
    width: 100% !important;
    margin: auto;
    gap: 10px;
  }

  .icon-box-item {
    flex: 0 0 calc(21.333% - 20px);
    min-width: 0;
  }
  .social-icon-btn {
    width: 30px;
    height: 30px;
  }

  .social-icon-btn svg {
    width: 12px;
  }
  /* end  1199*/
}

/* -----------------------------------------------
   Tablet — max-width: 991px
   ----------------------------------------------- */
@media (max-width: 991px) {
  .slider-info-tooltip {
    font-size: 12px;
    max-width: 360px;
  }
  .pillar-card:hover .pillar-desc {
    max-height: 96px;
  }
  .why-toyota-banner {
    height: 450px;
  }
  .social-icon-btn {
    width: 35px;
    height: 35px;
  }
  .social-icon-btn svg {
    width: 15px;
  }
  .promise-slider .promise-slide-item:nth-child(1) .promise-image-box {
    background-position: 100%;
  }
  .community-card-title {
    font-size: 22px !important;
  }
  .icon-box-item {
    flex: 0 0 calc(22% - 15px) !important;
  }

  section.hero-slider-section {
    margin-top: -14vh;
  }

  .icon-box-item {
    flex: 0 0 calc(50% - 15px);
  }

  .vehicle-accordion-container {
    flex-direction: row;
    /* Still 2 per row down to 768px */
    flex-wrap: wrap;
    height: auto;
    gap: 20px;
  }

  /* Force open state on tablet/mobile */
  .vehicle-card,
  .vehicle-accordion-container:not(:hover)
    .vehicle-radio:checked
    + .vehicle-card,
  .vehicle-accordion-container .vehicle-card:hover {
    flex: 0 0 calc(50% - 10px);
    height: 320px;
  }

  .vehicle-expanded-content,
  .vehicle-accordion-container:not(:hover)
    .vehicle-radio:checked
    + .vehicle-card
    .vehicle-expanded-content,
  .vehicle-accordion-container .vehicle-card:hover .vehicle-expanded-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .vehicle-badge,
  .vehicle-accordion-container:not(:hover)
    .vehicle-radio:checked
    + .vehicle-card
    .vehicle-badge,
  .vehicle-accordion-container .vehicle-card:hover .vehicle-badge {
    display: none !important;
  }

  .vehicle-card-name {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .specs-grid {
    gap: 15px;
    margin-bottom: 20px;
  }

  .spec-value {
    font-size: 18px;
  }

  .vehicle-actions {
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
  }

  .vehicle-actions .btn {
    width: auto !important;
    flex: 1;
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-size: 13px !important;
    min-width: 0;
  }

  .promise-glass-card {
    right: 20px;
    width: 400px;
    padding: 30px 20px;
  }
  /* 
  .community-card .community-card-hover-content {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
  } */

  .community-card .community-card-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }

  .compare-banner-wrapper {
    height: 300px;
    padding: 40px 20px;
  }

  .compare-title {
    font-size: 40px;
  }

  .footer-bottom-row {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .why-toyota-heading {
    font-size: 40px !important;
  }

  .why-toyota-banner-inner {
    padding-bottom: 30px;
  }

  .why-toyota-desc-col {
    margin-top: 15px;
    gap: 20px;
  }

  .unmatched-title {
    font-size: 36px;
    white-space: normal;
  }

  .unmatched-section {
    padding: 70px 0;
  }

  .unmatched-side-text {
    width: 100px;
  }

  .hs-popup-title {
    font-size: 16px;
  }

  .hs-popup-desc {
    font-size: 13px;
    line-height: 20px;
  }

  .hs-popup {
    width: clamp(200px, 42vw, 360px);
  }

  /* Switch left popup back to bottom on tablet */
  .hs-popup.hs-popup--left {
    left: 50%;
    right: auto;
    top: calc(100% + 14px);
    transform: translateX(-50%) translateY(8px);
  }

  .hs-popup.hs-popup--left::before,
  .hs-popup.hs-popup--left::after {
    display: none;
  }

  .unmatched-hotspot.is-active .hs-popup.hs-popup--left {
    transform: translateX(-50%) translateY(0);
  }

  .container-1600 {
    max-width: 720px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 30px;
  }

  .vehicle-accordion-container {
    flex-direction: column;
    height: auto;
  }

  .vehicle-card {
    height: 320px;
    flex: none;
  }

  .get-started-title {
    font-size: 28px;
  }

  .footer-bottom-right {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .bg-text-toyota-wrapper {
    top: 10%;
    left: -2%;
    z-index: 999;
  }
}

/* -----------------------------------------------
   Mobile — max-width: 768px
   ----------------------------------------------- */
@media (max-width: 767px) {
  .home-hero-slider .slick-dots {
    bottom: 10px !important;
  }
  .bg-text-toyota-wrapper {
    left: -5.5%;
  }
  .why-toyota-banner-bg {
    background-position: 36%;
  }

  .promise-tabs-wrapper.mb-5 {
    margin-bottom: 1rem !important;
  }
  .promise-image-box {
    position: relative;
    height: 300px;
  }
  .why-toyota-banner-inner {
    background: linear-gradient(
      164deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 1) 100%
    );
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
  }
  .why-toyota-heading {
    font-size: 30px !important;
  }
  .icon-box-icon {
    height: 50px !important;
    margin-bottom: 20px;
  }
  .why-cta-content .unmatched-underline {
    margin-right: unset;
    margin: auto !important;
  }
  section.hero-slider-section,
  .home-hero-slider,
  .home-hero-slider .slide-item {
    height: 100vh !important;
    min-height: 500px;
  }

  ul.slick-dots {
    margin-bottom: 5vh !important;
  }

  .text-center.mt-5.pt-4.cta-wrrap {
    margin: 0 !important;
  }

  .vehicle-actions a {
    padding: 5px 20px !important;
  }

  .community-grid {
    margin-top: 0;
  }

  .social-icon-btn {
    width: 35px;
    height: 35px;
  }

  .promise-glass-card {
    margin-bottom: 0;
  }

  .promise-slide-item {
    justify-content: end;
  }

  .news-date-badge {
    margin-bottom: 10px;
  }

  .news-card-title a {
    font-size: 15px;
    line-height: 20px !important;
  }

  .footer-logo-col img {
    width: 120px !important;
    height: 100px !important;
    object-fit: contain !important;
  }
  .header-logo .logo-image,
  .flyout-logo {
    width: 100px !important;
    height: 80px !important;

    object-fit: contain !important;
  }

  .footer-logo-col {
    margin: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
    grid-column: 1 / -1;
  }

  section.news-section.py-80.bg-white {
    padding-bottom: 50px !important;
  }

  .vehicle-accordion-container {
    flex-direction: row !important;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .community-grid .community-card:last-child:nth-child(odd),
  .news-grid .news-card:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .community-card {
    height: 400px;
    text-align: center !important;
  }

  .community-card-content {
    align-items: center !important;
    text-align: center !important;
  }

  .compare-banner-wrapper {
    height: auto;
    min-height: 350px;
    padding: 50px 30px;
    border-radius: 20px;
  }

  .compare-title {
    font-size: 32px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Mobile Stack for Featured Vehicles (below 768px) */
  .vehicle-accordion-container {
    flex-direction: row !important;
  }

  .vehicle-card {
    flex: 0 0 100% !important;
  }

  .news-card-title {
    font-size: 20px;
    height: auto;
  }

  footer.site-footer {
    padding-top: 50px;
    padding-bottom: 15px;
  }

  .footer-logo-col {
    margin: auto;
  }

  .footer-top-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-logo-col {
    grid-column: 1 / -1;
    padding-left: 8%;
  }

  .footer-col-commercial h4.footer-col-title {
    display: none;
  }

  .footer-bottom-right {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .vehicle-accordion-container .text-center.mt-5.pt-4 {
    margin: 0 !important;
  }

  section.news-section.py-80.bg-white {
    padding-bottom: 50px !important;
  }

  /* Unified Mobile CTAs */
  .btn-primary,
  .btn-secondary,
  .btn-pill-red,
  .btn-outline-glass,
  .community-card-btn,
  .vehicle-expanded-content .btn {
    font-size: 14px !important;
    height: 42px !important;
    width: auto !important;
    min-width: 190px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 100px !important;
    text-transform: capitalize !important;
  }
  .btn-secondary:hover,
  .btn-primary:hover {
    font-size: 15px !important;
  }
  .compare-banner-overlay {
    height: 280px;
  }
  .promise-slide-item {
    padding: 0px;
  }

  .promise-tab {
    padding: 10px !important;
  }

  /* --- Consolidated Typography Mobile --- */
  .hero-title {
    font-size: 38px !important;
  }

  .section-title,
  .get-started-title,
  .compare-title,
  .unmatched-title {
    font-size: 32px !important;
  }

  .promise-card-title,
  .community-card-title,
  .news-card-title,
  .vehicle-card-name,
  .resilience-card-title {
    font-size: 22px !important;
  }

  body,
  .section-description,
  .why-toyota-desc,
  .compare-desc,
  .promise-tab {
    font-size: 15px !important;
  }

  .community-card-desc,
  .news-card-desc,
  .hs-desc {
    font-size: 13px !important;
  }

  /* --- End Typography --- */

  .hero-title {
    font-size: 38px !important;
    /* Secondary ensuring mobile hero scale */
  }

  .promise-slide-item {
    height: auto;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    gap: 0;
  }

  .promise-glass-card {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    transform: none;
    width: 100% !important;
    margin: 8px auto;
    margin-bottom: 10px;
    padding: 20px !important;
    text-align: center !important;
    margin: 0;
    background: #000000;
    border-radius: 0;
  }

  .promise-card-title {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }

  .promise-card-underline {
    margin: 0 auto 15px !important;
  }

  .promise-card-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
  }

  .promise-tabs-list {
    flex-wrap: wrap;
    gap: 20px !important;
  }

  .promise-tab {
    font-size: 19px;
    padding: 5px 12px;
  }

  .promise-card-title {
    font-size: 28px;
  }

  .promise-slider .slick-dots {
    bottom: 20px;
  }

  .section-title-wrap {
    text-align: center;
    margin-bottom: 20px !important;
  }

  section#Vehicles {
    padding: 50px 0;
  }

  section.community-section {
    padding: 50px 0;
  }

  section.news-section {
    padding: 0px 0 !important;
    padding-bottom: 0 !important;
  }

  section.get-started-section {
    padding: 50px 0;
  }

  /* Mobile: 2 per row for Get Started Icons */
  section.get-started-section .icon-box-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
  }

  section.get-started-section .icon-box-item {
    flex: 0 0 calc(50% - 10px) !important;
    height: 140px !important;
    padding: 15px !important;
  }

  section.get-started-section .icon-box-text {
    font-size: 16px !important;
  }

  .why-toyota-banner-inner .row {
    flex-direction: column;
  }

  .why-toyota-title-col,
  .why-toyota-desc-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .why-toyota-desc {
    font-size: 16px;
    line-height: 26px;
    max-width: 100%;
  }

  .why-toyota-desc {
    font-size: 16px;
    line-height: 26px;
    text-align: left !important;
  }

  .why-toyota-title-col,
  .why-toyota-desc-col {
    text-align: left !important;
  }

  .why-toyota-underline {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .unmatched-title,
  .why-cta-desc {
    font-size: 28px;
    white-space: normal !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }

  /* Hotspot Typography Mobile */
  .hs-title {
    font-size: 14px;
    margin-bottom: 5px;
    padding-bottom: 0;
  }

  .hs-desc {
    font-size: 11px;
    line-height: 16px;
  }

  .hs-popup {
    width: 200px;
    padding: 8px 12px;
  }

  .hs-popup::before,
  .hs-popup::after {
    display: none;
    /* Simplify on mobile to avoid overflow */
  }

  .resilience-section,
  .pillars-section,
  .innovation-section,
  .unmatched-section,
  .why-cta-section {
    padding: 50px 0 !important;
    text-align: center !important;
  }

  .pillars-section .unmatched-underline {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Resilience Section (Reset to ONE on Mobile) */
  .resilience-section .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .resilience-card {
    padding: 20px;
    text-align: center !important;
  }

  .resilience-icon-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* One Card per row on Phone for Pillars & Innovation */
  .pillars-section .row > div,
  .innovation-grid .row > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .pillar-card {
    height: auto !important;
    min-height: 250px;
    padding: 20px;
    margin-bottom: 20px;
  }

  .resilience-card-title,
  .pillar-title,
  .innovation-card-title {
    font-size: 19px !important;
    line-height: 1.2 !important;
  }

  .resilience-card-desc,
  .pillar-desc {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
  }

  .resilience-icon-wrap {
    width: 65px !important;
    height: 65px !important;
    margin-bottom: 15px !important;
  }

  .resilience-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .resilience-card-subtitle {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }

  .innovation-card-title {
    font-size: 16px !important;
  }

  .why-cta-glass-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  section.why-cta-section {
    padding-bottom: 250px !important;
  }
  .why-cta-car-wrap {
    width: 100% !important;
    top: 86% !important;
  }
  .why-cta-subtext {
    font-size: 15px;
    margin-top: 20px;
  }

  .why-cta-car-wrap {
    width: 90%;
  }

  /* User Requested Mobile Hotspot Adjustments (Classic Floating Popups) */
  .unmatched-card {
    padding-top: 50vh !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .unmatched-car-img {
    top: -6vh !important;
  }

  /* Compact Mobile Hotspot Dots */
  .unmatched-hotspot {
    width: 10px !important;
    height: 10px !important;
  }

  /*   .unmatched-hotspot:nth-of-type(2) {
    top: 50% !important;
    left: 39.62% !important;
  }
 */
  .unmatched-hotspot:nth-of-type(2) {
    top: 47% !important;
  }
  .container-1600 {
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 32px;
    text-align: center;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-bottom-nav {
    bottom: 20px;
  }

  .community-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-row {
    grid-template-columns: auto;
    gap: 30px;
    text-align: left;
  }
  .footer-widget-col.footer-col-commercial {
    margin-top: -20px;
  }
  .footer-list li a,
  .footer-list li a b {
    font-size: 16px;
  }
  button.slider-glass-btn.info-btn-pos {
    display: block !important;
    bottom: unset;
    left: unset;
    top: 16%;
    right: 10px;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 1;
  }
  .slider-info-tooltip {
    bottom: unset !important;
    left: unset;
    top: 23%;
    width: 90%;
    right: 10px;
  }
  button.slider-glass-btn.info-btn-pos span {
    display: none;
  }
}

/* -----------------------------------------------
   Mobile — max-width: 576px
   ----------------------------------------------- */
@media (max-width: 576px) {
  .promise-card-desc {
    height: 100px;
  }
  .vehicle-actions .btn {
    padding: 4px 12px !important;
    font-size: 11px !important;
    height: 34px !important;
    min-width: 110px !important;
  }
  .hero-title {
    font-size: 32px;
  }

  .bg-text-toyota {
    font-size: 8vh;
  }

  .icon-box-item {
    flex: 0 0 100%;
    margin-bottom: 0;
  }

  .vehicle-card,
  .vehicle-accordion-container:not(:hover)
    .vehicle-radio:checked
    + .vehicle-card,
  .vehicle-accordion-container .vehicle-card:hover {
    height: 340px;
  }

  .promise-tab {
    font-size: 18px;
    width: 100%;
    text-align: center;
  }

  .compare-banner-wrapper {
    padding: 40px 20px;
  }

  .compare-title {
    font-size: 28px;
  }

  .compare-desc {
    font-size: 16px;
    text-align: center;
  }

  .section-title,
  .get-started-title,
  .compare-title {
    font-size: 30px !important;
  }

  .unmatched-title {
    font-size: 28px;
  }

  .unmatched-section {
    padding: 50px 0;
  }

  .unmatched-side-text {
    display: none;
  }

  .unmatched-hotspot {
    width: 36px;
    height: 36px;
  }

  .hs-dot,
  .hs-pulse {
    width: 10px;
    height: 10px;
  }

  .hs-popup {
    width: clamp(160px, 55vw, 280px);
    padding: 10px 14px;
  }

  .hs-popup-title {
    font-size: 13px;
  }

  .hs-popup-desc {
    font-size: 11px;
    line-height: 17px;
  }

  /* Final Innovation stack for small phones */
  .innovation-grid .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer-logo-col a {
    display: inline-block;
    width: 100%;
    text-align: left;
  }
  .innovation-section {
    padding-top: 100px !important;
  }
}

@media (max-width: 500px) and (min-width: 401px) {
  .unmatched-card {
    padding-top: 40vh !important;
  }
}

/* -----------------------------------------------
   Mobile — max-width: 400px
   ----------------------------------------------- */
@media (max-width: 400px) {
  footer.site-footer .px-4 {
    padding: 0 15px !important;
  }
  .footer-legal-links a {
    font-size: 14px;
  }
  .footer-legal-links {
    align-items: flex-start;
  }

  .footer-list li a,
  .footer-list li a b {
    font-size: 15px;
  }

  /* Targeted scale-down for Featured Vehicles on small phones */
  .vehicle-card,
  .vehicle-accordion-container:not(:hover)
    .vehicle-radio:checked
    + .vehicle-card,
  .vehicle-accordion-container .vehicle-card:hover {
    height: 300px !important;
  }

  .vehicle-card-name {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }

  .specs-grid {
    gap: 15px !important;
    margin-bottom: 15px !important;
  }

  .spec-label {
    font-size: 10px !important;
  }

  .spec-value {
    font-size: 13px !important;
  }

  .vehicle-actions {
    gap: 8px !important;
  }

  .unmatched-card {
    padding-top: 35vh !important;
  }
}

@media (max-width: 390px) {
  .unmatched-card {
    padding-top: 40vh !important;
  }
}

@media (max-width: 380px) {
  .unmatched-card {
    padding-top: 45vh !important;
  }
}

/* Final Mobile Step - 320px */
@media (max-width: 320px) {
  .unmatched-card {
    padding-top: 30vh !important;
  }
}
