:root{
  --bg: #f3fbf6;
  --panel: #ffffff;
  --panel2: #f8fffb;
  --text: #0f172a;
  --muted: #475569;

  /* Logo-matched palette (brighter “grass” green + teal/blue) */
  --green: #1f8f3a;   /* grass green */
  --green2:#2fbf4d;   /* brighter grass highlight */
  --blue:  #07586e;   /* logo teal/blue */
  --blue2: #0a6c88;   /* lighter teal accent */

  --shadow: 0 18px 40px rgba(15,23,42,.12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 60%, #ffffff 100%);
  color: var(--text);
  overflow-x: hidden;
  padding-bottom: 0; /* mobile bar adds space only on small screens */
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
}

/* Promo bar */
.promo[hidden]{ display:none !important; } /* hard-stop empty bar */
.promo{
  position: sticky;
  top: 0;
  z-index: 10020;
  background: linear-gradient(90deg, var(--green2), var(--green), var(--blue));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.promo-inner{
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content: space-between;
  padding: 10px 0;
  position: relative;
}
.promo-text{
  font-weight: 800;
  letter-spacing: .2px;
}
.promo-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  margin-top: 6px;
  width: fit-content;
}
.promo-cta:hover{ text-decoration:none; }
.promo-close{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.16);
  color:#fff;
  cursor:pointer;
  font-size: 20px;
  line-height: 1;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 10010;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.brand-logo{
  height: 38px;
  width: auto;
  display:block;
}
.brand-text{ min-width: 0; }
.brand-name{
  font-weight: 1000;
  letter-spacing: .2px;
  line-height: 1.1;
}
.brand-sub{
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.1;
}

.nav{
  display:flex;
  gap: 16px;
  align-items:center;
}
.nav a{
  font-weight: 850;
  color: rgba(15,23,42,.80);
  text-decoration:none;
}
.nav a:hover{ text-decoration:none; }

.actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
  font-weight: 900;
  cursor:pointer;
  text-decoration:none;
  white-space: nowrap;
}
.btn:hover{ text-decoration:none; }
.btn.small{ padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.btn.ghost{ background: rgba(255,255,255,.70); }
.btn.primary{
  background: linear-gradient(135deg, var(--green), var(--green2));
  border-color: rgba(15,23,42,.08);
  color: #fff;
}

.nav-toggle{
  display:none;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  cursor:pointer;
}
.nav-toggle-icon{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}
.nav-toggle-icon:before,
.nav-toggle-icon:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background: var(--text);
  border-radius:2px;
}
.nav-toggle-icon:before{ top: -6px; }
.nav-toggle-icon:after{ top: 6px; }

.mobile-nav{
  display:none;
  border-top: 1px solid rgba(15,23,42,.08);
  padding: 10px 0 12px;
}
.mobile-nav.open{ display:block; }
.mobile-nav-link{
  display:block;
  padding: 10px 0;
  font-weight: 900;
  text-decoration:none;
}
.mobile-nav-actions{
  display:flex;
  gap: 10px;
  padding-top: 10px;
  flex-wrap: wrap;
}

/* Hero */
.hero{ padding: 26px 0 10px; }
.hero-card{
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(47,191,77,.18), transparent 55%),
    radial-gradient(900px 360px at 80% 10%, rgba(7,88,110,.14), transparent 60%),
    #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 22px;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -.3px;
}
.lead{
  margin: 0;
  color: rgba(15,23,42,.78);
  font-size: 16.5px;
  line-height: 1.5;
}
.hero-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pills{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pill{
  font-size: 13px;
  font-weight: 850;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(47,191,77,.12);
  border: 1px solid rgba(47,191,77,.18);
}

/* Sections */
.section{ padding: 26px 0; }
.section h2{
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -.2px;
}
.muted{ color: var(--muted); }
.small{ font-size: 13px; }
.section-head{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: end;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 26px rgba(15,23,42,.08);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: rgba(15,23,42,.74); line-height: 1.5; }

.meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tag{
  font-size: 12.5px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bundle{
  display:flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 14px;
  flex-wrap: wrap;
}
.bundle-left{ flex: 1 1 420px; min-width: 0; }
.bundle-right{ flex: 0 0 280px; }
.bundle-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,.78);
}
.bundle-price .price{
  font-size: 22px;
  font-weight: 1000;
}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form{
  display:grid;
  gap: 12px;
}
label{
  display:block;
  font-weight: 850;
  margin-bottom: 6px;
}
.input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 12px 12px;
  font-size: 16px;
  outline: none;
  background: #fff;
}
textarea.input{ resize: vertical; }

