/* Related Companies Plumbing - Exact video background match #F2ECE2 */
:root {
  --bg: #F2ECE2;
  --bg-section: #EDE7DB;
  --bg-card: #FFFFFF;
  --bg-card-hover: #fafafa;
  --copper: #C87533;
  --copper-hover: #E08A3C;
  --copper-dark: #A8622A;
  --navy: #1A2F4A;
  --water: #5B9BB8;
  --text: #1a1a1a;
  --text-muted: #555555;
  --border: rgba(200, 117, 51, 0.22);
  --border-light: #e5ddd0;
  --header-height: 88px;
  --banner-height: 40px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--banner-height) + 12px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F2ECE2 !important;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Emergency Banner */
.emergency-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-height);
  background: linear-gradient(90deg, var(--navy), #243b55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1001;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.banner-phone {
  color: var(--copper);
  font-weight: 600;
  padding: 4px 12px;
  border: 1px solid var(--copper);
  border-radius: 20px;
  transition: var(--transition);
}

.banner-phone:hover {
  background: var(--copper);
  color: #ffffff;
}

/* Header */
.site-header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(242, 236, 226, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  z-index: 1000;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #F2ECE2;
  padding: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  border: 2px solid rgba(200, 117, 51, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--copper);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--copper-hover);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--banner-height) + var(--header-height) + 40px) 24px 80px;
  background: #F2ECE2 !important;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 .accent {
  color: var(--copper);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-logo,
video.hero-logo {
  display: block !important;
  width: 360px;
  max-width: 90vw;
  height: auto;
  margin: 0 auto 40px;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  object-fit: contain;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--copper);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--copper-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--copper);
}

.btn-secondary:hover {
  background: var(--copper);
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: 90px 0;
  background: #F2ECE2;
}

.section:nth-child(even) {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.why-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--copper);
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #EDE7DB;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #F2ECE2;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-block h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 8px;
}

.info-link {
  font-size: 1.15rem;
  font-weight: 600;
}

.info-link.phone {
  font-size: 1.4rem;
  color: var(--copper);
}

.info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #F2ECE2;
  padding: 6px;
  margin-bottom: 16px;
  object-fit: cover;
}

.footer-brand p {
  color: #aaaaaa;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: #bbbbbb;
  margin-bottom: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--copper);
}

.license {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .hero-logo,
  video.hero-logo {
    width: 280px;
  }
}
