:root {
--header-offset: 80px;  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --font-main: "Assistant", sans-serif;
  --reveal-distance: 34px;
  --page-bg: #243552;
  --page-bg-soft: #304163;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-strong: #ffffff;
  --line: rgba(18, 31, 56, 0.12);
  --text: #f5f7ff;
  --text-dark: #12203a;
  --display-text-color: #1a2d5d;
  --display-text-letter-spacing: -0.03em;
  --muted: #b7c4dd;
  --muted-dark: #73688f;
  --blue: #5b22cf;
  --blue-bright: #8a57ff;
  --accent: #f5f7ff;
  --shadow: 0 24px 60px rgba(10, 18, 38, 0.18);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--page-bg);
  color: var(--text);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: block;
}

.skip-link {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3000;
  padding: 12px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #12203a;
  border: 2px solid #5b22cf;
  box-shadow: 0 10px 26px rgba(18, 31, 56, 0.16);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.hero-header {
  min-height: 100vh;
  padding-top: var(--header-offset);
  /* allow children (shadows/overflowing elements) to be visible
     otherwise box-shadow and offset elements get clipped */
  overflow: visible;
  position: relative;
  background: var(--page-bg);
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%);
  pointer-events: none;
}

.hero-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, #300067, #8257ff);
}

.hero-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 72px;
  position: relative;
  z-index: auto;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 99999 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding-block: 22px;
  padding-inline: max(20px, calc((100vw - 1200px) / 2 + 26px));
background: linear-gradient(135deg, #071b4d 0%, #24106f 55%, #3b0a8f 100%);  border: 1px solid rgba(255, 255, 255, 0.6);
  border-right: none;
  border-left: none;
  border-radius: 0;
  box-shadow: var(--shadow);
  color: #ffffff;  transition:
    background 260ms var(--ease-smooth),
    box-shadow 260ms var(--ease-smooth),
    border-color 260ms var(--ease-smooth),
    padding-block 260ms var(--ease-smooth);
}
.topbar .brand-copy strong,
.topbar .brand-copy small,
.topbar .nav-links a {
  color: #ffffff;
}

