/* Al Zaad Cars — presentation layer. No inventory or integration settings. */
:root {
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --soft-shadow: 0 20px 55px -24px #0b1a3a30;
}
::selection {
  background: #1149b0;
  color: white;
}
.header {
  transition:
    background 0.35s,
    box-shadow 0.35s;
}
.header.is-scrolled {
  background: #070e1ef5;
  box-shadow: 0 6px 30px #070e1e22;
}
.reading-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #1149b0, #75bbff);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.brand img {
  border-radius: 5px;
}
.nav nav a {
  transition: color 0.2s;
}
.nav nav a::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav nav a:hover::after,
.nav nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.button {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  transition:
    background 0.25s,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s,
    border-color 0.3s;
}
.button .arrow-icon,
.text-link .arrow-icon,
.round-link .arrow-icon,
.chat-float .arrow-icon {
  transition: transform 0.3s var(--ease-out);
}
.button:hover .arrow-icon,
.text-link:hover .arrow-icon,
.chat-float:hover .arrow-icon {
  transform: translate(2px, -2px);
}
.button.primary {
  background: linear-gradient(115deg, #1149b0, #1461d3);
  box-shadow: 0 5px 18px -8px #1149b085;
}
.button.primary:hover {
  background: linear-gradient(115deg, #0d3d97, #1157c2);
  box-shadow: 0 10px 25px -10px #1149b0a0;
}
.button:active {
  transform: translateY(0);
}
.hero {
  overflow: clip;
}
.hero-shade {
  background:
    linear-gradient(90deg, #060c1cdb 0%, #060c1c60 65%, #060c1c22),
    linear-gradient(0deg, #070e1ef2, transparent 65%);
}
.hero-inner {
  position: relative;
}
.hero h1 span {
  -webkit-text-stroke: 1.3px #80baff;
}
.hero .eyebrow {
  letter-spacing: 0.23em;
}
.hero .eyebrow::before {
  width: 36px;
  height: 2px;
}
.hero-bottom a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  transition: color 0.2s;
}
.hero-bottom a:hover {
  color: white;
}
.hero-bottom a::after {
  content: "";
  height: 24px;
  width: 14px;
  border: 1px solid #ffffff65;
  border-radius: 10px;
  background: linear-gradient(#a8ccff, #a8ccff) center 5px/2px 6px no-repeat;
}
.hero-caption {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c5d3e5;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero-caption::before {
  content: "";
  height: 76px;
  width: 1px;
  background: linear-gradient(transparent, #ffffff75);
}
.quick-search {
  border-radius: 8px;
  border-color: #e2e7ee;
  box-shadow: 0 20px 55px -22px #0b1a3a40;
}
.quick-search label {
  transition: color 0.2s;
}
.quick-search label:focus-within {
  color: var(--blue);
}
.section-heading {
  position: relative;
}
.section-heading > div {
  max-width: 760px;
}
.eyebrow.blue::before {
  background: var(--blue);
}
.text-link {
  transition:
    color 0.2s,
    gap 0.3s;
}
.car-grid {
  gap: 24px;
}
.car-card {
  border-color: #e3e8ef;
  border-radius: 9px;
  box-shadow: 0 4px 20px -15px #0b1a3a30;
  transition:
    box-shadow 0.4s,
    transform 0.4s var(--ease-out),
    border-color 0.4s;
}
.car-image {
  aspect-ratio: 1.48;
}
.car-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #07152b20, transparent 55%);
  pointer-events: none;
}
.car-image img {
  transition: transform 0.8s var(--ease-out);
}
.badge {
  z-index: 1;
  padding: 5px 10px;
  border-radius: 3px;
  backdrop-filter: blur(8px);
}
.car-make {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
}
.car-info {
  padding: 24px;
}
.car-info h3 a {
  transition: color 0.25s;
}
.car-bottom {
  padding-top: 19px;
}
.round-link {
  width: 37px;
  height: 37px;
  color: var(--blue);
  background: #f2f6fc;
  border-color: transparent;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
  flex-shrink: 0;
}
.car-card:focus-within {
  border-color: #8fb5ed;
}
.confidence {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 5%, #153a70 0%, transparent 58%), #0b1a3a;
}
.confidence::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  right: -250px;
  bottom: -260px;
  box-shadow:
    0 0 0 70px #ffffff03,
    0 0 0 140px #ffffff02;
  pointer-events: none;
}
.confidence-grid {
  position: relative;
}
.confidence .text-link:hover {
  color: #a7ceff;
}
.principles article {
  transition: border-color 0.3s;
}
.principles article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #6e9fdf50;
  border-radius: 50%;
  padding: 0;
  margin-top: 1px;
  font-size: 10px;
}
.principles article:hover {
  border-color: #8fb5ed70;
}
.brand-list {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.brand-list a {
  transition:
    background 0.3s,
    color 0.3s;
}
.brand-list a:hover {
  background: #edf3fd;
  color: var(--blue);
}
.services-section {
  background: linear-gradient(145deg, #f5f7fa, #eef2f7);
}
.service-card {
  min-height: 480px;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
}
.service-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(7, 14, 30, 0.88) 0%, rgba(7, 14, 30, 0.42) 28%, rgba(7, 14, 30, 0.06) 50%, rgba(7, 14, 30, 0.38) 75%, rgba(7, 14, 30, 0.90) 100%) !important;
  z-index: 1 !important;
}
.service-card img {
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.service-grid a:first-child img {
  object-position: center 30%;
}
.service-grid a:nth-child(2) img {
  object-position: center 40%;
}
.service-grid a:last-child img {
  object-position: center 55%;
}
.service-card .service-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 28px 16px !important;
  width: 100%;
  z-index: 2;
  box-sizing: border-box;
}
.service-card .service-card-top h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.service-card .service-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px 28px 34px !important;
  width: 100%;
  z-index: 2;
  box-sizing: border-box;
}
.service-card span.service-card-cta,
.service-card .service-card-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  padding: 11px 24px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6) !important;
}
.service-card span.service-card-cta .arrow-icon,
.service-card .service-card-cta .arrow-icon {
  stroke: #ffffff !important;
  transition: transform 0.25s ease !important;
}
.service-card:hover .service-card-cta {
  background: #1149b0 !important;
  color: #ffffff !important;
  border-color: #1149b0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(17, 73, 176, 0.55) !important;
}
.service-card:hover .service-card-cta .arrow-icon {
  stroke: #ffffff !important;
  transform: translate(2px, -2px) !important;
}
.visit-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border-top: 3px solid var(--blue);
  background:
    radial-gradient(ellipse at top right, #dceaff, transparent 70%), #f7f9fc;
}
.visit-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}
.visit-panel a:hover {
  color: var(--blue);
}
.final-cta {
  background:
    radial-gradient(ellipse at 90% 100%, #2676e5, transparent 60%),
    linear-gradient(115deg, #0d3384, #1149b0);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -120px;
  top: -320px;
  box-shadow:
    0 0 0 70px #ffffff04,
    0 0 0 140px #ffffff03;
  pointer-events: none;
}
.footer {
  border-top: 1px solid #ffffff12;
}
.footer-grid > div > a:not(.brand) {
  transition: color 0.2s;
}
.footer-grid > div > a:not(.brand):hover {
  color: white;
}
.chat-float {
  background: #0b1a3af5;
  backdrop-filter: blur(12px);
  transition:
    background 0.25s,
    box-shadow 0.25s;
  align-items: center;
}
.chat-float::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #8bbbff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #4498fc18;
}
.chat-float:hover {
  background: var(--blue);
  box-shadow: 0 10px 32px #0b1a3a35;
}
.subhero {
  position: relative;
  isolation: isolate;
}
.subhero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6%;
  height: 3px;
  width: 70px;
  background: var(--glow);
}
.filter-form {
  border-radius: 8px;
  background: #f6f8fb;
  border-color: #e1e7ef;
}
.filter-toggle {
  display: none;
}
input,
select,
textarea {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1149b010;
}
.enquiry-form {
  border-radius: 9px;
  padding: 36px;
  box-shadow: var(--soft-shadow);
  border-top: 3px solid var(--blue);
}
.buy-intro > img {
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}
.detail-summary {
  border-radius: 8px;
  border-top: 3px solid var(--blue);
  background: linear-gradient(150deg, #f0f5fc, #f8fafc);
}
.gallery-main {
  position: relative;
  border-radius: 8px;
}
.gallery-open {
  position: absolute;
  inset: 0;
  width: 100%;
  color: white;
  background: transparent;
  cursor: zoom-in;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 18px;
}
.gallery-open span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #07152bdc;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff40;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.gallery-open:hover span {
  background: var(--blue);
}
.gallery-open:focus-visible {
  outline-offset: -5px;
}
.gallery-thumbs button {
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.gallery-thumbs button:not([aria-pressed="true"]):hover {
  opacity: 0.75;
}
.features li {
  border-radius: 4px;
  background: #f6f8fb;
}
.back-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 34;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: #fffffff5;
  box-shadow: 0 5px 25px #0b1a3a15;
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0.25s;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
}
.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.back-top:hover {
  background: #eef4fc;
}
.photo-viewer {
  border: 1px solid #ffffff25;
  padding: 0;
  background: #070e1e;
  color: white;
  width: min(1200px, 96vw);
  max-width: 96vw;
  max-height: 94svh;
  border-radius: 10px;
  box-shadow: 0 30px 100px #0008;
}
.photo-viewer::backdrop {
  background: #020713e8;
  backdrop-filter: blur(8px);
}
.viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid #ffffff20;
}
.viewer-title {
  font-size: 13px;
  font-weight: 500;
  color: #d8e4f4;
}
.viewer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: transparent;
  color: white;
}
.viewer-stage {
  display: grid;
  place-items: center;
  min-height: 200px;
  background: #030915;
}
.viewer-stage img {
  width: 100%;
  height: min(65svh, 760px);
  object-fit: contain;
}
.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px;
}
.viewer-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  color: white;
  background: transparent;
}
.viewer-controls button:hover,
.viewer-close:hover {
  background: #ffffff18;
}
.viewer-count {
  color: #d8e4f4;
  font-size: 12px;
  min-width: 65px;
  text-align: center;
}
html.viewer-is-open {
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .car-card:hover {
    transform: translateY(-7px);
    border-color: #bfd1eb;
    box-shadow: 0 24px 45px -20px #0b1a3a40;
  }
  .car-card:hover .car-image img {
    transform: scale(1.065);
  }
  .car-card:hover .round-link {
    background: var(--blue);
    color: white;
    transform: rotate(4deg);
  }
  .car-card:hover h3 a {
    color: var(--blue);
  }
  .service-card:hover img {
    transform: scale(1.075);
  }
  .service-card:hover > div {
    transform: translateY(-6px);
  }
  .service-card:hover b {
    background: white;
    color: var(--navy);
  }
}
@media (min-width: 1100px) {
  .detail-summary {
    position: sticky;
    top: 110px;
  }
}
@media (max-width: 1150px) {
  .hero-caption {
    display: none;
  }
  .service-card {
    min-height: 400px;
  }
  .service-card > div {
    padding: 25px;
  }
}
@media (max-width: 800px) {
  .nav nav a::after {
    bottom: -7px;
  }
  .hero h1 span {
    -webkit-text-stroke-width: 1px;
  }
  .hero-bottom {
    margin-top: 36px;
  }
  .hero-bottom a::after {
    display: none;
  }
  .service-card {
    min-height: 360px;
  }
  .enquiry-form {
    padding: 26px;
  }
  .filter-toggle {
    margin-bottom: 24px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f6f8fb;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
  }
  .filter-toggle svg {
    transition: transform 0.25s;
  }
  .filter-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }
  .filter-form.has-toggle {
    margin-top: 12px;
  }
  .filter-form.has-toggle.is-collapsed {
    display: none;
  }
  .gallery-open {
    padding: 12px;
  }
  .viewer-top {
    padding: 10px 14px;
  }
}
@media (max-width: 520px) {
  [data-page="contact"] .subhero h1 {
    font-size: clamp(25px, 7.6vw, 38px);
  }
  .subhero h1,
  .detail-heading h1 {
    overflow-wrap: break-word;
  }
  .car-info {
    padding: 24px;
  }
  .car-info h3 {
    min-height: 0;
  }
  .car-image {
    aspect-ratio: 1.42;
  }
  .service-card {
    min-height: 390px;
  }
  .service-card > div {
    padding: 28px;
  }
  .enquiry-form {
    padding: 22px;
  }
  .quick-search {
    border-radius: 7px;
  }
  .chat-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    gap: 15px;
  }
  .back-top {
    right: 17px;
    bottom: 78px;
  }
  .photo-viewer {
    max-height: 96svh;
  }
  .viewer-stage img {
    height: 55svh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .car-card:hover,
  .button:hover,
  .service-card:hover > div,
  .car-card:hover img,
  .service-card:hover img {
    transform: none;
  }
}

