/* ================= HERO SECTION ================= */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 15.625rem;
  padding: 0;
}

/* ================= MAIN AREA (image + content) ================= */

.hero-main {
  position: relative;
  background: var(--primary);
  color: var(--surface);
  padding: var(--space-20) var(--space-12) var(--space-16);
  overflow: hidden;
}

/* ================= BACKGROUND IMAGE ================= */

.hero-bg {
  position: absolute;
  top: 0;
  left: 30%;
  width: 70%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= GRADIENT OVER IMAGE ================= */

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--primary) 32%,
    rgba(var(--primary-rgb), 0.92) 48%,
    rgba(var(--primary-rgb), 0.7) 65%,
    rgba(var(--primary-rgb), 0.3) 85%,
    transparent 100%
  );
  z-index: 2;
}

/* ================= CONTENT ================= */

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 32.5rem;
}

.hero-content h1 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 var(--space-5);
}

.hero-content h1 span {
  display: block;
  color: var(--secondary-light);
}

.hero-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-on-dark);
  margin: 0 0 var(--space-8);
  max-width: 27.5rem;
}

/* ================= BUTTONS ================= */

.hero-buttons {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--surface);
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--secondary-light);
}

.btn-secondary {
  border: var(--border-width) solid var(--overlay-surface-50);
  color: var(--surface);
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--overlay-surface-08);
}

/* ================= TRUST ITEMS ================= */

.hero-trust {
  display: flex;
  gap: var(--space-5);
  font-size: 0.85rem;
  color: var(--text-on-dark);
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ================= RIGHT PANEL (logo) ================= */

.hero-right {
  background: var(--hero-panel);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-10) var(--space-6);
}

.hero-right img {
  width: 11rem;
  opacity: 0.92;
}

/* ================= TABLET ================= */

@media (max-width: 56.25em) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: var(--space-16) var(--space-8) var(--space-12);
  }

  .hero-bg {
    left: 20%;
    width: 80%;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-right {
    padding: var(--space-6) var(--space-6);
  }

  .hero-right img {
    width: 6.25rem;
  }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 31.25em) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: var(--space-12) var(--space-5) var(--space-8);
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .hero-right {
    display: none;
  }
}
