/* SHC Allied Agro — Premium Nigerian Cocoa */
:root {
  --cocoa-deep: #2a1a10;
  --cocoa-rich: #4a2c1a;
  --cocoa-warm: #8a4b28;
  --cocoa-gold: #d9a441;
  --cocoa-cream: #f6f0e4;
  --cocoa-paper: #fbf7ee;
  --text: #2a1a10;
  --muted: #7a6a58;
  --border: #e3dccc;
  --gradient-hero: linear-gradient(180deg, rgba(42,26,16,0.15) 0%, rgba(20,12,6,0.85) 100%);
  --shadow-elegant: 0 30px 60px -20px rgba(42,26,16,0.35);
  --shadow-soft: 0 10px 30px -10px rgba(42,26,16,0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--cocoa-paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--cocoa-warm); }

h1, h2, h3, h4, .font-display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cocoa-warm);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--cocoa-gold); color: var(--cocoa-deep); }
.btn-primary:hover { transform: translateY(-2px); background: #c89535; }
.btn-ghost { border: 1px solid rgba(246,240,228,0.4); color: var(--cocoa-cream); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(246,240,228,0.1); }

/* NAV */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--cocoa-cream); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--cocoa-gold); color: var(--cocoa-deep);
  display: grid; place-items: center;
  font-family: "Fraunces", serif; font-weight: 600;
}
.brand-name { font-family: "Fraunces", serif; font-size: 1.1rem; letter-spacing: -0.01em; }
.nav-links { display: none; gap: 2.5rem; list-style: none; font-size: 0.9rem; color: rgba(246,240,228,0.85); }
.nav-links a:hover { color: var(--cocoa-gold); }
.nav .btn { display: none; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav .btn { display: inline-block; }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  overflow: hidden;
  color: var(--cocoa-cream);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero-content {
  position: relative; z-index: 10;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 6rem;
}
.hero-tag {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cocoa-gold); display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-tag::before { content: ""; height: 1px; width: 2.5rem; background: var(--cocoa-gold); }
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  max-width: 18ch;
  margin-bottom: 2rem;
}
.hero p { max-width: 36rem; color: rgba(246,240,228,0.85); font-size: 1.05rem; }
.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* STATS */
.stats {
  background: var(--cocoa-cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2.5rem 1.5rem; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat:nth-child(2) { border-right: none; }
@media (min-width: 1024px) {
  .stat { padding: 3.5rem 2.5rem; border-right: 1px solid var(--border); }
  .stat:nth-child(2) { border-right: 1px solid var(--border); }
  .stat:last-child { border-right: none; }
}
.stat-num { font-family: "Fraunces", serif; font-size: 2.5rem; color: var(--cocoa-rich); }
@media (min-width: 1024px) { .stat-num { font-size: 3rem; } }
.stat-label { margin-top: 0.5rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* SECTIONS */
section.pad { padding: 7rem 0; }
@media (min-width: 1024px) { section.pad { padding: 9rem 0; } }

/* STORY */
.story-grid {
  display: grid; gap: 4rem; align-items: center;
}
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.story-img-wrap { position: relative; }
.story-img { aspect-ratio: 4/5; width: 100%; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-elegant); }
.story-badge {
  position: absolute; bottom: -2rem; right: -1.5rem;
  width: 160px; height: 160px; border-radius: 999px;
  background: var(--cocoa-gold); color: var(--cocoa-deep);
  display: none; align-items: center; justify-content: center; text-align: center;
  font-family: "Fraunces", serif; font-size: 0.875rem; line-height: 1.3;
}
@media (min-width: 768px) { .story-badge { display: flex; } }
.story h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa-deep); }
.story-text { margin-top: 2rem; color: var(--muted); display: flex; flex-direction: column; gap: 1.25rem; }
.signature { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; }
.signature .line { flex: 1; height: 1px; background: var(--border); }
.signature span { font-family: "Fraunces", serif; font-style: italic; color: var(--cocoa-rich); }

