/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c2410c; text-decoration: none; }
a:hover { text-decoration: underline; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* ── Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Header ────────────────────────────────────── */
.site-header {
  background: #1a1a1a;
  color: #fff;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo img { display: block; height: 30px; width: auto; }
.logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}
.nav-links a { color: #ccc; font-size: 0.9rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.btn-nav {
  background: #c2410c;
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
}
.btn-nav:hover { background: #9a3412; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.admin-label { color: #fbbf24; font-size: 0.85rem; font-weight: 600; }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(160deg, rgba(15,15,15,0.85) 0%, rgba(26,26,26,0.78) 40%, rgba(31,26,24,0.78) 70%, rgba(45,45,45,0.85) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 0.75rem; line-height: 1.2; }
.hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.5rem; color: #ddd; }

/* ── Sections ──────────────────────────────────── */
section { padding: 3.5rem 0; }
section:nth-child(even) { background: #f9fafb; }
.page-intro {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 2.5rem 0;
}
.page-intro h1 { font-size: 1.8rem; }
.page-intro p { color: #ccc; margin-top: 0.5rem; }

/* ── Cards ─────────────────────────────────────── */
.cards { display: grid; gap: 1.5rem; }
.cards.three-col { grid-template-columns: repeat(3, 1fr); }
.cards.two-col { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  padding: 0 0 1.25rem 0;
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: #f3f4f6;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1rem; margin: 0 1.25rem 0.4rem; }
.card p { color: #555; font-size: 0.92rem; line-height: 1.55; margin: 0 1.25rem; }
.card-icon { font-size: 2rem; display: block; margin: 0 1.25rem 0.5rem; padding-top: 1.25rem; }

/* ── Service items ─────────────────────────────── */
.service-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.service-item:last-child { border-bottom: none; }
.service-item h2 { font-size: 1.2rem; color: #c2410c; margin-bottom: 0.3rem; }
.service-item p { color: #555; line-height: 1.6; }
.service-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #f3f4f6;
}

/* ── Disclosure banner ─────────────────────────── */
.disclosure-banner {
  background: #fef3c7;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #92400e;
  line-height: 1.5;
}
.disclosure-banner .container { max-width: 960px; }

/* ── Product cards ─────────────────────────────── */
.product-card { padding: 1.5rem; }
.product-card h3 { color: #c2410c; margin: 0 0 0.5rem; }
.product-card p { margin: 0 0 0.75rem; }
.product-card .btn { margin-top: 0.5rem; }

/* ── CTA section ───────────────────────────────── */
.cta-section { text-align: center; background: #1a1a1a; color: #fff; }
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section p { color: #ccc; margin-bottom: 1rem; }

/* ── Trust sections ────────────────────────────── */
.why-us { text-align: center; }
.why-us p { max-width: 650px; margin: 0 auto 1.5rem; }

.trust-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.75rem;
}

.trust-list {
  list-style: none;
  max-width: 520px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.trust-list li {
  font-size: 0.95rem;
  color: #444;
  padding: 0.5rem 0;
  line-height: 1.45;
}

.trust-section {
  text-align: center;
  background: #f9fafb;
  padding: 3.5rem 0;
}
.trust-section h2 { margin-bottom: 0.6rem; }
.trust-section p { max-width: 600px; margin: 0 auto; color: #555; line-height: 1.55; }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #d4531e, #c2410c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(194,65,12,0.3);
}
.btn-primary:hover { background: linear-gradient(135deg, #c2410c, #9a3412); box-shadow: 0 4px 14px rgba(194,65,12,0.4); }
.btn-outline {
  background: transparent;
  border: 2px solid #c2410c;
  color: #c2410c;
}
.btn-outline:hover { background: #c2410c; color: #fff; }
.cta-section .btn-outline { border-color: #fff; color: #fff; }
.cta-section .btn-outline:hover { background: #fff; color: #1a1a1a; }
.btn-full { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ── Form ──────────────────────────────────────── */
.lead-form { max-width: 600px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.65rem; border: 1px solid #d1d5db;
  border-radius: 6px; font-size: 1rem; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
fieldset {
  border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 1.25rem; margin-bottom: 1.25rem;
}
fieldset legend { font-weight: 700; font-size: 0.9rem; color: #c2410c; padding: 0 0.5rem; }
.form-error { background: #fef2f2; color: #991b1b; padding: 0.75rem; border-radius: 6px; margin-bottom: 1rem; }
.form-success { background: #f0fdf4; color: #166534; padding: 0.75rem; border-radius: 6px; margin-bottom: 1rem; }

/* ── Thank you ─────────────────────────────────── */
.thank-you { text-align: center; padding: 5rem 0; }
.thank-you h1 { margin-bottom: 1rem; }
.thank-you p { margin-bottom: 0.5rem; color: #555; }
.thank-you .btn { margin-top: 1.5rem; }

/* ── Admin Dashboard ───────────────────────────── */
.dashboard-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem;
}
.dashboard-actions { display: flex; gap: 0.5rem; align-items: center; }
.dashboard-actions input {
  padding: 0.5rem; border: 1px solid #d1d5db;
  border-radius: 6px; font-size: 0.9rem; min-width: 180px;
}
.filter-select {
  padding: 0.5rem; border: 1px solid #d1d5db;
  border-radius: 6px; font-size: 0.9rem; background: #fff;
}
.tabs { display: flex; gap: 0; margin-bottom: 1rem; border-bottom: 2px solid #e5e7eb; }
.tab {
  padding: 0.5rem 1.2rem; border: none; background: none;
  font-size: 0.9rem; font-weight: 600; color: #666;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab.active { color: #c2410c; border-bottom-color: #c2410c; }
.lead-row {
  border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 1rem; margin-bottom: 0.75rem; background: #fff;
}
.lead-row.lead-closed { opacity: 0.55; }
.lead-header { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.lead-id { color: #999; font-size: 0.8rem; }
.lead-date { color: #999; font-size: 0.8rem; margin-left: auto; }
.lead-details { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0.75rem; font-size: 0.88rem; }
.lead-col { color: #444; }
.lead-col > div { margin-bottom: 0.2rem; }
.lead-col label { display: block; font-size: 0.75rem; font-weight: 600; color: #888; margin-bottom: 0.15rem; margin-top: 0.4rem; }
.lead-col input, .lead-col select, .lead-col textarea {
  width: 100%; padding: 0.35rem; border: 1px solid #d1d5db;
  border-radius: 5px; font-size: 0.85rem; font-family: inherit;
}
.lead-col textarea { resize: vertical; }
.wa-link { text-decoration: none; margin-left: 0.3rem; }
.save-lead { margin-top: 0.5rem; }
.save-msg { color: #16a34a; font-size: 0.85rem; margin-left: 0.5rem; font-weight: 600; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fef2f2; color: #991b1b; }
.badge-new { background: #dbeafe; color: #1e40af; }
.badge-done { background: #f3f4f6; color: #6b7280; }
.badge {
  display: inline-block; padding: 0.15rem 0.5rem;
  border-radius: 12px; font-size: 0.75rem; font-weight: 600;
}

#leads-table-container { overflow-x: auto; }
.leads-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.leads-table th {
  background: #f3f4f6; text-align: left; padding: 0.6rem;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.leads-table td { padding: 0.6rem; border-top: 1px solid #e5e7eb; vertical-align: top; }
.leads-table tr.contacted td { opacity: 0.5; }

/* ── Footer ────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.site-footer a { color: #ccc; }
.site-footer p { margin-bottom: 0.4rem; }
.site-footer .footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.site-footer .btn { margin: 0.75rem 0 1rem; }
.site-footer .copyright {
  font-size: 0.75rem;
  color: #666;
  margin-top: 1rem;
}
.disclosure { font-size: 0.75rem; color: #666; margin-top: 0.5rem; }

/* ── Utility ────────────────────────────────────── */
.hidden { display: none !important; }
.center { text-align: center; }
.btn-spacer { margin-top: 2.5rem; }

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 640px) {
  .logo img { height: 26px; }

  .hero {
    min-height: auto;
    flex-direction: column;
    padding: 0;
  }
  .hero-bg {
    position: static;
    width: 100%;
    height: auto;
    object-position: center;
  }
  .hero-overlay {
    padding: 1.5rem 0 2rem;
    background: #1a1a1a;
  }
  .hero h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
  .hero p { font-size: 0.95rem; max-width: 100%; margin-bottom: 1.25rem; }

  .card-img { height: 200px; }
  .cards { gap: 1.75rem; }

  .cards.three-col, .cards.two-col { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; }
  .service-img { height: 180px; }

  .btn-spacer { margin-top: 1.5rem; }
  section { padding: 2rem 0; }

  body { font-size: 0.95rem; line-height: 1.6; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.95rem; }
  .trust-list li { font-size: 0.95rem; }

  .service-item { padding: 1.25rem 0; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #1a1a1a; flex-direction: column; padding: 1rem;
    gap: 0.75rem; border-top: 1px solid #333;
  }
  .nav-links.open { display: flex; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .lead-details { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .dashboard-header { flex-direction: column; align-items: stretch; }
  .dashboard-actions { flex-direction: column; }
  .dashboard-actions input { min-width: auto; }
}
