/* St. Cloud Slab Leak Repair Stylesheet */
/* Strict Rule: ZERO occurrences of the prohibited hash character. No hex colors, no fragment links, no id selectors. */

:root {
  --primary-deep: rgb(12, 74, 96);
  --primary-dark: rgb(7, 46, 61);
  --primary-light: rgb(21, 107, 137);
  --accent-teal: rgb(20, 145, 155);
  --accent-teal-dark: rgb(14, 110, 118);
  --accent-teal-soft: rgb(238, 248, 250);
  --alert-clay: rgb(194, 65, 12);
  --alert-clay-hover: rgb(154, 52, 10);
  --alert-clay-soft: rgb(255, 247, 237);
  --sand-tone: rgb(244, 240, 232);
  --sand-border: rgb(228, 220, 206);
  --slate-charcoal: rgb(28, 37, 46);
  --slate-body: rgb(55, 65, 81);
  --slate-muted: rgb(107, 114, 128);
  --bg-pure: rgb(255, 255, 255);
  --bg-light: rgb(250, 250, 249);
  --bg-surface: rgb(243, 244, 246);
  --border-subtle: rgb(229, 231, 235);
  --border-strong: rgb(209, 213, 219);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 20px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --ease-standard: 0.22s ease-in-out;
}

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

html {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-body);
  background-color: var(--bg-pure);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px;
}

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

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

a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease-standard);
}

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

h1, h2, h3, h4 {
  color: var(--slate-charcoal);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.65rem;
  margin-top: 1.75rem;
  border-left: 4px solid var(--accent-teal);
  padding-left: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.25rem;
}

p {
  margin-bottom: 1.15rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.45rem;
}

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

.top-bar {
  background-color: var(--primary-deep);
  color: rgb(255, 255, 255);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-location {
  color: rgb(200, 230, 240);
}

.top-bar-phone a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 600;
}

.top-bar-phone a:hover {
  text-decoration: underline;
}

.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  text-decoration: none;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-logo span {
  color: var(--alert-clay);
}

.logo-badge {
  display: inline-block;
  background-color: var(--accent-teal-soft);
  color: var(--accent-teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(180, 225, 230);
  margin-left: 0.35rem;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--slate-charcoal);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.nav-item {
  position: relative;
}

.nav-item a {
  text-decoration: none;
  color: var(--slate-charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  display: block;
}

.nav-item a:hover, .nav-item a:focus {
  color: var(--primary-deep);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 250px;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
}

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

.dropdown-menu li a {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-body);
}

.dropdown-menu li a:hover {
  background-color: var(--bg-surface);
  color: var(--primary-deep);
}

.btn-header-call {
  background-color: var(--alert-clay);
  color: rgb(255, 255, 255) !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-subtle);
  transition: background-color var(--ease-standard);
  display: inline-block;
}

.btn-header-call:hover, .btn-header-call:focus {
  background-color: var(--alert-clay-hover);
  color: rgb(255, 255, 255) !important;
}

/* Breadcrumbs */
.breadcrumb-wrapper {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--slate-muted);
}

/* Main Container */
.main-content {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Section */
.hero-block {
  background: linear-gradient(135deg, rgb(12, 74, 96) 0%, rgb(18, 52, 69) 100%);
  color: rgb(255, 255, 255);
  padding: 3.5rem 1rem;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.25fr 1fr;
  }
}

.hero-content h1 {
  color: rgb(255, 255, 255);
  margin-bottom: 1.1rem;
  font-size: 2.35rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgb(220, 235, 245);
  margin-bottom: 1.75rem;
}

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

.btn-primary-call {
  background-color: var(--alert-clay);
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.4);
  transition: background-color var(--ease-standard), transform var(--ease-standard);
}

.btn-primary-call:hover, .btn-primary-call:focus {
  background-color: var(--alert-clay-hover);
  color: rgb(255, 255, 255);
  transform: translateY(-1px);
}

.hero-meta-note {
  font-size: 0.9rem;
  color: rgb(185, 215, 230);
}

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

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

/* Callout & Prompt Boxes */
.call-box {
  background-color: var(--alert-clay-soft);
  border: 2px solid rgb(253, 186, 116);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2.25rem 0;
  text-align: center;
}

.call-box h3 {
  color: var(--alert-clay-hover);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.call-box p {
  color: var(--slate-charcoal);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.call-box-number {
  display: inline-block;
  background-color: var(--alert-clay);
  color: rgb(255, 255, 255);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.75rem 1.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: background-color var(--ease-standard);
}

.call-box-number:hover, .call-box-number:focus {
  background-color: var(--alert-clay-hover);
  color: rgb(255, 255, 255);
}

/* Local Info Box */
.local-context-box {
  background-color: var(--sand-tone);
  border-left: 5px solid var(--accent-teal);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 2rem 0;
}

.local-context-box h3 {
  margin-top: 0;
  color: var(--primary-deep);
}

/* Grid Layouts */
.grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.grid-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.feature-panel {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--ease-standard), box-shadow var(--ease-standard);
}

.feature-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-panel h3 {
  margin-top: 0;
  color: var(--primary-deep);
}

/* Service Preview Cards */
.services-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

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

.service-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.service-card p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--slate-body);
}

.service-card-link {
  font-weight: 700;
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Image + Text Section */
.content-media-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
}

@media (min-width: 850px) {
  .content-media-split {
    grid-template-columns: 1.1fr 1fr;
  }
  .content-media-split.reverse {
    grid-template-columns: 1fr 1.1fr;
  }
  .content-media-split.reverse .media-image {
    order: -1;
  }
}

.media-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* FAQ Accordion / Item */
.faq-block {
  margin: 2.5rem 0;
}

.faq-entry {
  background-color: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
}

.faq-entry h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--primary-deep);
}

.faq-entry p:last-child {
  margin-bottom: 0;
}

/* Site Footer */
.site-footer {
  background-color: var(--slate-charcoal);
  color: rgb(209, 213, 219);
  padding: 3rem 1rem 1.5rem;
  margin-top: 3rem;
  border-top: 4px solid var(--accent-teal);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.footer-col h4 {
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--alert-clay);
  padding-left: 0.5rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgb(156, 163, 175);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgb(209, 213, 219);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(55, 65, 81);
  font-size: 0.8rem;
  color: rgb(156, 163, 175);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

/* Mobile Sticky Call Bar */
.sticky-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--alert-clay);
  color: rgb(255, 255, 255);
  padding: 0.8rem 1rem;
  text-align: center;
  z-index: 999;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.sticky-call-btn {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Navigation Styles */
@media (max-width: 899px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-pure);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-subtle);
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background-color: var(--bg-light);
  }

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

  .btn-header-call {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
  }
}