/* Requested search fields and footer readability update. */
.quick-search {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 0;
  padding: 24px;
}
.quick-search label {
  min-width: 0;
  padding: 0 14px;
  font-size: 12px;
}
.quick-search label:nth-of-type(6) {
  border-right: 0;
}
.quick-search select {
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
.quick-search .button {
  grid-column: 1/-1;
  justify-self: end;
  margin: 0;
  min-width: 230px;
}
.footer p {
  font-size: 14px;
}
.footer small {
  font-size: 12px;
}
.footer h3 {
  font-size: 13px;
}
.footer-grid > div > a.footer-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.footer-icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: #8fbaff;
}
.footer-link-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer-bottom {
  font-size: 12px;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom .footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  vertical-align: middle;
}
.footer-bottom .footer-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  margin-top: 0;
}
@media (max-width: 1100px) {
  .quick-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quick-search label:nth-of-type(3n) {
    border-right: 0;
  }
}
@media (max-width: 800px) {
  .quick-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px;
    gap: 18px;
  }
  .quick-search label {
    border: 0;
    padding: 0;
  }
  .quick-search .button {
    justify-self: stretch;
    min-width: 0;
  }
  .quick-search select {
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .footer-bottom { padding-right: 50px; }
}

/* ==========================================================================
   All Cars Top Filter Bar - PC & Mobile Perfection
   ========================================================================== */
