.blk-button--acc-prime {
    display: none;
}

.cta-parts-img {
    filter: brightness(0.5);
}

.gallery {
      padding: 0px;
    }

    .mySwiper {
    width: 100%;
    height: 100dvh; /* auto-resizable based on viewport */
    
}

.contact-info {
    display: grid;
    a {
        text-decoration: none;
        color: var(--text-color);
    }
    b {
        color: var(--lead-text-1);
    }
}

i.fa.fa-phone {
    margin-inline-end: 0.5em;
}

span.foot-icon {
    margin-block-end: 1em;
}


/* Form element styling */
#contactForm {
    display: flex;
    flex-direction: column;
}

#contactForm label {
    font-size: 1rem;
    color: var(--lead-text-2);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 95%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 0rem;
    transition: border-color 0.3s;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#contactForm textarea {
    min-height: 120px;
    resize: vertical;
}

/* Button styling */
#form-submit {
    background-color: var(--lead-surface-2);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1em;
    width: 25%;
}

#form-submit:hover {
    background-color: var(--lead-surface-2);
}

.modal-details {
    
    .btn-primary {
        width: 100%;
        background-color: var(--lead-surface-2);
        color: var(--lead-btn-color);
        border: none;
        border-radius: 12px;
        padding: 16px;
        font-size: 16px;
        font-weight: 600;
        font-family: var(--font-family);
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 35px;
        transition: opacity 0.2s;
    }
}

.mySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.carousel-container {
    width: 90%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    margin:auto;
    overflow-x: hidden;
}

.carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-item img {
    height: 12em;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: 0.3s;
}

.carousel-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


