/* San Angelo Slab Leak Repair - Custom Design System */
/* Zero hash characters rule strictly enforced - rgb/rgba only */

:root {
  --primary: rgb(26, 43, 60);
  --primary-light: rgb(42, 68, 93);
  --primary-dark: rgb(15, 27, 38);
  --accent: rgb(194, 94, 52);
  --accent-hover: rgb(170, 78, 40);
  --blue-tone: rgb(21, 122, 178);
  --blue-light: rgb(238, 246, 252);
  --text-main: rgb(33, 37, 41);
  --text-muted: rgb(85, 95, 105);
  --bg-light: rgb(247, 249, 251);
  --bg-white: rgb(255, 255, 255);
  --border-color: rgb(222, 228, 235);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
}

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

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-white);
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

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

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin-top: 1.25rem;
}

p {
  margin-bottom: 1.15rem;
  color: var(--text-main);
}

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

li {
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }
}

.nav-desktop > ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

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

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

/* Desktop Dropdown Strict Rules */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  color: var(--accent);
}

.dropdown-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

/* On page load, desktop dropdown MUST be completely hidden */
.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  list-style: none;
  flex-direction: column !important;
  z-index: 1050;
}

/* The dropdown MUST open automatically on HOVER and on focus-within */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: flex !important;
}

.nav-dropdown:hover .dropdown-icon,
.nav-dropdown:focus-within .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
  width: 100%;
}

.dropdown-menu a {
  display: block !important;
  width: 100%;
  padding: 0.6rem 1.1rem !important;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(222, 228, 235, 0.4);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background-color: var(--blue-light);
  color: var(--blue-tone) !important;
}

/* Header Action Call Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-phone-header:hover,
.btn-phone-header:focus {
  background-color: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-1px);
}

.btn-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

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

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

.drawer-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(222, 228, 235, 0.5);
}

.drawer-nav a:hover,
.drawer-nav a:focus {
  background-color: var(--blue-light);
  color: var(--accent);
}

/* Mobile Nested Services Submenu */
.drawer-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(222, 228, 235, 0.5);
  padding: 0.75rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
}

.drawer-submenu {
  display: none;
  background-color: var(--bg-light);
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-submenu.expanded {
  display: block;
}

.drawer-submenu a {
  padding: 0.65rem 1.25rem 0.65rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid rgba(222, 228, 235, 0.3);
}

.drawer-footer {
  padding: 1.5rem 1.25rem;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-light);
}

.drawer-footer .btn-phone-header {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb-wrap {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding-right: 0.5rem;
  color: var(--text-muted);
}

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

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

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

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

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.hero-call-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

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

/* Callout CTA Box (after every 2-3 sections) */
.callout-cta-box {
  background-color: var(--blue-light);
  border: 1px solid rgba(21, 122, 178, 0.25);
  border-left: 6px solid var(--blue-tone);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

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

.callout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

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

/* Content Sections */
.main-content {
  flex: 1;
}

.content-section {
  padding: 3.5rem 0;
}

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

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

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

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

/* Technical Details Grid */
.detail-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

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

.detail-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

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

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

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

.info-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.feature-step {
  border-top: 3px solid var(--blue-tone);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--blue-tone);
  color: var(--bg-white);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Two Column Text & Image */
.content-media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}

@media (min-width: 992px) {
  .content-media-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .content-media-row.reverse {
    direction: rtl;
  }
  
  .content-media-row.reverse > * {
    direction: ltr;
  }
}

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

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Checklists & Warning Signs */
.warning-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.warning-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

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

/* Service Navigation Matrix / Links */
.service-link-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-tone);
}

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

.service-link-card a.card-title-link {
  text-decoration: none;
  color: var(--primary);
}

.service-link-card a.card-title-link:hover {
  color: var(--accent);
}

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

.card-read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-tone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-read-more:hover {
  color: var(--accent);
}

/* FAQ Accordion Style / Blocks */
.faq-block {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background-color: var(--blue-light);
}

.faq-chevron {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-block.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-block.active .faq-answer {
  display: block;
}

/* Contact Details Page Elements */
.contact-checklist-box {
  background-color: var(--bg-white);
  border: 2px solid var(--blue-tone);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-phone-hero {
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.contact-phone-hero h2 {
  color: var(--bg-white);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-phone-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 1rem 2rem;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-phone-link:hover,
.contact-phone-link:focus {
  background-color: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
}

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

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

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

.footer-col h4 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-col p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.footer-nav-list li {
  margin-bottom: 0.6rem;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
}

.footer-phone-cta:hover,
.footer-phone-cta:focus {
  background-color: var(--accent-hover);
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--bg-white);
}

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

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

.sticky-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--accent);
  color: var(--bg-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: center;
}

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

/* Bottom spacing for pages on mobile so sticky call bar does not cover content */
@media (max-width: 991px) {
  body {
    padding-bottom: 64px;
  }
}

