/* ============================================
   Homepage — Steel Blue Industrial
   Hero: medium contrast | Body: balanced gray
   ============================================ */

.page-home {
  --home-bg: #dde3ea;
  --home-surface: #f4f6f8;
  --home-surface-2: #e8edf3;
  --home-slate: #1f3347;
  --home-slate-deep: #152538;
  --home-heading: #152538;
  --home-accent: #1a5f8c;
  --home-accent-light: #2d7cb0;
  --home-copper: #c87840;
  --home-accent-dim: rgba(26, 95, 140, 0.12);
  --home-steel: #5c6f82;
  --home-text: #3d5166;
  --home-border: rgba(21, 37, 56, 0.12);
  --home-shadow: 0 10px 36px rgba(21, 37, 56, 0.1);
  --home-radius: 4px;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'DM Sans', var(--font-body);
}

body.page-home {
  background: var(--home-bg);
  color: var(--home-text);
}

body.page-home a.home-product {
  color: inherit;
  text-decoration: none;
}
body.page-home a.home-product:hover {
  color: inherit;
}

.page-home .logo em {
  font-style: normal;
  color: var(--home-copper);
}

/* --- Header --- */
.page-home .site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

/* On hero: light nav */
.page-home .site-header:not(.nav-solid) .logo {
  color: #fff;
}
.page-home .site-header:not(.nav-solid) .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}
.page-home .site-header:not(.nav-solid) .nav-links a:hover,
.page-home .site-header:not(.nav-solid) .nav-links a.active {
  color: #fff;
}
.page-home .site-header:not(.nav-solid) .nav-toggle span {
  background: #fff;
}

/* Scrolled: light bar, dark nav */
.page-home .site-header.scrolled,
.page-home .site-header.nav-solid {
  background: rgba(244, 246, 248, 0.96);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--home-border);
  box-shadow: var(--home-shadow);
}
.page-home .site-header.nav-solid .logo {
  color: var(--home-heading);
}
.page-home .site-header.nav-solid .nav-links a {
  color: var(--home-steel);
}
.page-home .site-header.nav-solid .nav-links a:hover,
.page-home .site-header.nav-solid .nav-links a.active {
  color: var(--home-heading);
}
.page-home .site-header.nav-solid .nav-toggle span {
  background: var(--home-heading);
}

.page-home .logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.page-home .nav-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-home .nav-links a::after {
  background: var(--home-copper);
  height: 2px;
}

/* --- Hero (only dark zone) --- */
.home-hero {
  margin-top: 0;
  min-height: 92vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--home-slate-deep);
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.home-hero.is-loaded .home-hero__bg {
  transform: scale(1);
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 37, 56, 0.5) 0%, rgba(21, 37, 56, 0.35) 50%, rgba(21, 37, 56, 0.82) 100%),
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(21, 37, 56, 0.25) 0%, rgba(21, 37, 56, 0.65) 100%);
}
.home-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.home-hero__line {
  display: none;
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 40px) 0 72px;
  width: 100%;
}
.home-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(18px);
  animation: homeFadeUp 0.8s ease 0.2s forwards;
}
.home-hero__eyebrow span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--home-copper);
}
.home-hero__eyebrow::before,
.home-hero__eyebrow::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--home-copper);
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(24px);
  animation: homeFadeUp 0.9s ease 0.35s forwards;
}
.home-hero h1 em {
  font-style: italic;
  color: #8ec8e8;
}
.home-hero__lead {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.75;
  color: #b8c9d9;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(18px);
  animation: homeFadeUp 0.8s ease 0.5s forwards;
}
.home-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(18px);
  animation: homeFadeUp 0.8s ease 0.65s forwards;
}
.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(18px);
  animation: homeFadeUp 0.8s ease 0.8s forwards;
}
.home-stat {
  background: rgba(21, 37, 56, 0.55);
  backdrop-filter: blur(10px);
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.home-stat:last-child {
  border-right: none;
}
.home-stat__num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.home-stat__num span {
  font-size: 22px;
  color: var(--home-copper);
}
.home-stat__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa8be;
}

