/* ===========================================================
   KB Life & Co — kblifeandco.com
   Brand: olive green · gold leaf · warm neutrals
   Fully responsive: phone / tablet / desktop
   =========================================================== */

:root{
  /* Brand */
  --olive:        #5A6440;
  --olive-dark:   #3E4630;
  --olive-deep:   #2C3322;
  --olive-light:  #7C8559;
  --gold:         #C9A227;
  --gold-soft:    #D4AF4A;
  --gold-deep:    #A07820;
  --cream:        #FAF7EF;
  --cream-2:      #F2ECDD;
  --sand:         #EAE2CF;
  --ink:          #2C2A24;
  --muted:        #6B6A60;
  --white:        #ffffff;

  --shadow-sm: 0 2px 10px rgba(44,42,36,.08);
  --shadow-md: 0 10px 30px rgba(44,42,36,.12);
  --shadow-lg: 0 24px 60px rgba(44,42,36,.18);

  --radius:   18px;
  --radius-sm:12px;
  --maxw: 1180px;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:var(--olive); text-decoration:none; }
a:hover{ color:var(--gold-deep); }

h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:600;
  line-height:1.12;
  color:var(--olive-deep);
  margin:0 0 .5em;
  letter-spacing:.2px;
  overflow-wrap:break-word;
  word-wrap:break-word;
}
h1{ font-size:clamp(2.05rem, 7vw, 4rem); }
h2{ font-size:clamp(1.9rem, 4vw, 3rem); }
h3{ font-size:clamp(1.3rem, 2.4vw, 1.7rem); }
p{ margin:0 0 1rem; }

.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(20px,5vw,40px); }
.section{ padding:clamp(56px,8vw,110px) 0; }
.section--tight{ padding:clamp(40px,5vw,64px) 0; }
.center{ text-align:center; }
.eyebrow{
  font-family:var(--sans);
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:.74rem;
  color:var(--gold-deep);
  margin-bottom:.9rem;
  display:inline-block;
}
.lead{ font-size:1.18rem; color:var(--muted); max-width:62ch; }
.center .lead{ margin-inline:auto; }
.gold-text{ color:var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--sans); font-weight:600; font-size:.98rem;
  padding:.92em 1.7em; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
  letter-spacing:.02em;
}
.btn:active{ transform:translateY(1px); }
.btn--gold{
  background:linear-gradient(135deg,var(--gold-soft),var(--gold));
  color:var(--olive-deep); box-shadow:0 8px 22px rgba(201,162,39,.35);
}
.btn--gold:hover{ color:var(--olive-deep); transform:translateY(-2px); box-shadow:0 12px 28px rgba(201,162,39,.45); }
.btn--olive{ background:var(--olive); color:#fff; }
.btn--olive:hover{ background:var(--olive-dark); color:#fff; transform:translateY(-2px); }
.btn--ghost{ background:transparent; border-color:var(--olive); color:var(--olive); }
.btn--ghost:hover{ background:var(--olive); color:#fff; }
.btn--ghost-light{ background:transparent; border-color:rgba(255,255,255,.6); color:#fff; }
.btn--ghost-light:hover{ background:#fff; color:var(--olive-deep); }
.btn--lg{ font-size:1.05rem; padding:1.05em 2.1em; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,247,239,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--sand);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:74px; }
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ height:46px; width:auto; }
.brand__name{ font-family:var(--serif); font-size:1.45rem; font-weight:700; color:var(--olive-deep); line-height:1; }
.brand__name span{ color:var(--gold-deep); }
.brand__tag{ display:block; font-family:var(--sans); font-size:.6rem; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); margin-top:3px; }

.nav__links{ display:flex; align-items:center; gap:1.6rem; list-style:none; margin:0; padding:0; }
.nav__links a{ font-weight:600; font-size:.95rem; color:var(--olive-deep); }
.nav__links a:hover{ color:var(--gold-deep); }

.nav__toggle{
  display:none; background:none; border:0; cursor:pointer; padding:8px;
  width:44px; height:44px; flex-direction:column; justify-content:center; gap:5px;
}
.nav__toggle span{ display:block; height:2.5px; width:26px; background:var(--olive-deep); border-radius:2px; transition:.25s; }
.nav.open .nav__toggle span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2){ opacity:0; }
.nav.open .nav__toggle span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

@media (max-width:880px){
  .nav__toggle{ display:flex; }
  .nav__links{
    position:absolute; top:74px; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--cream); border-bottom:1px solid var(--sand);
    box-shadow:var(--shadow-md);
    max-height:0; overflow:hidden; transition:max-height .35s ease;
  }
  .nav.open .nav__links{ max-height:520px; }
  .nav__links li{ border-top:1px solid var(--sand); }
  .nav__links a{ display:block; padding:16px 24px; }
  .nav__links .btn{ margin:14px 24px; justify-content:center; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,162,39,.22), transparent 60%),
    linear-gradient(160deg,var(--olive-deep),var(--olive) 60%, var(--olive-dark));
  color:#fff;
}
.hero__inner{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,5vw,64px); align-items:center; padding:clamp(56px,8vw,104px) 0; }
.hero h1{ color:#fff; }
.hero h1 em{ font-style:italic; color:var(--gold-soft); }
.hero p.lead{ color:rgba(255,255,255,.86); }
.hero__cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:1.6rem; }
.hero__photo{ position:relative; }
.hero__photo img{
  width:100%; max-width:420px; margin-inline:auto;
  border-radius:24px; box-shadow:var(--shadow-lg);
  border:4px solid rgba(255,255,255,.14);
  object-fit:cover;
}
.hero__badge{
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  background:rgba(255,255,255,.95); color:var(--olive-deep);
  padding:10px 20px; border-radius:999px; font-weight:700; font-size:.85rem;
  box-shadow:var(--shadow-md); white-space:nowrap;
}
.hero__badge b{ color:var(--gold-deep); }
@media (max-width:820px){
  .hero__inner{ grid-template-columns:1fr; text-align:center; }
  .hero__cta{ justify-content:center; }
  .hero .lead{ margin-inline:auto; }
  .hero__photo{ order:-1; }
  .hero__photo img{ max-width:300px; }
}

