/* Home page (index.html): hero, product card and contact strip.
   Shared sections (applications, about, footer) keep their product page styles. */

/* Hero: full shell width, photo on the right, copy on the dark left side of the image. */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  margin: 0 -24px;
  overflow: hidden;
  background: #2a2d30;
  color: #fff;
}
.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #091015e6 0%, #091015b3 38%, #09101500 70%);
}
.home-hero-copy { position: relative; z-index: 1; max-width: 640px; padding: 80px 64px; }
.home-hero h1 {
  margin: 0 0 18px;
  font: 800 var(--fs-display)/1.04 var(--font-display);
  letter-spacing: -.035em;
}
.home-hero p { margin: 0; max-width: 520px; color: #d3dbe1; font-size: var(--fs-lead); line-height: 1.5; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-hero-actions .orangebtn, .home-hero-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font: 800 var(--fs-ui)/1.2 var(--font-display);
}
.home-hero-quote { border: 1.5px solid #ffffffd9; color: #fff; }
.home-hero-quote:hover { background: #ffffff1a; }

/* Product card: the whole card links to the product page. */
.home-product {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  background: #f4f6f7;
  transition: border-color .18s, box-shadow .18s;
}
.home-product:hover { border-color: var(--orange); box-shadow: 0 14px 34px #0c111614; }
.home-product img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.home-product > div { align-self: center; padding: 40px 48px; }
.home-product-label {
  display: block;
  font: 800 var(--fs-sub)/1.1 var(--font-display);
  letter-spacing: -.04em;
}
.home-product-label em { color: var(--orange); font-style: normal; }
.home-product h3 { margin: 10px 0 6px; font: 800 var(--fs-panel)/1.1 var(--font-display); letter-spacing: -.035em; }
.home-product .checks { margin: 18px 0 22px; padding: 0; }
.section .home-product-price {
  margin: 0;
  color: var(--black);
  font: 800 var(--fs-price)/1.1 var(--font-display);
  letter-spacing: -.035em;
}
.home-product-price small { font-size: var(--fs-body); letter-spacing: 0; }
.section .home-product-note { margin: 4px 0 22px; font-size: var(--fs-small); }
.home-product-link { color: var(--orange); font: 800 var(--fs-ui)/1.4 var(--font-display); }

.home-contact { padding-block: 0 74px; border-top: 0; }

@media (max-width: 900px) {
  .home-product { grid-template-columns: 1fr; }
  .home-product img { height: 340px; }
  .home-product > div { padding: 28px 24px; }
}
@media (max-width: 700px) {
  .home-hero { min-height: 520px; margin: 0 -13px; align-items: flex-end; }
  .home-hero > img { object-position: 78% center; }
  .home-hero::after { background: linear-gradient(0deg, #091015f2 0%, #091015b3 55%, #09101533 100%); }
  .home-hero-copy { padding: 40px 20px; }
  .home-hero-actions > * { flex: 1 1 100%; }
  .home-contact { padding-bottom: 48px; }
  .home-contact .compat-callout { flex-direction: column; }
}
