:root {
  --ink: #111923;
  --muted: #5f6a72;
  --white: #ffffff;
  --line: rgba(17, 25, 35, 0.13);
  --red: #d92332;
  --red-dark: #981823;
  --gold: #d8a83f;
  --deep: #111b25;
  --soft: #f4f7f9;
  --shadow: 0 22px 58px rgba(9, 16, 24, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Assistant", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 128px 1fr 132px;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(18px, 3vw, 46px);
  color: var(--white);
  transition: background 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(9, 16, 24, 0.11);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 106px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 26px);
  font-size: 15px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.22s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  min-height: 680px;
  padding: 92px clamp(18px, 3vw, 46px) 28px;
  background: var(--deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.03);
  animation: heroDrift 15s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 20, 0.78), rgba(8, 14, 20, 0.48) 48%, rgba(8, 14, 20, 0.9)),
    linear-gradient(180deg, rgba(8, 14, 20, 0.2), rgba(8, 14, 20, 0.86));
}

.hero-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(480px, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.hero-copy {
  max-width: 510px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 800;
}

.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 3.65vw, 58px);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.2;
}

.hero p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.18vw, 20px);
}

.hero-actions,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 32px rgba(217, 35, 50, 0.34);
}

.btn.glass {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: min(100%, 760px);
  justify-self: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #05080c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-stats {
  width: min(1240px, 100%);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  padding: 12px 16px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div:last-child {
  border-inline-start: 0;
}

.hero-stats strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.section,
.intro-band,
.clients-strip {
  padding: clamp(52px, 6vw, 86px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-layout,
.feature-grid,
.fleet-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.intro-band {
  background: var(--white);
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.text-block p,
.section-heading p,
.feature p,
.contact-copy p {
  color: var(--muted);
  font-size: 19px;
}

.section-heading {
  max-width: 560px;
  margin: 0;
}

.dark-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 27, 37, 0.97), rgba(6, 10, 15, 0.97)),
    url("https://logicpro.co.il/index_files/bac.png") center / cover fixed;
}

.dark-section .eyebrow,
.dark-section .section-heading p {
  color: var(--gold);
}

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 168, 63, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.service-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.mission-section {
  background: linear-gradient(180deg, #f4f7f9, #edf2f5);
}

.feature {
  padding: 22px 0;
}

.fleet-section,
.contact-section {
  background: var(--white);
}

.fleet-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 30px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 35, 50, 0.82), rgba(17, 27, 37, 0.94)),
    url("https://logicpro.co.il/index_files/111-1.png") center / cover;
  box-shadow: var(--shadow);
}

.fleet-line {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.fleet-line strong {
  font-size: 23px;
}

.fleet-line span {
  color: rgba(255, 255, 255, 0.76);
}

.route-animation {
  position: absolute;
  inset: auto 30px 38px;
  height: 62px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.42);
}

.route-animation span {
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(216, 168, 63, 0.18);
  animation: routeMove 4.8s ease-in-out infinite;
}

.check-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.clients-strip {
  color: var(--white);
  background: var(--deep);
}

.clients-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.clients-inner h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.clients-list {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 14px;
}

.clients-list span {
  min-width: 150px;
  padding: 18px 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.phone-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--red);
  font-size: 32px;
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: #070c12;
}

.site-footer img {
  width: 112px;
  margin-bottom: 8px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-18px, 12px, 0);
  }
}

@keyframes routeMove {
  0%,
  100% {
    right: 0;
  }

  50% {
    right: calc(100% - 18px);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 140px 1fr 132px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-video {
    width: min(100%, 900px);
    justify-self: stretch;
  }

  .hero {
    min-height: auto;
  }
}

@media (min-width: 1121px) and (max-width: 1450px) {
  .hero-inner {
    grid-template-columns: minmax(300px, 0.66fr) minmax(500px, 1fr);
  }

  .hero-video {
    width: min(100%, 720px);
  }

  h1 {
    font-size: clamp(34px, 3.2vw, 52px);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .header-call {
    justify-self: end;
  }

  .intro-layout,
  .feature-grid,
  .fleet-layout,
  .contact-grid,
  .services-layout,
  .clients-inner {
    grid-template-columns: 1fr;
  }

  .clients-list {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand img {
    width: 104px;
  }

  .header-call {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 14px;
  }

  .hero {
    padding: 82px 14px 22px;
  }

  h1 {
    font-size: clamp(32px, 10.5vw, 46px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-video {
    border-radius: 6px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-stats div {
    padding: 11px 14px;
    border-inline-start: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section,
  .intro-band,
  .clients-strip {
    padding-block: 44px;
  }

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

  .service-card {
    min-height: auto;
  }

  .image-frame,
  .fleet-panel {
    min-height: 280px;
  }

  .clients-list span {
    flex: 1 1 130px;
    min-width: 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