/* ---------- Stats band ---------- */
.stats{ background:var(--cream-2); border-block:1px solid var(--sand); }
.stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,3vw,36px); }
.stat{ text-align:center; padding:8px; }
.stat__num{ font-family:var(--serif); font-weight:700; font-size:clamp(1.9rem,4vw,2.8rem); color:var(--gold-deep); line-height:1; }
.stat__label{ font-weight:700; color:var(--olive-deep); margin-top:.4rem; }
.stat__sub{ font-size:.86rem; color:var(--muted); }
@media (max-width:680px){ .stats__grid{ grid-template-columns:repeat(2,1fr); row-gap:30px; } }

/* ---------- Booking ---------- */
.booking{ background:linear-gradient(180deg,var(--cream),var(--cream-2)); }
.calendly-inline-widget{ min-width:320px; height:720px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); background:#fff; }
@media (max-width:600px){ .calendly-inline-widget{ height:1000px; } }
.booking__fallback{ margin-top:1rem; color:var(--muted); font-size:.95rem; }

/* ---------- About ---------- */
.about__grid{ display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(28px,5vw,64px); align-items:center; }
.about__photo img{ border-radius:var(--radius); box-shadow:var(--shadow-md); width:100%; object-fit:cover; }
.about__bio{ white-space:pre-line; font-size:1.08rem; }
.about__name{ font-family:var(--serif); font-size:1.8rem; color:var(--olive-deep); margin:0; }
.about__role{ color:var(--gold-deep); font-weight:700; letter-spacing:.04em; margin-bottom:1rem; }
@media (max-width:780px){ .about__grid{ grid-template-columns:1fr; } .about__photo img{ max-width:360px; margin-inline:auto; } }

