/* San Tan Garage Door Repair - shared styles */

:root {
  --navy: #1b2a41;
  --navy-dark: #10192a;
  --orange: #e8622c;
  --orange-dark: #c94f1e;
  --gray-light: #f4f6f8;
  --gray-mid: #6b7280;
  --white: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937;
  line-height: 1.6;
  background: var(--white);
}

a { color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top call bar */
.call-bar {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 12px;
}
.call-bar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* Header / nav */
header.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
}
.brand span { color: var(--orange); }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--orange); }

.call-button {
  display: inline-block;
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.call-button:hover { background: var(--orange-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.hero h1 {
  font-size: 2.3rem;
  margin: 0 0 14px;
  line-height: 1.25;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #d7dee8;
  max-width: 640px;
  margin: 0 0 26px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta .call-button { font-size: 1.1rem; padding: 14px 26px; }
.hero-note {
  color: #a9b4c4;
  font-size: 0.9rem;
}

/* Trust strip */
.trust-strip {
  background: var(--gray-light);
  padding: 22px 0;
  border-bottom: 1px solid #e5e7eb;
}
.trust-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  margin: 0;
  padding: 0;
  justify-content: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--gray-light); }
h2.section-title {
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 8px;
  text-align: center;
}
p.section-sub {
  text-align: center;
  color: var(--gray-mid);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Services grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}
.card p { margin: 0; color: var(--gray-mid); font-size: 0.95rem; }

/* Area list */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.area-list li {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  color: var(--navy);
}
.area-list a { text-decoration: none; color: var(--navy); }
.area-list a:hover { color: var(--orange); }

/* CTA banner */
.cta-banner {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
}
.cta-banner h2 { margin: 0 0 10px; font-size: 1.6rem; }
.cta-banner .call-button { background: var(--navy); }
.cta-banner .call-button:hover { background: var(--navy-dark); }

/* Footer */
footer {
  background: var(--navy-dark);
  color: #b9c2cf;
  padding: 32px 0;
  font-size: 0.9rem;
}
footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  nav.main-nav ul { display: none; }
}
