/* Riverview Water Restoration - Lead Gen Site */
:root {
  --primary: #1a365d;
  --primary-light: #2d4a7c;
  --accent: #e85d26;
  --accent-hover: #d14d1a;
  --light: #f7fafc;
  --white: #ffffff;
  --gray: #718096;
  --dark: #1a202c;
  --success: #38a169;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

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

/* Emergency Banner */
.emergency-banner {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  animation: pulse-bg 2s infinite;
}
@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}
.emergency-banner a { color: var(--white); text-decoration: underline; }

/* Header */
.header {
  background: var(--primary);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}
.logo span { color: var(--accent); }
.header-phone {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}
.header-phone i { margin-right: 8px; }
.nav { display: flex; gap: 24px; }
.nav a {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--white); }

.header-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  background: linear-gradient(rgba(26,54,93,0.85), rgba(26,54,93,0.9)),
    url('https://images.unsplash.com/photo-1596394723269-e72307a26de5?w=1400') center/cover;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.95;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(232,93,38,0.4);
}
.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,93,38,0.5);
}
.hero-sub {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}

/* Trust Bar */
.trust-bar {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}
.trust-item .icon {
  font-size: 28px;
  margin-bottom: 4px;
}

/* Sections */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--light);
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-card p {
  color: var(--gray);
  font-size: 15px;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.why-item {
  text-align: center;
  padding: 24px;
}
.why-item .number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.why-item h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}
.why-item p {
  color: var(--gray);
  font-size: 14px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
}
.testimonial .stars { color: #f6ad55; font-size: 18px; margin-bottom: 12px; }
.testimonial p { color: var(--dark); font-style: italic; margin-bottom: 16px; font-size: 15px; }
.testimonial .author { font-weight: 600; color: var(--primary); font-size: 14px; }
.testimonial .location { color: var(--gray); font-size: 13px; }

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}
.cta-phone {
  font-size: 36px;
  font-weight: 800;
  display: block;
  margin-bottom: 24px;
}

/* Service Area */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.area-tag {
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 16px;
}
.footer a {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.2s;
}
.footer a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--accent-hover); }

/* Blog */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
}
.blog-content h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.blog-meta {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 14px;
}
.blog-content h2 {
  font-size: 24px;
  color: var(--primary);
  margin: 32px 0 12px;
}
.blog-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-content ul, .blog-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.blog-content li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.7;
}
.blog-cta {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}
.blog-cta h3 { color: var(--primary); margin-bottom: 8px; }

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .hero { padding: 48px 0; }
  .nav { display: none; }
  .trust-items { gap: 24px; }
  .section-title { font-size: 24px; }
  .cta-phone { font-size: 28px; }
  .header-phone { font-size: 16px; }
  .header .container { flex-wrap: wrap; gap: 8px; }
}

/* Click to call mobile */
@media (max-width: 480px) {
  .header-cta { padding: 8px 16px; font-size: 14px; }
}
