/* =============================================================
   AFOMO — New Homepage  |  home.css
   Font: Manrope (Google Fonts)
   Prefix: hn- (home-new) to avoid collisions with legacy CSS
   ============================================================= */

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; }
ul { list-style: none; }

/* ─── Container ──────────────────────────────────────────────── */
.hn-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Shared section title ───────────────────────────────────── */
.hn-section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #0d1b4b;
  margin-bottom: 36px;
  letter-spacing: -0.3px;
}


/* =============================================================
   NAVIGATION
   ============================================================= */
.hn-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #ebebf0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.hn-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.hn-logo img {
  height: 38px;
  width: auto;
}

.hn-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.hn-nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  transition: color 0.18s;
  white-space: nowrap;
}
.hn-nav-links a:hover { color: #4f46e5; }

.hn-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.hn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}

.hn-btn-login {
  background: #fff;
  color: #1a1a2e;
  border: 1.5px solid #d1d5db;
}
.hn-btn-login:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

.hn-btn-cta {
  background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 60%, #14b8a6 100%);
  color: #fff;
  border: none;
}
.hn-btn-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}


/* =============================================================
   HERO
   ============================================================= */
.hn-hero {
  padding: 60px 0 72px;
}

.hn-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left column */
.hn-hero-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hn-hero-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hn-headline-navy {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #0d1b4b;
  letter-spacing: -0.5px;
}

.hn-headline-gradient {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #7c3aed 0%, #3b82f6 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hn-hero-para {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  max-width: 510px;
}

/* Feature blurbs */
.hn-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hn-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hn-feature-icon-wrap {
  width: 46px;
  height: 46px;
  background: #ede9fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.hn-feature-heading {
  font-size: 13px;
  font-weight: 800;
  color: #0d1b4b;
  line-height: 1.35;
}

.hn-feature-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
}

/* Pilot card */
.hn-pilot-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #3730a3 0%, #1e40af 55%, #1d4ed8 100%);
  border-radius: 18px;
  padding: 20px 22px;
}

.hn-pilot-icon-wrap {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hn-pilot-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hn-pilot-body strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
}

.hn-pilot-body span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

/* Right column — image + overlay */
.hn-hero-right {
  position: relative;
}

.hn-hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

.hn-hero-img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* AfomoRank score card */
.hn-rank-card {
  position: absolute;
  bottom: 18px;
  right: -14px;
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 18px 12px;
  width: 226px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.14);
  z-index: 10;
}

.hn-rank-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hn-rank-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #14b8a6);
  flex-shrink: 0;
}

.hn-rank-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #0d1b4b;
}

.hn-rank-gauge-wrap {
  display: flex;
  justify-content: center;
  margin: 2px 0 4px;
}

.hn-rank-stats {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 6px 0;
}

.hn-rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hn-dot-blue   { background: #3b82f6; }
.hn-dot-teal   { background: #14b8a6; }
.hn-dot-purple { background: #7c3aed; }

.hn-rank-key {
  flex: 1;
  font-size: 11.5px;
  color: #4b5563;
}

.hn-rank-val {
  font-size: 11.5px;
  font-weight: 800;
  color: #0d1b4b;
}

.hn-rank-footer-text {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}


/* =============================================================
   HOW AFOMO WORKS
   ============================================================= */
.hn-how {
  padding: 64px 0;
  background: #f0f4f8;
}

.hn-how-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hn-steps-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex: 1;
}

.hn-step {
  flex: 1;
  text-align: center;
  padding: 0 6px;
}

.hn-step-circle {
  width: 58px;
  height: 58px;
  background: #ede9fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  flex-shrink: 0;
}

.hn-step-name {
  font-size: 12px;
  font-weight: 800;
  color: #0d1b4b;
  margin-bottom: 6px;
  line-height: 1.35;
}

.hn-step-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.55;
}

.hn-step-arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
  color: #9ca3af;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 12px;
}

/* The Result card */
.hn-result-card {
  flex-shrink: 0;
  width: 180px;
  background: #e0f2fe;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hn-result-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0d1b4b;
}

.hn-result-chart-icon {
  display: flex;
  justify-content: center;
}

.hn-result-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hn-result-text p {
  font-size: 13px;
  color: #374151;
  line-height: 1.65;
}

.hn-result-text p strong {
  color: #0d1b4b;
  font-weight: 800;
}

.hn-result-sub {
  color: #6b7280 !important;
  font-size: 12px !important;
  margin-top: 4px;
}


