/* ============ BeanyBots — palette derived from Brand Image ============ */
:root {
  --orange: #E55E03;
  --orange-dark: #C24E02;
  --orange-soft: #FDF5EE;
  --orange-tint: #FFF0E4;
  --ink: #17110D;
  --charcoal: #211912;
  --gray-card: #F6F6F6;
  --gray-border: #E9E4DE;
  --gray-text: #5C544E;
  --white: #FFFFFF;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(23, 17, 13, 0.05);
  --shadow-md: 0 14px 40px rgba(23, 17, 13, 0.10);
  --maxw: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.32rem; font-weight: 600; }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-sub { color: var(--gray-text); font-size: 1.06rem; margin-top: 14px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 22px rgba(229, 94, 3, 0.28); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 26px rgba(229, 94, 3, 0.36); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand-accent { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: 0.96rem; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: 9px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--orange); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ============ Hero ============ */
.hero { background: linear-gradient(180deg, var(--orange-soft) 0%, var(--white) 100%); padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 20px; }
.hero-copy .hl { color: var(--orange); }
.lede { font-size: 1.13rem; color: var(--gray-text); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }
.hero-split {
  display: inline-flex; border-radius: 999px; overflow: hidden;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--shadow-sm);
}
.split-consumer { background: var(--orange); color: #fff; padding: 9px 22px; }
.split-business { background: var(--ink); color: #fff; padding: 9px 22px; }
.hero-art img { width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 14px 26px rgba(23,17,13,0.14)); }

/* ============ What We Do ============ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--gray-card); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-consumer { background: var(--orange-tint); border-color: #FADBC4; }
.card-business { background: var(--charcoal); border-color: var(--charcoal); }
.card-business h3, .card-business p { color: #fff; }
.card-business .card-num { color: rgba(255,255,255,0.45); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-num { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--orange); }
.card-tag {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  background: rgba(23,17,13,0.06); color: var(--gray-text);
}
.tag-consumer { background: var(--orange); color: #fff; }
.tag-business { background: var(--orange); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray-text); font-size: 1rem; margin: 0 0 18px; }
.card-business p { color: rgba(255,255,255,0.82); }
.card-link {
  font-family: var(--font-head); font-weight: 600; color: var(--orange);
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
}
.card-business .card-link { color: #FFB57A; }
.card-link .arrow { transition: transform .2s; }
.card-link:hover .arrow { transform: translateX(4px); }
.card-meta { font-size: 0.8rem; color: var(--gray-text); margin-top: 12px; font-style: italic; }
.card-business .card-meta { color: rgba(255,255,255,0.55); }

/* ============ About ============ */
.about { background: var(--orange-soft); }
.about-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--gray-text); font-size: 1.08rem; margin: 18px 0; }
.about-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-points li { position: relative; padding-left: 30px; color: var(--gray-text); }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--orange);
}
.about-points strong { color: var(--ink); }
.about-stats { display: grid; gap: 16px; }
.stat {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--orange-tint); color: var(--orange);
  display: grid; place-items: center;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-body { display: flex; flex-direction: column; gap: 3px; font-size: 0.92rem; color: var(--gray-text); }
.stat-body strong { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }

/* ============ Contact ============ */
.contact { background: var(--ink); color: #fff; }
.contact .eyebrow { color: #FFB57A; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy p { color: rgba(255,255,255,0.72); font-size: 1.08rem; margin: 16px 0 26px; }
.contact-email {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #FFB57A;
  border-bottom: 2px solid rgba(255,181,122,0.4); padding-bottom: 3px;
}
.contact-email:hover { border-color: #FFB57A; }
.contact-form {
  background: var(--white); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-md); display: grid; gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm);
  background: #FBFAF9; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(229,94,3,0.14); background: #fff;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 4px 0 0; font-size: 0.92rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #1f7a34; }
.form-status.err { color: #c0392b; }

/* ============ Subpages (FAQ, Legal) ============ */
.subpage h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.01em; }
.crumbs { font-family: var(--font-head); font-size: 0.85rem; color: var(--gray-text); margin-bottom: 22px; }
.crumbs a { color: var(--orange); font-weight: 600; }
.crumbs span { margin: 0 6px; opacity: 0.7; }
.subpage-cta { margin-top: 44px; }

.legal { max-width: 820px; }
.legal > p { color: var(--gray-text); font-size: 1.02rem; line-height: 1.75; margin: 0 0 8px; }
.legal h2 { font-size: 1.28rem; font-weight: 600; margin: 36px 0 10px; }
.legal ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 9px; }
.legal li { color: var(--gray-text); font-size: 1.02rem; line-height: 1.6; }
.legal a { color: var(--orange); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item {
  background: var(--gray-card); border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm); padding: 4px 24px; transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); background: var(--white); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; margin: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-weight: 500; font-size: 1.5rem; line-height: 1;
  color: var(--orange); transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 20px; color: var(--gray-text); font-size: 1rem; max-width: 70ch; }
.faq-item a { color: var(--orange); font-weight: 600; }
.faq-item a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: #fff; }
.footer-brand em { font-style: normal; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-left: 4px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-legal { font-size: 0.85rem; margin: 0; color: rgba(255,255,255,0.45); text-align: right; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 320px; }
  .about-stats { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 66px 0; }
  .cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--gray-border); padding: 8px 0;
  }
  .site-header.open .nav-links a { padding: 14px 24px; width: 100%; }
  .site-header.open .nav-cta { margin: 8px 24px; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
