/* AquaSure Irrigation — shared styles */
:root {
  --ink: #1B2A1E;
  --ink-2: #4A5A4E;
  --ink-3: #79887D;
  --paper: #FFFFFF;
  --paper-2: #F4F7F3;
  --green: #2F6B34;
  --green-deep: #234F27;
  --green-bright: #4C9E52;
  --rule: #DEE7DD;
  --shadow: 0 1px 2px rgba(27,42,30,.06), 0 8px 24px -16px rgba(27,42,30,.25);
  --wrap: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .ui { font-family: Quicksand, "Trebuchet MS", system-ui, sans-serif; font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- top stack: promo + header move together, no jump ---------- */
.top-stack {
  position: sticky; top: 0; z-index: 30;
}
.promo {
  background: var(--green); color: #fff; text-align: center;
  font-family: Quicksand, sans-serif; font-weight: 600; font-size: .95rem;
  padding: .6rem 1.25rem;
}

/* ---------- header ---------- */
header.site {
  background: #fff; border-bottom: 1px solid var(--rule);
}
.bar {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.25rem; max-width: var(--wrap); margin: 0 auto;
}
.brand {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em; flex: none;
  display: flex; align-items: center; gap: .55rem;
}
.brand-mark { width: 34px; height: 34px; flex: none; display: block; }
.brand b { color: var(--green); font-weight: 700; }
.brand span { font-size: .8rem; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
nav.main { margin-left: auto; display: flex; gap: 1.35rem; flex-wrap: wrap; }
nav.main a {
  font-family: Quicksand, sans-serif; font-weight: 600; font-size: .95rem;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--green); }
.tel {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--green); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .4rem;
}
@media (max-width: 62rem) {
  .bar { flex-wrap: wrap; gap: .6rem 1rem; }
  nav.main { order: 3; width: 100%; margin-left: 0; gap: 1rem; overflow-x: auto; padding-bottom: .1rem; }
  .tel { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: Quicksand, sans-serif; font-weight: 700;
  font-size: 1rem; text-decoration: none; border-radius: 6px;
  padding: .8rem 1.5rem; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--paper-2); }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: #1D4522;
  text-shadow: 0 1px 12px rgba(12,26,15,.45);
}
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 58%;
  opacity: 0; transition: opacity .8s ease;
}
.slide.is-active { opacity: 1; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,42,24,.66) 0%, rgba(20,42,24,.46) 40%, rgba(20,42,24,.80) 100%);
}
.hero .hero-in { position: relative; z-index: 2; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(2px);
  transition: background .2s ease;
}
.hero-nav:hover { background: rgba(255,255,255,.28); }
.hero-nav.prev { left: 1.1rem; }
.hero-nav.next { right: 1.1rem; }
@media (max-width: 40rem) { .hero-nav { width: 2.3rem; height: 2.3rem; font-size: 1.2rem; } .hero-nav.prev { left: .5rem; } .hero-nav.next { right: .5rem; } }
.dots {
  position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 3;
  display: flex; gap: .5rem; justify-content: center;
}
.dots button {
  width: .65rem; height: .65rem; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.7);
  transition: background .2s ease, transform .2s ease;
}
.dots button[aria-selected="true"] { background: #fff; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- map ---------- */
.map-wrap {
  position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--rule); background: var(--paper-2);
}
.map-wrap iframe { display: block; width: 100%; height: 22rem; border: 0; }
@media (max-width: 40rem) { .map-wrap iframe { height: 17rem; } }
.map-pin {
  position: absolute; z-index: 2; top: 1rem; left: 1rem;
  background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(27,42,30,.22);
  padding: .7rem .95rem; display: flex; gap: .6rem; align-items: center;
  max-width: calc(100% - 2rem);
}
.map-pin .dot {
  width: .95rem; height: .95rem; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--green); flex: none;
  box-shadow: 0 0 0 3px rgba(47,107,52,.18);
}
.map-pin b { font-family: Quicksand, sans-serif; font-size: .98rem; color: var(--ink); display: block; line-height: 1.25; }
.map-pin span { font-family: Quicksand, sans-serif; font-size: .82rem; color: var(--ink-3); }
.map-note { text-align: center; color: var(--ink-3); font-size: .92rem; margin: 1rem 0 0; }
.hero-in {
  position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto;
  padding: 6rem 1.25rem 6.5rem; text-align: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 4rem); line-height: 1.05; margin: 0 0 1rem;
  letter-spacing: -.015em; text-wrap: balance;
}
.hero p.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 0 auto 2rem;
  max-width: 34rem; color: rgba(255,255,255,.93);
}
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.since {
  display: inline-block; font-family: Quicksand, sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: .3rem .85rem; margin-bottom: 1.4rem;
}

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
section.alt { background: var(--paper-2); }
.eyebrow {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-bright);
  margin: 0 0 .6rem;
}
h2.sec {
  font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; margin: 0 0 1rem;
  color: var(--green-bright); letter-spacing: -.01em; text-wrap: balance;
}
h2.sec.center, .center { text-align: center; }
.sec-lede { color: var(--ink-2); max-width: 38rem; margin: 0 auto 2.5rem; }

