/* ══════════════════════════════════════════════
   DishNet Africa — Design System v1.0
   Shared across all pages
   ══════════════════════════════════════════════ */

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

/* ── Tokens ── */
:root {
    --bg: #FAFAF8;
    --surface: #FFFFFF;
    --surface-alt: #F3F2EE;
    --text: #1A1A1A;
    --text-secondary: #5A5A58;
    --accent: #C8102E;
    --accent-dark: #A00D24;
    --accent-glow: rgba(200, 16, 46, 0.12);
    --green: #22C55E;
    --green-glow: rgba(34,197,94,0.12);
    --blue: #0EA5E9;
    --blue-glow: rgba(14,165,233,0.10);
    --border: #E5E4E0;
    --dark-bg: #0B1120;
    --dark-surface: #131B2E;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-pill: 100px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
/* Read by screen readers, not shown: a form field's label where the design has no room for one. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

/* ── Typography ── */
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 560px; line-height: 1.7; }

/* ── Badges ── */
.badge-label { display: inline-block; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill); margin-bottom: 20px; }
.badge-accent { color: var(--accent); background: var(--accent-glow); }
.badge-blue { color: var(--blue); background: var(--blue-glow); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: var(--radius-pill); transition: var(--transition); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,16,46,0.3); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }
.btn-ghost-white { border: 1.5px solid rgba(255,255,255,0.2); color: #fff; }
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease-out both; }
.fd1 { animation-delay: 0.08s; } .fd2 { animation-delay: 0.16s; } .fd3 { animation-delay: 0.24s; } .fd4 { animation-delay: 0.32s; }
/* A pure CSS entrance (fill-mode both): content is visible with JS off. Visitors who ask for less motion get none. */
@media (prefers-reduced-motion: reduce) { .fade-up { animation: none; } }

/* ── Header ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.header.transparent { background: transparent; border-bottom-color: transparent; }
.header.scrolled { background: rgba(255,255,255,0.92); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 38px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--text); transition: var(--transition); }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { font-family: var(--font-display); font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: var(--radius-pill); background: var(--accent); color: #fff; transition: var(--transition); }
.header-cta:hover { background: var(--accent-dark); }
.mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.mobile-toggle span::before, .mobile-toggle span::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); }
.mobile-toggle span::before { top: -7px; } .mobile-toggle span::after { top: 7px; }
.mobile-nav { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 200; flex-direction: column; padding: 100px 32px 32px; gap: 8px; overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 22px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-nav-close { position: absolute; top: 20px; right: 24px; font-size: 28px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 90px 0 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); padding: 16px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-inner a { transition: var(--transition); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ── Cards ── */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── Footer ── */
.footer { background: var(--dark-bg); color: rgba(255,255,255,0.7); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer-brand img { height: 36px; filter: brightness(10); }
.footer h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* ── WhatsApp Float ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: var(--transition); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── Page Hero (generic) ── */
.page-hero { padding: 130px 0 60px; background: linear-gradient(160deg, #fff 0%, var(--surface-alt) 100%); text-align: center; position: relative; }
.page-hero::after { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); pointer-events: none; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; position: relative; z-index: 2; }
.page-hero h1 .accent { color: var(--accent); }
.page-hero p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; position: relative; z-index: 2; }

/* ── Dark CTA Banner ── */
.cta-banner { padding: 80px 0; }
.cta-card { background: var(--dark-bg); border-radius: 20px; padding: 60px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(200,16,46,0.2) 0%, transparent 60%); pointer-events: none; }
.cta-card h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 12px; position: relative; }
.cta-card p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-card .btn { position: relative; }

