/* Queens Pro Plumbing — Trust-Heavy Local Service Template */
:root {
  --navy: #1a3a5c;
  --navy-dark: #122a44;
  --orange: #f26522;
  --orange-dark: #d9551a;
  --white: #ffffff;
  --cream: #faf8f5;
  --light-gray: #f0f1f3;
  --text: #2d2d2d;
  --text-light: #6b7280;
  --red: #dc2626;
  --green: #16a34a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all .2s; border: none;
}
.btn-large { padding: 18px 36px; font-size: 1.1rem; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242, 101, 34, .3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-cta { background: var(--navy); color: var(--white); }
.btn-cta:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 58, 92, .3); }
.btn-icon { font-size: 1.2rem; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; padding: 0 20px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }
.section-cta { text-align: center; margin-top: 40px; }

/* ---- Emergency Strip ---- */
.emergency-strip {
  position: sticky; top: 0; z-index: 200;
  background: var(--red); color: var(--white);
  padding: 10px 20px; font-weight: 700;
}
.emergency-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: .95rem; flex-wrap: wrap;
}
.emergency-phone {
  background: var(--white); color: var(--red); padding: 6px 18px;
  border-radius: 6px; font-weight: 800; font-size: .9rem;
  transition: .2s;
}
.emergency-phone:hover { background: #fee2e2; }

/* ---- Header ---- */
header { background: var(--navy); color: var(--white); position: sticky; top: 44px; z-index: 100; }
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1120px; margin: 0 auto;
}
.logo img { height: 40px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-weight: 600; font-size: .95rem; transition: .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange); padding: 10px 20px; border-radius: 6px;
  font-weight: 700; font-size: .95rem;
}
.nav-cta:hover { background: var(--orange-dark); }
.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ---- Hero ---- */
.hero { position: relative; }
.hero-bg {
  position: relative; background-size: cover; background-position: center;
  min-height: 85vh; display: flex; align-items: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 58, 92, 0.92) 40%, rgba(26, 58, 92, 0.7) 100%); }
.hero-content {
  position: relative; z-index: 1; max-width: 1120px; margin: 0 auto;
  padding: 60px 20px; max-width: 700px;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.15); color: var(--white);
  padding: 6px 16px; border-radius: 20px; font-size: .85rem; font-weight: 600;
  margin-bottom: 20px; border: 1px solid rgba(255,255,255,.2);
}
.hero-content h1 {
  font-size: 3rem; font-weight: 900; line-height: 1.1; color: var(--white);
  margin-bottom: 18px;
}
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust-row { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12);
  padding: 8px 14px; border-radius: 8px; font-size: .85rem; color: var(--white);
  font-weight: 600;
}

/* ---- Trust Bar ---- */
.trust-bar { background: var(--navy); padding: 40px 20px; border-top: 3px solid var(--orange); }
.trust-items {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 48px;
  max-width: 900px; margin: 0 auto;
}
.trust-item { text-align: center; }
.trust-number { font-size: 2.2rem; font-weight: 900; color: var(--orange); }
.trust-label { font-size: .9rem; color: rgba(255,255,255,.7); font-weight: 600; margin-top: 4px; }

/* ---- Services Grid ---- */
.services { padding: 80px 20px; background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1120px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: 12px; padding: 32px;
  border: 1px solid #e5e7eb; transition: .25s; position: relative;
}
.service-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.08); transform: translateY(-4px); }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.service-card p { color: var(--text-light); font-size: .95rem; }
.service-tag {
  display: inline-block; margin-top: 12px; background: var(--red);
  color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 10px;
  border-radius: 4px; text-transform: uppercase;
}

