/* ══════════════════════════════════════════════
   DishNet Uganda — homepage layout (index.html only)
   Moved out of an inline <style> in index.html. Linked from index.html alone,
   so none of it reaches another page: .hero-actions and .hero-trust, for one,
   would otherwise restyle become-a-distributor.html. Colours, surfaces and
   shadows are the styles.css tokens; the page body carries class="page-home".
   ══════════════════════════════════════════════ */

/* ── Hero ── */
.hero-v2 { padding-top: 76px; padding-bottom: 72px; overflow: hidden; }
.hero-copy { max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-from { font-size: 14px; color: var(--text-secondary); margin: 0 0 14px; }
.hero-from a { color: var(--accent); font-weight: 700; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); margin-bottom: 26px; }
.hero-image-wrap { position: relative; }
.hero-image-wrap img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero-image-badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-md); }
.hero-image-badge strong, .hero-image-badge span { display: block; }
.hero-image-badge span { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.ug-hero-stats.hero-visual { display: block; }
.hero-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.hero-stat-row .ug-stat { min-height: 86px; }

/* Address box: the GPS button carries an icon, and the status line under it
   replaces the alert() it used to raise. */
.of-addr .of-geo { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.of-geo svg { width: 16px; height: 16px; flex: none; }
.of-status { color: var(--text); }
.of-status:empty { margin: 0; }

/* ── Trust bar ── */
.trust-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-alt); padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-grid > div { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; }
.trust-icon { grid-row: span 2; }
.trust-grid strong { font-size: 14px; }
.trust-grid small { font-size: 12px; color: var(--text-secondary); }
.trust-grid small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.trust-grid small a:hover { color: var(--accent); }

/* Icons: inline SVG in the text colour, not emoji — the same on every OS. */
.trust-icon, .solution-icon, .location-pin { display: inline-flex; color: var(--accent); line-height: 0; }
.trust-icon svg, .solution-icon svg, .location-pin svg { width: 24px; height: 24px; }

/* ── Plans ── */
.section-heading-row { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.pricing-v2 { background: var(--surface); }
.pricing-foot { display: flex; justify-content: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.pricing-foot a { color: var(--accent); font-weight: 700; }
/* The figure-free cards that ship in the page (JS off, before the feed
   answers, or when it never does). The live feed replaces the whole grid. */
.price-more { font-size: 13.5px; font-weight: 600; color: var(--accent); text-align: center; }
.price-more:hover { text-decoration: underline; }

/* ── Solutions ── */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.solution-card { text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 18px; padding: 25px; background: var(--surface); transition: .2s ease; box-shadow: var(--shadow-sm); }
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(200,16,46,.25); }
.solution-card.featured { border-color: rgba(200,16,46,.35); background: linear-gradient(180deg, rgba(200,16,46,.03), rgba(200,16,46,0)), var(--surface); }
.solution-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.solution-top span:last-child { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.solution-card > .solution-icon { margin-bottom: 20px; }
.solution-card h3 { font-size: 20px; margin: 0 0 9px; }
.solution-card p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); min-height: 68px; }
.solution-card strong { font-size: 13px; color: var(--accent); }

/* ── Why DishNet ── */
.why-section { background: var(--surface-alt); }
.why-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.why-list { margin-top: 30px; }
.why-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid var(--border); }
.why-list > div > span { font-weight: 800; color: var(--accent); }
.why-list h3 { margin: 0 0 4px; font-size: 16px; }
.why-list p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.why-card { background: var(--dark-bg); color: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.why-card-label { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; opacity: .65; }
.why-card h3 { font-size: 29px; line-height: 1.15; margin: 14px 0 30px; }
.why-metric { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 15px; }
.why-metric b { font-size: 28px; }
.why-metric span { font-size: 13px; opacity: .7; }

/* ── How it works ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 38px; }
.process-step { padding: 0 24px; border-left: 1px solid var(--border); }
.process-step:first-child { padding-left: 0; border-left: 0; }
.process-step > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-glow); color: var(--accent); font-weight: 800; font-size: 12px; }
.process-step h3 { font-size: 17px; margin: 16px 0 8px; }
.process-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ── Coverage ── */
.coverage-section { background: var(--surface-alt); }
.coverage-card { display: grid; grid-template-columns: 1.35fr .65fr; gap: 45px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 40px; }
.coverage-location { background: var(--surface-alt); border-radius: 18px; padding: 28px; }
.coverage-location h3 { margin: 12px 0 8px; }
.coverage-location p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.coverage-contact { list-style: none; margin: 12px 0 18px; font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.coverage-contact a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }

/* ── FAQ preview ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.faq-grid details { border: 1px solid var(--border); border-radius: 14px; padding: 17px 18px; background: var(--surface); }
.faq-grid summary { font-weight: 700; cursor: pointer; }
.faq-grid p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 13px 0 0; }
.faq-grid p a { color: var(--accent); font-weight: 600; }

/* ── Closing call to action (layout from .cta-band in styles.css) ── */
.final-cta-section { padding-top: 20px; }
.cta-v2 { gap: 30px; }
.cta-v2 h2 { max-width: 720px; }
.cta-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cta-whatsapp { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 9px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.badge-white { color: #fff; border-color: rgba(255,255,255,.35); }

/* ── Order panel ── */
/* The address stays out of the pill: a pasted map link is one unbroken
   string, and inside .badge-label it pushed a 360px phone to 516px wide. */
.of-where { font-size: 15px; color: var(--text); margin: 4px 0 0; overflow-wrap: anywhere; }
.of-where:empty { display: none; }
.of-fallback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }

/* ── Footer ── */
.footer-address { font-size: 13px; line-height: 1.55; opacity: .7; margin-top: 14px; max-width: 330px; }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .coverage-card { grid-template-columns: 1fr; gap: 28px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-step { border-left: 0; padding: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .section-heading-row, .cta-v2 { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; }
}
@media (max-width: 620px) {
  .hero-v2 { padding-top: 46px; padding-bottom: 48px; }
  /* Three small tiles in one row, not three full-width cards that each hold
     one number and cost a whole screen between them. */
  .hero-stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-stat-row .ug-stat { min-height: 0; padding: 12px 8px; text-align: center; }
  .hero-stat-row .ug-stat b { font-size: clamp(17px, 5.5vw, 24px); }
  .hero-stat-row .ug-stat span { display: block; font-size: 11.5px; line-height: 1.3; }
  .trust-grid, .solution-grid, .process-grid { grid-template-columns: 1fr; }
  .coverage-card { padding: 25px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-trust { display: grid; gap: 7px; }
}
