/* Santa Fe NM - Slab Leak Repair Site Styles */
/* Palette derived from Santa Fe Southwest high desert aesthetic: rich adobe terracotta, deep piñon forest slate, warm desert stone */
:root {
  --primary-deep: rgb(178, 64, 32);
  --primary-hover: rgb(148, 50, 22);
  --sand-bg: rgb(252, 250, 246);
  --sand-surface: rgb(245, 240, 232);
  --slate-dark: rgb(32, 40, 48);
  --slate-muted: rgb(80, 92, 104);
  --white: rgb(255, 255, 255);
  --border-light: rgb(228, 222, 212);
  --border-accent: rgb(212, 120, 90);
  --shadow-sm: 0 2px 8px rgba(32, 40, 48, 0.06);
  --shadow-md: 0 6px 18px rgba(32, 40, 48, 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;
  color: var(--slate-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 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: var(--sand-surface);
}

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

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

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

.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-dark);
}

.dropdown-menu li a:hover,
.dropdown-menu li 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);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.header-cta-btn:hover,
.header-cta-btn:focus-visible {
  background-color: var(--primary-hover);
  color: var(--white);
}

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

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

.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(--slate-muted);
}

.hero-section {
  background-color: var(--sand-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 20px;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-deep);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  min-height: 48px;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--primary-hover);
  color: var(--white);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary-deep);
  color: var(--primary-deep);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.hero-badge {
  margin-top: 12px;
  font-size: 13px;
  color: var(--slate-muted);
  font-style: italic;
  text-align: center;
}

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

.prose {
  max-width: 860px;
  margin: 0 auto;
}

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

.content-section h2 {
  font-size: 27px;
  line-height: 1.3;
  color: var(--slate-dark);
  margin-bottom: 16px;
  font-weight: 700;
  border-left: 4px solid var(--primary-deep);
  padding-left: 12px;
}

.content-section h3 {
  font-size: 21px;
  line-height: 1.35;
  color: var(--slate-dark);
  margin: 22px 0 12px;
  font-weight: 700;
}

.content-section p {
  margin-bottom: 18px;
  font-size: 17px;
}

.content-section ul,
.content-section ol {
  margin: 0 0 20px 24px;
}

.content-section li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.phone-cta-banner {
  background-color: var(--sand-surface);
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 30px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.phone-cta-banner h3 {
  font-size: 21px;
  margin-bottom: 6px;
  color: var(--slate-dark);
}

.phone-cta-banner p {
  font-size: 15px;
  color: var(--slate-muted);
  margin-bottom: 0;
}

.btn-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-deep);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  min-height: 44px;
}

.btn-banner:hover,
.btn-banner:focus-visible {
  background-color: var(--primary-hover);
  color: var(--white);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 30px 0 40px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 19px;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.service-card a {
  font-weight: 700;
  font-size: 15px;
}

.faq-list {
  margin: 24px 0 36px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-item h3 {
  font-size: 19px;
  color: var(--slate-dark);
  margin: 0 0 10px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--slate-muted);
}

.page-inline-media {
  margin: 28px 0 32px;
}

.page-inline-media img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.site-footer {
  background-color: var(--slate-dark);
  color: var(--sand-bg);
  padding: 48px 20px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: rgb(185, 195, 205);
  margin-bottom: 12px;
}

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

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

.footer-links a,
.footer-col a {
  color: rgb(235, 175, 155);
  font-size: 14px;
  text-decoration: underline;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  text-align: center;
  font-size: 13px;
  color: rgb(145, 158, 172);
  line-height: 1.6;
}

.footer-bottom p + p {
  margin-top: 8px;
}

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 10px 16px;
  border-top: 2px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-call-btn {
  display: block;
  width: 100%;
  background-color: var(--primary-deep);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 17px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@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;
  }
}

