/* =====================================================
   UniCycle Jamaica — shared stylesheet
   Palette inspired by the Jamaican flag: green, gold, black
   ===================================================== */

:root {
  --green:        #009b3a;
  --green-dark:   #007a2e;
  --green-deep:   #005a22;
  --gold:         #fed100;
  --gold-dark:    #e0b800;
  --black:        #111111;
  --ink:          #1c2321;
  --muted:        #5b6763;
  --cream:        #fbfaf5;
  --white:        #ffffff;
  --shadow:       0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 20px 50px rgba(0, 0, 0, 0.14);
  --radius:       16px;
  --radius-sm:    10px;
  --max:          1160px;
  --font:         'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section--tint { background: var(--white); }
.section__head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-dark);
  background: rgba(0, 155, 58, 0.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold  { background: var(--gold); color: var(--black); box-shadow: 0 8px 20px rgba(254,209,0,.35); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(0,155,58,.3); }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,250,245,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: var(--gold); font-weight: 800; font-size: 1.1rem;
  border: 2px solid var(--green);
}
.brand span b { color: var(--green); }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  color: var(--ink); font-weight: 500; padding: 9px 14px; border-radius: 8px; font-size: .96rem;
  transition: background .15s ease, color .15s ease;
}
.nav__links a:hover { background: rgba(0,155,58,.1); color: var(--green-dark); text-decoration: none; }
.nav__links a.active { color: var(--green-dark); font-weight: 600; }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 10px 22px 20px; box-shadow: var(--shadow); align-items: stretch;
    transform: translateY(-140%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 10px; border-radius: 8px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 55%, var(--green-dark) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(254,209,0,.4), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,.4), transparent 45%);
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0 100px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 1.18rem; margin: 20px 0 30px; color: rgba(255,255,255,.94); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.hero__stats .num { font-size: 2.1rem; font-weight: 800; color: var(--gold); }
.hero__stats .lbl { font-size: .9rem; color: rgba(255,255,255,.85); }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  color: #fff; padding: 66px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(254,209,0,.35), transparent 70%);
}
.page-hero h1 { color: #fff; position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin-top: 12px; position: relative; z-index: 2; }
.page-hero .eyebrow { background: rgba(254,209,0,.2); color: var(--gold); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 16px; background: rgba(0,155,58,.12);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card--gold .card__icon { background: rgba(254,209,0,.22); }

/* Stat band */
.stats-band { background: var(--black); color: #fff; }
.stats-band .grid { text-align: center; }
.stats-band .num { font-size: 2.6rem; font-weight: 800; color: var(--gold); }
.stats-band .lbl { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: 4px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.split__media {
  border-radius: var(--radius); min-height: 320px; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: grid; place-items: center; color: #fff; font-size: 4rem;
}
.split ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.split li { padding-left: 30px; position: relative; color: var(--ink); }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Timeline */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--green), var(--gold)); }
.tl-item { position: relative; padding: 0 0 30px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--green); box-shadow: 0 0 0 4px var(--cream);
}
.tl-item .yr { font-weight: 800; color: var(--green-dark); font-size: 1.05rem; }
.tl-item p { color: var(--muted); margin-top: 2px; }

/* Partner chips */
.partners { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partners span {
  background: var(--white); border: 1px solid rgba(0,0,0,.08); border-radius: 999px;
  padding: 10px 20px; font-weight: 500; font-size: .95rem; box-shadow: var(--shadow);
}

/* News list */
.news-list { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.news-item {
  background: var(--white); border-radius: var(--radius-sm); padding: 22px 26px; box-shadow: var(--shadow);
  border-left: 5px solid var(--green); display: flex; flex-direction: column; gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.news-item .src { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-dark); }
.news-item .src .yr { color: var(--muted); }
.news-item h3 { font-size: 1.12rem; }
.news-item a { color: var(--ink); }
.news-item a:hover { color: var(--green-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid rgba(0,0,0,.15); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--white);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
.contact-info { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .row .ic { font-size: 1.4rem; }
.contact-info .row b { display: block; }
.contact-info .row a, .contact-info .row span { color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black);
  border-radius: var(--radius); padding: 48px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--black); }
.cta-band p { max-width: 560px; margin: 12px auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.75); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.socials a:hover { background: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; text-align: center; font-size: .88rem; }
.flag-bar { height: 6px; display: flex; }
.flag-bar i { flex: 1; }
.flag-bar i:nth-child(1){ background: var(--green);} .flag-bar i:nth-child(2){ background: var(--gold);} .flag-bar i:nth-child(3){ background: var(--black);}
