/* Rio Rancho NM - Slab Leak Repair Site Styles */
:root {
  --primary-deep: rgb(180, 68, 34);
  --primary-hover: rgb(150, 52, 22);
  --sand-bg: rgb(250, 248, 244);
  --sand-surface: rgb(243, 239, 231);
  --slate-dark: rgb(34, 43, 53);
  --slate-muted: rgb(85, 96, 110);
  --white: rgb(255, 255, 255);
  --border-light: rgb(226, 220, 209);
  --border-accent: rgb(215, 125, 95);
  --shadow-sm: 0 2px 8px rgba(34, 43, 53, 0.06);
  --shadow-md: 0 6px 18px rgba(34, 43, 53, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --max-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-dark);
  background-color: var(--sand-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-deep);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover, a:focus-visible {
  color: var(--primary-hover);
}

.site-header {
  background-color: var(--white);
  border-bottom: 2px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--slate-dark);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-dark);
}

.brand-title span {
  color: var(--primary-deep);
}

.brand-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-dark);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--primary-deep);
  background-color: rgba(180, 68, 34, 0.08);
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  list-style: none;
  display: none;
  z-index: 101;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--slate-dark);
  text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background-color: var(--sand-surface);
  color: var(--primary-deep);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-deep);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 4px rgba(180, 68, 34, 0.3);
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.header-cta-btn:hover,
.header-cta-btn:focus-visible {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  color: var(--slate-dark);
}

.breadcrumbs {
  max-width: var(--max-width);
  margin: 16px auto 0;
  padding: 0 20px;
  font-size: 14px;
  color: var(--slate-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--border-accent);
}

.breadcrumbs a {
  color: var(--slate-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  color: var(--primary-deep);
}

.breadcrumbs [aria-current="page"] {
  color: var(--slate-dark);
  font-weight: 600;
}

.hero-section {
  max-width: var(--max-width);
  margin: 24px auto 48px;
  padding: 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--slate-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-deep);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(180, 68, 34, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--slate-dark) !important;
  border: 2px solid var(--border-light);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--slate-dark);
  background-color: var(--sand-surface);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.hero-badge {
  margin-top: 14px;
  padding: 10px 14px;
  background-color: var(--sand-surface);
  border-left: 4px solid var(--primary-deep);
  font-size: 14px;
  color: var(--slate-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.main-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.content-section {
  margin-bottom: 54px;
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 18px;
  color: var(--slate-muted);
  margin-bottom: 24px;
}

.prose p {
  margin-bottom: 20px;
}

.prose h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.prose h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-dark);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.prose ul, .prose ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.callout-box {
  background-color: var(--sand-surface);
  border-left: 4px solid var(--primary-deep);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}

.callout-box h3 {
  margin-top: 0 !important;
  color: var(--slate-dark);
  font-size: 19px;
  margin-bottom: 10px;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 16px;
  color: var(--slate-muted);
}

.phone-cta-banner {
  background: linear-gradient(135deg, rgb(34, 43, 53) 0%, rgb(50, 62, 75) 100%);
  color: var(--white);
  padding: 34px 36px;
  border-radius: var(--radius-md);
  margin: 44px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.phone-cta-banner h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.phone-cta-banner p {
  color: rgb(200, 208, 218);
  font-size: 16px;
  margin: 0;
}

.phone-cta-banner .btn-banner {
  background-color: var(--primary-deep);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 19px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease;
}

.phone-cta-banner .btn-banner:hover {
  background-color: var(--primary-hover);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--slate-dark);
}

.service-card p {
  font-size: 15px;
  color: var(--slate-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card .card-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .card-link:hover {
  text-decoration: underline;
}

.feature-media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin: 36px 0;
}

.feature-media-block img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 15px;
  color: var(--slate-muted);
  line-height: 1.6;
  margin: 0;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.area-box {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.area-box h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--slate-dark);
}

.area-box p {
  font-size: 14.5px;
  color: var(--slate-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.site-footer {
  background-color: var(--slate-dark);
  color: rgb(215, 222, 230);
  padding: 56px 20px 80px;
  border-top: 4px solid var(--primary-deep);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col p {
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.footer-col a {
  color: rgb(235, 195, 175);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14.5px;
  text-decoration: none;
  color: rgb(215, 222, 230);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: rgb(160, 172, 186);
}

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 999;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--primary-deep);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 17px;
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
  
  .hero-media img {
    height: 280px;
  }

  .feature-media-block {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  
  .feature-media-block img {
    height: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .phone-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    background-color: var(--sand-surface);
  }

  .header-cta-btn {
    display: none;
  }

  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 74px;
  }
}

