/*
Theme Name: Disaster Cleanup Utah
Theme URI: https://disastercleanuputah.com
Description: Emergency disaster restoration lead gen theme for Utah
Version: 1.0
Author: Mac
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; color: #1a1a1a; line-height: 1.6; padding-bottom: 70px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

:root {
  --red: #c0392b;
  --red-dark: #96281b;
  --dark: #1a1a1a;
  --gray: #555;
  --light-gray: #f5f5f5;
  --border: #ddd;
  --shadow: 0 2px 20px rgba(0,0,0,0.12);
}

/* Top Bar */
.top-bar {
  background: var(--dark);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #fff; }
.emergency-badge {
  background: var(--red);
  padding: 5px 14px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
  white-space: nowrap;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #111 0%, #2c1a1a 60%, #3d1a1a 100%);
  color: #fff;
  padding: 80px 20px 90px;
  text-align: center;
}
.hero-content { max-width: 820px; margin: 0 auto; }
.hero-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 5px 16px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: #e74c3c; }
.hero p {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 17px 34px;
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-phone {
  background: transparent;
  color: #fff;
  padding: 17px 34px;
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.2s;
}
.btn-phone:hover { border-color: #fff; }

/* Services */
.services { background: #fff; padding: 65px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 18px;
}
.service-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 28px 18px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon { font-size: 2.4rem; margin-bottom: 12px; }
.service-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 5px; }
.service-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.4; }

/* Lead Form */
.lead-form-section { background: var(--light-gray); padding: 70px 20px; }
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 45px;
  box-shadow: var(--shadow);
}
.form-wrapper h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 7px;
  color: var(--dark);
}
.form-wrapper .form-sub {
  color: var(--gray);
  margin-bottom: 26px;
  font-size: 0.93rem;
}
.form-row { margin-bottom: 17px; }
.form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 0.98rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--red); }
.form-row textarea { height: 88px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: inherit;
}
.btn-submit:hover { background: var(--red-dark); }
.form-disclaimer { font-size: 0.76rem; color: #aaa; text-align: center; margin-top: 10px; }
.success-msg {
  background: #27ae60;
  color: #fff;
  padding: 20px 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}
.success-msg a { color: #fff; text-decoration: underline; }
.error-msg {
  background: #e74c3c;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

/* Cities */
.cities-section { background: #fff; padding: 65px 20px; }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.city-card {
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
.city-card:hover { background: var(--red); transform: translateY(-2px); }
.city-icon { font-size: 2rem; margin-bottom: 10px; }
.city-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.city-card p { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* Trust */
.trust-section { background: var(--red); color: #fff; padding: 55px 20px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 30px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-num {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 7px;
}
.trust-num sup { font-size: 1.4rem; vertical-align: super; }
.trust-label {
  font-size: 0.85rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* FAQ */
.faq-section { background: var(--light-gray); padding: 70px 20px; }
.faq-list { max-width: 750px; margin: 38px auto 0; }
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--red); font-weight: 400; flex-shrink: 0; margin-left: 10px; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 0.91rem;
  color: var(--gray);
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 35px 20px;
  text-align: center;
  font-size: 0.86rem;
}
.footer a { color: rgba(255,255,255,0.55); }
.footer a:hover { color: #fff; }
.footer strong { color: #fff; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: #fff;
  padding: 13px 20px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
  flex-wrap: wrap;
}
.sticky-cta strong { font-size: 0.95rem; }
.sticky-btn-red {
  background: var(--red);
  color: #fff;
  padding: 9px 22px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.sticky-btn-outline {
  background: transparent;
  color: #fff;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.4);
  white-space: nowrap;
}
.sticky-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0;
}

@media (max-width: 600px) {
  .form-wrapper { padding: 28px 20px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 55px 20px 65px; }
  .top-bar .top-info { display: none; }
  .sticky-cta strong { display: none; }
}
