/* =========================
   Two Fly Six — Stylesheet
   Premium Uganda colourway: Black / Yellow / Red
   ========================= */

:root{
  /* Uganda-inspired palette */
  --ug-black:#0b0b0f;
  --ug-yellow:#fcd116;
  --ug-red:#d90000;

  /* Premium neutrals */
  --bg: var(--ug-black);
  --panel:#0f1220;
  --card:#111a2f;
  --card2:#0f172a;
  --text:#f3f5ff;
  --muted:#c6cbe0;
  --line:rgba(243,245,255,.12);

  /* Accents */
  --accent: var(--ug-yellow); /* primary accent */
  --accent2: var(--ug-red);   /* secondary accent */

  /* Layout */
  --max:1120px;
  --r:18px;
}

/* ===== Reset / base ===== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 18% 0%, rgba(252,209,22,.12), transparent 62%),
    radial-gradient(900px 700px at 92% 10%, rgba(217,0,0,.10), transparent 58%),
    radial-gradient(900px 700px at 50% 110%, rgba(252,209,22,.08), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:18px; top:18px;
  width:auto; height:auto;
  padding:10px 12px;
  background:#111;
  border-radius:12px;
  border:1px solid var(--line);
}

/* ===== Header / Nav ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,11,15,.74);
  border-bottom:1px solid var(--line);
}
.site-header::after{
  /* Uganda stripe accent */
  content:"";
  display:block;
  height:3px;
  background: linear-gradient(90deg, var(--ug-black), var(--ug-yellow), var(--ug-red));
  opacity:.95;
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand-logo{width:32px; height:32px}
.brand-name{
  font-weight:900;
  letter-spacing:.35px;
}

.brand-stack{display:flex; flex-direction:column; line-height:1.06}
.brand-powered{
  font-size:.78rem;
  color:var(--muted);
  opacity:.95;
  margin-top:2px;
  letter-spacing:.2px;
}

.site-nav{display:flex; align-items:center; gap:14px}
.nav-link{
  opacity:.92;
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
}
.nav-link:hover{background:rgba(243,245,255,.06)}
.nav-link.active{
  background:rgba(252,209,22,.12);
  border:1px solid rgba(252,209,22,.18);
}

.nav-toggle{
  display:none;
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}

/* ===== Buttons / Links ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(252,209,22,.35);
  background: linear-gradient(180deg, rgba(252,209,22,.22), rgba(252,209,22,.08));
  text-decoration:none;
  font-weight:800;
  color:var(--text);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn:focus{
  outline:2px solid rgba(217,0,0,.45);
  outline-offset:2px;
}

.btn-small{padding:9px 12px; border-radius:12px}

.btn-ghost{
  background:transparent;
  border:1px solid var(--line);
}
.btn-ghost:hover{
  border-color: rgba(252,209,22,.22);
  background: rgba(243,245,255,.03);
}

.link{
  color: var(--accent);
  text-decoration:none;
}
.link:hover{text-decoration:underline}

/* ===== Typography ===== */
h1{
  font-size: clamp(30px, 3.4vw, 46px);
  line-height:1.1;
  margin:0 0 12px;
}
h2{font-size:1.6rem; margin:0 0 10px}
h3{margin:0 0 8px}
.kicker{
  color: var(--accent);
  font-weight:850;
  margin:0 0 10px;
}
.lead{
  font-size:1.05rem;
  color:var(--muted);
  margin:0 0 18px;
}
.muted{color:var(--muted)}
.fineprint{font-size:.9rem; color:rgba(243,245,255,.72)}

/* ===== Hero ===== */
.hero{padding:46px 0 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:22px;
  align-items:stretch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 8px 0 16px;
}

.trust-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0;
  list-style:none;
  margin:0;
}
.trust-pills li{
  border:1px solid var(--line);
  background:rgba(243,245,255,.04);
  padding:8px 10px;
  border-radius:999px;
  color:var(--muted);
  font-size:.92rem;
}

.hero-card{
  border:1px solid var(--line);
  border-radius:var(--r);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(243,245,255,.04), rgba(17,26,47,.78));
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.hero-image{
  height:220px;
  background-size:cover;
  background-position:center;
  filter: saturate(1.05) contrast(1.02);
}
.hero-card-inner{padding:14px}
.hero-card-title{margin:0 0 6px; font-weight:900}
.hero-card-text{margin:0; color:var(--muted)}

/* ===== Sections / Layout ===== */
.section{padding:34px 0}
.section-alt{
  background: rgba(243,245,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-cta{padding:26px 0 40px}
.section-tight{padding:18px 0}

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

/* ===== Cards / Components ===== */
.card{
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:16px;
  background: rgba(17,26,47,.78);
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.notice{
  border-left:3px solid rgba(252,209,22,.90);
  background: rgba(252,209,22,.08);
  padding:12px 14px;
  border-radius:14px;
  margin:14px 0 18px;
  color: var(--text);
}

.checklist{margin:0; padding-left:18px; color:var(--muted)}
.specs{margin:0; padding-left:18px; color:var(--muted)}
.specs li{margin:6px 0}

.step{
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:14px;
  background: rgba(243,245,255,.03);
}
.step-no{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:999px;
  border:1px solid rgba(252,209,22,.35);
  background: rgba(252,209,22,.10);
  margin-bottom:8px;
}

.callout{
  border:1px solid rgba(252,209,22,.22);
  background: linear-gradient(180deg, rgba(252,209,22,.06), rgba(17,26,47,.78));
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0;
}
.mini{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  background: rgba(243,245,255,.03);
}
.mini-title{margin:0; font-weight:900}
.mini-text{margin:0; color:var(--muted)}

/* ===== CTA Banner ===== */
.cta-banner{
  border:1px solid rgba(252,209,22,.22);
  border-radius:var(--r);
  padding:16px;
  background:
    linear-gradient(180deg, rgba(252,209,22,.09), rgba(17,26,47,.72));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta-banner-inline{margin-top:18px}
.cta-actions{display:flex; gap:10px; flex-wrap:wrap}

/* ===== Forms ===== */
.form .form-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}
label{font-weight:850}

input,select,textarea{
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(243,245,255,.03);
  color:var(--text);
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color: rgba(252,209,22,.40);
  outline:2px solid rgba(217,0,0,.25);
  outline-offset:2px;
}

/* ===== Footer ===== */
.site-footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: rgba(11,11,15,.62);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:18px;
}
.footer-title{font-weight:900; margin:0 0 8px}
.site-footer a{
  display:block;
  text-decoration:none;
  color:var(--muted);
  margin:6px 0;
}
.site-footer a:hover{color:var(--text)}
.footer-brand{font-weight:950; margin:0 0 8px}
.footer-bottom{padding-top:10px}

/* ===== Accessibility helpers ===== */
.sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); border:0;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr 1fr}
  .grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}

  .nav-toggle{display:inline-flex}

  .site-nav{
    display:none;
    position:absolute;
    right:18px;
    top:72px;
    flex-direction:column;
    padding:12px;
    border:1px solid var(--line);
    border-radius:16px;
    background: rgba(11,11,15,.96);
    min-width: 220px;
  }
  .site-nav.open{display:flex}
}