/* ---- Before / After ---- */
.before-after { padding: 80px 20px; background: var(--white); }
.ba-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px; max-width: 1120px; margin: 0 auto;
}
.ba-card { background: var(--light-gray); border-radius: 16px; padding: 32px; }
.ba-label { font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 16px; }
.ba-comparison { display: flex; align-items: stretch; gap: 12px; }
.ba-item { flex: 1; padding: 20px; border-radius: 10px; }
.ba-before { background: #fee2e2; }
.ba-after { background: #dcfce7; }
.ba-tag { font-weight: 700; font-size: .8rem; text-transform: uppercase; margin-bottom: 8px; }
.ba-before .ba-tag { color: var(--red); }
.ba-after .ba-tag { color: var(--green); }
.ba-item p { font-size: .9rem; }
.ba-arrow { display: flex; align-items: center; font-size: 1.5rem; color: var(--orange); font-weight: 700; }

/* ---- Common Problems ---- */
.problems { padding: 80px 20px; background: var(--cream); }
.problems-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.problem-item { text-align: center; padding: 28px; }
.problem-icon { font-size: 2.5rem; margin-bottom: 12px; }
.problem-item h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.problem-item p { color: var(--text-light); font-size: .9rem; }

/* ---- Testimonials ---- */
.testimonials { background: var(--white); padding: 80px 20px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px; max-width: 1120px; margin: 0 auto;
}
.testimonial-card {
  background: var(--cream); border-radius: 16px; padding: 32px;
  border-left: 4px solid var(--orange);
}
.stars { color: var(--orange); font-size: 1.3rem; margin-bottom: 14px; }
.testimonial-card blockquote { font-size: 1.05rem; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.testimonial-author cite { font-weight: 700; font-style: normal; color: var(--navy); display: block; }
.testimonial-author span { font-size: .85rem; color: var(--text-light); }

/* ---- Coverage ---- */
.coverage { background: var(--navy); padding: 60px 20px; text-align: center; }
.coverage h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 24px; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 800px; margin: 0 auto; }
.coverage-tags span {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  padding: 8px 18px; border-radius: 20px; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
}

/* ---- CTA Banner ---- */
.cta-banner { background: var(--orange); color: var(--white); padding: 70px 20px; text-align: center; }
.cta-banner h2 { font-size: 2.2rem; margin-bottom: 12px; font-weight: 800; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 28px; opacity: .95; }

/* ---- Footer ---- */
footer { background: var(--navy-dark); color: var(--white); padding: 48px 20px 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  max-width: 1120px; margin: 0 auto;
}
.footer-brand p { opacity: .7; margin-top: 10px; font-size: .9rem; line-height: 1.6; }
.footer-col h4 { margin-bottom: 14px; font-size: 1rem; }
.footer-col a { display: block; opacity: .7; margin-bottom: 8px; font-size: .9rem; transition: .2s; }
.footer-col a:hover { opacity: 1; color: var(--orange); }
.footer-address { opacity: .5; font-size: .9rem; line-height: 1.5; }
.footer-bottom {
  max-width: 1120px; margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; font-size: .85rem; opacity: .6;
}

/* ---- About Page ---- */
.about-section { padding: 70px 20px; }
.about-inner { max-width: 1120px; margin: 0 auto; display: flex; gap: 50px; align-items: center; }
.about-photo {
  width: 280px; height: 280px; border-radius: 50%; flex-shrink: 0;
  background: var(--light-gray); display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--navy); border: 5px solid var(--orange);
}
.about-text h2 { font-size: 2rem; color: var(--navy); margin-bottom: 16px; }
.about-text p { margin-bottom: 14px; color: var(--text-light); font-size: 1.05rem; line-height: 1.8; }

/* ---- Services Detail ---- */
.services-detail { padding: 70px 20px; }
.service-detail-card {
  max-width: 1120px; margin: 0 auto 32px;
  background: var(--white); border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 36px; display: flex; gap: 32px; align-items: flex-start;
}
.service-detail-card .service-icon {
  font-size: 2.4rem; width: 64px; height: 64px; border-radius: 12px;
  background: var(--light-gray); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-detail-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.service-detail-card p { color: var(--text-light); margin-bottom: 10px; }
.price-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 4px 14px; border-radius: 20px; font-size: .85rem; font-weight: 700;
}

/* ---- Contact ---- */
.contact-section { padding: 70px 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1120px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; margin-top: 18px; color: var(--navy); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 1rem; font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 22px; width: 100%; text-align: center; border: none; }
.contact-info h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 18px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ci-icon { font-size: 1.4rem; margin-top: 2px; }
.contact-info-item strong { display: block; color: var(--navy); }
.contact-info-item span { color: var(--text-light); font-size: .95rem; }
.map-placeholder {
  width: 100%; aspect-ratio: 16/10; background: var(--light-gray);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--text-light); margin-top: 24px; border: 1px solid #e5e7eb;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--navy);
    padding: 20px; gap: 16px; z-index: 50;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .trust-items { gap: 24px; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-comparison { flex-direction: column; }
  .ba-arrow { justify-content: center; transform: rotate(90deg); }
  .about-inner { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .service-detail-card { flex-direction: column; }
}
