/* ==========================================================
   BizzSole — Website Design System (Phase 2)
   ========================================================== */

:root {
  --teal: #14698C;
  --teal-dark: #0E4E68;
  --teal-tint: #E6F0F4;
  --maroon: #8C303C;
  --maroon-dark: #6E2530;
  --maroon-tint: #F7EAEC;
  --amber: #F59E0B;
  --amber-dark: #C97D06;
  --amber-tint: #FEF3E2;
  --ink: #10151F;
  --ink-soft: #1B2333;
  --muted: #5A6675;
  --paper: #FFFFFF;
  --paper-tint: #F6F9FA;
  --border: #E4EBEE;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(16, 21, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 21, 31, 0.10);
  --shadow-lg: 0 20px 60px rgba(16, 21, 31, 0.18);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section { padding: 100px 0; }
.section-tint { background: var(--paper-tint); }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--amber); }
.eyebrow.maroon { color: var(--maroon); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; color: var(--ink); }
.section-head p { font-size: 17px; color: var(--muted); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35); }
.btn-primary:hover { background: #FFAD1F; }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-outline-dark { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn-outline-dark:hover { background: var(--teal-tint); }

/* ---------------- Nav ---------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(16, 21, 31, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease;
}
.site-nav.scrolled { background: rgba(16, 21, 31, 0.92); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 14.5px; font-weight: 500; transition: color 0.15s ease; }
.nav-links a:hover { color: white; }
.nav-links .btn { padding: 10px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 24px; gap: 20px; transform: translateY(-140%); transition: transform 0.25s ease; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-dark) 42%, var(--ink) 85%);
  color: white;
  padding: 180px 0 120px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(245,158,11,0.18), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(140,48,60,0.35), transparent 45%);
}
.hero-hex { position: absolute; inset: 0; opacity: 0.12; background-size: 64px 111px; background-repeat: repeat; }
.hero-flex { position: relative; z-index: 2; display: flex; align-items: center; gap: 48px; }
.hero-inner { flex: 1 1 520px; max-width: 640px; }
.hero-image-wrap { flex: 1 1 420px; max-width: 480px; }
.hero-image-wrap img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .hero { padding: 110px 0 60px 0; }
  .hero-flex { flex-direction: column; }
  .hero-image-wrap { max-width: 320px; margin: 28px auto 0 auto; order: 1; }
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); margin-bottom: 22px; }
.hero p.hero-desc { font-size: 19px; color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 36px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--amber); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ---------------- About ---------------- */
.about-intro { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; margin-bottom: 16px; }
.about-image-wrap img { width: 100%; height: auto; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-image-wrap { order: -1; max-width: 420px; margin: 0 auto; } }
.pullquote {
  background: var(--maroon); color: white; padding: 32px 40px; border-radius: var(--radius-lg);
  max-width: 720px; margin-bottom: 32px; position: relative;
}
.pullquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 64px; color: rgba(255,255,255,0.28); position: absolute; top: 4px; left: 20px; line-height: 1; }
.pullquote p { font-size: 19px; font-style: italic; line-height: 1.5; position: relative; z-index: 1; }
.about-closing { font-size: 16px; color: var(--muted); max-width: 720px; margin-bottom: 48px; }

.point-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.point-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.point-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.point-icon { font-size: 28px; margin-bottom: 14px; }
.point-card h4 { font-size: 16px; margin-bottom: 8px; }
.point-card p { font-size: 14px; color: var(--muted); }

@media (max-width: 900px) { .point-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .point-grid { grid-template-columns: 1fr; } }

