/* Modern, clean, mobile-first CSS for Temple, TX Slab Leak Repair */
:root {
  --primary: rgb(21, 57, 102);
  --primary-dark: rgb(12, 38, 71);
  --accent: rgb(214, 69, 41);
  --accent-hover: rgb(186, 54, 28);
  --bg-light: rgb(246, 248, 251);
  --bg-surface: rgb(255, 255, 255);
  --text-main: rgb(33, 37, 41);
  --text-muted: rgb(100, 110, 122);
  --border-light: rgb(224, 230, 238);
  --border-subtle: rgb(238, 242, 246);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1200px;
}

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

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

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

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

.site-container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav */
.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    padding: 8px 4px;
    display: inline-block;
  }

  .nav-link:hover, .nav-link:focus {
    color: var(--accent);
  }

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

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

  .dropdown-link {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
  }

  .dropdown-link:hover, .dropdown-link:focus {
    background-color: var(--bg-light);
    color: var(--primary);
  }
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(214, 69, 41, 0.25);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

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

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu-drawer {
  display: none;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 20px 24px;
}

.mobile-menu-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  padding: 6px 0;
}

.mobile-submenu {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--border-light);
}

.mobile-submenu-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 4px 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgb(21, 57, 102) 0%, rgb(12, 38, 71) 100%);
  color: rgb(255, 255, 255);
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-eyebrow {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgb(220, 230, 242);
  margin-bottom: 28px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.hero-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background-color: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

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

.breadcrumb-separator {
  color: var(--text-muted);
}

.breadcrumb-active {
  color: var(--text-muted);
  font-weight: 500;
}

/* Content Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 36px;
  text-align: left;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 750px;
}

/* Grids and Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.content-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.content-card p {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.content-card-footer {
  margin-top: auto;
  padding-top: 10px;
}

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

.card-link:hover, .card-link:focus {
  color: var(--accent);
}

/* Prose formatting */
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}

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

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

.prose h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 26px;
  margin-bottom: 12px;
}

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

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

/* Call Banner / Box */
.cta-banner {
  background: linear-gradient(135deg, rgb(246, 248, 251) 0%, rgb(238, 242, 246) 100%);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
  }
}

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

.cta-banner-text p {
  font-size: 15px;
  color: var(--text-muted);
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(214, 69, 41, 0.25);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-banner-btn:hover, .cta-banner-btn:focus {
  background-color: var(--accent-hover);
  color: rgb(255, 255, 255);
  transform: translateY(-2px);
}

/* Warning checklist box */
.checklist-box {
  background-color: rgb(255, 255, 255);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .checklist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.checklist-icon {
  color: var(--accent);
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
}

/* Service Area Links */
.service-area-box {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: rgb(220, 230, 242);
  padding: 56px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: rgb(255, 255, 255);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgb(200, 215, 235);
  text-decoration: none;
}

.footer-links a:hover, .footer-links a:focus {
  color: rgb(255, 255, 255);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: rgb(165, 185, 210);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Sticky Mobile Call Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .sticky-mobile-bar {
    display: none;
  }
}

.sticky-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  max-width: 400px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}

.sticky-call-btn:hover, .sticky-call-btn:focus {
  background-color: var(--accent-hover);
  color: rgb(255, 255, 255);
}