/* --- Buttons --- */
.page-home .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--home-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--home-radius);
  transition: all 0.3s ease;
}
.page-home .btn-gold:hover {
  background: var(--home-accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 95, 140, 0.35);
}
.page-home .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--home-radius);
  transition: all 0.3s ease;
}
.page-home .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.page-home .btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 2px solid var(--home-accent);
  color: var(--home-accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--home-radius);
  transition: all 0.3s ease;
}
.page-home .btn-outline-gold:hover {
  background: var(--home-accent);
  color: #fff;
}

/* --- Trust bar (slate band) --- */
.home-trust {
  padding: 0;
  background: var(--home-slate);
  border: none;
}
.home-trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}
.home-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  min-height: 112px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.home-trust__item:last-child {
  border-right: none;
}
.home-trust__icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--home-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-copper);
  flex-shrink: 0;
}
.home-trust__icon svg {
  width: 18px;
  height: 18px;
}
.home-trust__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  max-width: 160px;
}

/* --- Sections --- */
.home-section {
  padding: 100px 0;
  position: relative;
}
.home-section--dark {
  background: var(--home-bg);
}
.home-section--surface {
  background: var(--home-surface);
}
.home-section__header {
  max-width: 700px;
  margin-bottom: 64px;
}
.home-section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.home-section__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--home-accent);
  margin-bottom: 14px;
}
.home-section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  color: var(--home-heading);
  line-height: 1.2;
  margin-bottom: 16px;
}
.home-section__header p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-steel);
}
.home-section__rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent), var(--home-copper));
  margin-top: 24px;
  border-radius: 2px;
}
.home-section__header--center .home-section__rule {
  margin-left: auto;
  margin-right: auto;
}

/* --- Capabilities --- */
.home-caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-cap {
  background: var(--home-surface);
  padding: 36px 28px;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.home-cap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent), var(--home-copper));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.home-cap:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(21, 37, 56, 0.14);
}
.home-cap:hover::before {
  transform: scaleX(1);
}
.home-cap__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: rgba(26, 95, 140, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}
.home-cap__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--home-accent);
}
.home-cap__icon svg {
  width: 100%;
  height: 100%;
}
.home-cap h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-heading);
  margin-bottom: 10px;
}
.home-cap p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--home-steel);
}

/* --- Applications --- */
.home-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home-app {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
}
.home-app__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.home-app:hover .home-app__bg {
  transform: scale(1.04);
}
.home-app__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 37, 56, 0.88) 0%, rgba(21, 37, 56, 0.35) 55%, rgba(21, 37, 56, 0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.home-app__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-copper);
  margin-bottom: 6px;
}
.home-app h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.home-app p {
  font-size: 13px;
  color: #b8c9d9;
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}
.home-app:hover p {
  max-height: 72px;
  opacity: 1;
  margin-top: 4px;
}

.home-app--meter .home-app__bg {
  background: linear-gradient(135deg, #3d5a80 0%, #2a4460 100%);
}
.home-app--customs .home-app__bg {
  background: linear-gradient(135deg, #3d5f52 0%, #2a4538 100%);
}
.home-app--rail .home-app__bg {
  background: linear-gradient(135deg, #5f4d42 0%, #453830 100%);
}
.home-app--utility .home-app__bg {
  background: linear-gradient(135deg, #3a5f72 0%, #284858 100%);
}
.home-app--mining .home-app__bg {
  background: linear-gradient(135deg, #524a40 0%, #3a342c 100%);
}
.home-app--security .home-app__bg {
  background: linear-gradient(135deg, #4a3f5c 0%, #352d42 100%);
}

/* --- Products --- */
.home-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}
.home-product {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.home-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(21, 37, 56, 0.14);
}
.home-product--featured {
  grid-column: span 2;
  grid-row: span 2;
}
.home-product__img {
  position: relative;
  overflow: hidden;
  background: var(--home-surface-2);
}
.home-product--featured .home-product__img {
  aspect-ratio: 16/11;
}
.home-product:not(.home-product--featured) .home-product__img {
  aspect-ratio: 4/3;
}
.home-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.home-product:hover .home-product__img img {
  transform: scale(1.05);
}
.home-product__body {
  padding: 22px 24px 26px;
}
.home-product__cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-accent);
  margin-bottom: 6px;
  display: block;
}
.home-product h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--home-heading);
  margin-bottom: 6px;
  line-height: 1.3;
}
.home-product--featured h3 {
  font-size: 26px;
}
.home-product .spec {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--home-steel);
  margin-bottom: 14px;
}
.home-product__link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}
.home-product:hover .home-product__link {
  gap: 12px;
}
.home-products__footer {
  text-align: center;
  margin-top: 48px;
}

