/* UBSS Nigeria — landing page styles */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; margin: .4em 0 0; }

section { padding: 92px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(21, 96, 63, .26); }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-gold { background: var(--gold-500); color: #2a1d00; box-shadow: 0 8px 20px rgba(202, 138, 4, .28); }
.btn-gold:hover { background: var(--gold-400); color: #2a1d00; }
.btn-ghost { background: transparent; color: var(--green-800); border-color: rgba(21,96,63,.28); }
.btn-ghost:hover { background: var(--green-50); color: var(--green-800); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(251, 250, 246, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--green-800); letter-spacing: -.01em; }
.brand .brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-mobile-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #f3f6f1;
  padding: 116px 0 104px;
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(202,138,4,.20), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 52%, #0c3b28 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 460px at 70% 10%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .03em;
  color: #ecefe9; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(217,164,32,.25); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold-300); font-style: italic; }
.hero-lead { font-size: 1.2rem; color: #d6e0d6; max-width: 560px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 38px; display: flex; gap: 26px; flex-wrap: wrap; color: #b9c8bd; font-size: .92rem; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; stroke: var(--gold-300); flex: none; }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-stat { background: rgba(0,0,0,.18); border-radius: var(--radius-sm); padding: 18px; border: 1px solid rgba(255,255,255,.08); }
.hero-stat .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--gold-300); line-height: 1; }
.hero-stat .lbl { font-size: .85rem; color: #cdd9ce; margin-top: 7px; }

/* ---------- stat strip ---------- */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 38px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--green-700); line-height: 1; }
.stat .num .plus { color: var(--gold-text); }
.stat .lbl { color: var(--muted); margin-top: 8px; font-weight: 600; font-size: .95rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 18px; }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.about-list svg { width: 22px; height: 22px; flex: none; stroke: var(--green-600); margin-top: 2px; }
.about-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--green-700), var(--green-900));
  color: #fff;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,32,.35), transparent 70%);
}
.about-visual .quote { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.32; position: relative; }
.about-visual .since { margin-top: 26px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }

/* ---------- companies ---------- */
.companies { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.company-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--cream);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-400); }
.company-card .logo {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff;
  margin-bottom: 16px;
}
.company-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.company-card .tag { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.company-card p { color: var(--ink-2); font-size: .98rem; margin: 10px 0 0; }
.company-more {
  border: 1.5px dashed var(--line);
  background: transparent;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.company-more .logo { background: var(--gold-50); color: var(--gold-600); }

/* ---------- sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sector .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); display: grid; place-items: center; margin-bottom: 16px; }
.sector .ico svg { width: 24px; height: 24px; stroke: var(--green-700); }
.sector h3 { font-size: 1.08rem; margin-bottom: 4px; }
.sector p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- locations ---------- */
.locations { background: var(--green-900); color: #eaf0ea; }
.locations .section-head h2 { color: #fff; }
.locations .section-head p { color: #b9c8bd; }
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.location {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
}
.location .pin { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(217,164,32,.18); display: grid; place-items: center; }
.location .pin svg { width: 22px; height: 22px; stroke: var(--gold-300); }
.location h3 { color: #fff; font-size: 1.12rem; margin-bottom: 4px; }
.location .city { color: var(--gold-300); font-weight: 600; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.location p { color: #c4d1c6; font-size: .96rem; margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; }
.contact-methods { display: grid; gap: 16px; margin-top: 28px; }
.contact-method { display: flex; gap: 15px; align-items: center; }
.contact-method .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--green-50); display: grid; place-items: center; }
.contact-method .ico svg { width: 22px; height: 22px; stroke: var(--green-700); }
.contact-method .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-method .value { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.contact-method a.value:hover { color: var(--green-700); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(33,150,95,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.form-msg { margin-top: 14px; font-weight: 600; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

/* ---------- footer ---------- */
.footer { background: #0a2b1d; color: #b9c8bd; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand-name { color: #fff; }
.footer p { font-size: .96rem; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul li { color: #b9c8bd; font-size: .96rem; }
.footer ul a:hover { color: var(--gold-300); text-decoration: none; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .9rem; color: #8ba291;
}
.footer-bottom a { color: var(--gold-300); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--paper); padding: 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links .nav-mobile-only {
    display: block; width: 100%; padding-top: 16px;
    border-top: 1px solid var(--line); color: var(--green-700); font-weight: 700;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .location-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .company-grid, .sector-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
}
