/* Bounce-Opolis homepage hero v5
   Bright wide photography, a clean readable content card, and a compact trust strip. */

body[data-page="home"] .hero {
  min-height: 650px;
  max-height: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 2.25rem 0 4.75rem;
  background: #eef8ff !important;
  color: #10213d;
  isolation: isolate;
}

body[data-page="home"] .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover !important;
  object-position: center 57% !important;
  filter: brightness(1.045) saturate(1.06);
}

body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(245, 251, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.07) 43%,
      transparent 70%
    ),
    linear-gradient(0deg, rgba(16, 33, 61, 0.05), transparent 35%);
}

body[data-page="home"] .hero-content {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 2rem));
  margin-left: max(1rem, calc((100vw - 1180px) / 2));
  margin-right: auto;
  padding: clamp(1.65rem, 3vw, 2.25rem);
  border: 1px solid rgba(16, 33, 61, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 24px 60px rgba(16, 33, 61, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-page="home"] .hero-content > * {
  max-width: none;
}

body[data-page="home"] .hero .eyebrow {
  margin-bottom: 0.7rem;
  color: #0d46b5;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
}

body[data-page="home"] .hero h1 {
  margin: 0;
  color: #10213d;
  font-size: clamp(3rem, 5vw, 4.65rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  text-shadow: none;
}

body[data-page="home"] .hero .hero-subtitle {
  margin-top: 1rem;
  color: #10213d;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  text-shadow: none;
}

body[data-page="home"] .hero p,
body[data-page="home"] .hero .hero-copy,
body[data-page="home"] .hero .service-note {
  color: #42526a;
  text-shadow: none;
}

body[data-page="home"] .hero .hero-copy {
  margin-top: 0.8rem;
  font-size: 1.04rem;
  line-height: 1.55;
}

body[data-page="home"] .hero-actions {
  margin-top: 1.25rem;
}

body[data-page="home"] .hero .btn-light {
  color: #10213d;
  border: 2px solid #bdd9ff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

body[data-page="home"] .hero .service-note {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(23, 105, 255, 0.13);
  border-radius: 14px;
  background: #f4f8ff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

body[data-page="home"] .promise-strip {
  max-width: 1180px;
  margin: -2.1rem auto 0;
  padding: 0 1rem;
  gap: 0.8rem;
  position: relative;
  z-index: 3;
}

body[data-page="home"] .promise-strip article {
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border-color: rgba(23, 105, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 33, 61, 0.09);
}

body[data-page="home"] .promise-strip article::before {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eef6ff;
  font-size: 1.25rem;
}

body[data-page="home"] .promise-strip article:nth-child(1)::before {
  content: "🧼";
}

body[data-page="home"] .promise-strip article:nth-child(2)::before {
  content: "🛡️";
  background: #eefaf5;
}

body[data-page="home"] .promise-strip article:nth-child(3)::before {
  content: "⏱️";
  background: #fff8e5;
}

body[data-page="home"] .promise-strip article strong {
  grid-column: 2;
  font-size: 1rem;
  line-height: 1.2;
}

body[data-page="home"] .promise-strip article span {
  grid-column: 2;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-content {
    margin-left: 1.5rem;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .hero {
    min-height: 0;
    display: block;
    padding: 0 0 1.5rem;
    background: #f7fbff !important;
  }

  body[data-page="home"] .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center 57% !important;
  }

  body[data-page="home"] .hero::after {
    display: none;
  }

  body[data-page="home"] .hero-content {
    width: calc(100% - 2rem);
    margin: -1.3rem auto 0;
    padding: 1.5rem;
    border-radius: 22px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  body[data-page="home"] .promise-strip {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero-content {
    padding: 1.3rem;
  }

  body[data-page="home"] .hero-actions {
    align-items: stretch;
  }

  body[data-page="home"] .hero-actions .btn {
    flex: 1 1 100%;
  }

  body[data-page="home"] .promise-strip article {
    padding: 0.9rem;
  }
}
