.home-page {
  background: #f8fbff;
}

.home-main {
  background: #f8fbff;
}

.home-hero {
  background: linear-gradient(90deg, #ffffff 0%, #f3f8ff 100%);
  border-bottom: 1px solid var(--line);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  gap: 36px;
  align-items: center;
  padding: 32px 0 34px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #6f7d91;
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumbs a:hover {
  color: var(--orange-dark);
}

.home-pill {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 12px;
  color: #c68000;
  background: #fff8e8;
  border: 1px solid #e8ae29;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.home-hero h1 span {
  display: block;
  color: #df9c00;
}

.home-hero-copy > p:not(.home-pill) {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 1.09rem;
  font-weight: 750;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-proof-grid span {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-proof-grid svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  color: var(--navy);
  background: #f5f9ff;
  border: 2px solid #c8d6ea;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.btn-gold-home,
.btn-outline-home,
.option-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-gold-home,
.option-btn.gold {
  color: var(--white);
  background: linear-gradient(135deg, #e9a600, #f6b313);
  box-shadow: 0 12px 22px rgba(225, 154, 0, 0.24);
}

.btn-outline-home {
  color: var(--navy);
  background: var(--white);
  border: 1px solid #9aa9bd;
  box-shadow: 0 10px 18px rgba(8, 38, 90, 0.07);
}

.option-btn.navy {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #073d86);
}

.btn-outline-home svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(8, 38, 90, 0.16);
  aspect-ratio: 16 / 10;
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-photo figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 282px;
  padding: 18px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #073d86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(8, 38, 90, 0.2);
  font-weight: 700;
}

.home-hero-photo figcaption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.home-section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.home-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.home-option-grid article {
  overflow: hidden;
  display: grid;
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(8, 38, 90, 0.09);
  text-align: center;
}

.home-option-grid img {
  width: 100%;
  height: 126px;
  object-fit: cover;
}

.home-option-grid h3 {
  margin: 20px 18px 8px;
  color: var(--navy);
  font-size: 1.18rem;
}

.home-option-grid p {
  min-height: 82px;
  margin: 0 18px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
}

.home-option-grid .option-btn {
  margin: 18px;
}

.home-trust {
  padding: 8px 0 20px;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-trust-grid article {
  min-height: 100px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-content: center;
  gap: 4px 14px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.home-trust-grid article:last-child {
  border-right: 0;
}

.home-trust-grid svg {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  padding: 10px;
  color: #f3a800;
  border: 2px solid #f3a800;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-trust-grid strong {
  font-size: 1.04rem;
}

.home-trust-grid span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.why-home {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: end;
}

.why-home h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.why-home ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-home li {
  position: relative;
  padding-left: 30px;
  color: var(--navy);
  font-weight: 850;
}

.why-home li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 18px;
  height: 18px;
  background: var(--navy);
  border-radius: 50%;
}

.why-home li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.48rem;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.why-home img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-quote-form {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 38, 90, 0.1);
}

.home-quote-form h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.form-success {
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #0c5b25;
  background: #ecf9ef;
  border: 1px solid #bfe8ca;
  border-radius: 6px;
  font-weight: 850;
}

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

.home-quote-form label {
  display: grid;
  gap: 5px;
}

.home-quote-form label span {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home-quote-form input,
.home-quote-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cbd6e4;
  border-radius: 6px;
}

.home-quote-form .wide {
  grid-column: span 1;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.home-quote-form button {
  border: 0;
  cursor: pointer;
}

.home-quote-form > p {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 650;
}

@media (max-width: 1120px) {
  .home-hero-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-photo {
    order: -1;
    aspect-ratio: 16 / 7;
  }

  .home-option-grid,
  .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero-grid {
    gap: 20px;
    padding: 20px 0;
  }

  .home-hero h1 {
    font-size: 2.2rem;
  }

  .hero-proof-grid,
  .home-option-grid,
  .home-trust-grid,
  .quote-grid,
  .why-home,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-actions .btn-gold-home,
  .home-hero-actions .btn-outline-home {
    width: 100%;
  }

  .home-hero-photo {
    aspect-ratio: 16 / 10;
  }

  .home-hero-photo figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .home-option-grid p {
    min-height: auto;
  }

  .home-trust-grid article {
    grid-template-columns: 50px 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-trust-grid article:last-child {
    border-bottom: 0;
  }

  .why-home img {
    height: 230px;
  }

  .home-quote-form {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 1.95rem;
  }
}
