/* Conroe TX Slab Leak Repair - Modern Clean Design System */
/* Zero hash characters rule strictly enforced */

:root {
  --primary-deep: rgb(15, 30, 36);
  --primary-slate: rgb(26, 46, 53);
  --accent-amber: rgb(217, 119, 6);
  --accent-amber-hover: rgb(180, 83, 9);
  --accent-teal: rgb(13, 148, 136);
  --accent-teal-light: rgb(240, 253, 250);
  --surface-canvas: rgb(248, 250, 251);
  --surface-card: rgb(255, 255, 255);
  --surface-subtle: rgb(241, 245, 249);
  --border-light: rgb(226, 232, 240);
  --border-medium: rgb(203, 213, 225);
  --text-primary: rgb(15, 23, 42);
  --text-muted: rgb(71, 85, 105);
  --text-light: rgb(248, 250, 252);
  --emergency-bg: rgb(254, 242, 242);
  --emergency-border: rgb(254, 202, 202);
  --emergency-text: rgb(153, 27, 27);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 30, 36, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 30, 36, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--surface-canvas);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

.site-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  background-color: var(--primary-deep);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--accent-amber);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.brand-name span {
  color: var(--accent-amber);
}

.brand-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

.dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-slate);
  min-width: 270px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0;
  margin: 0.35rem 0 0;
  list-style: none;
  z-index: 1010;
}

.dropdown-menu.open {
  display: flex !important;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background-color: var(--accent-amber);
  color: rgb(255, 255, 255);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-amber);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  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(--accent-amber-hover);
  color: rgb(255, 255, 255);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background-color: rgb(255, 255, 255);
  border-radius: 1px;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background-color: var(--surface-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  font-size: 0.88rem;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs-list li a {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs-list li a:hover {
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: var(--border-medium);
}

.breadcrumbs-current {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-deep);
  color: var(--text-light);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.hero-tag {
  display: inline-block;
  background-color: rgba(217, 119, 6, 0.2);
  color: rgb(251, 191, 36);
  border: 1px solid rgba(217, 119, 6, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent-amber);
  color: rgb(255, 255, 255);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.hero-meta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Inner Page Hero */
.inner-hero {
  background-color: var(--primary-deep);
  color: var(--text-light);
  padding: 3rem 0;
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.inner-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.inner-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.inner-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.inner-hero-img img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

/* Page Sections & Layout */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--surface-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cards */
.card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover {
  color: var(--accent-amber-hover);
  text-decoration: underline;
}

/* Immediate Steps Alert Box */
.alert-box {
  background-color: var(--emergency-bg);
  border-left: 5px solid var(--emergency-text);
  border-top: 1px solid var(--emergency-border);
  border-right: 1px solid var(--emergency-border);
  border-bottom: 1px solid var(--emergency-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.alert-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--emergency-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-text {
  font-size: 0.95rem;
  color: rgb(127, 29, 29);
  line-height: 1.65;
}

.alert-text ol, .alert-text ul {
  margin: 0.75rem 0 0.5rem 1.25rem;
}

.alert-text li {
  margin-bottom: 0.4rem;
}

/* Callout CTA Banner */
.cta-callout-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-slate) 100%);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--accent-amber);
}

.cta-banner-content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.cta-banner-content p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
}

.btn-banner-phone {
  background-color: var(--accent-amber);
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

/* Checklist / Feature List */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  list-style: none;
}

.checklist li {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.checklist-icon {
  color: var(--accent-teal);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Step Sequence / Process */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.process-step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.25rem;
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
  border: 2px solid var(--accent-teal);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Prose formatting */
.prose-block {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.prose-block h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin: 2.25rem 0 1rem;
}

.prose-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 1.75rem 0 0.75rem;
}

.prose-block p {
  margin-bottom: 1.25rem;
}

.prose-block ul, .prose-block ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.prose-block li {
  margin-bottom: 0.5rem;
}

/* FAQ Accordion / Simple Items */
.faq-block {
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.6rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background-color: var(--primary-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  border-top: 4px solid var(--accent-amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-amber);
  display: inline-block;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-amber);
  text-decoration: underline;
}

.footer-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-amber);
  color: rgb(255, 255, 255);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-top: 0.5rem;
}

.footer-phone-cta:hover {
  background-color: var(--accent-amber-hover);
  color: rgb(255, 255, 255);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
}

/* Sticky Mobile Call Bar */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-deep);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  border-top: 2px solid var(--accent-amber);
}

.sticky-call-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--accent-amber);
  color: rgb(255, 255, 255);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  width: 100%;
  text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-grid, .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-slate);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .main-nav.is-active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .dropdown-menu {
    position: static;
    display: none;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 0.4rem 0 0.8rem 1rem;
    border: none;
    box-shadow: none;
  }
  .dropdown-menu.open {
  display: flex !important;
}
  .header-cta-btn {
    display: none;
  }
  .sticky-call-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .cta-callout-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .checklist {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