.notice{
  background: rgba(47,191,77,.12);
  border: 1px solid rgba(47,191,77,.20);
  border-radius: 14px;
  padding: 12px;
  font-weight: 750;
}

.sep{
  border: none;
  border-top: 1px solid rgba(15,23,42,.10);
  margin: 14px 0;
}

.footer{ padding: 26px 0 30px; }
.footer-inner{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Drawer */
.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.48);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9998;
}
.drawer-overlay.open{
  opacity: 1;
  pointer-events: auto;
}
.drawer{
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: min(520px, 92vw);
  background: #fff;
  border-left: 1px solid rgba(15,23,42,.10);
  transform: translateX(105%);
  transition: transform .20s ease;
  z-index: 9999;
  display:flex;
  flex-direction: column;
}
.drawer.open{ transform: translateX(0); }

.drawer-head{
  padding: 14px;
  border-bottom: 1px solid rgba(15,23,42,.10);
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
}
.drawer-title h2{ margin:0 0 4px; }
.drawer-title p{ margin:0; color: var(--muted); font-weight: 650; }
.drawer-body{ padding: 14px; overflow:auto; }
.drawer-body h4{
  margin: 10px 0 8px;
  font-size: 15px;
  letter-spacing: .2px;
}
.drawer-foot{
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(15,23,42,.10);
  display:flex;
  gap: 10px;
}

/* Accordions */
.accordion{ margin-top: 14px; }
.acc-item{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 10px;
}
.acc-btn{
  width: 100%;
  text-align:left;
  padding: 12px 12px;
  border: none;
  background: rgba(15,23,42,.04);
  font-weight: 900;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  cursor:pointer;
}
.acc-btn span{ color: rgba(15,23,42,.55); font-weight: 750; }
.acc-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .20s ease;
  background: #fff;
}
.acc-item.open .acc-panel{ max-height: 500px; }
.acc-panel .inner{ padding: 12px; }

/* ZIP form tighter on mobile */
.zip-field{ min-width: 0; }
.zip-btn{ width: auto; }

/* ====== iOS-style Mobile Action Bar (MOBILE ONLY) ====== */
.mobile-bar{
  display:none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9997;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.mobile-bar-pill{
  pointer-events: auto;
  width: min(520px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;

  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(15,23,42,.18);
}
.mobile-action{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 4px;

  height: 52px;
  border-radius: 16px;
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.08);

  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.mobile-action:hover{ text-decoration:none; }
.mobile-action:active{ transform: scale(.98); }
.mobile-label{
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .2px;
}
.mobile-action.primary{
  background: linear-gradient(135deg, var(--green), var(--green2));
  border-color: rgba(15,23,42,.08);
  color: #ffffff;
}

@media (max-width: 820px){
  body{ padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-bar{ display:block; }
}

/* Responsive */
@media (max-width: 960px){
  .grid3{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .bundle-right{ flex: 1 1 280px; }
}

@media (max-width: 860px){
  .nav{ display:none; }
  .actions{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .header-inner{ gap: 10px; }
  .brand-logo{ height: 36px; }
}

@media (max-width: 520px){
  .hero-card{ padding: 18px; border-radius: 20px; }
  #contact .cta-row{
    flex-direction: column;
    align-items: stretch;
  }
  #contact .cta-row .btn{
    width: 100%;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .zip-btn{ width: 100%; }
}

@media (max-width: 380px){
  .mobile-bar-pill{ gap: 8px; padding: 9px; }
  .mobile-action{ height: 50px; }
}
