/* ==========================================================================
   Home page (index.html) — layouts introduced by the Nov 2026 live-site
   refresh. Loaded after site.css + mobile.css; all classes prefixed home-.
   ========================================================================== */

.home-blue { color: var(--color-accent); }

/* Short blue rule under a heading (Wix "line" under titles) */
.home-rule { padding-bottom: 14px; border-bottom: 1px solid var(--color-accent); margin-bottom: 22px; }

/* ---- Hero: full-bleed video + translucent white panel, left ---------------- */
.home-hero {
  position: relative;
  height: min(709px, 56vw);
  min-height: 460px;
  overflow: hidden;
  background: var(--color-ink);
  display: flex;
  align-items: center;
}
.home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__panel {
  position: relative;
  z-index: 1;
  margin-left: 40px;
  max-width: 715px;
  padding: 30px 30px 34px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}
.home-hero__panel h1 { font-size: 64px; line-height: 1.05; margin-bottom: 22px; }
.home-hero__panel p { font-size: 20px; margin: 0; color: var(--color-text); }

/* ---- Intro duo ------------------------------------------------------------ */
.home-intro { padding: 120px 0; }
.home-intro .duo { align-items: center; }
.home-intro h2 { font-size: 48px; line-height: 1.05; margin: 0; }
.home-intro p { margin: 0; }

/* ---- Service cards 2x2 ---------------------------------------------------- */
.home-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.home-svc {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 23px;
}
.home-svc img { width: 180px; height: 183px; object-fit: cover; border-radius: 6px; display: block; }
.home-svc h3 { color: var(--color-accent); font-size: 32px; margin-bottom: 10px; }
.home-svc p { margin: 0; font-size: 15px; color: var(--color-text); }

/* ---- Chaos -> clarity ----------------------------------------------------- */
.home-chaos { display: grid; grid-template-columns: 1fr 1.9fr; gap: 28px; max-width: 1220px; }
.home-chaos__box { border: 1px solid var(--color-accent); border-radius: 10px; padding: 26px 30px 34px; }
.home-chaos__box > h2 { font-size: 44px; line-height: 1.05; text-align: center; margin-bottom: 30px; }
.home-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; justify-items: center; }
.home-quotes li {
  background: #e8f1fb;
  border-radius: 999px;
  padding: 16px 26px;
  width: 100%;
  max-width: 232px;
  font-size: 14px;
  line-height: 1.3;
}
.home-clarity__head { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.home-clarity__head h2 { color: var(--color-accent); font-size: 48px; margin: 0; flex: 1; text-align: center; }
.home-clarity__arrow {
  flex: none;
  width: 50px; height: 50px;
  border: 2px solid var(--color-navy);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--color-navy);
  font-size: 34px; line-height: 1;
  padding-bottom: 4px;
}
.home-benefits {
  list-style: none; margin: 0; padding: 0 0 0 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 18px;
}
.home-benefits li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.home-benefits b { font-weight: 700; }
.home-icon {
  flex: none;
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 2, 9, 0.18);
}
.home-icon svg { width: 62px; height: 50px; }

/* ---- Why choose RFID ------------------------------------------------------ */
.home-why { display: grid; grid-template-columns: 500px 1fr; gap: 46px; align-items: stretch; }
.home-why .slideshow { min-height: 430px; }
.home-why .slideshow img:first-child { position: absolute; }
.home-why__panel { padding: 44px 42px; box-shadow: none; }
.home-why__panel h2 { font-size: 48px; }
.home-why__panel p { font-size: 15px; }

/* ---- Solve everyday challenges -------------------------------------------- */
.home-solve__title { font-size: 60px; line-height: 1.05; margin-bottom: 36px; }
.home-solve__video { max-width: 820px; margin: 0 auto; }

