/* =============================================
   Tucson Epoxy Pros — styles.css
   ============================================= */

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

:root {
  --dark:    #111827;
  --amber:   #d97706;
  --amber-h: #b45309;
  --text:    #1f2937;
  --muted:   #6b7280;
  --light:   #f9fafb;
  --border:  #e5e7eb;
  --white:   #ffffff;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.65; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark); padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-logo { color: var(--white); font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: #d1d5db; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--amber); color: var(--white) !important;
  padding: 0.5rem 1.1rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--amber-h) !important; text-decoration: none !important; }

/* ── Hero ── */
.hero {
  background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.hero-text {
  padding: 4rem 3rem 4rem 4rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.25rem;
}
.hero-badge {
  display: inline-block; background: rgba(217,119,6,0.15);
  color: var(--amber); border: 1px solid var(--amber);
  padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  width: fit-content;
}
.hero h1 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 800; }
.hero h1 span { color: var(--amber); }
.hero-sub { color: #9ca3af; font-size: 1rem; max-width: 460px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.btn-primary {
  background: var(--amber); color: var(--white);
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--amber-h); text-decoration: none; }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; display: inline-block;
  border: 1.5px solid #4b5563; transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--white); text-decoration: none; }
.hero-img { overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Stat bar ── */
.stat-bar {
  background: var(--amber); padding: 1rem 2rem;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.stat-bar-item { text-align: center; color: var(--white); }
.stat-bar-item strong { display: block; font-size: 1.5rem; font-weight: 800; }
.stat-bar-item span { font-size: 0.8rem; opacity: 0.9; }

/* ── Section shells ── */
.section { padding: 4rem 2rem; }
.section-light { background: var(--white); }
.section-gray  { background: var(--light); }
.section-dark  { background: var(--dark); color: var(--white); }
.container { max-width: 1080px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
.section-subtitle { color: var(--muted); max-width: 600px; margin-bottom: 2rem; }
.section-dark .section-subtitle { color: #9ca3af; }

/* ── Two-col ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.75rem; box-shadow: var(--shadow);
}
.card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p  { color: var(--muted); font-size: 0.9rem; }
.section-dark .card { background: #1f2937; border-color: #374151; }
.section-dark .card h3 { color: var(--white); }

/* ── Process steps ── */
.steps { display: flex; flex-direction: column; gap: 1.25rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  background: var(--amber); color: var(--white);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0; margin-top: 2px;
}
.step-content h4 { font-weight: 700; margin-bottom: 0.25rem; }
.step-content p  { color: var(--muted); font-size: 0.93rem; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 1.5rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem; border-left: 4px solid var(--amber);
}
.faq-item h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.faq-item p  { font-size: 0.9rem; color: var(--muted); }
.section-gray .faq-item { background: var(--white); }

/* ── Cost table ── */
.cost-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.cost-table th { background: var(--dark); color: var(--white); padding: 0.75rem 1rem; text-align: left; font-size: 0.9rem; }
.cost-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.cost-table tr:nth-child(even) td { background: var(--light); }

/* ── Contact form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--text);
  transition: border-color 0.2s; background: var(--white); width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--amber); outline: none; }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  background: var(--amber); color: var(--white);
  padding: 0.85rem 2rem; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: var(--amber-h); }

/* ── Services list ── */
.services-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.services-list li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem; }
.services-list li::before { content: "&#10003;"; color: var(--amber); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── CTA banner ── */
.cta-banner {
  background: var(--amber); padding: 3rem 2rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.btn-dark { background: var(--dark); color: var(--white); padding: 0.8rem 2rem; border-radius: var(--radius); font-weight: 700; display: inline-block; }
.btn-dark:hover { background: #1f2937; text-decoration: none; }

/* ── Image with caption ── */
.img-wrap { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.img-caption { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }

/* ── Footer ── */
.footer {
  background: var(--dark); color: #9ca3af;
  padding: 2.5rem 2rem 1.5rem;
}
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer ul li a { color: #9ca3af; font-size: 0.87rem; }
.footer ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #374151; margin-top: 2rem; padding-top: 1.25rem; text-align: center; font-size: 0.8rem; max-width: 1080px; margin-left: auto; margin-right: auto; }
.footer-logo { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--amber); }
.footer-desc { font-size: 0.85rem; line-height: 1.6; max-width: 300px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { height: 260px; }
  .hero-text { padding: 2.5rem 1.5rem; }
  .hero-text h1 { font-size: 1.6rem; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .faq-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-bar { gap: 1.5rem; }
  .nav-links { display: none; }
  .nav { padding: 0 1rem; }
}
