/* home.css — styles for templates/main/pages/home.html
   Extracted verbatim from the design file's inline <style> blocks.
   Loaded ONLY by that page (see css/INVENTORY.md). */

/* ---- <style> block 1 of 1 from reference_new_design (verbatim) ---- */
  * { box-sizing: border-box; }
  body { margin: 0; background: #2E285D; font-family: 'Open Sans', sans-serif; }
  a { color: #159AA9; }
  a:hover { color: #FE2B6B; }
  button { font-family: 'Open Sans', sans-serif; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

  .dot { width: 6px; height: 6px; border-radius: 50%; background: #FE2B6B; flex-shrink: 0; }
  .bullet { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #2E285D; margin-bottom: 10px; }
  .bullet:last-of-type { margin-bottom: 16px; }

  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
  [data-reveal].reveal-x-left { transform: translateX(-48px); }
  [data-reveal].reveal-x-right { transform: translateX(48px); }
  [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

  .stat-value { font-family: Manrope, sans-serif; font-weight: 800; font-size: 30px; color: #85F7E7; }
  .stat-label { font-size: 14px; color: #FE2B6B; margin-top: 4px; }

  .solu-card { background: #FFFFFF; border-radius: 16px; padding: 32px; }
  .solu-img { width: 100%; height: auto; border-radius: 16px; display: block; }   /* show the whole picture, no cropping */

  /* ---------- Header: styles live in css/site-header.css (shared by every page) ---------- */

/* ---------- Tablet & phone (desktop design above is unchanged) ----------
   The page markup uses inline styles, so these overrides need !important. */
@media (max-width: 1024px) {
  .home-page .hm-sec { padding: 72px 32px !important; }
  .home-page .hm-3col { grid-template-columns: repeat(2, 1fr) !important; }
  .home-page .hm-2col { gap: 32px !important; }
  .home-page .hm-h1 { font-size: 44px !important; }
  .home-page .hm-lead { font-size: 26px !important; }
}
@media (max-width: 768px) {
  .home-page .hm-sec { padding: 56px 20px !important; }
  .home-page .hm-2col,
  .home-page .hm-3col { grid-template-columns: 1fr !important; gap: 24px !important; }
  .home-page .hm-hero-inner { padding: 0 20px !important; }
  .home-page .hm-h1 { font-size: 32px !important; margin-bottom: 22px !important; }
  .home-page .hm-h1 br { display: none; }
  .home-page .hm-lead { font-size: 18px !important; line-height: 1.5 !important; }
  .home-page .hm-btns { flex-wrap: wrap; justify-content: center; gap: 12px !important; }
  .home-page .hm-h2 { font-size: 26px !important; margin-bottom: 12px !important; }
  .home-page .hm-sec > p { margin-bottom: 32px !important; }
  .home-page .hm-sec h2.hm-h2[style*="margin: 0 0 56px"] { margin-bottom: 32px !important; }
  .home-page .hm-stats { gap: 24px 40px !important; padding: 32px 20px !important; }
  .home-page .solu-card { padding: 24px; }
  /* Solutions / Platforms rows: always text first, picture after */
  .home-page .hm-2col > .solu-card { order: 1; }
  .home-page .hm-2col > .solu-img { order: 2; }
  /* About: the quote box sits under the photo instead of overlapping off-screen */
  .home-page .hm-quote { position: static !important; max-width: none !important; margin-top: 16px; }
  .home-page .hm-2col img[style*="height: 380px"] { height: 260px !important; }
}
@media (max-width: 420px) {
  .home-page .hm-h1 { font-size: 28px !important; }
  .home-page .hm-btns a, .home-page .hm-btns button { width: 100%; }
}
/* Cards slide in from the sides (reveal-x-left/right): never let that make the page scroll sideways */
.home-page { overflow-x: clip; }
/* The site header is 68px tall on phones/tablets (site-header.css) */
@media (max-width: 900px) {
  .home-page .hm-sticky { top: 68px !important; height: calc(100svh - 68px) !important; }
}
