@import url("brand-colors.css");

:root {
  --bg: #FFFCF4;
  --surface: #FFFFFF;
  --ink: #17302F;
  --muted: #56706E;
  --line: #E6E1D3;
  --teal-50: #E3F4F2;
  --sun-50: #FFF6D6;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(0, 70, 70, .35);
  --max: 1180px;
  --font-head: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--brand-teal); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--brand-teal); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-sun); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.text-red { color: var(--brand-red); }
.text-teal { color: var(--brand-teal); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(190, 23, 17, .7); }
.btn-primary:hover { background: var(--brand-red-dark); }
.btn-teal { background: var(--brand-teal); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--brand-teal); background: transparent; }
.btn-white { background: #fff; color: var(--brand-red); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 244, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: var(--brand-sun); transform: scaleX(0); transition: transform .2s;
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { padding: 10px 20px; font-size: .98rem; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links li a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; width: 100%; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun-50) 0%, rgba(255, 246, 214, 0) 70%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--brand-red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--brand-teal); }
.hero-visual { position: relative; width: min(100%, 470px); justify-self: center; }
.hero-visual .frame {
  border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg);
  border: 8px solid #fff;
}
.chip {
  position: absolute; background: #fff; border-radius: 999px; padding: 10px 16px 10px 10px;
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .92rem;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .35);
  animation: float 5s ease-in-out infinite;
}
.chip i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.chip.c1 { left: -26px; top: 14%; }
.chip.c2 { right: -18px; top: 46%; animation-delay: -1.5s; }
.chip.c3 { left: 6%; bottom: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chip.c1 { left: -6px; }
  .chip.c2 { right: -6px; }
}

/* Trust strip */
.strip { background: var(--brand-teal); color: #fff; padding: 18px 0; overflow: hidden; }
.strip-inner { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; font-family: var(--font-head); font-size: 1.05rem; }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner span::before { content: "☀"; color: var(--brand-sun); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.product-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg, var(--teal-50)); position: relative; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .82rem; font-weight: 800; color: var(--brand-teal); text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { margin: 6px 0 8px; }
.product-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.product-card .more { font-family: var(--font-head); font-weight: 500; color: var(--brand-red); margin-top: 8px; }
.badge {
  position: absolute; top: 14px; left: 14px; background: #fff; color: var(--brand-red);
  font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.product-card.placeholder .media {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--sun-50) 0 18px, #FFF0BF 18px 36px);
}
.product-card.placeholder .media svg { width: 84px; height: 84px; color: var(--brand-sun); }
.product-card.placeholder .more { color: var(--muted); }
.swatches { display: flex; gap: 6px; margin-top: 12px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  border: 2px solid var(--line); background: var(--surface); padding: 9px 18px; border-radius: 999px;
  font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer; transition: all .15s;
}
.filter:hover { border-color: var(--brand-teal); }
.filter.active { background: var(--brand-teal); border-color: var(--brand-teal); color: #fff; }

/* Flavor showcase */
.showcase {
  --flavor: var(--flavor-apple);
  background: var(--flavor); transition: background .5s ease; position: relative; overflow: hidden;
}
.showcase::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 70% 50%, rgba(255, 255, 255, .09) 0 6deg, transparent 6deg 18deg);
}
.showcase .container { position: relative; z-index: 1; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.showcase-card {
  background: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4);
}
.showcase-card .lead { font-size: 1.05rem; }
.flavor-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.flavor-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 9px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; font: 800 .95rem var(--font-body); cursor: pointer; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.flavor-tab i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.flavor-tab:hover { transform: translateY(-1px); }
.flavor-tab[aria-pressed="true"] { border-color: var(--brand-red); }
.toggle { display: inline-flex; background: var(--teal-50); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.toggle button {
  border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font: 800 .9rem var(--font-body); color: var(--brand-teal);
}
.toggle button[aria-pressed="true"] { background: var(--brand-teal); color: #fff; }
.showcase-img { border-radius: 30px; overflow: hidden; border: 8px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.showcase-img img { width: 100%; aspect-ratio: 350 / 264; object-fit: cover; transition: opacity .25s; }
.showcase-img img.fading { opacity: 0; }
.mini-facts { display: flex; gap: 22px; flex-wrap: wrap; margin: 6px 0 24px; }
.mini-facts div { font-weight: 700; color: var(--muted); font-size: .92rem; }
.mini-facts strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--brand-red); font-weight: 600; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } .showcase-img { order: -1; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.feature .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--teal-50); color: var(--brand-teal);
}
.feature:nth-child(2) .icon { background: #FDE7E6; color: var(--brand-red); }
.feature:nth-child(3) .icon { background: var(--sun-50); color: #C08B00; }
.feature:nth-child(4) .icon { background: #EAF5DD; color: #4E7F1B; }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--brand-teal); font-weight: 600; }
.stat span { font-size: .85rem; color: var(--muted); font-weight: 700; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  background: var(--brand-red); color: #fff; border-radius: 36px; padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -90px; top: -120px;
  background: var(--brand-sun); opacity: .9;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { opacity: .92; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.contact-list .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--brand-teal); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); font-weight: 500; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand-teal); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 800; font-size: .9rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-teal); }
.form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 40px); }
.breadcrumb { font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* Nutrition */
.nutrition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.nutrition {
  background: #fff; border: 3px solid var(--brand-teal); border-radius: 18px; padding: 24px; color: var(--brand-teal);
}
.nutrition h3 { font-size: 1.9rem; margin-bottom: 4px; }
.nutrition .serv { border-bottom: 8px solid var(--brand-teal); padding-bottom: 8px; margin-bottom: 8px; font-size: .95rem; }
.nutrition .cal { display: flex; justify-content: space-between; align-items: end; border-bottom: 4px solid var(--brand-teal); padding-bottom: 6px; }
.nutrition .cal strong { font-family: var(--font-head); font-size: 2rem; }
.nutrition table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.nutrition td { padding: 6px 0; border-bottom: 1px solid #B9DDDB; }
.nutrition td:last-child { text-align: right; font-weight: 800; }
.nutrition td.indent { padding-left: 18px; }
.nutrition tr.thick td { border-bottom: 6px solid var(--brand-teal); }
.nutrition .fine { font-size: .78rem; margin: 10px 0 0; color: var(--muted); }
.info-cards { display: grid; gap: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.info-card h4 { color: var(--brand-red); font-size: 1.15rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .nutrition-grid { grid-template-columns: 1fr; } }

.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .flavor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flavor-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0E2E2D; color: #CFE3E1; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 14px; margin-bottom: 16px; }
.footer-logo img { height: 32px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #CFE3E1; text-decoration: none; }
.site-footer a:hover { color: var(--brand-sun); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.ghana-flag { display: inline-flex; width: 28px; height: 18px; flex-direction: column; border-radius: 3px; overflow: hidden; vertical-align: middle; margin-right: 8px; position: relative; }
.ghana-flag i { flex: 1; }
.ghana-flag::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 8px; color: #000; line-height: 1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .chip { animation: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