/* two-column about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 54rem) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.photo {
  display: block; width: 100%; height: 100%;
  min-height: 20rem; max-height: 27rem; object-fit: cover;
  border-radius: 10px; box-shadow: var(--shadow);
}

/* three-up */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 54rem) { .trio { grid-template-columns: 1fr; gap: 2.5rem; } }
.trio .item { text-align: center; }
.disc {
  width: 11rem; height: 11rem; border-radius: 50%; margin: 0 auto 1.25rem;
  border: 4px solid var(--green); box-shadow: var(--shadow);
  overflow: hidden;
}
.disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trio h3 { font-size: 1.2rem; color: var(--green-bright); margin: 0 0 .6rem; }
.trio p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* services list */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 46rem) { .svc { grid-template-columns: 1fr; } }
.svc .card {
  background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.svc h3 { margin: 0 0 .4rem; font-size: 1.1rem; color: var(--ink); }
.svc p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.svc .tag {
  display: inline-block; font-family: Quicksand, sans-serif; font-weight: 700;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: var(--paper-2); border-radius: 4px;
  padding: .2rem .5rem; margin-bottom: .6rem;
}

/* towns */
.towns { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.towns span {
  font-family: Quicksand, sans-serif; font-weight: 600; font-size: .9rem;
  background: #fff; border: 1px solid var(--rule); border-radius: 999px;
  padding: .4rem .9rem; color: var(--ink-2);
}

/* CTA band */
.band { background: var(--green); color: #fff; text-align: center; }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 .8rem; }
.band p { color: rgba(255,255,255,.92); max-width: 34rem; margin: 0 auto 1.8rem; }

/* ---------- legal / prose pages ---------- */
.prose { max-width: 44rem; margin: 0 auto; }
.prose h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); color: var(--green-bright); margin: 0 0 .4rem; }
.prose .updated { color: var(--ink-3); font-family: Quicksand, sans-serif; font-weight: 600; font-size: .9rem; margin: 0 0 2rem; }
.prose h2 { font-size: 1.25rem; color: var(--ink); margin: 2.2rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--green); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 54rem) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  padding: 1.75rem; box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 1.2rem; font-size: 1.15rem; color: var(--green-bright); }
.row { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.1rem; }
.row .lab {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  width: 5.2rem; flex: none; padding-top: .18rem;
}
.row .val { color: var(--ink); }
.row .val a { text-decoration: none; }
form label {
  display: block; font-family: Quicksand, sans-serif; font-weight: 600;
  font-size: .9rem; color: var(--ink-2); margin-bottom: .35rem;
}
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .65rem .75rem; border: 1px solid var(--rule); border-radius: 6px;
  background: #fff; margin-bottom: 1rem;
}
form textarea { min-height: 7rem; resize: vertical; }
form button { width: 100%; }

/* ---------- footer ---------- */
footer.site { background: #17301B; color: rgba(255,255,255,.8); padding: 3rem 0 2rem; font-size: .95rem; }
footer.site a { color: rgba(255,255,255,.85); text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 62rem) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 40rem) { .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
footer.site h4 {
  font-family: Quicksand, sans-serif; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 .8rem;
}
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.foot-brand { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; margin: 0 0 .5rem; }
.foot-note {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: .85rem; color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq { max-width: 44rem; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 1.02rem;
  color: var(--ink); cursor: pointer; list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.15rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; font-weight: 600;
  color: var(--green); line-height: 1; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--green); }
.faq .ans { padding: 0 1.25rem 1.2rem; border-top: 1px solid var(--rule-soft); }
.faq .ans p { color: var(--ink-2); margin: 1rem 0 0; font-size: .99rem; }
.faq .ans strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--green); text-decoration: underline; }