/* =============================================================
   DISTRIBUTION MODEL
   ============================================================= */
.hn-distrib-wrap {
  padding: 32px 0 48px;
}

.hn-distrib {
  border-radius: 28px;
  background: linear-gradient(135deg, #4c1d95 0%, #2563eb 42%, #0891b2 72%, #0d9488 100%);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 280px;
}

.hn-distrib-photo {
  width: 220px;
  flex-shrink: 0;
}

.hn-distrib-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hn-distrib-content {
  flex: 1;
  padding: 36px 36px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hn-distrib-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.hn-distrib-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
}

.hn-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hn-pillar {
  text-align: center;
}

.hn-pillar-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.hn-pillar h4 {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.3;
}

.hn-pillar p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

/* Stats panel */
.hn-distrib-stat-panel {
  width: 165px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  margin: 24px 24px 24px 0;
  padding: 22px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hn-distrib-stat-icon {
  display: flex;
  justify-content: center;
}

.hn-distrib-big-num {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

.hn-distrib-big-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}


/* =============================================================
   ECOSYSTEM
   ============================================================= */
.hn-ecosystem {
  padding: 64px 0;
  background: #f5f7fa;
}

.hn-eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Every card: text left, image right, image anchors to bottom */
.hn-eco-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 240px;
  position: relative;
}

.hn-eco-green { background: #dcfce7; }
.hn-eco-blue  { background: #dbeafe; }
.hn-eco-sky   { background: #e0f2fe; }

/* Left: text column */
.hn-eco-text {
  flex: 1 1 0;
  padding: 22px 14px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  z-index: 1;
}

.hn-eco-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.hn-eco-icon-green  { background: #bbf7d0; }
.hn-eco-icon-blue   { background: #bfdbfe; }
.hn-eco-icon-indigo { background: #c7d2fe; }

.hn-eco-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0d1b4b;
  margin-bottom: 7px;
}

.hn-eco-card p {
  font-size: 12.5px;
  color: #374151;
  line-height: 1.6;
}

/* Right: image column — image anchored to the bottom-right */
.hn-eco-img-side {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

.hn-eco-img-side img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

/* Bank illustration: centred, contained, with breathing room */
.hn-eco-img-side-bank img {
  width: 85%;
  right: 50%;
  transform: translateX(50%);
  object-position: bottom center;
}


/* =============================================================
   TRUST
   ============================================================= */
.hn-trust {
  padding: 60px 0 64px;
  background: #ffffff;
}

.hn-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.hn-trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hn-trust-icon-wrap {
  width: 48px;
  height: 48px;
  background: #ede9fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.hn-trust-item h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0d1b4b;
}

.hn-trust-item p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* Partner logos */
.hn-trust-partners { gap: 12px; }

.hn-partners-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 18px;
  margin-top: 2px;
  align-items: center;
}

.hn-partner {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Moniepoint */
.hn-partner-logo-m {
  width: 30px;
  height: 30px;
  background: #1d4ed8;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hn-partner-name-moniepoint {
  font-size: 15px;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -0.2px;
}

/* Kuda */
.hn-partner-k {
  width: 30px;
  height: 30px;
  background: #7c3aed;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: italic;
}

.hn-partner-name-kuda {
  font-size: 16px;
  font-weight: 800;
  color: #7c3aed;
  font-style: italic;
}


/* =============================================================
   CTA BANNER
   ============================================================= */
.hn-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 35%, #0e7490 70%, #0d9488 100%);
  padding: 70px 0;
}

.hn-cta-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hn-cta-left {
  flex-shrink: 0;
  max-width: 300px;
}

.hn-cta-left h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.hn-cta-accent {
  background: linear-gradient(90deg, #818cf8, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hn-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hn-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: background 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.hn-cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Stats grid */
.hn-cta-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.hn-cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hn-cta-stat-icon {
  margin-bottom: 2px;
}

.hn-cta-stat-num {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, #818cf8, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.5px;
}

.hn-cta-stat-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}


/* =============================================================
   FOOTER
   ============================================================= */
.hn-footer {
  background: #ffffff;
  border-top: 1px solid #ebebf0;
  padding: 18px 0;
}

.hn-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hn-footer-logo-link {
  flex-shrink: 0;
}

.hn-footer-logo {
  height: 30px;
  width: auto;
}

.hn-footer-tagline {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.hn-footer-accent {
  color: #0ea5e9;
  font-style: italic;
  font-weight: 600;
}

.hn-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}

.hn-footer-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.18s;
  white-space: nowrap;
}

.hn-footer-links a:hover {
  color: #4f46e5;
}

.hn-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hn-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  transition: background 0.18s, color 0.18s;
}

.hn-social-icon:hover {
  background: #4f46e5;
  color: #fff;
}

.hn-footer-bottom {
  border-top: 1px solid #ebebf0;
  margin-top: 14px;
  padding-top: 14px;
  text-align: center;
}

.hn-footer-bottom p {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

/* =============================================================
   PILOT GALLERY SECTION
   ============================================================= */
.hn-gallery {
  padding: 80px 0 72px;
  background: #f8f9fb;
}

.hn-gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.hn-gallery-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.hn-gallery-caption {
  font-size: 16px;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Masonry via CSS columns */
.hn-gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.hn-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.09);
  position: relative;
  cursor: pointer;
}

.hn-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 12px;
}

.hn-gallery-item:hover::after {
  opacity: 1;
}

.hn-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.35s ease;
}

.hn-gallery-item:hover img {
  transform: scale(1.03);
}

/* Lightbox overlay */
.hn-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 20, 0.92);
  align-items: center;
  justify-content: center;
}

.hn-lightbox.is-open {
  display: flex;
}

.hn-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  object-fit: contain;
}