/* ---------- Strategy cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .cards{ grid-template-columns:1fr; } }
.card{
  background:#fff; border:1px solid var(--sand); border-radius:var(--radius);
  padding:30px 26px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display:flex; flex-direction:column;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--gold-soft); }
.card__icon{
  width:54px; height:54px; border-radius:14px; display:grid; place-items:center;
  background:linear-gradient(135deg,var(--cream-2),var(--sand)); margin-bottom:16px;
}
.card__icon svg{ width:28px; height:28px; stroke:var(--gold-deep); }
.card h3{ margin-bottom:.4rem; }
.card p{ color:var(--muted); font-size:.98rem; flex:1; }
.card__link{ margin-top:14px; font-weight:700; color:var(--gold-deep); display:inline-flex; align-items:center; gap:.4em; }
.card__link svg{ width:16px; height:16px; transition:transform .2s; }
.card:hover .card__link svg{ transform:translateX(4px); }

/* ---------- Carriers ---------- */
.carriers{ background:var(--olive-deep); color:#fff; }
.carriers h2{ color:#fff; }
.carriers .lead{ color:rgba(255,255,255,.8); }
.carriers__grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; margin-top:2.2rem; }
.carrier{
  background:rgba(255,255,255,.95); border-radius:12px; padding:16px;
  display:grid; place-items:center; min-height:84px;
}
.carrier img{ max-height:46px; width:auto; object-fit:contain; filter:contrast(1.02); }
@media (max-width:980px){ .carriers__grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:560px){ .carriers__grid{ grid-template-columns:repeat(3,1fr); gap:10px; } .carrier{ min-height:64px; padding:10px; } }

/* ---------- States ---------- */
.states{ text-align:center; }
.states__chips{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:1.6rem; }
.chip{
  background:#fff; border:1.5px solid var(--gold-soft); color:var(--olive-deep);
  font-weight:700; padding:.55em 1.15em; border-radius:999px; font-size:.95rem;
  box-shadow:var(--shadow-sm);
}

/* ---------- Contact ---------- */
.contact{ background:var(--cream-2); }
.contact__grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,56px); align-items:start; }
@media (max-width:820px){ .contact__grid{ grid-template-columns:1fr; } }
.form{ background:#fff; border:1px solid var(--sand); border-radius:var(--radius); padding:clamp(24px,4vw,38px); box-shadow:var(--shadow-sm); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:600; font-size:.9rem; margin-bottom:.4rem; color:var(--olive-deep); }
.field input,.field textarea{
  width:100%; padding:.85em 1em; border:1.5px solid var(--sand); border-radius:12px;
  font-family:var(--sans); font-size:1rem; color:var(--ink); background:var(--cream); transition:border-color .2s, box-shadow .2s;
}
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,162,39,.18); background:#fff; }
.field textarea{ min-height:130px; resize:vertical; }
.contact__aside .lead{ margin-bottom:1.4rem; }
.contact__line{ display:flex; align-items:center; gap:.7rem; margin-bottom:1rem; font-weight:600; color:var(--olive-deep); }
.contact__line svg{ width:22px; height:22px; stroke:var(--gold-deep); flex:none; }
.socials{ display:flex; gap:14px; margin-top:1.4rem; }
.socials a{
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:var(--olive); color:#fff; transition:transform .2s, background .2s;
}
.socials a:hover{ background:var(--gold-deep); color:#fff; transform:translateY(-2px); }
.socials svg{ width:22px; height:22px; fill:currentColor; }

/* ---------- Page hero (interior) ---------- */
.page-hero{
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(201,162,39,.2), transparent 60%),
    linear-gradient(160deg,var(--olive-deep),var(--olive));
  color:#fff; padding:clamp(56px,8vw,96px) 0 clamp(48px,6vw,72px);
}
.page-hero h1{ color:#fff; max-width:18ch; }
.page-hero .lead{ color:rgba(255,255,255,.86); }
.breadcrumb{ font-size:.85rem; color:rgba(255,255,255,.7); margin-bottom:1rem; }
.breadcrumb a{ color:rgba(255,255,255,.9); }
.prose{ max-width:72ch; }
.prose h2{ margin-top:2rem; }
.prose ul{ padding-left:1.2rem; }
.prose li{ margin-bottom:.5rem; }
.callout{
  background:var(--cream-2); border-left:4px solid var(--gold); border-radius:12px;
  padding:22px 26px; margin:2rem 0; box-shadow:var(--shadow-sm);
}
.cta-band{
  background:linear-gradient(135deg,var(--olive),var(--olive-dark)); color:#fff;
  border-radius:var(--radius); padding:clamp(30px,5vw,56px); text-align:center; box-shadow:var(--shadow-md);
}
.cta-band h2{ color:#fff; }
.cta-band .lead{ color:rgba(255,255,255,.85); margin-inline:auto; margin-bottom:1.4rem; }

/* related strategies */
.related{ display:flex; flex-wrap:wrap; gap:12px; margin-top:1.4rem; }
.related a{ background:#fff; border:1px solid var(--sand); border-radius:999px; padding:.5em 1.1em; font-weight:600; font-size:.92rem; box-shadow:var(--shadow-sm); }
.related a:hover{ border-color:var(--gold-soft); color:var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--olive-deep); color:rgba(255,255,255,.78); padding:clamp(46px,6vw,72px) 0 28px; font-size:.92rem; }
.footer__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,.14); }
.footer__brand{ display:flex; align-items:center; gap:.7rem; margin-bottom:1rem; }
.footer__brand img{ height:54px; }
.footer__brand b{ font-family:var(--serif); font-size:1.3rem; color:#fff; }
.footer h4{ color:#fff; font-family:var(--sans); font-size:.8rem; letter-spacing:.18em; text-transform:uppercase; margin-bottom:1rem; }
.footer ul{ list-style:none; padding:0; margin:0; }
.footer ul li{ margin-bottom:.6rem; }
.footer a{ color:rgba(255,255,255,.78); }
.footer a:hover{ color:var(--gold-soft); }
.footer__bottom{ padding-top:22px; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; font-size:.82rem; color:rgba(255,255,255,.55); }
.footer__disc{ margin-top:18px; font-size:.78rem; color:rgba(255,255,255,.5); line-height:1.6; max-width:90ch; }
@media (max-width:760px){ .footer__top{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer__top{ grid-template-columns:1fr; } }

/* reveal on scroll — only hidden when JS is active (.js gate); always visible otherwise */
.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .js .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }
