/* Home Page - Blacklane-inspired redesign */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 40px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.45;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,5,5,0.92) 40%, rgba(5,5,5,0.65) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 100px 0 60px;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__title em {
  color: var(--gold);
  font-style: italic;
}
.hero__sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 380px;
  line-height: 1.7;
}
.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__trust span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* HERO FORM */
.hero__form {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(184,134,11,0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hform__header {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hform__tab {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  color: #888;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
}
.hform__tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.hform__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hform__field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}
.hform__field input,
.hform__field select {
  background: #f8f5ef;
  border: 1px solid rgba(184,134,11,0.2);
  color: #1a1208;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.hform__field input:focus,
.hform__field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.1); }
.hform__field input::placeholder { color: #aaa; }
.hform__field select option { background: #fff; color: #1a1208; }
.hform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hform__btn {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 2px;
}
.hform__note {
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-top: -4px;
}

/* SERVICES - numbered style */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
}
.service__card {
  background: var(--black);
  padding: 48px 36px;
  transition: background var(--transition);
  position: relative;
}
.service__card:hover { background: #0d0d0d; }
/* Last card: center it in the grid when alone in its row */
.service__card:last-child:nth-child(3n+1) {
  grid-column: 2 / 3;
}
.service__num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,0.35);
  line-height: 1;
  margin-bottom: 16px;
}
.service__card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--white); /* fix: black text was invisible on black card */
}
.service__card:hover h3 { color: var(--gold); }
.service__card p { font-size: 14px; color: var(--gray-light); line-height: 1.7; }

/* WHY US - 4 stats */
.whyus__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.whyus__stat { grid-column: auto; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; max-width: 560px; }
  .hero__form { display: block; width: 100%; margin-top: 32px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 0 16px; }
  .hero__content { padding: 120px 0 40px; }
  .hero__form { 
    display: block; 
    width: 100%; 
    margin-top: 24px;
    padding: 20px 16px;
  }
  .hform__tabs { font-size: 14px; }
  .hform__body { gap: 12px; }
  .hform__field input, 
  .hform__field select { font-size: 16px; } /* Prevents iOS zoom */
  .services__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 10px; flex-wrap: wrap; }
  .fleet__grid { grid-template-columns: 1fr; }
}
