/* ===== Base ===== */
:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-darker: #14532d;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

a { text-decoration: none; color: inherit; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(22,163,74,0.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-phone { background: var(--green); color: #fff; padding: 10px 18px; font-size: 0.95rem; }
.btn-phone:hover { background: var(--green-dark); }
.btn-lg { font-size: 1.1rem; padding: 16px 30px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; }
.brand-mark { font-size: 1.5rem; }
.brand-name strong { color: var(--green); }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 500; color: var(--slate); transition: color 0.15s; }
.nav a:hover { color: var(--green); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--green-darker), var(--green-dark) 60%, var(--green));
  color: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 50px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  color: #bbf7d0;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: #dcfce7; max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 8px; font-weight: 500; color: #ecfdf5; }

.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.hero-card-sub { color: var(--muted); margin-bottom: 22px; font-size: 0.98rem; }

/* Form inside the hero card: drop the inner card chrome */
.hero-card .estimate-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 16px;
}
.hero-card .form-submit { align-self: stretch; }

/* ===== Trust bar ===== */
.trustbar { background: var(--ink); color: #e2e8f0; }
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 48px; max-width: 600px; font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.services { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); }
.areas { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; }
.service h3, .area h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service p, .area p { color: var(--muted); }

/* ===== Steps ===== */
.step { text-align: center; padding: 10px; }
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(22,163,74,0.3);
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ===== Estimate form ===== */
.form-wrap { max-width: 680px; }
.estimate-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field input,
.field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}
.field input::placeholder { color: var(--muted); }

/* Dropzone */
.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 30px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.dropzone:hover { border-color: var(--green); }
.dropzone.dragging { border-color: var(--green); background: #ecfdf5; }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: #ecfdf5; }
.dz-icon { font-size: 1.8rem; }
.dz-main { font-weight: 600; color: var(--ink); word-break: break-word; }
.dz-sub { font-size: 0.85rem; color: var(--muted); }
.dz-browse {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--green);
  padding: 9px 18px;
  border-radius: 999px;
}
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.form-submit { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: 0.9rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--green); font-weight: 600; }

@media (max-width: 640px) {
  .estimate-form { padding: 24px; }
  .form-submit { align-self: stretch; }
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green-darker));
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 720px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.cta p { color: #dcfce7; font-size: 1.15rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.cta-email { font-size: 1rem !important; color: #bbf7d0 !important; margin: 0 !important; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 50px 0 24px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-inner .brand-name { font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer-inner .brand-name strong { color: #4ade80; }
.footer-tag { margin-top: 10px; max-width: 360px; color: #94a3b8; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-weight: 600; color: #e2e8f0; }
.footer-contact a:hover { color: #4ade80; }
.footer-bottom { padding-top: 20px; font-size: 0.9rem; color: #94a3b8; }

/* ===== Floating call (mobile) ===== */
.floating-call {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(22,163,74,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .services, .steps, .areas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .btn-phone .label { display: none; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }
  .services, .steps, .areas { grid-template-columns: 1fr; }
  .floating-call { display: inline-flex; }
  body { padding-bottom: 70px; }
}
