/* Tulsa Foundation Repair Co - main stylesheet */
/* Mobile first, fast, clean. */

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

:root {
  --brand: #8a1c1c;
  --brand-dark: #5e0f0f;
  --ink: #1a1a1a;
  --muted: #555;
  --bg: #fafaf7;
  --card: #ffffff;
  --line: #e6e3dd;
  --accent: #c39235;
  --good: #2e7d32;
  --warn: #b03a2e;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }
.site-img { width:100%; height:auto; border-radius:8px; margin:14px 0 22px; display:block; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; margin-top: 1.6em; }
h3 { font-size: 1.15rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

/* Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* Header / nav */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  color: #fff;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.header-call {
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.header-call:hover { background: var(--brand-dark); color: #fff; }

nav.primary {
  background: #2a2a2a;
  color: #fff;
}
nav.primary ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  max-width: 1080px;
  margin: 0 auto;
}
nav.primary li { margin: 0; }
nav.primary a {
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  display: block;
  font-size: 0.95rem;
  border-right: 1px solid #444;
}
nav.primary a:hover { background: #3a3a3a; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #8a1c1c 0%, #5e0f0f 100%);
  color: #fff;
  padding: 60px 0 50px;
}
.hero h1 { color: #fff; font-size: 2.3rem; margin-bottom: 0.4em; }
.hero p.lead { font-size: 1.15rem; opacity: 0.95; max-width: 640px; }
.hero .cta-row { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  font-size: 1rem;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-primary:hover { background: #b08229; color: #1a1a1a; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand); }

/* Sections */
section { padding: 40px 0; }
.section-title { font-size: 1.7rem; margin-bottom: 0.5em; }

/* Trust strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.trust-strip .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
}
.trust-strip .item { display: flex; align-items: center; gap: 8px; }
.trust-strip .item strong { color: var(--ink); }

/* Service grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card a.more { font-weight: 600; }

/* Lead form */
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  max-width: 520px;
  margin: 0 auto;
}
.lead-form h2 { margin-top: 0; font-size: 1.4rem; }
.lead-form label { display: block; font-weight: 600; margin-bottom: 6px; margin-top: 12px; font-size: 0.95rem; }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c4c0b8;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}
.lead-form textarea { min-height: 90px; resize: vertical; }
.lead-form button {
  margin-top: 18px;
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}
.lead-form button:hover { background: var(--brand-dark); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* FAQ */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 6px; font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 0 24px;
  margin-top: 40px;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 24px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copy {
  border-top: 1px solid #333;
  padding-top: 18px;
  font-size: 0.85rem;
  color: #888;
}

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 1.8rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  body { font-size: 16px; }
}

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.callout {
  background: #fff8e6;
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  margin: 22px 0;
  border-radius: 4px;
}
.warn-box {
  background: #fdecea;
  border-left: 4px solid var(--warn);
  padding: 16px 18px;
  margin: 22px 0;
  border-radius: 4px;
}
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #ece8df; font-size: 0.8rem; font-weight: 600; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); padding: 12px 0; }
.breadcrumb a { color: var(--muted); }