/* PROCESS */
.process { background: var(--cocoa-deep); color: var(--cocoa-cream); }
.process-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.process h2 { font-size: clamp(2rem, 4vw, 3rem); }
.process .lead { margin-top: 1.5rem; color: rgba(246,240,228,0.7); max-width: 28rem; }
.process-list { list-style: none; }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding-bottom: 2.5rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246,240,228,0.15);
}
.process-step:last-child { border-bottom: none; margin-bottom: 0; }
.process-num { font-family: "Fraunces", serif; font-size: 2rem; color: var(--cocoa-gold); }
.process-step h3 { font-size: 1.5rem; }
.process-step p { margin-top: 0.75rem; color: rgba(246,240,228,0.7); }
.process .eyebrow { color: var(--cocoa-gold); }

/* PRODUCTS */
.products-head {
  display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem;
}
@media (min-width: 768px) { .products-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.products-head h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa-deep); max-width: 30rem; }
.products-head p { color: var(--muted); max-width: 22rem; }
.products-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product {
  background: var(--cocoa-cream);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s ease, transform .3s ease;
}
.product:hover { box-shadow: var(--shadow-elegant); transform: translateY(-4px); }
.product-img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product:hover .product-img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(42,26,16,0.7); color: var(--cocoa-gold);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.product-body { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem; }
.product-body h3 { font-size: 1.5rem; color: var(--cocoa-deep); }
.product-body p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.product-price { font-family: "Fraunces", serif; color: var(--cocoa-warm); font-size: 0.9rem; }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; color: var(--cocoa-cream); }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(42,26,16,0.82); }
.cta-content { position: relative; padding: 7rem 0; }
@media (min-width: 1024px) { .cta-content { padding: 10rem 0; } }
.cta h2 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 22ch; margin: 0 auto; }
.cta .eyebrow { color: var(--cocoa-gold); }
.cta p { margin: 1.5rem auto 0; max-width: 32rem; color: rgba(246,240,228,0.8); }
.cta-buttons { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* FOOTER */
footer { background: var(--cocoa-deep); color: rgba(246,240,228,0.6); padding: 3rem 0; font-size: 0.875rem; }
.foot {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
@media (min-width: 768px) { .foot { flex-direction: row; justify-content: space-between; } }
.foot .brand-name { color: var(--cocoa-cream); }

/* ABOUT */
.about { background: var(--cocoa-paper); }
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; } }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa-deep); }
.about-text p { color: var(--muted); margin-bottom: 1.25rem; }
.about-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.about-list li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 8px; height: 8px; border-radius: 999px; background: var(--cocoa-gold); }
.about-list strong { color: var(--cocoa-deep); font-weight: 600; margin-right: 0.4rem; }

/* PRODUCT card refinements + add-to-cart */
.product-body { flex-direction: column; align-items: stretch; gap: 0.85rem; }
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.product-price small { font-family: "Inter", sans-serif; font-weight: 400; color: var(--muted); margin-left: 2px; }
.add-to-cart { width: 100%; margin-top: 0.5rem; padding: 0.75rem 1rem; font-size: 0.85rem; }

/* CART */
.cart-btn { position: relative; }
.cart-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--cocoa-deep); color: var(--cocoa-gold);
  font-size: 0.7rem; margin-left: 6px;
}
.cart-panel {
  margin-top: 4rem; background: var(--cocoa-cream);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 2rem; max-width: 560px; margin-left: auto;
  box-shadow: var(--shadow-soft);
}
.cart-panel h3 { font-size: 1.4rem; color: var(--cocoa-deep); margin-bottom: 1.25rem; }
.cart-items { list-style: none; }
.cart-empty { color: var(--muted); font-style: italic; padding: 1rem 0; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px dashed var(--border);
}
.ci-name { font-weight: 500; }
.ci-controls { display: inline-flex; align-items: center; gap: 0.5rem; }
.ci-controls button {
  width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 0.95rem; line-height: 1; color: var(--cocoa-deep);
}
.ci-controls button:hover { background: var(--cocoa-gold); border-color: var(--cocoa-gold); }
.ci-qty { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.ci-price { font-family: "Fraunces", serif; color: var(--cocoa-rich); }
.cart-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0 1.5rem; font-size: 1.05rem;
}
.cart-foot strong { font-family: "Fraunces", serif; font-size: 1.4rem; color: var(--cocoa-deep); }
.cart-checkout { width: 100%; }