.container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 30px 20px;
        }

        .page-title {
            text-align: center;
            margin-bottom: 10px;
            font-size: 2rem;
            
        }

        .admin-link {
            text-align: center;
            margin-bottom: 30px;
        }

        .admin-link a {
            
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 8px 16px;
            border: 1px solid #4a6cf7;
            border-radius: 6px;
            transition: all 0.2s;
        }

        .admin-link a:hover {
            background: #4a6cf7;
            color: white;
        }

        .filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 30px;
            justify-content: center;
        }

        .filter-bar select,
        .filter-bar input {
            padding: 10px 16px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            background: white;
            min-width: 150px;
        }

        .filter-bar input {
            flex: 1;
            max-width: 300px;
        }

        .filter-bar select:focus,
        .filter-bar input:focus {
            outline: none;
            border-color: #4a6cf7;
            box-shadow: 0 0 0 3px rgba(74,108,247,0.1);
        }

        .car-grid {
            display: grid;
            grid-template-columns: repeat(4,1fr);
            gap: 24px;
        }

        .car-card {
            background: var(--background-color);
            cursor:unset;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.2s, box-shadow 0.2s;
            max-width:375px;
            position: relative;
            border: solid 0.5px white;
        }

        .car-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .car-card-image {
            width: 100%;
            height: 200px;
            background: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .car-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .car-card:hover .car-card-image img {
            transform: scale(1.05);
        }

        .car-card-placeholder {
            font-size: 64px;
            color: #bbb;
        }

        .status-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 3px 8px;
            border-radius: 20px;
            font-size: 0.55em;
            font-weight: 600;
            
            letter-spacing: 0.5px;
            z-index: 2;
        }
        
        .status-year {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.55em;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 2;
            background: var(--lead-color);
            color: #000000;
        }

        .status-available {
            background: var(--lead-color);
            color: #000000;
        }

        .status-sold {
           background: var(--lead-color);
            color: #000000;
        }

        .status-reserved {
            background: var(--lead-color);
            color: #000000;
        }

        .status-withdrawn {
            background: #e2e3e5;
            color: #383d41;
        }

        .car-card-body {
            padding: 18px 20px;
        }

        .car-title {
            font-size: 1.15rem;
            font-weight: 700;
            
            margin-bottom: 4px;
        }

        .car-subtitle {
            
            font-size: 0.85rem;
            margin-bottom: 14px;
        }

        .car-specs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 16px;
            margin-bottom: 14px;
        }

        .car-spec {
            display: flex;
            align-items: center;
            gap: 0px;
            font-size: 0.85rem;
           
        }

        .car-spec-icon {
            width:1em;
            height:1em;
        }
         .car-spec-icon svg {
           fill:currentColor;
        }
        .car-price {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1a1a2e;
            display:none;
        }
        
        .view-car {
            display:flex;
            grid-gap:.5em;
            justify-content:space-between;
            align-items:center;
        }
        .view-car-button {
                    width: auto;
        background-color: transparent;
        color: var(--lead-color);
        border: 1px solid var(--lead-color);
        border-radius: 12px;
        padding: 1em;
        font-size: 14px;
        font-weight: 500;
        font-family: var(--font-family);
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
          pointer-events:pointer;
        transition: background-color 0.2s;
        }
        .icon-logo {
            width:5em;
            height:2em;
        }

        .no-results {
            text-align: center;
            grid-column: 1 / -1;
            padding: 60px;
            color: #999;
            font-size: 1.1rem;
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            max-width: 1000px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            display: flex;
            gap: 0;
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transition: background 0.2s;
        }

        .modal-close:hover {
            background: #ff4757;
            color: white;
        }

        .modal-gallery {
            flex: 1;
            min-width: 50%;
            background: #f5f5f5;
            position: relative;
            border-radius: 16px 0 0 16px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px;
        }

        .gallery-main {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            transition: opacity 0.3s;
        }

        .gallery-main img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
        }

        .gallery-placeholder {
            font-size: 80px;
            color: #ccc;
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            transition: background 0.2s;
            z-index: 5;
        }

        .gallery-nav:hover {
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        }

        .gallery-nav.prev {
            left: 12px;
        }

        .gallery-nav.next {
            right: 12px;
        }

        .gallery-dots {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 5;
        }

        .gallery-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: background 0.2s, transform 0.2s;
            border: 1px solid rgba(0, 0, 0, 0.2);
        }

        .gallery-dot.active {
            background: white;
            transform: scale(1.3);
            border-color: transparent;
        }

        .gallery-counter {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            z-index: 5;
        }

        .modal-details {
            flex: 1;
            padding: 30px;
            overflow-y: auto;
            max-height: 90vh;
        }

        .modal-details h2 {
            font-size: 1.6rem;
            margin-bottom: 5px;
            color: #1a1a2e;
        }

        .modal-subtitle {
            color: #666;
            margin-bottom: 20px;
            font-size: 0.9rem;
        }

        .modal-price-status {
            display: none;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .modal-price {
            font-size: 2rem;
            font-weight: 700;
            color: #1a1a2e;
        }

        .detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 20px;
        }

        .detail-item {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }

        .detail-label {
            font-size: 0.75rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
        }

        .detail-value {
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }

        .detail-full {
            grid-column: 1 / -1;
        }

        .detail-description {
            margin-bottom: 20px;
        }

        .detail-description h3,
        .detail-features h3 {
            font-size: 0.85rem;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 10px;
        }

        .detail-description p {
            color: #555;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .features-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .feature-tag {
            background: #f0f4ff;
            color: #3a5ccc;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .modal-content {
                flex-direction: column;
            }

            .modal-gallery {
                border-radius: 16px 16px 0 0;
                min-height: 280px;
            }

            .modal-details {
                max-height: none;
                padding: 20px;
            }

            .detail-grid {
                grid-template-columns: 1fr;
            }

            .car-grid {
                grid-template-columns: 1fr;
            }
        }











    .filter-buttons {
      margin-bottom: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn {
      padding: 10px 20px;
      border: none;
      background-color: #ddd;
      cursor: pointer;
      flex: 1 1 auto;
    }

    .btn.active {
      background-color: #555;
      color: white;
    }

    .image-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    

    

    .image-item {
      flex: 1 1 calc(33.33% - 10px);
      max-width: calc(33.33% - 10px);
      overflow: hidden;
      cursor: pointer;
    }

    .image-item img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.3s ease;
    }

    .image-item img:hover {
      transform: scale(1.1);
    }

    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .popup.active {
      display: flex;
    }

    .popup-img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      color: white;
      font-size: 30px;
      cursor: pointer;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
.col-start-5 {
    grid-column-start:unset;
} 

