/* Clean Vanilla CSS Design System for Porterville Slab Leak Repair */
/* Absolute Rule Compliance: ZERO occurrences of hash character */

:root {
  --color-primary: rgb(15, 30, 54);
  --color-primary-light: rgb(27, 49, 86);
  --color-primary-dark: rgb(9, 18, 33);
  --color-accent: rgb(217, 119, 6);
  --color-accent-hover: rgb(180, 83, 9);
  --color-accent-light: rgb(254, 243, 199);
  --color-water: rgb(14, 165, 233);
  --color-water-dark: rgb(2, 132, 199);
  --color-water-bg: rgb(240, 249, 255);
  --color-text-main: rgb(30, 41, 59);
  --color-text-muted: rgb(71, 85, 105);
  --color-text-light: rgb(148, 163, 184);
  --color-bg-page: rgb(248, 250, 252);
  --color-bg-surface: rgb(255, 255, 255);
  --color-bg-alt: rgb(241, 245, 249);
  --color-border: rgb(226, 232, 240);
  --color-border-strong: rgb(203, 213, 225);
  --color-success: rgb(22, 101, 52);
  --color-success-bg: rgb(240, 253, 244);
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.25);
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--color-water-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

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

h1, h2, h3, h4 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Top Bar */
.top-notice-bar {
  background-color: var(--color-primary-dark);
  color: rgb(226, 232, 240);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-location-tag {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgb(203, 213, 225);
}

.top-phone-cta {
  font-weight: 600;
  color: rgb(251, 191, 36);
  text-decoration: none;
}

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

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

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-primary);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-site-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.brand-site-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  font-weight: 700;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  text-decoration: none;
}

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

/* Header Action Call Button */
.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

.mobile-nav-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Breadcrumbs */
.breadcrumb-nav {
  background-color: var(--color-bg-alt);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

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

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

.breadcrumb-item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: rgb(255, 255, 255);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: rgb(251, 191, 36);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: rgb(255, 255, 255);
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: rgb(226, 232, 240);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-button-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background-color: var(--color-accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  width: fit-content;
}

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

.hero-meta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: rgb(203, 213, 225);
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Callout Phone Block */
.callout-phone-box {
  background: linear-gradient(135deg, var(--color-water-bg) 0%, rgb(255, 255, 255) 100%);
  border: 2px solid var(--color-water);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.callout-text-group h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.callout-text-group p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.callout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-accent);
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

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

/* Content Sections */
.section-padding {
  padding: 3.5rem 0;
}

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

.section-header {
  margin-bottom: 2rem;
  max-width: 800px;
}

.section-tag {
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Content Grid 2 Col */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.content-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

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

/* Feature Cards Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

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

.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-water-bg);
  color: var(--color-water-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Checklist Box */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: var(--color-bg-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.checklist-icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.checklist-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.checklist-text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Steps Process Grid */
.steps-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-water);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* FAQ Accordion / Box */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.faq-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
}

.faq-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Area Details Box */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.area-box {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.area-box h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.area-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Technical Details Table */
.tech-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.tech-table th {
  background-color: var(--color-bg-alt);
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 700;
}

.tech-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.tech-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgb(203, 213, 225);
  padding: 4rem 0 2rem;
  margin-top: auto;
  font-size: 0.9375rem;
  border-top: 3px solid var(--color-accent);
}

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

.footer-col h4 {
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent);
}

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

.footer-links-list a {
  color: rgb(203, 213, 225);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links-list a:hover {
  color: rgb(251, 191, 36);
  text-decoration: underline;
}

.footer-address-block {
  font-style: normal;
  line-height: 1.6;
  font-size: 0.875rem;
  color: rgb(203, 213, 225);
}

.footer-address-block a {
  color: rgb(251, 191, 36);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgb(148, 163, 184);
}

.footer-network-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-network-links a {
  color: rgb(203, 213, 225);
  text-decoration: none;
}

.footer-network-links a:hover {
  color: rgb(251, 191, 36);
  text-decoration: underline;
}

/* Sticky Mobile Call Bar */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary-dark);
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  border-top: 2px solid var(--color-accent);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.sticky-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  width: 100%;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .main-nav.nav-open {
    display: flex;
  }
  .nav-links-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .header-call-btn {
    display: none;
  }
  .sticky-mobile-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