.hn-lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.18s;
}

.hn-lightbox-close:hover { opacity: 1; }


/* =============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================= */
@media (max-width: 900px) {
  .hn-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hn-hero-img {
    height: 360px;
  }

  .hn-rank-card {
    right: 8px;
    bottom: 12px;
    width: 200px;
  }

  .hn-how-card {
    flex-direction: column;
    gap: 28px;
  }

  .hn-steps-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hn-step-arrow { display: none; }

  .hn-result-card {
    width: 100%;
  }

  .hn-distrib {
    flex-direction: column;
    border-radius: 20px;
  }

  .hn-distrib-photo {
    width: 100%;
    height: 240px;
  }

  .hn-distrib-stat-panel {
    width: auto;
    margin: 0 24px 24px;
  }

  .hn-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .hn-eco-grid {
    grid-template-columns: 1fr;
  }

  /* Keep side-by-side layout on tablet, just stack the grid */
  .hn-eco-card {
    min-height: 200px;
  }

  .hn-eco-img-side {
    flex: 0 0 38%;
  }

  .hn-trust-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hn-cta-inner {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .hn-cta-left {
    max-width: 100%;
  }

  .hn-cta-stats {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .hn-footer-tagline { display: none; }

  .hn-footer-links a {
    font-size: 11px;
  }

  /* Gallery — 2 columns on tablet */
  .hn-gallery-masonry {
    columns: 2;
  }
}

/* =============================================================
   RESPONSIVE — Mobile (≤ 600px)
   ============================================================= */
@media (max-width: 600px) {
  .hn-container { padding: 0 18px; }

  .hn-nav-links { display: none; }

  .hn-headline-navy,
  .hn-headline-gradient { font-size: 32px; }

  .hn-features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .hn-feature {
    align-items: center;
  }

  .hn-trust-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hn-trust-item {
    align-items: center;
  }

  /* On small phones stack eco cards: text on top, image below */
  .hn-eco-card {
    flex-direction: column;
    min-height: unset;
  }

  .hn-eco-img-side {
    flex: 0 0 auto;
    height: 180px;
    width: 100%;
    position: relative;
  }

  .hn-eco-img-side img {
    position: absolute;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .hn-eco-img-side-bank img {
    transform: translateX(-50%);
    right: auto;
    width: auto;
    max-width: 90%;
  }

  .hn-cta-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hn-cta-stat-num { font-size: 24px; }

  /* Gallery — single column on mobile */
  .hn-gallery-masonry {
    columns: 1;
  }

  .hn-gallery {
    padding: 56px 0 48px;
  }

  .hn-footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .hn-footer-tagline { display: block; }

  .hn-footer-links {
    order: -1;
    width: 100%;
    gap: 12px;
  }

  .hn-footer-links a {
    font-size: 10px;
  }
}

/* =============================================================
   IMAGE PLACEHOLDER (shown when image fails to load / missing)
   ============================================================= */
.hn-hero-img:not([src]),
.hn-hero-img[src=""],
.hn-hero-img[src="/assets/images/hero-merchant.jpg"],
.hn-distrib-img:not([src]),
.hn-distrib-img[src=""],
.hn-eco-img-wrap img:not([src]),
.hn-eco-img-wrap img[src=""] {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  min-height: 200px;
}
