/* Acre & Abode Home and Garden Services
   Warm, soft palette and imagery (like the original concept) combined with a
   plain, list-led services section and simple footer (not the boxed icon-grid
   template reused across the studio's other client sites). */

:root {
  --navy: #2c485d;
  --navy-soft: #46617a;
  --green-dark: #4a9226;
  --green: #6fbd3a;
  --green-light: #a8d977;
  --ink: #223648;
  --ink-soft: #57697a;
  --white: #ffffff;
  --cream: #f6faf5;
  --cream-dark: #eef4ea;
  --border: #dde6df;

  --font-display: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 0.87rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.65em;
}

.section { padding: 72px 0; }
.section--alt { background: var(--cream-dark); }

.bundle-band { background: var(--navy); color: var(--white); padding: 88px 0; }
.bundle-band .eyebrow { color: var(--green-light); }
.bundle-band h2 { color: var(--white); }
.bundle-band p.lead { font-size: 1.3rem; color: var(--white); }
.bundle-band p { color: rgba(255,255,255,0.82); }

/* Buttons - soft and rounded, kept from the original concept */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--text {
  border: none;
  padding: 0;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2px solid var(--green);
  border-radius: 0;
}
.btn--text:hover { color: var(--green-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); border-color: var(--green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); }

/* Hero - soft cream background, two columns with a real photo */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-media { min-width: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 660px;
  object-fit: cover;
  border-radius: 14px;
}
.hero p.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 460px; }
.hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

.badges { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.badge { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.badge svg { flex-shrink: 0; color: var(--green); }

.page-hero { padding: 48px 0; text-align: center; background: var(--cream-dark); }

/* Services - plain list, not a boxed icon-card grid */
.service-list { border-top: 1px solid var(--border); margin-top: 28px; }
.service-item { border-bottom: 1px solid var(--border); }
.service-item h3 { margin: 0; }

.service-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.service-toggle:hover { color: var(--green-dark); }
.service-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.service-chevron {
  flex-shrink: 0;
  display: flex;
  color: var(--green);
  transition: transform 0.2s ease;
}
.service-item.is-open .service-chevron { transform: rotate(180deg); }

.service-panel p {
  margin: 0 0 22px;
  padding-right: 40px;
  color: var(--ink-soft);
}

/* Collapsing only applies once JS confirms it can run the toggle - with no
   JS, panels stay fully visible so the content is never lost */
.js .service-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.js .service-item.is-open .service-panel { max-height: 400px; }
.js .service-chevron { display: flex; }
.service-chevron { display: none; }

.extras-note {
  margin-top: 32px;
  padding-top: 28px;
}

.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.photo-strip img { width: 100%; height: 420px; object-fit: cover; object-position: top center; border-radius: 14px; display: block; }
.photo-strip--three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr; }
}

.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vision-mission-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.vision-mission-card h3 { margin: 0 0 10px; color: var(--navy); }
.vision-mission-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) {
  .vision-mission { grid-template-columns: 1fr; }
}

.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.service-card {
  flex: 0 1 210px;
  aspect-ratio: 1 / 1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card h3 { margin: 0 0 10px; font-size: 1.08rem; color: var(--navy); }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 480px) {
  .service-card { aspect-ratio: auto; flex-basis: 100%; }
}
.extras-note h3 { color: var(--green-dark); margin-bottom: 8px; }
.extras-note p { margin-bottom: 0; color: var(--ink-soft); }

/* About / split - text and a real photo */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
.split-media img { width: 100%; height: auto; max-height: 400px; object-fit: cover; object-position: top center; border-radius: 14px; }

.credentials { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--border); }
.credentials li { padding: 13px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; color: var(--ink-soft); font-size: 0.94rem; }
.credentials li strong { color: var(--ink); min-width: 130px; flex-shrink: 0; }

/* Service areas - soft pill tags */
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

/* A note from Kesley - plain, not styled as a review/quote card */
.note { max-width: 560px; margin: 0 auto; text-align: center; }
.note p:first-child { font-size: 1.15rem; color: var(--ink); }
.note .who { font-size: 0.9rem; color: var(--ink-soft); }

/* Simple closing CTA line, no heavy colour band */
.cta-line { text-align: center; }
.cta-line p { color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-list { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-info-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-info-list .label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 4px; }
.contact-info-list a { color: var(--ink); font-weight: 600; }
.contact-info-list a:hover { color: var(--green-dark); }

form.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; font-weight: 600; }
input, textarea, select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); }
textarea { resize: vertical; min-height: 120px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-status { font-weight: 600; min-height: 1.2em; }
.form-status.success { color: var(--green-dark); }
.form-status.error { color: #b3261e; }

/* Footer - brand row, then a divided credit row */
.site-footer { padding: 36px 0 28px; border-top: 1px solid var(--border); background: var(--cream-dark); }
.site-footer .container { display: flex; flex-direction: column; gap: 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 26px; }
.footer-brand span { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.footer-contact { display: flex; align-items: center; gap: 22px; }
.footer-contact a { color: var(--ink-soft); }
.footer-contact a:hover { color: var(--green-dark); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer-bottom a:hover { color: var(--green-dark); }
.social-link { display: inline-flex; color: var(--ink-soft); }
.social-link:hover { color: var(--green-dark); }

/* Responsive */
@media (max-width: 800px) {
  .main-nav { position: fixed; inset: 0 0 0 25%; background: var(--white); flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; gap: 24px; transform: translateX(100%); transition: transform 0.25s ease; border-left: 1px solid var(--border); }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 420px; }
  .service-row { grid-template-columns: 1fr; gap: 6px; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media img { max-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
  .service-columns .row { flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (max-width: 520px) {
  .section { padding: 52px 0; }
}
