/* KMM Consulting — shared stylesheet */

:root{
  --forest:#2F5D50;
  --forest-deep:#254A40;
  --sage:#A8B8A5;
  --sage-light:#EEF1EC;
  --ivory:#F7F5F2;
  --charcoal:#2E3133;
  --gold:#C8A96A;
  --white:#FFFFFF;
  --max:1080px;
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  background:var(--ivory);
  color:var(--charcoal);
  font-family:'Inter',sans-serif;
  font-size:1rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Fraunces',serif;
  font-weight:500;
  color:var(--forest);
  line-height:1.15;
  margin:0 0 0.6em;
  letter-spacing:-0.01em;
}

h1{font-size:clamp(2.2rem,5vw,3.4rem);}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem);}
h3{font-size:1.3rem;}

p{margin:0 0 1.1em;}

a{color:var(--forest);}

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

/* ---------- Nav ---------- */
header.site-header{
  padding:1.6rem 0;
  border-bottom:1px solid rgba(47,93,80,0.12);
  background:var(--ivory);
}

.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1rem;
}

.logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  line-height:0;
  transition:opacity 0.15s ease;
}

.logo-link:hover{
  opacity:0.85;
}

.logo-link svg{
  display:block;
  height:136px;
  width:auto;
}

nav.main-nav ul{
  list-style:none;
  display:flex;
  gap:2.1rem;
  margin:0;
  padding:0;
}

nav.main-nav a{
  text-decoration:none;
  color:var(--charcoal);
  font-weight:500;
  font-size:0.95rem;
  padding-bottom:4px;
  border-bottom:2px solid transparent;
  transition:border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active{
  color:var(--forest);
  border-bottom-color:var(--gold);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  padding:0.85rem 1.8rem;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  letter-spacing:0.01em;
  transition:transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  border:2px solid transparent;
}

.btn-primary{
  background:var(--forest);
  color:var(--white);
  box-shadow:0 6px 18px rgba(47,93,80,0.22);
}

.btn-primary:hover{
  background:var(--forest-deep);
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(47,93,80,0.28);
}

.btn-secondary{
  background:transparent;
  color:var(--forest);
  border-color:var(--forest);
}

.btn-secondary:hover{
  background:var(--forest);
  color:var(--white);
  transform:translateY(-2px);
}

/* ---------- Hero ---------- */
.hero{
  padding:6.5rem 0 5.5rem;
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  top:-120px;
  right:-140px;
  width:420px;
  height:420px;
  background:var(--sage);
  opacity:0.35;
  border-radius:46% 54% 60% 40% / 50% 45% 55% 50%;
  z-index:0;
}

.hero .container{position:relative; z-index:1;}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:0.2em;
  font-size:0.78rem;
  font-weight:600;
  color:var(--gold);
  margin-bottom:1.1rem;
}

.hero p.lead{
  font-size:1.15rem;
  max-width:560px;
  color:var(--charcoal);
  opacity:0.88;
}

.hero .actions{
  margin-top:2rem;
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}

/* ---------- Sections ---------- */
section{padding:4.5rem 0;}

.section-sage{background:var(--sage-light);}

.section-divider{
  width:64px;
  height:3px;
  background:var(--gold);
  border:none;
  margin:0 0 1.6rem;
  border-radius:3px;
}

.center{text-align:center;}
.center .section-divider{margin-left:auto;margin-right:auto;}

/* ---------- Cards / grid ---------- */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
  gap:1.8rem;
  margin-top:2.5rem;
}

.card{
  background:var(--white);
  border-radius:10px;
  padding:1.9rem 1.7rem;
  border:1px solid rgba(47,93,80,0.1);
  transition:transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(47,93,80,0.12);
}

.card h3{margin-bottom:0.5rem;}
.card p{margin-bottom:0; font-size:0.96rem; opacity:0.85;}

.card .icon-dot{
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--sage);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
  color:var(--forest);
  font-family:'Fraunces',serif;
  font-weight:600;
}

/* ---------- Stats / proof points ---------- */
.stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2rem;
  margin-top:2.2rem;
}

.stat .num{
  font-family:'Fraunces',serif;
  font-size:2.2rem;
  color:var(--forest);
  font-weight:500;
}

.stat .label{
  font-size:0.88rem;
  color:var(--charcoal);
  opacity:0.75;
  max-width:220px;
}

/* ---------- Quote / callout ---------- */
.callout{
  background:var(--forest);
  color:var(--ivory);
  border-radius:12px;
  padding:3rem;
  text-align:center;
}

.callout h2{color:var(--white);}
.callout p{color:var(--ivory); opacity:0.9;}

.pull-line{
  font-family:'Fraunces',serif;
  font-style:italic;
  font-weight:500;
  font-size:1.4rem;
  color:var(--forest);
  margin:1.8rem 0 1.2rem;
}

/* ---------- Form ---------- */
form.contact-form{
  max-width:560px;
  margin-top:2rem;
}

.field{margin-bottom:1.3rem;}

label{
  display:block;
  font-weight:600;
  font-size:0.9rem;
  margin-bottom:0.4rem;
  color:var(--forest);
}

input, textarea{
  width:100%;
  padding:0.75rem 0.9rem;
  border-radius:6px;
  border:1.5px solid rgba(47,93,80,0.25);
  background:var(--white);
  font-family:'Inter',sans-serif;
  font-size:0.98rem;
  color:var(--charcoal);
}

input:focus, textarea:focus{
  outline:none;
  border-color:var(--gold);
}

textarea{min-height:140px; resize:vertical;}

/* ---------- Footer ---------- */
footer.site-footer{
  padding:2.6rem 0;
  border-top:1px solid rgba(47,93,80,0.12);
  text-align:center;
  font-size:0.85rem;
  color:var(--charcoal);
  opacity:0.65;
}

/* ---------- Responsive ---------- */
@media (max-width:720px){
  nav.main-nav ul{gap:1.2rem; flex-wrap:wrap;}
  .nav-row{flex-direction:column; align-items:flex-start;}
  .hero{padding:4rem 0 3.2rem;}
  .callout{padding:2rem 1.4rem;}
  .stats{grid-template-columns:1fr; gap:1.6rem;}
}