/* ── FAQ Accordion ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--text-secondary); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding-bottom: 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 500px; }

/* ── Contact Form ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; transition: var(--transition); background: var(--bg); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Prose Content ── */
.prose { max-width: 800px; }
.prose h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.prose p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.prose ul, .prose ol { margin-bottom: 16px; padding-left: 24px; }
.prose li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 6px; }
.prose strong { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    /* Five footer columns (Support and Legal split) are too narrow below this width: the brand block takes a row of its own. */
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .nav, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    .section { padding: 60px 0; }
    .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
    .card-grid-4 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero { padding: 120px 0 48px; }
}
@media (max-width: 480px) {
    .card-grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   DishNet Uganda — additions v1.0
   ══════════════════════════════════════════════ */

/* Uganda flag accent strip */
.ug-strip { height: 4px; background: linear-gradient(90deg, #000 0 16.6%, #FCDC04 16.6% 33.3%, #D90000 33.3% 50%, #000 50% 66.6%, #FCDC04 66.6% 83.3%, #D90000 83.3% 100%); }

/* Hero (Uganda) */
.ug-hero { padding: 150px 0 90px; background: radial-gradient(1100px 500px at 80% -10%, var(--accent-glow), transparent 60%), var(--bg); }
.ug-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.ug-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.08; margin: 18px 0; }
.ug-hero h1 .accent { color: var(--accent); }
.ug-hero-desc { font-size: 18px; color: var(--text-secondary); max-width: 520px; line-height: 1.75; margin-bottom: 30px; }
.ug-hero-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.ug-hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-glow); }
.ug-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ug-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ug-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.ug-stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.ug-stat span { font-size: 13.5px; color: var(--text-secondary); }

/* Region blocks & town chips */
.region-head { display: flex; align-items: baseline; gap: 14px; margin: 46px 0 18px; }
.region-head h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.region-head span { font-size: 13px; color: var(--text-secondary); }
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.town-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; transition: var(--transition); }
.town-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.town-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.town-card .town-note { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 10px; }
.svc-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-badge { font-family: var(--font-display); font-size: 10.5px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); }
.svc-starlink { color: var(--accent); background: var(--accent-glow); }
.svc-hotspot { color: var(--green); background: var(--green-glow); }
.town-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.town-chip { font-family: var(--font-display); font-size: 13.5px; font-weight: 500; padding: 8px 18px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); transition: var(--transition); }
.town-chip:hover { border-color: var(--accent); color: var(--accent); }

/* Coverage search */
.cov-search { display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 26px 0 8px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 6px 8px 6px 20px; box-shadow: var(--shadow-sm); }
.cov-search svg { width: 18px; height: 18px; color: var(--text-secondary); flex: none; }
.cov-search input { flex: 1; border: none; outline: none; background: none; font-family: var(--font-body); font-size: 15px; padding: 10px 0; color: var(--text); }
.cov-empty { display: none; text-align: center; color: var(--text-secondary); padding: 48px 0; }

/* FAQ accordion */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-family: var(--font-display); font-size: 16px; font-weight: 600; padding: 20px 24px; color: var(--text); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--accent); transition: var(--transition); flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.75; }

/* Dark CTA band */
.cta-band { background: var(--dark-bg); border-radius: var(--radius); padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); color: #fff; font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; line-height: 1.2; }
.cta-band p { color: rgba(255,255,255,0.65); margin-top: 8px; max-width: 480px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px 26px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent); display: inline-block; margin-bottom: 12px; }
.step h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }
.contact-card .big { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); margin: 10px 0 14px; }

.logo-lockup { display: flex; align-items: center; gap: 10px; }
.logo-lockup .ug-tag { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 5px; }

