/* ========== Design tokens ========== */
:root{
  --bg:#F6EFDF;
  --text:#223028;
  --primary:#2E5B43;   /* deep green */
  --accent:#C65A2E;    /* warm orange */
  --muted:#5b5b5b;
  --card:#ffffff;
  --line:#e9e1ce;
  --line-soft:#e0d9c8;
  --radius:12px;
  --container:980px;
}

*{ box-sizing:border-box; }

html,body{
  margin:0; padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

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

/* ========== Banner ========== */
.banner-wrap {
  position: relative;             /* new */
  max-width: var(--container);
  margin: 0 auto 20px;
}

.banner-img {
  width: 100%;                   /* fill the content width */
  height: auto;                  /* keep full image, no cropping */
  display: block;                /* remove inline gaps */
}


.banner-logo {
  position: absolute;
  top: 10px;      /* distance from the top edge of the banner */
  left: 65px;px;     /* distance from the left edge */
  width: 120px;   /* adjust size as needed */
  height: auto;
  z-index: 2;     /* makes sure it sits above the banner image */
}

.banner-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfect centering */
  text-align: center;
  z-index: 2;
}

.banner-text h1 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
}

.banner-text .sub {
  margin-top: 3px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .3px;
}

/* ========== Sections & components ========== */
.hero{
  padding:10px 0 12px;
  border-bottom:1px solid var(--line-soft);
}

.cta{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.button{
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  padding:12px 16px;
  border-radius:10px;
  font-weight:700;
  display:inline-block;
}

.button.secondary{ background:var(--primary); }

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  margin-top:24px;
}

@media (min-width:840px){
  .grid{ grid-template-columns:1fr 1fr; }
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}

.badge{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:14px;
}

h2{ margin:.2rem 0 8px; color:var(--primary); }
h3{ margin:.4rem 0; }

ul{ padding-left:18px; margin:8px 0; }
li{ margin:6px 0; }

.kv{ display:flex; gap:16px; flex-wrap:wrap; }
.kv > div{ flex:1; min-width:220px; }

blockquote{
  margin:0;
  padding-left:12px;
  border-left:4px solid var(--accent);
}

.small{ font-size:14px; color:var(--muted); }

footer{
  margin:24px 0 40px;
  font-size:14px;
  color:var(--muted);
}

/* Phone “chip” */
.phone{
  font-weight:700;
  color:#fff;
  background:var(--primary);
  padding:6px 12px;
  border-radius:6px;
  text-decoration:none;
  display:inline-block;
}
.phone:hover{ background:var(--accent); }

/* ========== Responsive tweaks ========== */

/* MOBILE: move the heading & tagline below the image */
@media (max-width: 640px) {
  .banner-wrap { 
    overflow: visible;  /* let content flow naturally */
  }

  .banner-text {
    position: static;   /* no absolute overlay */
    transform: none;
    text-align: center;
    padding-top: 10px;  /* space below image */
  }

  /* scale the logo image itself */
  .banner-logo img {
    width: 90px;   /* adjust to taste */
    height: auto;  /* keeps proportions */
  }

  .banner-logo {
    height: 40px;     /* smaller logo size */
    width: auto;      /* keep proportions */
    top: 5px;         /* nudge down a little */
    left: 25px;        /* keep it tucked left */
  }

  .banner-text h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .banner-text .sub {
    font-size: 0.95rem;
    margin-top: 2px;
  }
}