.cars-top-filter {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 22px 28px 24px !important;
  box-shadow: 0 16px 48px rgba(11, 26, 58, 0.08) !important;
  border: 1px solid #e2e8f0 !important;
  row-gap: 20px !important;
  column-gap: 0 !important;
}

.cars-top-filter > label {
  border: none !important;
  border-right: 1px solid #e8edf5 !important;
  padding: 2px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--navy) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.cars-top-filter > label:first-of-type {
  padding-left: 4px !important;
}

.cars-top-filter > label:nth-of-type(5) {
  border-right: none !important;
  padding-right: 4px !important;
}

.cars-top-filter select {
  margin-top: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  width: 100% !important;
  padding: 0 22px 0 0 !important;
  height: 28px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 2px center !important;
  background-size: 14px !important;
}

.cars-top-filter select:focus {
  color: var(--blue) !important;
}

/* Full-width bottom row on PC */
.filter-controls-row {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid #edf2f6 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
}

.filter-search-field {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  max-width: 540px !important;
}

.filter-search-field .search-field-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  pointer-events: none !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.filter-search-field input[type="search"] {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 16px 10px 42px !important;
  border: 1.5px solid #d1d9e6 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  background: #f8fafc !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.filter-search-field input[type="search"]:focus {
  background: #ffffff !important;
  border-color: var(--blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.filter-action-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-left: auto !important;
}

.reset-filter-btn {
  background: none !important;
  border: none !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

.reset-filter-btn:hover {
  color: var(--blue) !important;
  background: #f1f5f9 !important;
}

.filter-action-buttons .button {
  margin: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

/* Tablet view */
@media (max-width: 960px) {
  .cars-top-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    padding: 20px 22px !important;
    row-gap: 16px !important;
  }
  .cars-top-filter > label {
    border-right: none !important;
    padding: 0 !important;
  }
}

/* Mobile view */
@media (max-width: 680px) {
  .cars-top-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 16px 14px !important;
    gap: 12px !important;
    row-gap: 14px !important;
    border-radius: 10px !important;
  }
  .cars-top-filter > label {
    border: none !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
  }
  .cars-top-filter > label:nth-of-type(5) {
    grid-column: 1 / -1 !important;
  }
  .cars-top-filter select {
    width: 100% !important;
    margin-top: 6px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 8px 30px 8px 12px !important;
    font-size: 13px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    background-position: right 10px center !important;
    box-sizing: border-box !important;
  }
  .filter-controls-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-top: 14px !important;
  }
  .filter-search-field {
    width: 100% !important;
    max-width: 100% !important;
  }
  .filter-search-field input[type="search"] {
    width: 100% !important;
    height: 44px !important;
    box-sizing: border-box !important;
  }
  .filter-action-buttons {
    width: 100% !important;
    margin-left: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .reset-filter-btn {
    flex: 0 0 auto !important;
    padding: 10px 14px !important;
  }
  .filter-action-buttons .button {
    flex: 1 !important;
    justify-content: center !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}

/* COME SAY HELLO Section Upgrade */
.visit {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  padding: 80px 24px !important;
}
.visit .visit-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}
.visit h2 {
  font-size: clamp(32px, 4.5vw, 46px) !important;
  margin: 14px 0 28px !important;
  line-height: 1.2 !important;
}
.visit p {
  max-width: 520px !important;
  margin: 0 auto 28px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
}
.visit .button {
  margin-top: 0 !important;
  min-height: 48px !important;
  padding: 0 28px !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* ==========================================================================
   Hero Section - Balanced Optical Centering & Spacing (PC & Mobile)
   ========================================================================== */
.hero {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: min(720px, 84svh) !important;
  padding-top: 110px !important;
  padding-bottom: 70px !important;
  padding-inline: 24px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.hero-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 10px !important;
  width: min(1240px, 100%) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.hero .eyebrow {
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 76px) !important;
  font-stretch: 115% !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 24px !important;
  max-width: 820px !important;
}

.hero-actions {
  margin-top: 36px !important;
  display: flex !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  min-height: 56px !important;
  padding: 16px 38px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}
.hero-btn-buy {
  background: #ffffff !important;
  color: #0b1a3a !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.35);
}
.hero-btn-buy:hover {
  background: #f2f6ff !important;
  color: #051126 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.5);
}
.hero-btn-sell {
  background: rgba(11, 26, 58, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.hero-btn-sell:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 255, 255, 0.3);
}
.hero-btn .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.hero-btn:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* Tablet & Mobile Hero Balancing */
@media (max-width: 820px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 130px !important;
    padding-bottom: 50px !important;
    padding-inline: 24px !important;
  }
  .hero-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
  }
  .hero h1 {
    font-size: clamp(38px, 8.5vw, 54px) !important;
    line-height: 1.08 !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 115px !important;
    padding-bottom: 42px !important;
    padding-inline: 20px !important;
  }
  .hero-inner {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero .eyebrow {
    font-size: 10px !important;
    margin-bottom: 14px !important;
  }
  .hero h1 {
    font-size: clamp(34px, 9.2vw, 44px) !important;
    line-height: 1.1 !important;
    margin-bottom: 22px !important;
  }
  .hero-actions {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 26px !important;
    box-sizing: border-box !important;
  }
  .hero-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 52px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   WhatsApp Floating Button Upgrade - Modern Circular FAB
   ========================================================================== */
.chat-float {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 26px rgba(18, 140, 126, 0.45), 0 3px 10px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease !important;
  z-index: 99 !important;
  text-decoration: none !important;
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
}
.chat-float::before {
  display: none !important;
}
.chat-float .whatsapp-icon {
  width: 32px !important;
  height: 32px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
  display: block !important;
  margin: 0 !important;
}
.chat-float span {
  display: none !important;
}
.chat-float:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.6), 0 5px 14px rgba(0, 0, 0, 0.25) !important;
  filter: brightness(1.06) !important;
  color: #ffffff !important;
}
@media (max-width: 768px) {
  .chat-float {
    width: 54px !important;
    height: 54px !important;
    bottom: 84px !important;
    right: 18px !important;
  }
  .chat-float .whatsapp-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .back-top {
    bottom: 150px !important;
    right: 22px !important;
  }
}
@media (max-width: 520px) {
  .chat-float {
    width: 52px !important;
    height: 52px !important;
    bottom: 80px !important;
    right: 16px !important;
  }
  .chat-float .whatsapp-icon {
    width: 29px !important;
    height: 29px !important;
  }
  .back-top {
    bottom: 144px !important;
    right: 20px !important;
  }
  .service-card {
    min-height: 420px !important;
  }
  .service-card .service-card-top {
    padding: 26px 20px 12px !important;
  }
  .service-card .service-card-bottom {
    padding: 12px 20px 26px !important;
  }
}