.col-span-8 {
    grid-column-end:unset;
}
      .image-item {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
      }
    }

    @media (max-width: 480px) {
      .image-item {
        flex: 1 1 100%;
        max-width: 100%;
      }

      .btn {
        flex: 1 1 100%;
      }
    }
    
    .temp {
    position: relative;
    
    &:before {
    content: '';
        background-color: var(--lead-color);
        position: absolute;
        width: 30em;
        height: 30em;
        top: -9em;
        left: -15em;
        border-radius: 100vmax;
        opacity: 0.2;
        z-index: -5;
    }
    }
    

    
    
    
    
    
      /* Carousel Container */
        .carousel {
            position: relative;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
                height: inherit;
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Slides Container */
        .slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: -webkit-fill-available;
        }

        /* Individual Slide */
        .slide {
            min-width: 100%;
            position: relative;
        }

        .slide img {
            width: 100%;
            display: block;
        }

        /* Slide Caption */
        .slide-caption {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 10px 20px;
            border-radius: 5px;
        }

        /* Navigation Arrows */
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 24px;
            z-index: 10;
            display: none;
        }

        .arrow.prev {
            left: 10px;
        }

        .arrow.next {
            right: 30px;
        }

        /* Navigation Dots */
        .dots {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            display: none;
        }

        .dot {
            width: 10px;
            height: 10px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .dot.active {
            background-color: white;
        }
    
    
    /* Container sizing and centering for the Hero section */
.hero-search-wrapper {
  
  max-width: 800px;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* --- TABS STYLING --- */
.search-tabs {
  display: flex;
}

.tab-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 14px 45px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Rounding the top left corner of the first tab */
.tab-btn:first-child {
  border-top-left-radius: 20px;
}

/* Rounding the top right corner of the last tab */
.tab-btn:last-child {
  border-top-right-radius: 20px;
}

/* Styling for the currently selected tab */
.tab-btn.active {
  background-color: #bfa124; /* The gold/mustard color */
  color: #000;
}

/* --- SEARCH BAR STYLING --- */
.search-bar {
  background-color: #d4d4d4; /* Light grey background */
  padding: 12px;
  /* Rounding the bottom left, bottom right, and top right */
  border-radius: 0 40px 40px 20px; 
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* Custom Dropdown Styling */
.filter-select {
  appearance: none; /* Removes native OS styling */
  background-color: transparent;
  border: 1.5px solid #000;
  border-radius: 25px; /* Pill shape */
  padding: 10px 35px 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  outline: none;
  
  /* Custom Arrow Graphic */
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="7" xmlns="http://www.w3.org/2000/svg"><path d="M1 1l5 5 5-5" stroke="%23000" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Change border color on focus for accessibility */
.filter-select:focus {
  border-color: #bfa124; 
}

/* --- SUBMIT BUTTON STYLING --- */
.search-btn {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 30px; /* Pill shape */
  padding: 10px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* Pushes the button to the far right of the flex container */
  transition: opacity 0.2s ease;
}

.search-btn:hover {
  opacity: 0.8;
}

.pi-large {
    
  padding-inline-start:4em;  
}

.paragraph-style {
   mask-image: url(../resource/masking.svg);
    webkit-mask-image: url(../resource/masking.svg);
    mask-size: cover;
    -webki-mask-size: cover; 
}
  .text-balance > * {
    text-wrap:balance;
}    
    
.text-center > * {
    text-align:center;
}    
.mb-none {
    margin-block:0;
} 
.mbs-none {
    margin-block-start:0;
} 



.blk-auto-loop:hover .block-loop-scene {
    animation-play-state: paused;
}
.block-loop {
  overflow: hidden;
  --_items-height: clamp(6em, 10vw, 10em); /* responsive */
  --_scroll-duration: 30s;

  white-space: nowrap;
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1em;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );

  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.block-loop-scene {
  display: flex;
  gap: 1em;
  flex-shrink: 0;

  width: 100%; /* /max-content important */
  animation: slide var(--_scroll-duration) linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.block-loop-scene picture {
  flex: 0 0 auto; /* prevents shrinking */
  display: flex;
  justify-content: center;
  align-items: center;

  background: #141414;
  border-radius: .5em;
  padding: .5em;
}

.block-loop-scene picture img {
  display: block;
  height: var(--_items-height);
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

/* mobile */
@media (max-width: 768px) {
  .block-loop {
    --_items-height: 5em;
    --_scroll-duration: 20s;
  }
}
  
  
  .section-cta.row {
            margin-block-end:0;
  }
  .section-image-cta {
     grid-row-start: 1;
     grid-column-start:1;
      grid-column-end:span 12;

  }
  
 .section-form{
      grid-row-start:1;
      grid-column-start:1;
      grid-column-end:span 6;
      z-index:1;
  }
    
.section-form {

            --bg-color: #000000;
            --accent-color: #ba9925;
            --text-main: #ffffff;
            --text-muted: #e0e0e0;
           
        

        .card {
            background-color: var(--bg-color);
            border-radius: 30px;
            padding: 40px 30px;
            width: 380px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            border: 1px solid #1a1a1a;
            box-sizing: border-box;
        }

        .card-title {
            color: var(--text-main);
            font-size: var(--font-size-3);
            font-weight: 400;
            text-transform: uppercase;
            text-align: center;
            margin: 0 0 25px 0;
            letter-spacing: 0.5px;
            font-family:var(--font-custom);
        }

        /* Tabs Navigation */
        .tabs {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 30px;
        }

        .tab-btn {
            flex: 1;
            background-color: var(--text-main);
            color: #000;
            border: none;
            border-radius: 12px;
            padding: 12px 0;
           
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            position: relative;
        }

        .tab-btn.active {
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid var(--text-main);
        }

        /* Radio Buttons */
        .radio-group {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
        }

        .radio-label {
            display: flex;
            align-items: center;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-main);
        }

        .radio-label input[type="radio"] { display: none; }

        .custom-radio {
            width: 18px;
            height: 18px;
            border: 1.5px solid var(--text-main);
            border-radius: 50%;
            margin-right: 10px;
            display: inline-block;
            position: relative;
            transition: all 0.2s;
        }

        .radio-label input[type="radio"]:checked + .custom-radio {
            border-color: var(--accent-color);
            background-color: var(--accent-color);
            box-shadow: inset 0 0 0 3px #000;
        }

        .radio-label input[type="radio"]:checked ~ .radio-text {
            color: var(--accent-color);
        }

        /* Dual Range Slider Implementation */
        .slider-group {
            margin-bottom: 25px;
        }

        .slider-label {
            color: var(--text-main);
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
        }

        .range-slider {
            position: relative;
            width: 100%;
            height: 4px;
            margin-top: 15px;
        }

        .full-range {
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: #333;
            border-radius: 2px;
            z-index: 1;
        }

        .incl-range {
            position: absolute;
            height: 100%;
            background-color: var(--accent-color);
            border-radius: 2px;
            z-index: 2;
            /* Default positions, updated by JS */
            left: 0%;
            right: 0%; 
        }

        .range-slider input[type="range"] {
            position: absolute;
            width: 100%;
            height: 4px;
            top: 0;
            -webkit-appearance: none;
            appearance: none;
            background: transparent;
            pointer-events: none; /* Let clicks pass through the track */
            z-index: 3;
            margin: 0;
            outline: none;
        }

        /* The Thumb (Handle) */
        .range-slider input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            pointer-events: auto; /* Catch clicks only on the thumb */
            width: 16px;
            height: 16px;
            background-color: var(--accent-color);
            border: 2px solid #000;
            border-radius: 50%;
            box-shadow: 0 0 0 1px var(--text-main);
            cursor: pointer;
            margin-top: -6px; /* Center thumb on track */
        }

        .range-slider input[type="range"]::-moz-range-thumb {
            pointer-events: auto;
            width: 12px;
            height: 12px;
            background-color: var(--accent-color);
            border: 2px solid #000;
            border-radius: 50%;
            box-shadow: 0 0 0 1px var(--text-main);
            cursor: pointer;
        }

        /* Buttons */
        .btn-primary {
            width: 100%;
            background-color: var(--lead-surface-2);
            color: var(--lead-btn-color);
            border: none;
            border-radius: 12px;
            padding: 16px;
            font-size: 16px;
            font-weight: 600;
            font-family: var(--font-family);
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 35px;
            transition: opacity 0.2s;
        }

        .btn-primary:hover { opacity: 0.9; }

        .btn-secondary {
            width: 100%;
            background-color: transparent;
            color: var(--accent-color);
            border: 1px solid var(--accent-color);
            border-radius: 12px;
            padding: 16px;
            font-size: 14px;
            font-weight: 500;
            font-family: var(--font-family);
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 15px;
            transition: background-color 0.2s;
        }

        .btn-secondary:hover { background-color: rgba(186, 153, 37, 0.1); }
         svg.icon1 { width: 1.5em; height: 1.5em; fill:currentColor; }
        .icon {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
} 


.logo svg {
    height: 4em;
    
    width: auto;
    display: block;
}
.hero-text .slogan p{
    text-transform:uppercase;
    
}

h1 {
    font-family:var(--font-custom);
    font-weight:800;
    text-transform:uppercase;
}
h2 {
     font-weight:800;
    font-family:var(--font-custom);
    text-transform:uppercase;
}

.blk-nav__footer ul {
            margin-top: initial;
        margin-block-start: 0;
        list-style-type:none;
            display: flex;
    flex-direction: column;
    padding-left:0;
}
.blk-nav li a {
    position:relative;
    line-height: 1.5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
    min-height: 2em;
    color:var(--text-color);
    
}

.blk-nav li a::before {
    content: "";
    pointer-events: none;
    height: 3px;
    width: 1.5625em;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    border-radius: 2em;
    background: currentColor;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .3s ease;
}

.blk-nav li a:not(.blk-button__link):before {
    content: "";
    pointer-events: none;
    height: 3px;
    width: 1.5625em;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    border-radius: 2em;
    background: currentColor;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .3s ease;
}
.blk-nav li a:hover ,.blk-nav li a.active{
    text-decoration:none;
    color:var(--lead-color);
    transition:.3s ease;
}

    .blk-nav li a:hover:before ,  .blk-nav li a.active:before{
        transform: scaleX(1);
        transform-origin: left;
    }
.footer-title {
  font-size:var(--font-size-2);
  font-weight:600;
  font-family:var(--font-custom);
}

.footer__body.row {
    margin-block-end:0;
    padding-block-end:1em;
}

.footer__body-end.row {
    padding-block-start:2em;
   margin-block-end:0;
    position:relative;
    isolation:isolate;
}
.footer__body-end::before {
    content:"";
    position:absolute;
    border-top:.1em solid;
    opacity:.5;
    top:0;
    left:10%;
    pointer-events:none;
    width:80%;
    height:100%;
    
    
}
.footer__body address {
    display: flex;
    flex-direction: column;
    grid-gap: .4em;
}
address a {
    color:var(--text-color);
    text-decoration:none;
    font-style:normal;
}
address a.address-location:before {
    content: " ";
    display: inline-block;
    margin-bottom: -.2em;
    margin-right: .2em;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
    -webkit-mask-image:url("../resource/addressicon.svg");
    -mask-image:url("../resource/addressicon.svg");
}

address a.contact-tel:before {
    content: " ";
    display: inline-block;
    margin-bottom: -.2em;
    margin-right: .2em;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
    -webkit-mask-image:url("../resource/telephoneicon.svg");
    -mask-image:url("../resource/telephoneicon.svg");
}


.grid-content-center-right {
    display: grid;
    place-items: center end;
    align-content: center;
    text-align: end;
}




    @media (max-width: 1440px) {
      
.large-grid-content-center-right {
    display: grid;
    place-items: center end;
    align-content: center;
    text-align: end;
}

}

/* Media query for tablets */
@media (max-width: 768px) {
      .car-grid{
        grid-template-columns: 1fr 1fr;
    }

.footer__body-end.row {
    padding-block-end:3em;
}
    .block-loop-scene {
     
    animation-name: slide;
    }
      .pi-large {
    padding-inline: 1em;
}
    .hero-search-wrapper {
        display:none;
    }
 .hero-image {
      grid-row-start:1;
 }
  .hero-block {
       grid-row-start:2;
         --slogan-fs: var(--font-size-11);
  }
  
 .section-image-cta{
     grid-row-start:1;
      grid-column-end:span 8;
 }
 .section-form {
      grid-row-start:1;
      padding-inline:0;
      grid-column-end:span 8;
 }
  .section-form .blk-text {
    margin-inline-start:1em; 
 }
 .section-form .card {
     width:100%;
 }
 .sticky-col {
    position:relative;
}

}
    
/* Media query for mobile devices */
@media (max-width: 480px) {
.col-start-5 {
    grid-column-start:unset;
} 

.col-span-8 {
    grid-column-end:unset;
}
        .car-grid{
        grid-template-columns: 1fr;
    }
    .footer__body-end.row {
    padding-block-end:3em;
}
    .block-loop-scene {
     
    animation-name: slide;
    }
    .pi-large {
    padding-inline-start:1em;
}
    .hero-search-wrapper {
        display:none;
    }
 .hero-image {
     grid-row-start:1;
 }
  .hero-block {
      grid-row-start:2;
          --slogan-fs: var(--font-size-11);
  }
  .section-image-cta{
     grid-row-start:1;
 }
  .section-form {
      grid-row-start:1;
       padding-inline:0;
 }
 
 .section-form .blk-txt {
     padding-inline-start:1em; 
 }
}

.section-form .filter-bar input {
   
     max-width: 100%;
    box-sizing: border-box;
}

.section-form .filter-bar select, .section-form .filter-bar input {
    min-width:100%;
}

.mb-none {
    margin-block:0;
}
.mbs-none {
    margin-block-start:0;
    margin-top:0;
}
.hero-text .break-slogan p.mbs-none {
      margin-block-start:0;
    margin-top:0;
}
.hero-text .break-slogan p.mb-none {
     margin-block:0;
     margin-top:0;
     margin-bottom:0;
}


@media screen and (max-width: 1023px)  {
    .content-layout {
    .hero {
        height: 50vh;
    height: 50dvh;
}
    .hero-container {
        height: 50vh;
    height: 50dvh;
}
  .blk-image {
    height: 50dvh;
     height: 50vh;
       img {
      height: 50vh;
}
}
}
  .mdown-row-start-2 {
      grid-row-start: 2;
              width: 100%;
              grid-column-end: span 8;
             grid-column: span 8;
  }  
  .mdown-text-center {
      text-align:center;
  }
    .container {
    max-width: 100%;
 
}
    
}

@media screen and (min-width: 1024px)  {
  .content-layout {
    .hero {
        height: 70vh;
    height: 70dvh;
}
    .hero-container {
        height: 70vh;
    height: 70dvh;
}
.hero  .blk-image {
    height: 70dvh;
     height: 70vh;
       img {
      height: 70vh;
}
}
  
  
  
}
   .car-grid {
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
   }
    .sticky-col {
    
    position:sticky;
    top:8em;
    bottom: 0;
    align-self:start;

}
.lg-col-start-5 {
    grid-column-start:5;
} 

.lg-col-span-8 {
    grid-column-end:span 8;
}

.lg-row-start-1 {
    grid-row-start:1;
}

}


.quote-modal-overlay {
  display: none; /* Changed to flex via JS when opened */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  
}

/* Modal Container (The white box) */
.modal-container {
  background-color: #fff;
  border-radius: 20px;
  display: flex;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  z-index: 10;
}

.close-btn:hover { color: #000; }

/* Left Side: Image */
.modal-image-wrapper {
  flex: 1;
  
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Right Side: Form */
.modal-form-wrapper {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header { text-align: center; margin-bottom: 30px; }

.form-header .subtitle {
  color: var(--lead-color);
  font-weight: 600;
  margin: 0 0 5px 0;
  font-size: 14px;
}

.form-header h2 {
  margin: 0;
  font-size: var(--font-size-4);
  color: #111;
}

/* Form Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width { grid-column: span 2; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder { color: #aaa; }
.form-group input:focus, .form-group select:focus { border-color: #00a859; }

/* Checkbox specific styling */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 25px;
}

.checkbox-group input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: #00a859;
}

.checkbox-group label {
  font-size: 12px;
  color: #666;
  font-weight: normal;
  line-height: 1.5;
}

/* Submit Button */
.submit-btn {
  background-color: #444444;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 25px; /* Pill shape matching the image */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover { background-color: #111111; }

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .modal-container {
    flex-direction: column;
  }
  .modal-image-wrapper {
    height:25vh;
    flex: none;
  }
  .modal-image-wrapper img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
  }
  .form-grid {
    grid-template-columns: 1fr; /* Stack inputs on mobile */
  }
  .full-width { grid-column: span 1; }
  .modal-form-wrapper { padding: 25px; }
}

.btn-quote .btn-primary {
    width:auto;
}
.section-benefits .card {
box-shadow: 0 0 8px 1px #ffffff3b;
}


.intro-pbs-large {
    padding-block-start:4em!important;
}

.terms-conditions-container {
    padding:2em 1em;
    border:1px solid #ffffff29;
}
.faq-container {
    padding:2em 1em; 
}
.p-in-large {
    padding-inline:2em;
}

.faq-container {
        margin: 0 auto;
    }
    
    .faq-item {
        margin-bottom: 15px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
         color: var(--text-color);
        
        background-color: var(--accent-surface-1);
    }

    .faq-question {
        padding: 16px 20px;
        font-size: var(--font-size-2);
        font-weight: 600;
        cursor: pointer;
        color: var(--text-color);
        
        background-color: var(--brand-color);
        border-radius: 8px;
        transition: background-color 0.2s ease;
        /* Hide default arrow */
        list-style: none; 
    }

    /* Hide default arrow for WebKit browsers (Safari/Chrome) */
    .faq-question::-webkit-details-marker {
        display: none;
    }

    .faq-question:hover {
        background-color: var(--accent-surface-1);
    }

    /* Custom plus/minus icon using CSS */
    .faq-question::after {
        content: '+';
        float: right;
        font-size: 1.4rem;
        font-weight: 400;
        color: var(--lead-surface-1);
        line-height: 1;
        transition: transform 0.2s ease;
    }

    /* Change to minus when open */
    details[open] .faq-question::after {
        content: '−';
    }

    /* Optional: Style the summary when the details block is open */
    details[open] .faq-question {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        background-color: var(--accent-surface-1);
    }

    .faq-answer {
        padding: 16px 20px;
        margin: 0;
        color: var(--text-color);
        line-height: 1.6;
        border-top: 1px solid #e2e8f0;
    }
    
    .privacy-policy-container {
         padding:2em 1em; 
    }
    
    
    
   

.benefits {
   counter-reset: card-counter;
}

.benefits .card {
    background:var(--brand-color);
  counter-increment: card-counter;
  box-shadow:unset;
}
.benefits .card:nth-child(even) {
    background:#0c0c0c;

}
.benefits .card::before {
  content: counter(card-counter, decimal-leading-zero);
 
    font-size: 5em;
  
  
    color:var(--lead-color);
}
.card .card-content p {
   opacity:.7;
}

h2 {
    position:relative;
}
h2:not(.card-title)::before {
      content: "";
    pointer-events: none;
    height: 3px;
    width: 1.5625em;
    bottom: 0;
    left: auto;
    position: absolute;
    z-index: 1;
    
    background: var(--lead-color);
    
}


h2 strong {
    color:var(--lead-color);
}
@media screen and (min-width: 1024px)  { 
.pis-large {
   padding-inline-end: 4em;
}
}
.eyebrow {
    color:var(--lead-color);
}

.block-loop:hover .block-loop-scene {
    animation-play-state: paused;
}

.section-review.pb-large {
    padding-block:4em!important;
}

.section-review.row {
   margin-block-end:0;
}
.ts-wrapper {
   
    padding: 2.5rem 0 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .ts-track-outer {
    overflow: hidden;
    width: 100%;
  }

  .ts-track {
    display: flex;
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
  }

  .ts-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
  }

  .ts-card {
    background: var(--bg-color);
    
     border: 1px solid #1a1a1a;
    border-radius: 30px;
    padding: 2rem 2.25rem 1.75rem;
    position: relative;
  }

  .ts-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.25em;
  }

  .ts-star {
    width:  1.25em;
    height: 1.25em;
    fill: var(--lead-surface-1);
  }

  .ts-quote {
   
    font-size: var(--font-size-2);
    line-height: 1.75;
    color: var(--text-color);
    margin: 0 0 1.5em;
  }

  .ts-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .ts-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface0);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
   
    flex-shrink: 0;
  }

  .ts-name {
    font-size: var(--font-size-2);
    font-weight: 500;
    color: var(--lead-color);
    margin: 0 0 2px;
  }

  .ts-role {
    font-size: var(--font-size-1);
    color: var(--text-color);
    margin: 0;
  }

  .ts-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25em;
    padding: 0 1em;
  }

  .ts-dots {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .ts-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lead-surface-1);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
  }

  .ts-dot.active {
    background: var(--lead-surface-2);
    transform: scale(1.3);
  }

  .ts-nav {
    display: flex;
    gap: 8px;
  }

  .ts-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0.5px solid  var(--lead-text-0);
    background: var(--surface-0);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
  }

  .ts-btn:hover {
    background: var(--lead-surface-1);
      color: var(--lead-btn-color);
    border-color: var(--lead-text-0);
  }

  .ts-btn:active {
    transform: scale(0.95);
  }

  .ts-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
.ti {
display:flex;
}
.ti svg{
  fill:currentColor;
}

.align-review {
   align-content:end;
}