/* ============================================================
   LAWSON GROUP — Contractor Template Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --brand-primary:   #2D5A27;
  --brand-secondary: #6B8E4E;
  --brand-accent:    #E07B2A;   /* Orange — urgency, CTAs for contractor */

  --bg-warm:         #F0EDE6;
  --bg-off-white:    #F8F9FA;
  --bg-pale:         #DCE8D4;
  --text-dark:       #2B2B2B;
  --text-muted:      #6B7280;
  --white:           #FFFFFF;

  --font-sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;
  --radius:      8px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --transition:  all 0.2s ease;
  --max-width:   1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--bg-warm); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-primary); }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; }

.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section--dark   { background: var(--brand-primary); color: var(--white); }
.section--cream  { background: var(--bg-warm); }
.section--white  { background: var(--white); }
.text-center { text-align: center; }
.section-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--brand-secondary); margin-bottom: 0.5rem; display: block; }
.section-title { margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

.btn { display: inline-block; padding: 0.85rem 1.75rem; border-radius: var(--radius); font-family: var(--font-sans); font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-align: center; white-space: nowrap; }
.btn--primary  { background: var(--brand-primary); color: var(--white); }
.btn--primary:hover { background: #142d48; color: var(--white); }
.btn--secondary { background: var(--brand-secondary); color: var(--white); }
.btn--secondary:hover { background: #3a6870; color: var(--white); }
.btn--accent   { background: var(--brand-accent); color: var(--white); }
.btn--accent:hover { background: #c46a1e; color: var(--white); }
.btn--outline  { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--brand-primary); }
.btn--lg { padding: 1.1rem 2.25rem; font-size: 1.1rem; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,0.08); padding: 0 1.25rem; }
.nav__inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { font-size: 1.25rem; font-weight: 700; color: var(--brand-primary); }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.nav__links a:hover { color: var(--brand-secondary); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }

/* HERO — split layout */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; background: var(--brand-primary); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: 5rem 3.5rem 5rem 5vw; color: var(--white); }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brand-accent); color: var(--white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 4px; margin-bottom: 1.25rem; width: fit-content; }
.hero__title { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; line-height: 1.1; }
.hero__subtitle { opacity: 0.88; font-size: 1.15rem; margin-bottom: 2rem; line-height: 1.6; max-width: 440px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__phone { margin-top: 2rem; font-size: 1.5rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
.hero__image { background: var(--bg-pale); position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; }
/* REPLACE .hero__image: add background-image: url('/images/hero-work.jpg'); background-size: cover; */

/* TRUST BADGES */
.trust-bar { background: var(--brand-accent); color: var(--white); padding: 1.5rem 1.25rem; }
.trust-bar__inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.92rem; }
.trust-badge__icon { font-size: 1.3rem; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--brand-secondary); transition: var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--brand-accent); }
.service-card__icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-card__title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--brand-primary); }
.service-card__desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* BEFORE/AFTER */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.before-after__panel { border-radius: var(--radius); overflow: hidden; }
.before-after__image-placeholder { background: var(--bg-pale); height: 320px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; }
.before-after__label { background: var(--brand-primary); color: var(--white); text-align: center; padding: 0.6rem 1rem; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* SERVICE AREA */
.service-area__map-placeholder { background: var(--bg-pale); border-radius: var(--radius); height: 380px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; border: 2px dashed var(--brand-secondary); }
.service-area__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.5rem; }
.service-area__list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.service-area__list li::before { content: "✓"; color: var(--brand-secondary); font-weight: 700; }

/* QUOTE CTA BANNER */
.quote-cta { background: var(--brand-primary); color: var(--white); text-align: center; padding: 5rem 1.25rem; }
.quote-cta h2 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.quote-cta p { opacity: 0.88; font-size: 1.15rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.quote-cta .btn + .btn { margin-left: 1rem; }
.quote-cta__phone { margin-top: 1.5rem; font-size: 1.2rem; opacity: 0.9; }
.quote-cta__phone a { color: var(--white); font-weight: 700; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-left: 4px solid var(--brand-secondary); }
.testimonial-card__stars { color: #F59E0B; margin-bottom: 0.75rem; }
.testimonial-card__text { font-size: 0.95rem; line-height: 1.65; margin-bottom: 1rem; }
.testimonial-card__author { font-weight: 700; font-size: 0.9rem; color: var(--brand-primary); }
.testimonial-card__detail { font-size: 0.8rem; color: var(--text-muted); }

/* CONTACT / QUOTE FORM */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact__info h2 { margin-bottom: 1rem; }
.contact__item { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__text strong { display: block; color: var(--brand-primary); font-weight: 600; margin-bottom: 0.1rem; }
.contact__text { font-size: 0.95rem; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--brand-primary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #D1D5DB; border-radius: var(--radius); font-family: var(--font-sans); font-size: 1rem; color: var(--text-dark); transition: var(--transition); background: var(--bg-off-white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(74,132,144,0.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* FOOTER */
.footer { background: var(--brand-primary); color: rgba(255,255,255,0.85); padding: 3.5rem 1.25rem 1.5rem; }
.footer__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand-name { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer__tagline { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.25rem; line-height: 1.5; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.footer__social a:hover { background: var(--brand-secondary); color: var(--white); }
.footer__col-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { max-width: var(--max-width); margin: 1.5rem auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; opacity: 0.6; }
.footer__bottom a { color: inherit; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .hero__content { padding: 4rem 1.25rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .before-after { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 3.5rem 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .trust-bar__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 1.5rem 1.25rem; box-shadow: var(--shadow-lg); gap: 1.25rem; }
  .form-group--row { grid-template-columns: 1fr; }
  .service-area__list { grid-template-columns: 1fr; }
}