.topbar.is-scrolled {
background: linear-gradient(135deg, #071b4d 0%, #24106f 55%, #3b0a8f 100%);  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(10, 18, 38, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo-wrap {
  width: 100px;
  height: 100px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #243552;
  border: 1px solid rgba(18, 31, 56, 0.06);
  box-shadow: 0 10px 24px rgba(16, 30, 54, 0.12);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(1.67);
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.brand-copy small {
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-contact-shortcuts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-contact-shortcuts__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(7, 12, 29, 0.18);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.nav-contact-shortcuts__link:hover,
.nav-contact-shortcuts__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(7, 12, 29, 0.24);
}

.nav-contact-shortcuts__link--whatsapp {
  background: linear-gradient(135deg, #17a34a 0%, #22c55e 100%);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav-contact-shortcuts__link--whatsapp:hover,
.nav-contact-shortcuts__link--whatsapp:focus-visible {
  background: linear-gradient(135deg, #149342 0%, #1fb355 100%);
}

.nav-contact-shortcuts__link--phone {
  background: linear-gradient(135deg, #ffffff 0%, #ece4ff 100%);
  border-color: rgba(255, 255, 255, 0.5);
  color: #2f0a6f;
}

.nav-contact-shortcuts__link--phone:hover,
.nav-contact-shortcuts__link--phone:focus-visible {
  background: linear-gradient(135deg, #ffffff 0%, #e3d6ff 100%);
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(91, 34, 207, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(91, 34, 207, 0.28);
}

.cta-outline {
  background: #ffffff;
  border: 1px solid rgba(18, 31, 56, 0.14);
  color: var(--text-dark);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(18, 31, 56, 0.12);
  border-radius: 14px;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text-dark);
  border-radius: 999px;
}

.hero-video-section {
  padding-bottom: 24px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: #f4f7ff;
}

@media (min-width: 1024px) {
  .hero-header {
    padding-top: 136px;
  }

  .hero-video-frame {
    width: min(100%, 1280px);
    height: min(56.25vw, 720px);
  }

  .hero-video {
    transform: scale(1.01);
    transform-origin: center top;
  }
}

.hero-video-frame {
  position: relative;
  width: min(100%);
  height: min(62vw, 850px);
  margin: 0 auto;
  background: transparent;
  overflow: hidden;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  transform-origin: center center;
}

.hero-video-overlay {
  position: absolute;
  top: clamp(18px, 4vw, 38px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(92%, 760px);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-video-overlay__text {
  margin: 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(7, 27, 77, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: clamp(1.1rem, 2.1vw, 1.95rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  box-shadow: 0 14px 28px rgba(8, 18, 48, 0.22);
}

.hero-video-overlay__text span {
  display: block;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #4d249f;
}

h1 span {
  display: block;
}

.hero-content {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 20px 0;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(420px, 620px) minmax(0, 1fr);
  grid-template-areas: "copy image";
  align-items: center;
  justify-content: space-between;
  gap: clamp(80px, 10vw, 180px);
}

/* Use a more formal serif for the hero copy */
.hero-copy {
  grid-area: copy;
  justify-self: start;
  text-align: right;
}

.hero-promo-image {
  grid-area: image;
  justify-self: end;
  width: min(100%, 540px);
  transition: transform 260ms var(--ease-smooth), box-shadow 260ms var(--ease-smooth);
}

/* Make the hero heading use the same sans-serif as the fleet headings */
.hero-copy h1 {
  font-family: var(--font-main);
  font-weight: 800;
}

.hero-copy {
  grid-area: copy;
  direction: rtl;
  margin-top: 0;
  max-width: 680px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms var(--ease-smooth), transform 720ms var(--ease-smooth);
}

.hero-lead {
  margin: 12px 0 0;
  max-width: 24ch;
  color: #172752;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
}

.hero-text {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #3b4a71;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .hero-content {
    width: min(1380px, calc(100% - 48px));
  }

  .hero-body {
    grid-template-columns: minmax(360px, 1fr) minmax(460px, 640px);
    gap: clamp(36px, 4vw, 64px);
  }

  .hero-promo-image {
    width: min(100%, 620px);
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .hero-promo-image:hover {
    animation: none;
    transform: scale(1.04);
    box-shadow: 0 28px 60px rgba(15, 26, 56, 0.2);
  }
}


body.has-loaded .hero-copy,
body.has-loaded .hero-promo-image {
  opacity: 1;
}

body.has-loaded .hero-copy {
  transform: none;
}

body.has-loaded .hero-promo-image {
  transform: none;
  animation: hero-float 7.5s ease-in-out 1.1s infinite;
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity 760ms var(--ease-smooth),
    transform 760ms var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-on-scroll.reveal-scale {
  transform: translateY(24px) scale(0.975);
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-36px);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(36px);
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.featured-fleet {
  position: relative;
  overflow: clip;
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at top center, rgba(138, 87, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #f4f7ff 0%, #eef3ff 46%, #f7f9ff 100%);
}

@media (min-width: 1024px) {
  .hero-shell {
    padding-bottom: 8px;
  }

  .featured-fleet {
    padding-top: 86px;
  }

  .featured-fleet::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    width: min(220px, 20vw);
    height: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(91, 34, 207, 0.38), transparent);
    box-shadow: 0 10px 22px rgba(138, 87, 255, 0.14);
  }

  .fleet-intro {
    margin-top: 12px;
  }

  .fleet-carousel {
    margin-top: 14px;
  }
}

/* Full-width background photo section */
.photo-section {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
}

.photo-section__bg {
  background-image: url("PHOTO_SECTION.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: clamp(650px, 60vw, 1100px);
  display: block;
}

@media (max-width: 720px) {
  .photo-section__bg {
    height: clamp(240px, 48vw, 420px);
  }
}

.process-highlight {
  padding: 88px 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(36, 53, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f9ff 0%, #eef3ff 100%);
}

.process-highlight__shell {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.process-highlight__intro {
  max-width: 860px;
  margin: 0 auto 52px;
  text-align: center;
}

.process-highlight__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  grid-template-areas: "content media";
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
}

.process-highlight__media {
  grid-area: media;
}

.process-highlight__image {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 24px 54px rgba(22, 39, 78, 0.16);
}

.process-highlight__content {
  grid-area: content;
  color: #16274e;
  text-align: right;
}

.process-highlight__kicker {
  margin: 0;
  color: #243552;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-highlight__intro h2 {
  margin: 14px 0 0;
  color: #243552;
  font-size: clamp(1.95rem, 4.3vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.process-highlight__intro h2 span {
  display: block;
}

.process-highlight__lead {
  margin: 22px auto 0;
  max-width: 30ch;
  color: #243552;
  font-size: clamp(1.08rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
}

.process-highlight__text {
  margin: 0 0 28px;
  max-width: 62ch;
  color: #22365f;
  font-size: 0.98rem;
  line-height: 1.8;
}

.process-highlight__steps {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.process-highlight__step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 34, 207, 0.1);
  box-shadow: 0 14px 32px rgba(24, 46, 95, 0.08);
  transition:
    transform 260ms var(--ease-smooth),
    box-shadow 260ms var(--ease-smooth),
    border-color 260ms var(--ease-smooth);
}

.process-highlight__step:hover,
.process-highlight__step:focus-within {
  transform: translateY(-4px);
  border-color: rgba(91, 34, 207, 0.18);
  box-shadow: 0 20px 40px rgba(24, 46, 95, 0.12);
}

.process-highlight__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5b22cf 0%, #8a57ff 100%);
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(91, 34, 207, 0.2);
}

.process-highlight__step-copy {
  min-width: 0;
}

.process-highlight__step-copy h3 {
  margin: 0;
  color: #16274e;
  font-size: 1.36rem;
  line-height: 1.3;
}

.process-highlight__step-copy p {
  margin: 8px 0 0;
  color: #24385f;
  font-size: 1.04rem;
  line-height: 1.75;
}

.process-highlight__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5b22cf 0%, #8a57ff 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.12rem;
  box-shadow: 0 16px 32px rgba(91, 34, 207, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.process-highlight__cta:hover,
.process-highlight__cta:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4d1fb2 0%, #7d4ef0 100%);
  box-shadow: 0 20px 36px rgba(91, 34, 207, 0.3);
}

/* Amplified testimonials: apply mobile presentation on larger screens when desired */
.testimonials--amplified .testimonials-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 6px 6px;
  /* reduced top/bottom padding on mobile amplified */
  background: transparent;
}

.testimonials--amplified .testimonials-grid {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  align-items: stretch;
}

.testimonials--amplified .testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonials--amplified .testimonial-card {
  min-width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 8px;
  /* tighter padding */
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(6, 12, 22, 0.03);
  display: block;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(26, 45, 93, 0.06);
  margin-bottom: 8px;
}

.testimonials--amplified .testimonial-card h3 {
  font-size: 1.05rem;
  margin: 6px 0 4px;
}

.testimonials--amplified .testimonial-card .purchase {
  font-size: 0.95rem;
  margin: 2px 0 6px;
}

/* Always show the quote box and make it prominent */
.testimonials--amplified .testimonial-card .testimonial-text {
  max-height: none;
  opacity: 1;
  padding: 10px;
  margin: 6px 12px 12px;
  background: #ffffff;
  color: #2f3b5a;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(18, 31, 56, 0.05);
  text-align: center;
  line-height: 1.55;
}

/* Make the image span the viewport width */
.testimonials--amplified .testimonial-card img {
  width: 100vw;
  max-width: none;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  margin: 0 0 4px 0;
  /* small gap under image */
  box-shadow: none;
}

/* show carousel arrows for navigation */
.testimonials--amplified .testimonials-arrow {
  display: inline-flex;
}

/* On wider screens show a compact 2x2 grid instead of full-bleed carousel */
@media (min-width: 721px) {
  .testimonials--amplified .testimonials-shell {
    /* Make the testimonials area full-bleed white on desktop so cards are not constrained */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 20px 18px;
    background: #ffffff;
  }

  /* Ensure the testimonials title is visible and centered on amplified (desktop) layout */
  .testimonials--amplified .testimonials-shell h2 {
    color: #1a2d5d;
    text-align: center;
    margin: 0 auto 18px;
    opacity: 1;
  }

  .testimonials--amplified .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    /* reduced horizontal gap */
    row-gap: 20px;
    /* reduced vertical spacing between the pairs */
    margin-top: 8px;
    align-items: start;
  }

  .testimonials--amplified .testimonial-card {
    min-width: auto;
    flex: none;
    scroll-snap-align: none;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(6, 12, 22, 0.05);
    text-align: center;
    border: 1px solid rgba(26, 45, 93, 0.06);
  }

  .testimonials--amplified .testimonial-card img {
    width: 100%;
    max-width: 520px;
    /* larger image on desktop */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
    /* reduce space between image and text */
    cursor: zoom-in;
  }

  .testimonials--amplified .testimonial-card .testimonial-text {
    margin: 4px 6px 0;
    /* smaller gap under image */
    padding: 10px;
    background: #f8fbff;
    border-radius: 8px;
    box-shadow: none;
    color: #2f3b5a;
    line-height: 1.5;
  }

  .testimonials--amplified .testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(6, 12, 22, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease;
  }

  /* hide carousel arrows on desktop grid */
  .testimonials--amplified .testimonials-arrow {
    display: none;
  }
}

@media (min-width: 1024px) {
  .testimonials-shell,
  .testimonials--amplified .testimonials-shell {
    width: min(1320px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials--amplified .testimonials-shell {
    padding: 20px 0;
    background: transparent;
  }

  .testimonials--amplified .testimonials-grid {
    column-gap: 24px;
    row-gap: 24px;
  }
}

/* photo-section removed */

.featured-fleet-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.fleet-intro {
  text-align: center;
}

.fleet-kicker {
  margin: 0;
  color: #735eb3;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fleet-intro h2 {
  margin: 10px 0 0;
  color: #1a2d5d;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.fleet-subtitle {
  margin: 18px auto 0;
  max-width: 38ch;
  color: #6f648f;
  font-size: 1.12rem;
  line-height: 1.75;
}

.fleet-carousel {
  position: relative;
  margin-top: 42px;
  padding-inline: 56px;
}

.fleet-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  direction: ltr;
  overflow-x: auto;
  padding: 14px 4px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  mask-image: linear-gradient(to left,
      transparent 0,
      #000 32px,
      #000 calc(100% - 32px),
      transparent 100%);
}

.fleet-grid::-webkit-scrollbar {
  display: none;
}

.fleet-card {
  min-height: 380px;
  padding: 24px 22px 30px;
  direction: rtl;
  border: 1px solid rgba(138, 87, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top center, rgba(116, 166, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 24px 48px rgba(24, 46, 95, 0.12);
  backdrop-filter: blur(8px);
  scroll-snap-align: start;
  transition:
    transform 320ms var(--ease-smooth),
    box-shadow 320ms var(--ease-smooth),
    border-color 320ms var(--ease-smooth),
    background 320ms var(--ease-smooth);
}

.fleet-grid:active {
  cursor: grabbing;
}

.fleet-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.fleet-grid.is-dragging .fleet-card {
  user-select: none;
}

.fleet-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(138, 87, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 56px rgba(24, 46, 95, 0.18);
}

.fleet-card:focus-within,
.fleet-grid:focus-visible,
.testimonial-card:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

/* highlight a matched fleet card when navigated to */
.fleet-card.highlight {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(138, 87, 255, 0.34);
  box-shadow: 0 40px 80px rgba(24, 46, 95, 0.18);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 200ms ease;
}

.fleet-image-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 180px;
}

.fleet-image {
  width: 100%;
  max-width: 280px;
  height: 170px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 22px rgba(34, 61, 112, 0.22));
  transition: transform 220ms ease, filter 220ms ease;
}

.fleet-card:hover .fleet-image {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 24px 28px rgba(34, 61, 112, 0.28));
}

.fleet-copy {
  margin-top: 10px;
  text-align: center;
}

.fleet-copy h3 {
  margin: 0;
  color: #18305f;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.fleet-trim {
  margin: 10px 0 0;
  color: #6f648f;
  font-size: 1.05rem;
}

.fleet-price {
  margin: 10px 0 0;
  color: #6b39de;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
}

.fleet-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(91, 34, 207, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #5b22cf;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 0.9;
  transform: translateY(-50%);
  box-shadow:
    0 14px 30px rgba(24, 46, 95, 0.16),
    0 0 0 6px rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease;
}

.fleet-arrow:hover,
.fleet-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
  background: #ffffff;
  border-color: rgba(91, 34, 207, 0.46);
}

.fleet-arrow-next {
  left: 8px;
}

.fleet-arrow-prev {
  right: 8px;
}

.budget-match {
  padding: 120px 0 96px;
  /* add top padding so the card sits lower after the photo */
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.budget-match-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.budget-match-card {
  padding: 54px clamp(20px, 5vw, 56px) 48px;
  border: 1px solid rgba(138, 87, 255, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at top center, rgba(116, 166, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 28px 56px rgba(24, 46, 95, 0.08);
  text-align: center;
}

.budget-match-card h2 {
  margin: 0;
  color: #1a2d5d;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.budget-slider {
  margin: 44px auto 0;
  max-width: 760px;
}

@media (min-width: 1024px) {
  .budget-match-shell {
    width: min(1320px, calc(100% - 48px));
  }

  .budget-match-card {
    max-width: 1180px;
    margin: 0 auto;
  }

  .budget-slider {
    max-width: 920px;
  }
}

.budget-scale {
  display: flex;
  direction: ltr;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: #6d7d98;
  font-weight: 700;
}

.budget-slider-track {
  position: relative;
  padding-top: 34px;
  direction: ltr;
}

.budget-slider-track::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 52px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cfd7e2, #bbc5d2);
  box-shadow: inset 0 2px 6px rgba(74, 90, 120, 0.08);
  z-index: 1;
}

.budget-slider-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 52px;
  height: 24px;
  width: var(--budget-progress);
  border-radius: 999px;
  background: linear-gradient(90deg, #5b22cf, #8a57ff);
  box-shadow: 0 8px 18px rgba(138, 87, 255, 0.18);
  z-index: 1;
}

.budget-range {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 92px;
  width: 100%;
  margin: 0;
  opacity: 0.01;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.budget-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

.budget-range::-moz-range-thumb {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

.budget-slider-car {
  position: absolute;
  top: 6px;
  left: clamp(0px, calc(var(--budget-progress) - 42px), calc(100% - 92px));
  /* keep the car below the current label so it doesn't occlude the text */
  z-index: 1;
  width: clamp(86px, 10vw, 116px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(24, 46, 95, 0.18));
  transition: left 120ms linear;
}

.budget-current {
  margin: 48px 0 0;
  /* increased space so label sits further below the slider */
  text-align: center;
  color: #000000;
  /* changed to black as requested */
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 6;
  transform: none;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Ensure the current budget label sits above the slider track and car */
.budget-current {
  position: relative;
  z-index: 4;
}

.budget-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 260px);
  min-height: 56px;
  margin-top: 42px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5b22cf, #8a57ff);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(91, 34, 207, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.budget-cta:hover,
.budget-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(91, 34, 207, 0.28);
}

@media (max-width: 1080px) {
  .hero-body {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
    gap: 32px;
  }

  .process-highlight {
    padding: 72px 0;
  }

  .process-highlight__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
    gap: 32px;
  }

  .process-highlight__intro {
    margin-bottom: 40px;
  }

  .process-highlight__intro h2 {
    font-size: clamp(2rem, 7vw, 3.4rem);
  }

  .process-highlight__lead {
    font-size: clamp(1.15rem, 4vw, 1.7rem);
  }

  .fleet-grid {
    grid-auto-columns: calc((100% - 28px) / 2);
  }

  .budget-match-shell {
    width: min(100% - 32px, 1080px);
  }
}

/* Fix overlap on very small screens: keep label in flow and reduce button gap */
@media (max-width: 420px) {
  .budget-slider {
    position: static;
    padding-bottom: 0;
    /* avoid pushing layout */
  }

  .budget-current {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    margin: 48px 0 0 !important;
    font-size: 1.05rem;
    text-align: center;
    display: block;
    pointer-events: none;
  }

  .budget-cta {
    margin-top: 36px !important;
    /* increase gap under the label on very small screens */
  }
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    z-index: 100000;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid rgba(18, 31, 56, 0.08);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 18px;
  }

  .nav-panel .nav-links a {
    width: 100%;
    color: var(--text-dark);
  }

  .nav-panel .nav-links a::after {
    bottom: -4px;
    background: linear-gradient(90deg, var(--blue), transparent);
  }

  .nav-contact-shortcuts {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 18px;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

}

@media (max-width: 720px) {
  :root {
    --header-offset: 88px;
  }

  .hero-header {
    min-height: auto;
    padding-top: var(--header-offset);
  }

  .process-highlight {
    padding: 56px 0;
  }

  .process-highlight__shell {
    width: min(100%, calc(100% - 18px));
  }

  .process-highlight__layout {
    gap: 24px;
  }

  .process-highlight__image {
    border-radius: 24px;
    aspect-ratio: 4 / 5;
  }

  .process-highlight__kicker {
    font-size: 1.08rem;
    letter-spacing: 0.08em;
  }

  .process-highlight__intro {
    margin-bottom: 28px;
  }

  .process-highlight__intro h2 {
    font-size: clamp(1.65rem, 8.2vw, 2.35rem);
    line-height: 1.12;
  }

  .process-highlight__lead {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.5;
    margin-inline: auto;
  }

  .process-highlight__text {
    margin-top: 18px;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-inline: auto;
  }

  .process-highlight__content {
    text-align: center;
  }

  .process-highlight__steps {
    gap: 18px;
    margin-top: 22px;
  }

  .process-highlight__step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px 16px;
  }

  .process-highlight__step-copy h3 {
    font-size: 1.12rem;
  }

  .process-highlight__step-copy p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .process-highlight__cta {
    width: 100%;
    margin-top: 28px;
  }

  .hero-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 0;
    padding-bottom: 6px;
  }

  .topbar {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    align-items: center;
    flex-wrap: nowrap;
    min-height: 88px;
    padding-block: 14px;
    padding-inline: 20px;
    gap: 10px;
    background: linear-gradient(135deg, #071b4d 0%, #24106f 55%, #3b0a8f 100%);
  }

  .brand {
    flex: 1;
    gap: 12px;
  }

  .menu-toggle {
    order: 3;
    flex-shrink: 0;
  }

  .brand-logo-wrap {
    width: 66px;
    height: 66px;
    padding: 0;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy small {
    font-size: 0.8rem;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }

  .floating-contact__panel {
    gap: 10px;
  }

  .floating-contact__toggle {
    min-height: 54px;
    padding-inline: 18px 16px;
    font-size: 0.95rem;
  }

  .floating-contact__toggle-icon,
  .floating-contact__action svg {
    width: 18px;
    height: 18px;
  }

  .floating-contact__action {
    width: 48px;
    height: 48px;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.reveal-left,
  .reveal-on-scroll.reveal-right,
  .reveal-on-scroll.reveal-scale,
  .hero-copy,
  .hero-promo-image {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .hero-content {
    width: min(100% - 24px, 1120px);
    padding: 20px 12px 0;
  }

  .hero-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "image";
    gap: 24px;
  }

  .hero-copy {
    text-align: center;
    max-width: none;
  }

  /* Ensure all hero text is centered on mobile */
  .hero-copy,
  .hero-lead,
  .hero-text {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
  }

  .hero-lead {
    font-size: 1.12rem;
    line-height: 1.6;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .hero-promo-image {
    width: min(100%, 520px);
    aspect-ratio: 4 / 5;
    object-position: center 20%;
    margin: 0 auto;
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
  }

  .hero-actions .cta {
    width: 100%;
  }

  .hero-video-section {
    padding-bottom: 36px;
  }

  /* reduce spacing on small screens so layout remains compact */
  .budget-slider {
    /* keep relative positioning so we can absolutely position the label
       without affecting the CTA/button below */
    position: relative;
  }

  /* On smaller screens keep the current label in the normal flow so it
     doesn't overlap the CTA/button below. This ensures the label pushes
     the button down instead of being absolutely positioned above it. */
  .budget-current {
    position: relative;
    transform: none;
    margin: 48px 0 0;
    font-size: 1.15rem;
    z-index: 20;
    pointer-events: none;
    text-align: center;
  }

  .budget-cta {
    margin-top: 18px;
  }
}



/* Fix overlap on very small screens: keep label in flow and reduce button gap */
@media (max-width: 420px) {
  .budget-slider {
    position: static;
    padding-bottom: 0;
    /* avoid pushing layout */
  }

  .budget-current {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    margin: 48px 0 0 !important;
    font-size: 1.05rem;
    text-align: center;
    display: block;
    z-index: 20 !important;
    pointer-events: none;
  }

  .budget-cta {
    margin-top: 24px !important;
  }
}

/* Modal for displaying matched cars */
.matches-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 22, 0.6);
  z-index: 9999;
  padding: 24px;
}

.matches-modal[hidden] {
  display: none;
}

.matches-dialog {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: hidden;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(6, 12, 22, 0.5);
  direction: rtl;
  display: flex;
  flex-direction: column;
}

.matches-header {
  position: relative;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(18, 31, 56, 0.06);
}

.matches-header h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #1a2d5d;
  text-align: right;
  /* align the title to the right as requested */
  font-weight: 800;
  /* reserve space on the right so text doesn't collide with edges */
  padding-right: 56px;
}

/* Testimonials / לקוחות ממליצים */
.testimonials {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  padding: 12px 0 16px;
}

.testimonials-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  color: #1a2d5d;
  position: relative;
}

.testimonials-shell h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #1a2d5d;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 18px;
}

/* Prev/next arrows for mobile testimonials */
.testimonials-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 31, 56, 0.06);
  box-shadow: 0 12px 30px rgba(6, 12, 22, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1a2d5d;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.testimonials-arrow-prev {
  left: 12px;
}

.testimonials-arrow-next {
  right: 12px;
}

.testimonial-card {
  background: transparent;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 320ms cubic-bezier(.2, .9, .2, 1), box-shadow 320ms ease, opacity 420ms ease;
  opacity: 0;
  transform: translateY(14px);
  cursor: pointer;
}

/* Center the testimonial image and make it stand out without a white card background */
.testimonial-card {
  text-align: center;
}

.testimonial-card img {
  display: block;
  margin: 0 auto 12px;
  width: auto;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 12, 22, 0.06);
  border: none;
}

/* Hidden label for accessibility */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* --- Testimonial modal styles --- */
#testimonial-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#testimonial-modal[hidden] {
  display: none !important;
}

#testimonial-modal[aria-hidden="false"] {
  display: flex;
}

.tm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.tm-content {
  position: relative;
  max-width: 760px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(6, 12, 22, 0.16);
  padding: 18px;
  z-index: 2;
  transform: translateY(0);
}

.tm-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.tm-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
}

.tm-body img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Image modal (lightbox) */
.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.image-modal[hidden] {
  display: none !important;
}

.image-modal[aria-hidden="false"] {
  display: flex;
}

.im-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.im-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.im-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.im-close {
  position: absolute;
  right: -6px;
  top: -36px;
  background: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
}

/* Modal meta / header styling */
.tm-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

#tm-title {
  margin: 0 0 6px 0;
  font-size: 1.4rem;
  color: #1a2d5d;
  font-weight: 900;
  letter-spacing: 0.2px;
}

#tm-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 54px;
  margin-top: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #8a57ff, #5b22cf);
  opacity: 0.95;
}

#tm-purchase {
  margin: 8px 0 12px 0;
  color: #6b7a99;
  font-size: 0.98rem;
  font-weight: 600;
}

.tm-body textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border: none;
  background: #fbfdff;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: inset 0 1px 0 rgba(18, 31, 56, 0.03), 0 6px 18px rgba(18, 31, 56, 0.04);
}

@media (max-width: 520px) {
  .tm-body {
    grid-template-columns: 1fr;
  }

  .tm-body img {
    max-height: 220px;
    object-fit: cover;
  }

  /* Center the meta area (name / purchase) on small screens */
  .tm-meta {
    align-items: center;
    text-align: center;
  }

  #tm-title {
    font-size: 1.35rem;
  }

  #tm-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  /* Make the quote look like a styled testimonial: serif, italic, centered */
  .tm-body textarea {
    font-family: "Georgia", "Times New Roman", serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    padding: 18px 16px;
    min-height: 160px;
  }
}

.testimonial-card h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.testimonial-card .purchase {
  margin: 6px 0 0;
  color: #6b7a99;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Make the name/purchase area look nicer with subtle divider */
.testimonial-card .purchase {
  display: inline-block;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 45, 93, 0.06);
}

/* On desktop keep a little elevated card feel when visible */
.testimonial-card.is-visible {
  box-shadow: 0 18px 40px rgba(6, 12, 22, 0.06);
  border-radius: 12px;
}

.testimonial-card.is-visible {
  opacity: 1;
  transform: none;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 46px rgba(18, 31, 56, 0.12);
}

/* Hidden testimonial text (expandable) */
.testimonial-text {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease, padding 240ms ease, opacity 300ms ease;
  opacity: 0;
  padding: 0 6px;
  margin-top: 8px;
  color: #3b4a71;
  text-align: center;
}

.testimonial-card.is-open {
  box-shadow: 0 28px 56px rgba(18, 31, 56, 0.12);
}

.testimonial-card.is-open .testimonial-text {
  max-height: 240px;
  opacity: 1;
  padding: 12px 8px 0;
}

@media (max-width: 920px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {

  /* Full-bleed testimonials on mobile: expand shell to viewport and remove white margins */
  .testimonials-shell {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    background: transparent;
  }

  .testimonials-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    align-items: stretch;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    min-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    text-align: center;
  }

  .testimonial-card h3 {
    font-size: 1.05rem;
    margin-top: 12px;
  }

  .testimonial-card .purchase {
    font-size: 0.95rem;
  }

  .testimonial-card .testimonial-text {
    font-size: 0.96rem;
    padding: 8px 12px;
  }

  /* Show quote box for all cards on mobile (like רונן) */
  .testimonial-card .testimonial-text {
    max-height: none;
    opacity: 1;
    padding: 16px;
    margin: 12px 14px 22px;
    background: #ffffff;
    color: #2f3b5a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(18, 31, 56, 0.06);
    text-align: center;
    line-height: 1.6;
  }

  /* make the image span the viewport width, no white margins */
  .testimonial-card img {
    width: 100vw;
    max-width: none;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
    margin: 0;
    box-shadow: none;
  }

  .testimonials-arrow {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .testimonial-card {
    min-width: 100%;
  }

  .testimonial-card img {
    width: 100vw;
    max-width: none;
    height: auto;
    object-fit: cover;
    border-radius: 0;
  }

  .testimonials-shell {
    padding-inline: 0;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

@media (min-width: 721px) and (max-width: 920px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 921px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.instagram-showcase {
  padding: 52px 0 112px;
  background:
    radial-gradient(circle at top right, rgba(109, 66, 255, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(138, 87, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #1d2340 0%, #11172c 100%);
  color: #f5f7ff;
}

.instagram-showcase__shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.instagram-showcase__intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.instagram-showcase__kicker {
  margin: 0;
  color: #c1a9ff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.instagram-showcase__intro h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.instagram-showcase__text {
  margin: 0;
  max-width: 38ch;
  color: rgba(245, 247, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.8;
}

.instagram-showcase__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5c7cff 0%, #8257ff 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(64, 74, 170, 0.28);
}

.instagram-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 340px));
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
  align-items: start;
  direction: ltr;
}

.instagram-post-card {
  width: 100%;
  max-width: 340px;
  direction: rtl;
  padding: 14px 14px 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #2b1658 0%, #191d36 100%);
  border: 1px solid rgba(164, 181, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 60px rgba(5, 10, 24, 0.42);
  overflow: hidden;
  transition:
    transform 300ms var(--ease-smooth),
    box-shadow 300ms var(--ease-smooth),
    border-color 300ms var(--ease-smooth);
}

.instagram-post-card:hover,
.instagram-post-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(164, 181, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 74px rgba(5, 10, 24, 0.48);
}

.instagram-post-card__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 0 22px;
  margin-bottom: 14px;
  border-radius: 22px 22px 10px 10px;
  background: linear-gradient(135deg, #300067 0%, #4712a8 100%);
  box-shadow: 0 10px 0 rgba(118, 80, 230, 0.24);
}

.instagram-post-card__burger {
  display: inline-grid;
  gap: 4px;
}

.instagram-post-card__burger span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.instagram-post-card__badge {
  display: inline-grid;
  justify-items: end;
  gap: 2px;
  min-width: 0;
  color: #ffffff;
  text-align: right;
}

.instagram-post-card__badge strong {
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.instagram-post-card__badge small {
  font-size: 0.78rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
}

.instagram-post-card__embed {
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: #ffffff;
  max-width: 100%;
}

.instagram-post-card__embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 680px;
  border: 0;
}

.instagram-post-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 1px solid rgba(155, 184, 255, 0.2);
  border-radius: 18px;
  color: #eef3ff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.instagram-post-card__link:hover,
.instagram-post-card__link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(155, 184, 255, 0.38);
}

.instagram-showcase__arrow {
  display: none;
}

.contact-section {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(138, 87, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  color: #12203a;
}

.contact-section__shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
}

.contact-section__intro {
  padding: 10px 0;
  text-align: center;
}

.contact-section__kicker {
  margin: 0;
  color: #735eb3;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-section__intro h2 {
  margin: 12px 0 0;
  color: #18305f;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-align: center;
}

.contact-section__text {
  margin: 18px 0 0;
  max-width: 34ch;
  color: #6f648f;
  font-size: 1.08rem;
  line-height: 1.85;
}

.contact-section__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 26px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(91, 34, 207, 0.14);
  color: #5b22cf;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(20, 41, 82, 0.08);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: min(100%, 760px);
  padding: 30px;
  border: 1px solid rgba(138, 87, 255, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at top center, rgba(138, 87, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 28px 60px rgba(24, 46, 95, 0.1);
  transition: transform 320ms var(--ease-smooth), box-shadow 320ms var(--ease-smooth);
}

.contact-form:hover,
.contact-form:focus-within {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 60px rgba(24, 46, 95, 0.14);
}

.reveal-on-scroll.fleet-card,
.reveal-on-scroll.process-highlight__step,
.reveal-on-scroll.instagram-post-card,
.reveal-on-scroll.contact-form {
  transition:
    opacity 760ms var(--ease-smooth),
    transform 760ms var(--ease-smooth),
    box-shadow 320ms var(--ease-smooth),
    border-color 320ms var(--ease-smooth),
    background 320ms var(--ease-smooth);
}

.contact-form__field {
  display: grid;
  gap: 10px;
}

.contact-form__field span {
  color: #18305f;
  font-size: 0.96rem;
  font-weight: 800;
}

.contact-form__help,
.contact-form__status {
  color: #55667f;
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-form__status {
  min-height: 1.6em;
  margin: 0;
  text-align: center;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(24, 48, 95, 0.12);
  border-radius: 18px;
  background: #ffffff;
  color: #12203a;
  font: inherit;
  padding: 15px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: rgba(91, 34, 207, 0.42);
  box-shadow: 0 0 0 4px rgba(138, 87, 255, 0.12);
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1aa64b 0%, #22c55e 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(34, 197, 94, 0.28);
}

.contact-form__note {
  margin: 0;
  color: #73688f;
  font-size: 0.94rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 40px 0 64px;
  }

  .contact-section__shell {
    gap: 12px;
  }

  .contact-section__intro {
    padding: 0;
  }

  .contact-form {
    gap: 14px;
    padding: 24px 26px;
  }

  .contact-form__field {
    gap: 8px;
  }

  .contact-form__field textarea {
    min-height: 112px;
  }

  .contact-form__actions {
    gap: 8px;
  }
}

.site-footer {
  padding: 28px 0 40px;
  background:
    radial-gradient(circle at top center, rgba(138, 87, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #251342 0%, #140c27 100%);
  color: #f6f2ff;
}

.site-footer__shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  gap: 20px;
}

.site-footer__brand strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.site-footer__brand p {
  margin: 8px 0 0;
  color: rgba(246, 242, 255, 0.72);
  font-size: 0.96rem;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #8a57ff 0%, #5b22cf 100%);
  border-color: rgba(255, 255, 255, 0.24);
}

.site-footer__social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-footer__copyright {
  margin: 0;
  color: rgba(246, 242, 255, 0.76);
  font-size: 0.95rem;
  text-align: left;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1002;
  display: grid;
  justify-items: end;
  gap: 14px;
}

.floating-contact__panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 220ms var(--ease-smooth), transform 220ms var(--ease-smooth);
}

.floating-contact.is-open .floating-contact__panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.floating-contact__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #168a3e 0%, #22c55e 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow:
    0 18px 40px rgba(14, 98, 44, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.floating-contact__toggle:hover,
.floating-contact__toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 22px 48px rgba(14, 98, 44, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: saturate(1.04);
}

.floating-contact__toggle-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.floating-contact.is-open .floating-contact__toggle-icon {
  transform: rotate(12deg) scale(1.04);
}

.floating-contact__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #168a3e 0%, #22c55e 100%);
  border: 1px solid rgba(26, 166, 75, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 28px rgba(14, 98, 44, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.floating-contact__action:hover,
.floating-contact__action:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #12913d 0%, #29d865 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 32px rgba(14, 98, 44, 0.26);
}

.floating-contact__action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-contact__action--whatsapp svg {
  width: 17px;
  height: 17px;
}

.floating-contact__action--instagram,
.floating-contact__action--whatsapp {
  color: #ffffff;
}

.floating-contact__action--phone {
  color: #ffffff;
}

@media (max-width: 1120px) {
  .instagram-showcase__grid {
    grid-template-columns: repeat(2, minmax(280px, 340px));
  }
}

@media (max-width: 720px) {
  .instagram-showcase {
    padding: 32px 0 72px;
  }

  .instagram-showcase__shell {
    width: min(100%, calc(100% - 20px));
  }

  .instagram-showcase__grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(88vw, 88vw);
    grid-template-columns: none;
    justify-content: initial;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .instagram-showcase__grid::-webkit-scrollbar {
    display: none;
  }

  .instagram-showcase__arrow {
    display: inline-flex;
    z-index: 4;
  }

  .instagram-showcase__arrow--prev {
    left: 12px;
  }

  .instagram-showcase__arrow--next {
    right: 12px;
  }

  .instagram-post-card {
    scroll-snap-align: start;
    max-width: none;
    padding: 10px 10px 14px;
    border-radius: 28px;
  }

  .instagram-post-card__chrome {
    min-height: 68px;
    padding: 0 18px;
    margin-bottom: 10px;
  }

  .instagram-post-card__badge strong {
    font-size: 0.92rem;
  }

  .instagram-post-card__badge small {
    font-size: 0.72rem;
  }

  .instagram-post-card__embed iframe {
    height: 700px;
  }

  .contact-section {
    padding: 40px 0 56px;
  }

  .contact-section__shell {
    width: min(100%, calc(100% - 20px));
    gap: 18px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px 16px;
    border-radius: 26px;
  }

  .contact-form__actions {
    justify-items: stretch;
  }

  .contact-form__submit {
    width: 100%;
  }

  .site-footer {
    padding: 26px 0 34px;
  }

  .site-footer__shell {
    width: min(100% - 20px, 1180px);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__brand p,
  .site-footer__copyright {
    text-align: center;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .floating-contact__panel {
    gap: 10px;
  }

  .floating-contact__toggle {
    width: 54px;
    height: 54px;
  }

  .floating-contact__action {
    width: 48px;
    height: 48px;
  }

  .floating-contact__toggle-icon,
  .floating-contact__action svg {
    width: 22px;
    height: 22px;
  }

  /* Mobile: slightly smaller accessibility trigger and move it up */
  .accessibility-widget {
    top: 100px;
    /* move up a bit more on small screens */
  }

  .accessibility-trigger {
    width: 28px;
    height: 28px;
  }

  .accessibility-trigger svg {
    width: 32px;
    height: 32px;
    overflow: visible;
  }
}

/* Reduce vertical spacing between most sections, but keep sections with custom spacing intact */
section:not(.hero-header):not(.instagram-showcase):not(.contact-section) {
  padding-block: 8px;
}

/* Fine-tune headings spacing */
.testimonials-shell h2 {
  margin-bottom: 8px;
}

.testimonials-grid {
  margin-top: 8px;
}


/* Styled close button: compact, elevated, and aligned to the left */
.matches-close {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(18, 31, 56, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(6, 12, 22, 0.06);
  color: #1a2d5d;
  font-weight: 700;
  cursor: pointer;
}

.matches-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 12, 22, 0.08);
}

.matches-close:focus-visible,
.tm-close:focus-visible,
.im-close:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* visually hidden helper for accessibility if needed */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.matches-body {
  padding: 18px;
  overflow: auto;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.matches-empty {
  padding: 28px;
  text-align: center;
  color: #55667f;
}

@media (max-width: 720px) {
  .hero-video-frame {
    width: 100%;
    height: 56vw;
  }

  .hero-video {
    object-position: center top;
    transform: translateX(-8%) scale(1.22);
    transform-origin: center top;
  }

  .hero-video-overlay {
    top: 12px;
    width: min(94%, 460px);
  }

  .hero-video-overlay__text {
    padding: 10px 16px;
    font-size: clamp(0.88rem, 3.6vw, 1.08rem);
    line-height: 1.3;
  }

  .featured-fleet {
    padding: 18px 0 72px;
  }

  .budget-match {
    padding: 12px 0 72px;
  }

  .budget-match-card {
    padding: 36px 18px 34px;
    border-radius: 28px;
  }

  .budget-slider {
    margin-top: 30px;
  }

  .budget-scale {
    margin-bottom: 16px;
    font-size: 0.96rem;
  }

  .budget-slider-track {
    padding-top: 24px;
    min-height: 96px;
  }

  .budget-slider-track::before,
  .budget-slider-track::after {
    top: 44px;
    height: 20px;
  }

  .budget-slider-car {
    top: 2px;
    left: clamp(0px, calc(var(--budget-progress) - 30px), calc(100% - 72px));
    width: 86px;
  }

  .budget-range {
    height: 104px;
  }

  .budget-range::-webkit-slider-thumb {
    width: 96px;
    height: 96px;
  }

  .budget-range::-moz-range-thumb {
    width: 96px;
    height: 96px;
  }

  .budget-current {
    margin-top: 18px;
    font-size: 1.28rem;
  }

  .budget-cta {
    width: 100%;
    min-height: 54px;
    margin-top: 32px;
    font-size: 1.08rem;
  }

  .featured-fleet-shell {
    width: min(100% - 20px, 1320px);
  }

  .fleet-subtitle {
    font-size: 1rem;
  }

  .fleet-carousel {
    margin-top: 28px;
    padding-inline: 14px;
  }

  .fleet-grid {
    grid-auto-columns: 85%;
    gap: 18px;
    padding-inline: 6px;
    mask-image: none;
  }

  .fleet-arrow {
    width: 48px;
    height: 48px;
    font-size: 2rem;
    box-shadow:
      0 12px 24px rgba(24, 46, 95, 0.16),
      0 0 0 4px rgba(255, 255, 255, 0.5);
  }

  .fleet-arrow-next {
    left: -4px;
  }

  .fleet-arrow-prev {
    right: -4px;
  }

  .fleet-card {
    min-height: auto;
    padding: 20px 16px 24px;
    border-radius: 24px;
  }

  .fleet-image-wrap {
    min-height: 150px;
  }

  .fleet-image {
    max-width: 240px;
    height: 140px;
  }

  .fleet-copy h3 {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.reveal-left,
  .reveal-on-scroll.reveal-right,
  .reveal-on-scroll.reveal-scale,
  .hero-copy,
  .hero-promo-image {
    opacity: 1 !important;
    transform: none !important;
  }
}

.accessibility-widget {
  position: fixed;
  left: 18px;
  top: 220px;
  z-index: 2100;
}

.accessibility-trigger {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #4f9fff 0%, #256dbe 100%);
  box-shadow:
    0 0 0 5px #ffffff,
    0 12px 26px rgba(18, 31, 56, 0.18);
  color: #ffffff;
  cursor: pointer;
  overflow: visible;
}

.accessibility-trigger svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.accessibility-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  border-radius: 18px;
  background: #f5f5f5;
  box-shadow: 0 18px 44px rgba(18, 31, 56, 0.22);
  direction: rtl;
  color: #1f2d4b;
}

.accessibility-panel__header {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 56px;
  padding-inline: 8px 16px;
  background: #2f6fb7;
  color: #ffffff;
}

.accessibility-panel__header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.accessibility-panel__close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.accessibility-panel__list {
  padding: 8px;
  background: #f1f1f1;
}

.accessibility-option {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 64px 1fr 34px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(18, 31, 56, 0.08);
  background: #ffffff;
  color: #1f2d4b;
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.accessibility-option:last-child {
  border-bottom: 0;
}

.accessibility-option__label {
  font-size: 0.98rem;
}

.accessibility-option__icon {
  justify-self: end;
  min-width: 24px;
  color: #3a3a3a;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
}

.accessibility-option__switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
  border-radius: 999px;
  background: #cbcbcb;
  transition: background 180ms ease;
}

.accessibility-option__switch::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

.accessibility-option[aria-checked="true"] .accessibility-option__switch {
  background: #256dbe;
}

.accessibility-option[aria-checked="true"] .accessibility-option__switch::after {
  transform: translateX(-28px);
}

.accessibility-panel__note {
  margin: 0;
  padding: 12px 16px 16px;
  background: #f1f1f1;
  color: #4b5563;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .accessibility-widget {
    left: 12px;
    top: 100px;
  }

  .accessibility-trigger {
    width: 52px;
    height: 52px;
  }

  .accessibility-panel {
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100vh - 170px);
  }

  .accessibility-option {
    grid-template-columns: 58px 1fr 28px;
    padding-inline: 10px;
  }

  .accessibility-option__label {
    font-size: 0.92rem;
  }
}

/* Unify page typography to match the tone of "המבוקשים שלנו" */
:where(
  .hero-content,
  .featured-fleet,
  .process-highlight,
  .budget-match,
  .testimonials,
  .contact-section,
  .accessibility-panel,
  .testimonial-modal
) :is(h1, h2, h3, h4, h5, h6, p, small, strong, label, legend, li, textarea) {
  color: var(--display-text-color);
  letter-spacing: var(--display-text-letter-spacing);
}

:where(
  .hero-content,
  .featured-fleet,
  .process-highlight,
  .budget-match,
  .testimonials,
  .contact-section,
  .accessibility-panel,
  .testimonial-modal
) :is(h1, h2, h3, h4, h5, h6, strong, label, legend) {
  font-weight: 800;
  line-height: 1.08;
}

:where(
  .hero-content,
  .featured-fleet,
  .process-highlight,
  .budget-match,
  .testimonials,
  .contact-section,
  .accessibility-panel,
  .testimonial-modal
) :is(p, small, li, textarea) {
  font-weight: 700;
}

:where(.instagram-showcase, .site-footer) :is(h1, h2, h3, h4, h5, h6, p, small, strong, a) {
  letter-spacing: var(--display-text-letter-spacing);
}

:where(.instagram-showcase, .site-footer) :is(h1, h2, h3, h4, h5, h6, strong) {
  font-weight: 800;
  line-height: 1.08;
}

:where(.instagram-showcase, .site-footer) :is(p, small, a) {
  font-weight: 700;
}

:is(
  .topbar .brand-copy strong,
  .topbar .brand-copy small,
  .topbar .nav-links a,
  .nav-contact-shortcuts__link,
  .hero-video-overlay__text,
  .process-highlight__cta,
  .budget-cta,
  .instagram-showcase__profile,
  .instagram-post-card__link,
  .contact-section__phone,
  .contact-form__submit
) {
  letter-spacing: var(--display-text-letter-spacing);
  font-weight: 800;
}

body.a11y-keyboard-nav :is(a, button, input, select, textarea, [tabindex]):focus {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px !important;
}

body.a11y-disable-animations *,
body.a11y-disable-animations *::before,
body.a11y-disable-animations *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.a11y-high-contrast {
  background: #000000 !important;
  color: #ffffff !important;
}

body.a11y-high-contrast :is(.hero-header, .featured-fleet, .process-highlight, .budget-match, .testimonials, .instagram-showcase, .contact-section, .site-footer, .accessibility-panel, .fleet-card, .contact-form, .instagram-post-card, .testimonial-card, .budget-match-card) {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}

body.a11y-high-contrast :is(p, h1, h2, h3, strong, small, label, span, a, button) {
  color: #ffffff !important;
}

body.a11y-high-contrast :is(a, button, input, select, textarea) {
  border-color: #ffffff !important;
}

html.a11y-text-large {
  font-size: 118%;
}

html.a11y-text-small {
  font-size: 92%;
}

body.a11y-readable-font,
body.a11y-readable-font :is(button, input, select, textarea) {
  font-family: Arial, Helvetica, sans-serif !important;
}

body.a11y-highlight-headings :is(h1, h2, h3, h4, h5, h6) {
  background: #fff3a3 !important;
  color: #111111 !important;
  display: inline-block;
  padding-inline: 8px;
  border-radius: 6px;
}

body.a11y-highlight-links :is(a, button, .cta, .contact-form__submit, .budget-cta, .process-highlight__cta, .nav-contact-shortcuts__link) {
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
  box-shadow: 0 0 0 2px #ffbf47 inset !important;
}

@media (max-width: 720px) {
  .accessibility-widget {
    left: 12px;
    top: 100px;
  }

  .accessibility-trigger {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 4px #ffffff, 0 10px 22px rgba(18, 31, 56, 0.16);
  }

  .accessibility-trigger svg {
    width: 28px;
    height: 28px;
  }

  .accessibility-panel {
    width: min(360px, calc(100vw - 24px));
  }

  .accessibility-option {
    grid-template-columns: 58px 1fr 28px;
    padding-inline: 10px;
  }

  .accessibility-option__label {
    font-size: 0.92rem;
  }
}
.fleet-search {
  width: min(520px, 100%);
  margin: 24px auto 0;
}

.fleet-search__input {
  width: 100%;
  border: 1px solid rgba(36, 53, 82, 0.18);
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-size: 1rem;
  color: #172033;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(7, 27, 77, 0.1);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fleet-search__input:focus {
  border-color: #243552;
  box-shadow: 0 16px 38px rgba(7, 27, 77, 0.18);
}

.fleet-search__empty {
  margin: 14px 0 0;
  text-align: center;
  color: #6b7280;
  font-weight: 700;
}

.fleet-card.is-hidden {
  display: none;
}