/* ---- Impact --------------------------------------------------------------- */
.home-impact > .bg-overlay { display: none; }
.home-impact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; min-height: 470px; }
.home-impact__grid > .slider { min-width: 0; }
.home-impact h2 { color: #fff; font-size: 64px; line-height: 1; margin-top: 20px; }
.home-impact .stat-card { max-width: 373px; margin: 0; padding: 30px 40px; }
.home-impact .slide:nth-child(odd) .stat-card { margin-left: auto; }
.home-impact .slide:nth-child(even) .stat-card { margin-top: 220px; }

/* ---- Industry tabs -------------------------------------------------------- */
.home-tabs h2 { font-size: 64px; margin-bottom: 16px; }
.home-tabs > p { margin-bottom: 28px; }
.home-tabs__buttons {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  max-width: 752px;
  margin: 0 auto 10px;
  gap: 16px;
}
.home-tabs__buttons button {
  flex: 1 0 auto;
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  padding: 10px 10px;
}
.home-tabs__buttons button.active { text-decoration: underline; background: var(--color-navy); border-color: var(--color-navy); }
.home-tabs__buttons button:hover { background: var(--color-accent); border-color: var(--color-accent); }
.home-tabs__panel {
  max-width: 752px;
  background: #fff;
  border-radius: 8px;
  padding: 36px 26px 50px 36px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: center;
}
.home-tabs__panel[hidden] { display: none; }
.home-tabs__panel h3 { font-size: 32px; display: inline-block; margin-left: 16px; }
.home-tabs__panel ul { margin: 0; padding-left: 18px; font-size: 14px; }
.home-tabs__panel li { margin-bottom: 10px; color: var(--color-text); }
.home-tabs__panel img { width: 100%; height: 236px; object-fit: cover; border-radius: 6px; display: block; }

/* ---- Who we are ----------------------------------------------------------- */
.home-who { display: grid; grid-template-columns: 1fr 374px; gap: 88px; align-items: start; margin-bottom: 110px; }
.home-who h2 { font-size: 48px; }
.home-who__lead { font-size: 22px; line-height: 1.32; }
.home-who img { width: 100%; height: 358px; object-fit: cover; border-radius: 10px; display: block; }
.home-pillars .card { background: #e8f1fb; padding: 34px 32px 40px; }
.home-pillars h3 { color: var(--color-accent); font-size: 28px; display: inline-block; align-self: flex-start; padding-bottom: 6px; margin-bottom: 14px; }
.home-pillars p { margin: 0; font-size: 15px; }

/* ---- Tablet / mobile ------------------------------------------------------ */
@media (max-width: 900px) {
  .home-hero { height: auto; min-height: 520px; }
  .home-hero__panel { margin: 0 16px; padding: 24px; }
  .home-hero__panel h1 { font-size: 42px; }
  .home-hero__panel p { font-size: 17px; }
  .home-intro { padding: 72px 0; }
  .home-svc-grid, .home-chaos, .home-why, .home-impact__grid, .home-who { grid-template-columns: 1fr; }
  .home-svc-grid { gap: 22px; }
  .home-why .slideshow { min-height: 320px; }
  .home-impact__grid { min-height: 0; }
  .home-impact .slide .stat-card { margin: 0 auto !important; }
  .home-tabs__panel { grid-template-columns: 1fr; }
  .home-who { gap: 32px; margin-bottom: 56px; }
}
@media (max-width: 600px) {
  .home-intro h2, .home-who h2, .home-why__panel h2 { font-size: 34px; }
  .home-svc { grid-template-columns: 1fr; }
  .home-svc img { width: 100%; height: 200px; }
  .home-svc h3 { font-size: 26px; }
  .home-chaos__box { padding: 22px 18px 28px; }
  .home-chaos__box > h2 { font-size: 34px; }
  .home-clarity__head h2 { font-size: 32px; text-align: left; }
  .home-clarity__head { gap: 14px; margin-bottom: 28px; }
  .home-benefits { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .home-why__panel { padding: 28px 22px; }
  .home-solve__title, .home-impact h2, .home-tabs h2 { font-size: 38px; }
  .home-tabs__buttons button { flex-basis: 100%; }
  .home-tabs__panel { padding: 24px 20px 30px; }
  .home-tabs__panel h3 { font-size: 26px; margin-left: 0; }
  .home-tabs__panel img { height: 200px; }
  .home-who__lead { font-size: 19px; }
  .home-who img { height: 260px; }
}