/* ==========================================================================
   About / Contact Page - Enhanced Contact Cards
   ========================================================================== */
.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
}
.contact-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 73, 176, 0.09);
  border-color: #cbd5e1;
}
.contact-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.contact-card-item:hover .contact-icon-badge {
  transform: scale(1.06);
}
.contact-icon-badge.badge-phone {
  background: #eff6ff;
  color: #1149b0;
  border: 1px solid #bfdbfe;
}
.contact-icon-badge.badge-whatsapp {
  background: #f0fdf4;
  color: #25D366;
  border: 1px solid #bbf7d0;
}
.contact-icon-badge.badge-instagram {
  background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 100%);
  color: #e1306c;
  border: 1px solid #fecdd3;
}
.contact-icon-badge.badge-email {
  background: #f8fafc;
  color: #2563eb;
  border: 1px solid #e2e8f0;
}
.contact-icon-badge.badge-maps {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
}
.contact-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}
.contact-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.contact-card-value {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.contact-card-arrow {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  transition: color 0.2s, background 0.2s, transform 0.25s;
  flex-shrink: 0;
}
.contact-card-item:hover .contact-card-arrow {
  color: #1149b0;
  background: #eff6ff;
  transform: translate(2px, -2px);
}

/* ==========================================================================
   About / Contact Page - Full Width Map Section
   ========================================================================== */
.map-section {
  padding-top: 50px;
  padding-bottom: 80px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.map-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.map-subcopy {
  margin-top: 8px;
  color: #64748b;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
}
.map-header-actions {
  flex-shrink: 0;
}
.full-map-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}
.full-map-card iframe {
  display: block;
  width: 100%;
  border: none;
  min-height: 480px;
}
.map-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: 16px;
  flex-wrap: wrap;
}
.map-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 14px;
}
.map-card-info svg {
  color: #ef4444;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .map-section {
    padding-top: 36px;
    padding-bottom: 50px;
  }
  .map-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .full-map-card iframe {
    min-height: 350px;
    height: 350px;
  }
  .map-card-bar {
    padding: 14px 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-card-item {
    gap: 12px;
    padding: 13px 15px;
  }
  .contact-icon-badge {
    width: 42px;
    height: 42px;
  }
  .contact-card-value {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .contact-card-hint {
    display: none;
  }
  .contact-card-value {
    font-size: 13px;
  }
  .full-map-card iframe {
    min-height: 300px;
    height: 300px;
  }
}
