/* =========================================================
   CHS Contracting — clean static rebuild
   Brand: accent blue #5FA8E7, Roboto Slab headings, Montserrat body
   ========================================================= */

:root {
  --blue: #5fa8e7;
  --blue-dark: #4a93d4;
  --ink: #212121;
  --body: #3a3f44;
  --muted: #6b7280;
  --line: #e6e9ee;
  --bg-alt: #f5f7fa;
  --max: 1140px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 40, 70, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--body);
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: "Roboto Slab", Georgia, serif; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
}
.btn-primary { background: var(--blue); color: #14334d; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline.dark { background: transparent; }
.btn-phone { background: var(--blue); color: #14334d; padding: 10px 18px; }
.btn-phone:hover { background: var(--blue-dark); color: #fff; }
.btn-lg { padding: 15px 36px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { height: 46px; width: auto; display: block; }
.brand-text { font-family: "Roboto Slab", serif; font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1; }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background: url("../img/hero.jpg") center/cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,25,45,.78) 0%, rgba(10,25,45,.45) 55%, rgba(10,25,45,.2) 100%);
}
.hero-content { position: relative; max-width: 640px; padding-top: 60px; padding-bottom: 60px; }
.hero-content h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .35em; }
.hero-content p { font-size: 1.12rem; color: #eef2f7; margin-bottom: 1.8em; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: -.2em auto 2.6em; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 26px; margin-top: 34px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card, .service {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow);
}
.card { text-align: center; }
.card h3, .service h3 { font-size: 1.25rem; }
.service { border-top: 4px solid var(--blue); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(95, 168, 231, .12); color: var(--blue);
  margin-bottom: 16px;
}
.service-icon svg { width: 28px; height: 28px; display: block; }
.service .note { display: inline-block; margin-top: 4px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.card .btn { margin-top: 8px; }

/* ---------- areas simple list (homepage) ---------- */
.areas-simple { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 800px; margin: 30px auto 0; }
.areas-simple a {
  display: inline-block; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.areas-simple a:hover { border-color: var(--blue); color: var(--blue); }
.areas-simple a.all { background: var(--blue); border-color: var(--blue); color: #14334d; }
.areas-simple a.all:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* ---------- portfolio ---------- */
.portfolio {
  background: linear-gradient(rgba(10,25,45,.72), rgba(10,25,45,.72)), url("../img/unsplash-landscaping.webp") center/cover;
  color: #fff;
}
.portfolio .section-title, .portfolio p { color: #fff; }
.portfolio-inner { max-width: 620px; }
.portfolio p { color: #e8eef5; margin-bottom: 1.6em; }

/* ---------- about ---------- */
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; margin-top: 36px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--body);
  background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(95,168,231,.18);
}
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1d8a4e; }
.form-status.err { color: #c0392b; }
.contact-info { background: var(--bg-alt); border-radius: var(--radius); padding: 30px 28px; }
.contact-info h3 { font-size: 1.2rem; }
.contact-info p { margin-bottom: 1.1em; }

/* ---------- footer ---------- */
.site-footer { background: #14202e; color: #c8d2dd; padding: 48px 0 28px; text-align: center; }
.footer-brand { margin-bottom: .6em; }
.footer-logo { height: 104px; width: auto; display: inline-block; }
.site-footer .copyright { color: #8b97a4; font-size: .88rem; margin-top: 1.4em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .container { padding: 0 18px; }
  .header-inner { gap: 8px; }
  .brand-mark { height: 38px; }
  .brand-text { font-size: 16px; white-space: nowrap; }
  .btn-phone { display: inline-flex; align-items: center; margin-left: auto; padding: 8px 11px; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
  .nav-toggle { display: block; margin-left: 6px; font-size: 24px; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cards.two, .cards.three { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