/* CONTACT FORM */
.contact-form-section { background: var(--cocoa-cream); border-top: 1px solid var(--border); }
.form-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; } }
.contact-form-section h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa-deep); }
.contact-form-section .lead { margin-top: 1.25rem; color: var(--muted); }
.contact-meta { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-meta li { display: flex; flex-direction: column; gap: 2px; padding: 0.85rem 0; border-top: 1px solid var(--border); }
.contact-meta strong { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-meta span { font-family: "Fraunces", serif; color: var(--cocoa-deep); font-size: 1.05rem; }

.contact-form { display: grid; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: 4px; box-shadow: var(--shadow-soft); }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--border); border-radius: 3px;
  background: var(--cocoa-paper); font: inherit; color: var(--text);
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--cocoa-warm); background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form .btn { justify-self: start; padding: 0.9rem 2rem; }
.form-status { color: var(--cocoa-warm); font-size: 0.85rem; min-height: 1.2em; }

/* TEAM */
.team { background: var(--cocoa-cream); }
.team-head { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; align-items: flex-start; margin-bottom: 3.5rem; }
.team-head h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 28ch; }
.team-head p { color: var(--muted); max-width: 28ch; }
@media (min-width: 768px) { .team-head { flex-direction: row; align-items: flex-end; } }
.team-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .4s ease, box-shadow .4s ease; padding-bottom: 1.75rem; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.team-img-wrap { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.5rem; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-card h3 { font-size: 1.5rem; color: var(--cocoa-deep); padding: 0 1.5rem; }
.team-role { display: block; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cocoa-gold); margin: 0.5rem 1.5rem 0.85rem; font-weight: 600; }
.team-card p { color: var(--muted); font-size: 0.95rem; padding: 0 1.5rem; }

/* CTA BANNER */
.cta-banner { background: var(--cocoa-deep); color: var(--cocoa-cream); padding: 4rem 0; border-top: 1px solid rgba(217,164,65,0.15); }
.cta-banner-inner { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; }
@media (min-width: 900px) { .cta-banner-inner { flex-direction: row; align-items: center; } }
.cta-banner h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 22ch; color: var(--cocoa-cream); margin-top: 0.25rem; }
.cta-banner p { color: rgba(246,240,228,0.7); margin-top: 0.75rem; max-width: 42ch; }
.cta-banner em { color: var(--cocoa-gold); }
.btn-gold { background: var(--cocoa-gold); color: var(--cocoa-deep); padding: 1.1rem 2rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; transition: transform .25s ease, background .25s ease; white-space: nowrap; }
.btn-gold:hover { transform: translateY(-2px); background: #e8b550; }
.cta-banner-btn { flex-shrink: 0; }

/* WHAT SETS US APART */
.apart { position: relative; overflow: hidden; padding: 7rem 0; color: var(--cocoa-cream); }
.apart-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.apart-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,18,12,.78), rgba(30,18,12,.92)); z-index: 1; }
.apart-inner { position: relative; z-index: 2; }
.apart-head { max-width: 640px; margin-bottom: 3.5rem; }
.apart-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: .75rem 0 1rem; }
.apart-head p { color: rgba(245,232,210,.75); font-size: 1.05rem; }
.apart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.apart-card { background: rgba(245,232,210,.06); border: 1px solid rgba(245,232,210,.12); backdrop-filter: blur(8px); padding: 2rem 1.75rem; border-radius: 4px; transition: transform .3s ease, background .3s ease; }
.apart-card:hover { transform: translateY(-4px); background: rgba(245,232,210,.1); }
.apart-num { font-family: var(--font-display); font-size: 1.75rem; color: var(--cocoa-gold); margin-bottom: 1rem; }
.apart-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 .6rem; color: var(--cocoa-cream); }
.apart-card p { color: rgba(245,232,210,.7); font-size: .95rem; line-height: 1.55; margin: 0; }