/* --- About --- */
.home-about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.home-about__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
}
.home-about__frame img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  display: block;
}
.home-about__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  padding: 24px;
  background: linear-gradient(135deg, var(--home-accent), var(--home-slate));
  color: #fff;
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}
.home-about__accent strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.home-about__accent span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.home-about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--home-heading);
  margin-bottom: 20px;
  line-height: 1.25;
}
.home-about__text p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--home-steel);
  margin-bottom: 14px;
}
.home-about__list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--home-text);
}
.home-about__list li::before {
  content: '';
  width: 20px;
  height: 3px;
  background: var(--home-copper);
  margin-top: 10px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* --- Process --- */
.home-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.home-process::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--home-accent), var(--home-copper));
  opacity: 0.25;
}
.home-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.home-step__dot {
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  border: 2px solid var(--home-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--home-accent);
  background: var(--home-surface);
  position: relative;
  z-index: 1;
}
.home-step h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-heading);
  margin-bottom: 8px;
}
.home-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-steel);
}

/* --- CTA --- */
.home-cta {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--home-slate-deep) 0%, var(--home-accent) 100%);
  border: none;
}
.home-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 120, 64, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}
.home-cta__inner {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.home-cta .home-section__label {
  color: var(--home-copper);
}
.home-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.home-cta p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #b8c9d9;
  margin-bottom: 36px;
  line-height: 1.7;
}
.home-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-cta .btn-gold {
  background: #fff;
  color: var(--home-accent);
}
.home-cta .btn-gold:hover {
  background: var(--home-surface);
  color: var(--home-heading);
}
.home-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* --- Footer --- */
.page-home .site-footer {
  background: var(--home-slate-deep);
  border-top: none;
  color: #8fa8be;
}
.page-home .site-footer h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
}
.page-home .site-footer .footer-grid {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.page-home .footer-col a {
  color: #8fa8be;
}
.page-home .footer-col a:hover {
  color: var(--home-copper);
}
.page-home .footer-brand .logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.page-home .footer-bottom {
  color: #6d8499;
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes homeFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .home-caps { grid-template-columns: repeat(2, 1fr); }
  .home-products__grid { grid-template-columns: repeat(2, 1fr); }
  .home-product--featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 992px) {
  .home-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .home-stat:nth-child(2) { border-right: none; }
  .home-stat { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .home-about { grid-template-columns: 1fr; gap: 44px; }
  .home-about__accent { right: 0; bottom: -12px; }
  .home-apps { grid-template-columns: repeat(2, 1fr); }
  .home-process { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .home-process::before { display: none; }
}

@media (max-width: 768px) {
  .home-section { padding: 72px 0; }
  .home-hero { min-height: auto; }
  .home-hero__inner { padding-bottom: 56px; }
  .home-hero__stats { grid-template-columns: 1fr 1fr; }
  .home-caps { grid-template-columns: 1fr; }
  .home-apps { grid-template-columns: 1fr; }
  .home-products__grid { grid-template-columns: 1fr; }
  .home-product--featured { grid-column: span 1; }
  .home-process { grid-template-columns: 1fr; }
  .home-trust__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-trust__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 100px;
  }
  .home-trust__item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .home-trust__item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .page-home .nav-links {
    background: var(--home-surface);
    border-bottom: 1px solid var(--home-border);
    box-shadow: var(--home-shadow);
  }
  .page-home .nav-links a {
    color: var(--home-steel);
    border-bottom-color: var(--home-border);
  }
}

@media (max-width: 560px) {
  .home-trust__inner {
    grid-template-columns: 1fr;
  }
  .home-trust__item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 88px;
    padding: 22px 16px;
  }
  .home-trust__item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .home-hero__actions { flex-direction: column; }
  .home-hero__actions .btn-gold,
  .home-hero__actions .btn-ghost { justify-content: center; width: 100%; }
}
