/* ============================================
   All Seasons Hardscape — Brand Stylesheet
   Palette: charcoal / sandstone / off-white + slate-blue accent
   Type: Archivo (headings) + Work Sans (body)
   ============================================ */

:root {
  --charcoal: #23262b;
  --charcoal-soft: #383c42;
  --slate: #55606b;
  --sandstone: #c9a877;
  --sandstone-light: #e8dcc4;
  --off-white: #f7f5f0;
  --white: #ffffff;
  --accent: #35617e;
  --accent-dark: #24455a;
  --success: #4c7a5c;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 6px 20px rgba(35, 38, 43, 0.12);
  --shadow-soft: 0 2px 10px rgba(35, 38, 43, 0.08);
  --container: 1140px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--slate); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--charcoal); }
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--off-white);
  border-bottom: 1px solid rgba(35,38,43,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--charcoal);
}
.brand img { height: 40px; width: auto; }
.brand span.tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
}
.nav-links a.active, .nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); font-size: .92rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--charcoal);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(35,38,43,.08);
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: flex; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--accent-dark) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 24px 110px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-art { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.hero-badges { display:flex; gap:26px; margin-top:38px; flex-wrap: wrap; }
.hero-badges div { font-family: var(--font-head); font-size: .82rem; color: rgba(255,255,255,.75); }
.hero-badges strong { display:block; font-size:1.5rem; color: var(--sandstone-light); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 60px; }
}

/* page header for interior pages */
.page-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}
.page-header h1, .page-header h2 { color: var(--white); }
.page-header p { color: rgba(255,255,255,.78); max-width: 60ch; margin: 10px auto 0; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 46px; }
.section-alt { background: var(--white); }
.section-dark {
  background: var(--charcoal);
  color: var(--white);
}
.section-dark h2, .section-dark p { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.75); }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(35,38,43,.06);
}
.card .icon {
  width: 46px; height: 46px;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; }

.service-card { display: flex; flex-direction: column; }
.service-card img { border-radius: var(--radius); margin-bottom: 18px; aspect-ratio: 4/3; object-fit: cover; }

/* Gallery */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(35,38,43,.18);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-cap {
  padding: 14px 16px;
}
.gallery-cap .cat {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.gallery-cap h4 { margin: .2em 0 0; font-family: var(--font-head); font-size: 1rem; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--accent);
}
.stars { color: var(--sandstone); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-quote { font-size: 1.05rem; color: var(--charcoal); font-style: italic; }
.testimonial-name { font-family: var(--font-head); font-weight: 700; margin-top: 18px; }
.testimonial-project { font-size: .85rem; color: var(--slate); }

/* Stats strip */
.stats-strip {
  background: var(--sandstone-light);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-grid strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--accent-dark);
}
.stats-grid span { font-size: .85rem; color: var(--charcoal-soft); }

/* CTA band */
.cta-band {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); }

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
label { font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--charcoal); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(35,38,43,.2);
  background: var(--white);
  color: var(--charcoal);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(53,97,126,.15);
}
.hidden-field { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 10px; }
.form-success {
  display: none;
  background: #eaf3ec;
  border: 1px solid var(--success);
  color: #244f34;
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-family: var(--font-head);
  font-weight: 600;
}

/* Contact info cards */
.contact-info-grid { display: grid; gap: 18px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.contact-info-item .icon { flex-shrink: 0; width: 34px; height: 34px; color: var(--accent); }
.contact-info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-info-item p { margin: 0; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.72);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: var(--sandstone-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; }
.footer-brand span { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 1.1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