@media (max-width: 900px) {
    .ug-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .card-grid-3, .card-grid-4 { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .mobile-toggle { display: flex; }
    .nav-actions .btn { display: none; }
}
@media (max-width: 560px) {
    .steps-grid, .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
    .ug-hero-stats { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 40px 28px; }
}

/* Text wordmark beside the mark. */
.logo-lockup .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.6px; color: var(--accent); line-height: 1; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.4px; color: #fff; display: block; margin: 0 0 2px; }

/* Live pricing (rendered by assets/js/prices.js from the uCRM feed) */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; container-type: inline-size; }
.price-card-best { border-color: var(--accent); box-shadow: var(--shadow-md); }
.price-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0; }
.price-pill { position: absolute; top: -12px; left: 20px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 12px; border-radius: 100px; }
.price-pill-soft { background: var(--dark-bg); }
/* The amount sizes to its own card, not to the page: in a narrow card a long
   price could break between the currency and the number. cqi is the card's own width,
   so the type shrinks only in the cards that need it. Browsers without
   container queries drop the declaration and keep the flat 30px. */
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.5px; }
.price-amount { font-size: clamp(20px, 10.5cqi, 30px); }
.price-amount small { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.price-desc { font-size: 13.5px; color: var(--text-secondary); margin: 0; flex: 1; }
.price-speed { font-size: 12.5px; color: var(--text-secondary); margin: 0; }
.price-map { font-size: 12px; color: var(--text-secondary); opacity: .85; margin: 0; }
/* Group headings inside the plans grid. They span every column, so the cards
   below them keep the auto-fit layout instead of being pushed out of it. */
.plan-group { grid-column: 1 / -1; margin: 8px 0 -4px; }
.plan-group:first-child { margin-top: 0; }
.plan-group h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.plan-group p { font-size: 13.5px; color: var(--text-secondary); margin: 0; max-width: 62ch; }
.of-group { grid-column: 1 / -1; font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-secondary); margin: 10px 0 -4px; }
.of-group:first-child { margin-top: 0; }
.price-vat { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-secondary); text-align: center; margin: 4px 0 0; }
/* ── Prices ────────────────────────────────────────────────────────────
   A hardware price always says it is one-off. */
.live-price { margin: 6px 0 14px; }
.live-price .lp-amount { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.4px; display: block; line-height: 1.15; }
.live-price .lp-amount small { font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0; }
.live-price .lp-kind { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--accent); background: var(--accent-glow); padding: 3px 9px; border-radius: var(--radius-pill); }
.live-price .lp-then { display: block; margin-top: 8px; font-size: 14px; color: var(--text); }
.live-price .lp-then strong { font-weight: 700; white-space: nowrap; }
.live-price .lp-note { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-secondary); line-height: 1.5; }
/* The fallback that ships in the markup, shown until the feed answers and
   left standing if it never does. Never a blank where a price belongs. */
.live-price .lp-ask { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--accent); text-decoration: none; }
.live-price .lp-ask:hover { text-decoration: underline; }

/* ── Hardware cards, rendered from uCRM ───────────────────────────────── */
.hw-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hw-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.hw-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hw-shot { aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); border-radius: var(--radius-sm); margin-bottom: 16px; overflow: hidden; }
.hw-shot img { max-width: 88%; max-height: 88%; object-fit: contain; }
.hw-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 2px; }
.hw-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0 0 18px; }
.hw-cta { margin-top: auto; text-align: center; }

@media (max-width: 640px) {
  .live-price .lp-amount { font-size: 23px; }
  .hw-grid { grid-template-columns: 1fr; }
}

/* ── Address-first order flow (homepage, light theme) ── */
.of-addr { display: flex; gap: 8px; max-width: 620px; margin: 26px 0 0; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 7px; box-shadow: var(--shadow-md); }
.of-addr input { flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 15px; font-family: inherit; padding: 10px 6px 10px 12px; }
.of-addr input::placeholder { color: #9AA0A6; }
.of-addr .of-geo { flex: 0 0 auto; background: #fff; border: 1px solid var(--border); color: var(--text);
  border-radius: 9px; padding: 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.of-addr .of-go { flex: 0 0 auto; background: var(--accent); color: #fff; border: none; border-radius: 9px;
  padding: 12px 22px; font-size: 15px; font-weight: 700; cursor: pointer; }
.of-addr .of-go:hover { background: var(--accent-dark); }
.of-note { font-size: 13px; color: var(--text-secondary); margin-top: 10px; }
.of-panel { background: var(--surface); border-top: 1px solid var(--border); }
.of-step { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin: 34px 0 6px; }
.of-step:first-child { margin-top: 0; }
.of-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.of-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.of-card { position: relative; text-align: left; background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; padding: 18px; cursor: pointer; transition: var(--transition); font-family: inherit; }
.of-card:hover { border-color: #cfcdc7; box-shadow: var(--shadow-md); }
.of-card.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md); }
.of-card.sel::after { content: '✓'; position: absolute; top: 12px; right: 14px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.of-card img { width: 100%; height: 96px; object-fit: contain; margin-bottom: 10px; }
.of-card h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin: 0 0 3px; }
.of-card .of-sub { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; margin-bottom: 10px; }
.of-card .of-price { font-size: 17px; font-weight: 800; color: var(--text); }
.of-card .of-price small { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.of-card .of-tag { display: inline-block; background: var(--accent-glow); color: var(--accent);
  border-radius: 100px; font-size: 11px; font-weight: 700; padding: 3px 10px; margin-bottom: 8px; }
.of-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 30px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow-md); }
.of-summary .of-sumtext { font-size: 14.5px; color: var(--text-secondary); line-height: 1.5; }
.of-summary .of-sumtext b { color: var(--text); }
.of-wa { background: #22C55E; color: #fff; border: none; border-radius: 10px; padding: 14px 26px;
  font-size: 15.5px; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; }
