.home {
  --home-panel: #dcecff;
  --home-light: #f2f8ff;
  background: #f5f9ff;
}

.home.dark {
  --home-panel: #173a60;
  --home-light: #102743;
  background: var(--bg);
}

.home .hero-carousel {
  background: #dceeff;
  min-height: 0;
}
.home.dark .hero-carousel { background: #0b2440; }
.home .hero-slides { top: 0; left: 34%; height: auto; }
.home .hero-slide { object-position: 70% center; }
.home .hero-slide-lead { object-position: center 81%; }
.home .hero-slide-corridor { object-position: 85% 80%; }
.home .hero-slide-closeup { object-position: 62% 64%; }

.home .hero-carousel::before {
  background: linear-gradient(90deg, #eaf5ff 0%, #e7f3ff 30%, #e6f3ffde 40%, #e6f3ff42 57%, transparent 71%);
}
.home.dark .hero-carousel::before {
  background: linear-gradient(90deg, #0a2037 0%, #0a2037 30%, #0a2037e8 41%, #0a203765 60%, #0a203725 80%);
}
.home .hero-inner {
  min-height: clamp(330px, 35vw, 495px);
  padding-block: clamp(26px, 4.5vw, 56px) 57px;
  align-items: center;
}
.home .hero-copy { flex: initial; max-width: min(60%, 600px); }
.home .hero h1 {
  color: #0b2856;
  font-size: clamp(36px, 5.2vw, 65px);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin: 0 0 14px;
  text-shadow: none;
}
.home .hero-copy p {
  color: #203d60;
  font-size: clamp(14px, 1.7vw, 20px);
  line-height: 1.3;
  margin: 0 0 23px;
}
.home.dark .hero h1, .home.dark .hero-copy p { color: #f4f9ff; }

.home .hero-copy .btn,
.home-production .btn {
  gap: 12px;
  font-size: 15px;
}
.home .hero-copy .btn { min-height: 49px; padding-inline: 25px; }
.home .hero-copy .btn span, .home-production .btn span { font-size: 21px; line-height: 1; }


.home-features {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  margin: 12px auto 0;
  padding: 12px 16px;
  list-style: none;
  border-radius: 20px;
  background: linear-gradient(115deg, var(--home-panel), var(--pale));
}
.home-features li {
  display: flex;
  gap: clamp(9px, 2.2vw, 26px);
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: clamp(13px, 1.7vw, 18px);
  line-height: 1.2;
}
.home-features li + li { border-left: 1px solid var(--line); }
.home-features svg {
  width: clamp(34px, 6vw, 66px);
  height: clamp(34px, 6vw, 66px);
  flex: none;
  color: var(--blue);
}

.home-section { margin: clamp(16px, 2.8vw, 33px) auto 0; }
.home-section h2 { font-size: clamp(24px, 3.25vw, 39px); }
.home-section .section-title { margin-bottom: 12px; }
.home-section .section-title a { font-size: clamp(13px, 1.55vw, 17px); }

.home-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.home-products .product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--home-panel);
  box-shadow: none;
}
.home-products .product-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.home-products .product-image {
  display: block;
  height: auto;
  aspect-ratio: 1.38;
  background: var(--home-panel);
}
.home-products .product-image img {
  display: block;
  object-fit: cover;
  padding: 0;
  filter: none;
}
.home-products .product-copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 64px;
  padding: 9px 10px 11px;
  background: linear-gradient(150deg, var(--home-panel), var(--pale));
}
.home-products .product-copy h3 {
  font-size: clamp(14px, 2vw, 23px);
  margin: 0;
  line-height: 1.16;
}
.home-products .round-arrow {
  position: static;
  flex: none;
  width: clamp(25px, 4vw, 42px);
  height: clamp(25px, 4vw, 42px);
  box-shadow: 0 2px 6px #1849781a;
}
.home-products .round-arrow svg { width: 60%; height: auto; }

@media (min-width: 760px) {
  .home-products .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.home-delivery {
  min-height: clamp(100px, 13vw, 150px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 4vw, 48px);
  border-radius: 22px;
  padding: 17px clamp(16px, 4.2vw, 48px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #d7ebff;
}
.home.dark .home-delivery { background: #102b49; }
.home-delivery-photos {
  position: absolute;
  inset: 0 0 0 30%;
  z-index: -2;
}
.home-delivery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #d7ebff 32%, #daedffde 57%, #daedff33 100%);
}
.home.dark .home-delivery::before {
  background: linear-gradient(90deg, #102b49 32%, #102b49e0 57%, #102b4955 100%);
}
.home-delivery:hover { box-shadow: var(--shadow); }
.home-delivery svg { width: clamp(48px, 9vw, 95px); height: auto; flex: none; color: var(--blue); }
.home-delivery h2 { margin: 0; font-size: clamp(19px, 2.8vw, 32px); }
.home-delivery h2 span { font-size: .82em; }

.home-production {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: clamp(14px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(110deg, var(--home-panel), var(--home-light));
}
.home-production h2 { margin: 0 0 5px; }
.home-production p { margin: 0; font-size: clamp(14px, 1.65vw, 18px); }

.home-map {
  padding: clamp(13px, 2.5vw, 27px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--home-light);
}
.map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.map-heading h2 { margin: 0 0 4px; }
.map-heading p { margin: 0; color: var(--muted); }
.home-map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 400px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--home-panel);
}

@media (max-width: 620px) {
  .home .hero-slides { left: 28%; }
  .home .hero-slide-lead { object-position: 50% center; }
  .home .hero-inner { min-height: 360px; }
  .home .hero-copy { max-width: 100%; }
  .home .hero h1 { font-size: clamp(29px, 6.2vw, 39px); }
  .home .hero-copy p { max-width: min(235px, 68vw); }
  .home .hero-copy p br { display: none; }
  .home .hero-copy .btn { min-height: 44px; padding-inline: 15px; font-size: 13px; }
  .home .hero-carousel::before {
    background: linear-gradient(90deg, #eaf5ff 0%, #eaf5fffa 24%, #eaf5ffdf 41%, #eaf5ff62 73%, #eaf5ff12);
  }
  .home.dark .hero-carousel::before {
    background: linear-gradient(90deg, #0a2037 0%, #0a2037fa 27%, #0a2037d9 46%, #0a203774 74%, #0a203730);
  }
  .home-features { padding: 8px 3px; gap: 0; }
  .home-features li { padding: 7px 3px; gap: 4px; flex-direction: column; text-align: center; }
  .map-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1023px) {
  .home .hero h1 span, .home.dark .hero h1 span { color: inherit; }
}

@media (min-width: 1024px) {
  .home .hero-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    min-height: 366px;
    padding-block: 16px 40px;
  }
  .home .hero-copy { max-width: min(53%, 520px); }
  .home .hero-slides { left: 30%; }
  .home .hero-slide-lead { object-position: left 94%; }
  .home .hero-slide-closeup {
    object-fit: contain;
    object-position: 46% center;
    background: #bfd9ed;
  }
  .home .hero-carousel::before {
    background: linear-gradient(90deg, #eef6fe 0% 30%, #eef6fec2 36%, #eef6fe20 49%, transparent 63%);
  }
  .home.dark .hero-carousel::before {
    background: linear-gradient(90deg, #0a2037 0% 30%, #0a2037c4 37%, #0a203744 54%, #0a203744 100%);
  }
  .home .hero h1 {
    font-size: clamp(40px, 3.75vw, 48px);
    line-height: .99;
    margin-bottom: 10px;
  }
  .home .hero h1 span { color: #0753b5; }
  .home.dark .hero h1 span { color: #94ccff; }
  .home .hero-copy p { margin: 0 0 13px; font-size: 15px; }
  .hero-assurances, .hero-assurances li {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-assurances {
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
  }
  .hero-assurances li { gap: 6px; font-size: 11px; line-height: 1.18; font-weight: 650; }
  .hero-assurances svg { flex: none; width: 27px; height: 27px; color: var(--blue2); }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
  .home .hero-copy .btn { min-height: 42px; padding: 7px 18px; font-size: 14px; }
  .hero-terms { display: grid; gap: 6px; flex: 0 0 191px; }
  .hero-terms a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.17;
  }
  .hero-terms a:hover { border-color: var(--blue); }
  .hero-terms strong { display: block; margin-bottom: 2px; }
  .hero-terms svg { width: 33px; height: 33px; flex: none; color: var(--blue); }
  .home-features { padding: 7px 16px; }
  .home-features li { font-size: 15px; padding-block: 4px; }
  .home-features svg { width: 45px; }
  .home-delivery { min-height: 100px; padding-block: 12px; }
  .home-delivery svg { width: 66px; }
  .home-delivery h2 { font-size: clamp(20px, 2.2vw, 28px); }
  .home-section { margin-top: 15px; }
  .home-section h2 { font-size: clamp(21px, 2.25vw, 30px); }
  .home-section .section-title { margin-bottom: 9px; }
  .home-section .section-title a { font-size: 14px; }

  .home-products .product-copy { min-height: 72px; padding-inline: 16px; }

  .home-density {
    padding: 11px 12px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--home-panel);
  }
  .home-density h2 { font-size: 17px; }

  .home-production .btn { padding: 5px 13px; min-height: 36px; font-size: 13px; }
  .production-control { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 6px; font-size: 11px; font-weight: 700; }
  .production-control svg { width: 23px; height: 23px; color: var(--blue); }


  .home-map { padding: 15px; }
  .home-map iframe { height: 305px; }
}