/* ---------------- Vision / Mission ---------------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-panel { padding: 44px 38px; border-radius: var(--radius-lg); color: white; position: relative; overflow: hidden; }
.vm-panel.vision { background: linear-gradient(160deg, var(--teal), var(--teal-dark)); }
.vm-panel.mission { background: linear-gradient(160deg, var(--maroon), var(--maroon-dark)); }
.vm-panel .vm-label { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; opacity: 0.85; margin-bottom: 14px; }
.vm-panel p { font-size: 18px; line-height: 1.6; }
@media (max-width: 800px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---------------- Values (accent section) ---------------- */
.values-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 35%, var(--maroon-dark) 72%, var(--maroon) 100%);
  color: white; position: relative; overflow: hidden;
}
.values-section .hero-hex { opacity: 0.14; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.value-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 24px 20px; transition: background 0.2s ease;
}
.value-card:hover { background: rgba(255,255,255,0.16); }
.value-icon-wrap { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.value-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.value-card p { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.45; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------------- Knowledge Cycle ---------------- */
.cycle-wrap { display: flex; justify-content: center; margin-top: 20px; }
.cycle-svg-holder svg { width: 100%; height: auto; max-width: 620px; }
.cycle-node-label { font-family: var(--font-body); }
.cycle-node { cursor: default; transition: transform 0.2s ease; transform-origin: center; }
.cycle-node:hover { transform: scale(1.08); }

/* ---------------- Domains ---------------- */
.domains-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.domain-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.domain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.domain-card i { font-size: 24px; color: var(--teal); margin-bottom: 12px; }
.domain-card:nth-child(4n) i, .domain-card:nth-child(4n-1) i { color: var(--maroon); }
.domain-card span { font-size: 13px; font-weight: 600; display: block; }
@media (max-width: 980px) { .domains-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .domains-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Founder ---------------- */
.founder-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.founder-panel {
  background: linear-gradient(200deg, var(--maroon), var(--maroon-dark)); border-radius: var(--radius-lg);
  padding: 48px 32px; text-align: center; color: white; position: relative; overflow: hidden;
}
.founder-panel .qmark { font-family: Georgia, serif; font-size: 72px; color: rgba(255,255,255,0.85); line-height: 1; }
.founder-panel .fname { font-size: 17px; font-weight: 700; margin-top: 12px; }
.founder-panel .frole { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.founder-text p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.7; }
.founder-journey-img { margin-top: 24px; max-width: 480px; }
.founder-journey-img img { width: 100%; height: auto; }
@media (max-width: 800px) { .founder-grid { grid-template-columns: 1fr; } }

/* ---------------- Involvement / CTA cards ---------------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.involvement-image-wrap { max-width: 420px; margin: 40px auto 0 auto; }
.involvement-image-wrap img { width: 100%; height: auto; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card { padding: 40px 34px; border-radius: var(--radius-lg); color: white; position: relative; overflow: hidden; }
.cta-card.primary { background: linear-gradient(155deg, var(--teal), var(--teal-dark)); }
.cta-card.secondary { background: linear-gradient(155deg, var(--maroon), var(--maroon-dark)); }
.cta-card .cta-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.cta-card h3 { font-size: 20px; margin-bottom: 10px; }
.cta-card p { font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.55; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-info-item .value { font-size: 15px; font-weight: 600; color: var(--ink); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--paper-tint);
  transition: border-color 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); background: white; }
.contact-form button { align-self: flex-start; }

@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 56px 0 28px 0; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-brand img { height: 28px; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: white; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.15s ease; }
.footer-social a:hover { transform: translateY(-3px); }
.footer-social .fb { background: #3B5998; }
.footer-social .ig { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); }
.footer-social .li { background: #0A66C2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------------- Partner Program Detail ---------------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; }
.partner-card h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.partner-card h3 i { font-size: 15px; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.partner-card.who h3 i, .partner-card.gain h3 i { background: var(--teal-tint); color: var(--teal); }
.partner-card.isnt h3 i, .partner-card.next h3 i { background: var(--maroon-tint); color: var(--maroon); }
.partner-card ul { display: flex; flex-direction: column; gap: 12px; }
.partner-card li { font-size: 14.5px; color: var(--muted); line-height: 1.55; padding-left: 26px; position: relative; }
.partner-card.who li::before, .partner-card.gain li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--teal); position: absolute; left: 0; top: 1px; font-size: 12px; }
.partner-card.isnt li::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--maroon); position: absolute; left: 0; top: 1px; font-size: 12px; }
.partner-card.next { counter-reset: step; }
.partner-card.next li::before { counter-increment: step; content: counter(step); background: var(--maroon); color: white; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; position: absolute; left: 0; top: 0; }
@media (max-width: 800px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------------- Contact form status ---------------- */
#contact-form-status.success { color: #2E7D32; }
#contact-form-status.error { color: #C62828; }
#contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
/* ---------------- 100 Problems Initiative page ---------------- */
.cycle-steps-list {
  list-style: none; counter-reset: cyclestep; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 24px;
}
.cycle-steps-list li {
  counter-increment: cyclestep; position: relative; padding-left: 38px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding-top: 6px; padding-bottom: 6px;
}
.cycle-steps-list li::before {
  content: counter(cyclestep); position: absolute; left: 0; top: 4px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: white;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 600px) { .cycle-steps-list { grid-template-columns: 1fr; } }

.status-box { background: var(--paper); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 32px 36px; }
.status-box h2 { font-size: 22px; margin-bottom: 12px; }
.status-box p { font-size: 15.5px; color: var(--muted); line-height: 1.65; }

.faq-item {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq-item summary {
  font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 12px; color: var(--teal); transition: transform 0.2s ease; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------------- Scroll to top ---------------- */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--teal-dark); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .founder-grid, .contact-grid { gap: 32px; }
}