.of-wa:hover { background: #16A34A; }
.of-wa[disabled] { background: #cfcdc7; cursor: not-allowed; }
.of-vat { font-size: 12.5px; color: var(--text-secondary); margin-top: 12px; }
@media (max-width: 700px) {
  .of-addr { flex-wrap: wrap; }
  .of-addr input { flex: 1 1 100%; }
  .of-addr .of-geo, .of-addr .of-go { flex: 1 1 auto; padding: 12px 14px; }
  .of-summary { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Receipt-style order summary (Starlink email format: lines + bold total) */
.of-summary .of-sumtext { flex: 1; min-width: 260px; }
.of-receipt { width: 100%; }
.of-rrow { display: flex; justify-content: space-between; gap: 18px; font-size: 14.5px; color: var(--text);
  padding: 7px 0; border-bottom: 1px solid var(--surface-alt); }
.of-rrow.inc span:last-child { color: #16A34A; font-weight: 600; }
.of-rrow.total { border-bottom: none; border-top: 2px solid var(--border); margin-top: 4px; padding-top: 10px;
  font-size: 16.5px; font-weight: 800; }
.of-rnote { font-size: 12.5px; color: var(--text-secondary); margin-top: 8px; }

/* ── "What it costs" explainer ──────────────────────────────────────────
   Placed above any number: the kit, paid once, and the Starlink subscription. */
.cost-explain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 32px 28px; box-shadow: var(--shadow-sm); }
.cost-explain h2 { font-family: var(--font-display); font-size: 27px; margin: 0 0 4px; letter-spacing: -0.5px; }
.cost-lede { color: var(--text-secondary); font-size: 16px; margin: 0 0 26px; }
.cost-steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cost-step { position: relative; padding-left: 48px; }
.cost-num { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cost-step h3 { font-family: var(--font-display); font-size: 18px; margin: 4px 0 6px; }
.cost-step p { font-size: 14.5px; line-height: 1.75; color: var(--text-secondary); margin: 0; }
.cost-step p strong { color: var(--text); font-weight: 700; white-space: nowrap; }
.cost-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.cost-link:hover { text-decoration: underline; }
.cost-foot { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }
.cost-foot a { color: var(--accent); font-weight: 600; }

@media (max-width: 640px) {
  .cost-explain { padding: 26px 20px 22px; }
  .cost-explain h2 { font-size: 23px; }
}

/* ── Plans grid and order flow on starlink-kits.html: moved from home.css with the sections themselves
   (October 2026, when the homepage became the consultancy-led design; home.css is now that page's alone). ── */
.section-heading-row { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.pricing-v2 { background: var(--surface); }
.price-more { font-size: 13.5px; font-weight: 600; color: var(--accent); text-align: center; }
.price-more:hover { text-decoration: underline; }
.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; }
.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; }
.plans-note { max-width: 860px; margin: 22px 0 0; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.plans-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .section-heading-row { align-items: flex-start; flex-direction: column; } }
/* An anchor link (#plans, #order) lands below the sticky header, not under it. */
section[id] { scroll-margin-top: 90px; }
