/* ===== Leaven & Co. — Marketing Consulting =====
   Palette:
   forest #294936 | sage #9CAF88 | cream #F4EFE3 | bark #6B4F3A
============================================== */

:root {
  --forest: #294936;
  --forest-deep: #1d3527;
  --sage: #9CAF88;
  --sage-light: #c4d3b4;
  --cream: #F4EFE3;
  --cream-dark: #e7dfcd;
  --bark: #6B4F3A;
  --ink: #23291f;
  --muted: #5c6553;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(41, 73, 54, 0.12);
  --shadow-sm: 0 8px 22px rgba(41, 73, 54, 0.08);
  --radius: 22px;
  --radius-lg: 34px;
  --maxw: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", 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.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--forest); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--bark); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--forest); line-height: 1.2; font-weight: 700; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 14px;
}
.section-forest .eyebrow { color: var(--sage); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-forest .section-head p { color: var(--sage-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
  font-family: var(--font);
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-light { background: var(--sage); color: var(--forest-deep); }
.btn-light:hover { background: var(--sage-light); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 239, 227, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--forest); }
.brand svg { width: 38px; height: 38px; }
.brand span small { display: block; font-family: var(--font); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--bark); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink); }
.nav-links a:hover { color: var(--forest); }
.nav-cta { padding: 11px 22px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--forest); border-radius: 3px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--forest-deep) 0%, var(--forest) 60%, #365c44 100%);
  color: var(--cream); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -140px;
  width: 460px; height: 460px; border-radius: 46% 54% 60% 40% / 42% 48% 52% 58%;
  background: rgba(156, 175, 136, 0.16);
}
.hero::before {
  content: ""; position: absolute; left: -100px; top: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(156, 175, 136, 0.10);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 92px 0; }
.hero h1 { color: var(--cream); font-size: clamp(34px, 5vw, 58px); margin-bottom: 22px; }
.hero p.lead { font-size: 20px; color: var(--sage-light); margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/5; width: 100%; }
.hero-badge {
  position: absolute; left: -22px; bottom: 30px; background: var(--cream); color: var(--forest);
  padding: 16px 22px; border-radius: 18px; box-shadow: var(--shadow); font-weight: 700; font-family: var(--serif);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge b { font-size: 26px; display: block; }
.hero-badge small { font-family: var(--font); font-weight: 600; color: var(--muted); font-size: 12px; }

/* ===== Trust strip ===== */
.trust { background: var(--white); border-bottom: 1px solid var(--cream-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; text-align: center; }
.trust-grid .stat b { font-family: var(--serif); font-size: 34px; color: var(--forest); display: block; }
.trust-grid .stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ===== Services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--cream-dark);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ico {
  width: 58px; height: 58px; border-radius: 16px; background: var(--sage);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .ico svg { width: 30px; height: 30px; stroke: var(--forest-deep); }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ===== Approach (image + steps) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 5/4; width: 100%; }
.steps { list-style: none; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps .num {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--forest);
  color: var(--cream); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 19px;
}
.steps h4 { font-size: 18px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: var(--white); border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--cream-dark); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.plan.featured { background: var(--forest); color: var(--cream); border-color: var(--forest); transform: scale(1.03); position: relative; }
.plan.featured h3 { color: var(--cream); }
.plan .tag { position: absolute; top: 20px; right: 22px; background: var(--sage); color: var(--forest-deep); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .desc { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.plan.featured .desc { color: var(--sage-light); }
.plan .price { font-family: var(--serif); font-size: 42px; margin: 18px 0 4px; }
.plan .price small { font-size: 16px; font-family: var(--font); color: var(--muted); font-weight: 600; }
.plan.featured .price small { color: var(--sage-light); }
.plan ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.plan ul li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.plan ul li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--sage); }
.plan.featured ul li svg { stroke: var(--sage-light); }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 30px; font-size: 15px; }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: rgba(244,239,227,0.06); border: 1px solid rgba(156,175,136,0.25); border-radius: var(--radius); padding: 30px; }
.quote p { font-style: italic; color: var(--cream); margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote .who b { color: var(--cream); font-family: var(--serif); }
.quote .who span { color: var(--sage-light); font-size: 13px; }

/* ===== Contact / Form ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 24px; margin-bottom: 18px; }
.contact-info .line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info .line svg { flex: none; width: 24px; height: 24px; stroke: var(--forest); margin-top: 3px; }
.contact-info .line b { display: block; color: var(--forest); font-family: var(--serif); }
.contact-info .line span, .contact-info .line a { color: var(--muted); font-size: 15.5px; }
.contact-info .map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-info .map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.form-card { background: var(--white); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); border: 1px solid var(--cream-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--forest); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--cream-dark); border-radius: 12px;
  font-family: var(--font); font-size: 15px; background: var(--cream); color: var(--ink); transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.check input { margin-top: 4px; flex: none; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.form-msg.ok { display: block; background: var(--sage-light); color: var(--forest-deep); }
.form-msg.err { display: block; background: #f4d9d0; color: #8a3b26; }

/* ===== CTA band ===== */
.cta-band { background: var(--bark); color: var(--cream); text-align: center; border-radius: var(--radius-lg); padding: 60px 40px; }
.cta-band h2 { color: var(--cream); font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; }
.cta-band p { color: #e9ddcd; max-width: 560px; margin: 0 auto 28px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: 16px;
  padding: 4px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--forest); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--sage); font-family: var(--font); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 15.5px; }

/* ===== Footer ===== */
.site-footer { background: var(--forest-deep); color: var(--sage-light); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer .brand { color: var(--cream); margin-bottom: 16px; }
.site-footer .brand span small { color: var(--sage); }
.footer-about p { font-size: 15px; color: var(--sage-light); max-width: 300px; }
.footer-col h4 { color: var(--cream); font-family: var(--font); font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--sage-light); font-size: 15px; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(156,175,136,0.2); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--sage); }

/* ===== Cookie banner ===== */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200;
  max-width: 560px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--cream-dark); border-radius: 20px; box-shadow: var(--shadow);
  padding: 24px 26px; display: none;
}
.cookie.show { display: block; animation: slideUp .4s ease; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie h4 { font-size: 18px; margin-bottom: 8px; }
.cookie p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cookie .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie .btn { padding: 11px 22px; font-size: 14px; }

/* ===== Legal pages ===== */
.legal { max-width: 860px; margin: 0 auto; }
.legal-hero { background: var(--forest); color: var(--cream); padding: 70px 0 60px; }
.legal-hero h1 { color: var(--cream); font-size: clamp(28px, 4vw, 44px); }
.legal-hero p { color: var(--sage-light); margin-top: 10px; }
.legal h2 { font-size: 24px; margin: 40px 0 14px; }
.legal h3 { font-size: 19px; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 16px; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; font-style: italic; }
.legal a { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { order: -1; max-width: 420px; }
  .cards, .pricing, .quotes { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; background: var(--cream);
    flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--cream-dark);
    transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow-sm);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .cards, .pricing, .quotes, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-col { margin-bottom: 6px; }
}
