/* North Port FL Slab Leak Repair Design System */
/* Absolute Rule: ZERO occurrences of the hash character anywhere */
:root {
  --primary-deep: rgb(18, 53, 72);
  --primary-navy: rgb(12, 38, 52);
  --primary-mid: rgb(28, 77, 103);
  --coastal-amber: rgb(224, 90, 42);
  --amber-hover: rgb(196, 74, 30);
  --amber-soft: rgb(254, 245, 238);
  --sarasota-teal: rgb(45, 138, 126);
  --teal-soft: rgb(238, 248, 246);
  --foundation-sand: rgb(245, 243, 238);
  --surface-clean: rgb(255, 255, 255);
  --border-subtle: rgb(224, 230, 235);
  --border-medium: rgb(198, 208, 216);
  --text-charcoal: rgb(24, 36, 44);
  --text-slate: rgb(70, 85, 96);
  --text-muted: rgb(105, 120, 132);
  --text-inverse: rgb(255, 255, 255);
  --max-width: 1220px;
  --header-height: 78px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-family: var(--font-family);
  color: var(--text-charcoal);
  background-color: var(--foundation-sand);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

h1, h2, h3, h4 {
  color: var(--primary-navy);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 2.9rem);
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin-bottom: 0.7rem;
}

h4 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-charcoal);
  font-size: 1.05rem;
  line-height: 1.68;
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-slate);
}

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

li {
  margin-bottom: 0.55rem;
  font-size: 1.04rem;
  color: var(--text-charcoal);
  line-height: 1.6;
}

/* Container */
.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(--surface-clean);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(18, 53, 72, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

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

.brand-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--primary-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coastal-amber);
  flex-shrink: 0;
}

.brand-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

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

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

.brand-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sarasota-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  color: var(--text-charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
}

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

.dropdown-item {
  position: relative;
}

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

.dropdown-trigger:hover, .dropdown-trigger:focus-visible {
  color: var(--coastal-amber);
}

.dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.dropdown-item.is-open .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 270px;
  background-color: var(--surface-clean);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(18, 53, 72, 0.12);
  padding: 0.6rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 110;
}

.dropdown-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--text-charcoal);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-link:hover, .dropdown-link:focus-visible {
  background-color: var(--teal-soft);
  color: var(--primary-deep);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  padding: 8px;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.75rem 1.45rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--coastal-amber);
  color: var(--text-inverse);
  box-shadow: 0 3px 10px rgba(224, 90, 42, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--amber-hover);
  color: var(--text-inverse);
  box-shadow: 0 6px 14px rgba(224, 90, 42, 0.32);
}

.btn-secondary {
  background-color: var(--surface-clean);
  color: var(--primary-deep);
  border-color: var(--border-medium);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--foundation-sand);
  border-color: var(--primary-deep);
  color: var(--primary-deep);
}

.btn-phone-header {
  background-color: var(--teal-soft);
  color: var(--primary-deep);
  border: 1px solid var(--sarasota-teal);
  padding: 0.55rem 1.15rem;
  font-size: 0.94rem;
  border-radius: 6px;
}

.btn-phone-header:hover, .btn-phone-header:focus-visible {
  background-color: var(--sarasota-teal);
  color: var(--text-inverse);
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.1rem;
}

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

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

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

.breadcrumbs-list li a {
  color: var(--primary-deep);
  text-decoration: none;
}

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

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

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

/* Hero Section */
.hero-section {
  background-color: var(--surface-clean);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 0 3.8rem;
  position: relative;
}

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

.hero-badge {
  display: inline-block;
  background-color: var(--teal-soft);
  color: var(--sarasota-teal);
  border: 1px solid rgba(45, 138, 126, 0.3);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-slate);
  font-weight: 600;
  line-height: 1.35;
}

.signal-item svg {
  width: 18px;
  height: 18px;
  color: var(--sarasota-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-media {
  position: relative;
}

.hero-image-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(18, 53, 72, 0.12);
  border: 1px solid var(--border-subtle);
  background-color: var(--foundation-sand);
}

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

.hero-caption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-slate);
  text-align: center;
  font-style: italic;
}

/* Section Common Styling */
.section-padding {
  padding: 4rem 0;
}

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

.section-head {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.section-tag {
  color: var(--sarasota-teal);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

/* Call Banners / Direct CTA Boxes */
.call-banner {
  background-color: var(--primary-deep);
  color: var(--text-inverse);
  border-radius: 10px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--coastal-amber);
}

.call-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.call-banner-text h3 {
  color: var(--text-inverse);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.call-banner-text p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  font-size: 1.05rem;
}

.call-banner-action {
  flex-shrink: 0;
}

/* Feature & Service Grids */
.services-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background-color: var(--surface-clean);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(18, 53, 72, 0.08);
  border-color: var(--border-medium);
}

.service-card-title {
  font-size: 1.28rem;
  margin-bottom: 0.75rem;
}

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

.service-card-title a:hover {
  color: var(--coastal-amber);
}

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

.service-card-link {
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--coastal-amber);
}

.service-card-link:hover {
  text-decoration: underline;
}

/* Split Content Layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-layout.reversed {
  direction: rtl;
}

.split-layout.reversed > * {
  direction: ltr;
}

.split-image-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(18, 53, 72, 0.08);
  border: 1px solid var(--border-subtle);
}

.split-image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Steps / Workflow */
.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.process-node {
  background-color: var(--surface-clean);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.85rem;
  position: relative;
}

.process-step-num {
  width: 36px;
  height: 36px;
  background-color: var(--teal-soft);
  color: var(--sarasota-teal);
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.process-node h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.process-node p {
  font-size: 0.96rem;
  color: var(--text-slate);
  margin-bottom: 0;
}

/* Checklist / Warning signs box */
.checklist-card {
  background-color: var(--surface-clean);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 2.25rem;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.sign-tile {
  background-color: var(--foundation-sand);
  border-left: 4px solid var(--coastal-amber);
  border-radius: 4px;
  padding: 1.25rem;
}

.sign-tile h4 {
  font-size: 1.05rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.sign-tile p {
  font-size: 0.93rem;
  color: var(--text-slate);
  margin-bottom: 0;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-stack {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--surface-clean);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

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

.faq-question:hover, .faq-question:focus-visible {
  color: var(--coastal-amber);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.45rem 1.35rem;
  color: var(--text-slate);
}

.faq-item.is-open .faq-answer {
  display: block;
}

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

/* Footer */
.site-footer {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 4px solid var(--sarasota-teal);
}

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

.footer-col h4 {
  color: var(--text-inverse);
  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: 32px;
  height: 2px;
  background-color: var(--coastal-amber);
}

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

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

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

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

.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--coastal-amber);
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.94rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--coastal-amber);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-phone-btn {
  display: inline-block;
  background-color: var(--coastal-amber);
  color: var(--text-inverse);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.footer-phone-btn:hover {
  background-color: var(--amber-hover);
  color: var(--text-inverse);
}

.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-sub a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-sub a:hover {
  color: var(--coastal-amber);
}

/* Sticky Mobile Call Bar */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-navy);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
  z-index: 99;
  border-top: 2px solid var(--coastal-amber);
}

.sticky-mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  background-color: var(--coastal-amber);
  color: var(--text-inverse);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 1.05rem;
}

.sticky-mobile-bar svg {
  width: 20px;
  height: 20px;
}

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

@media (max-width: 820px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-clean);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 2px solid var(--sarasota-teal);
    box-shadow: 0 10px 25px rgba(18, 53, 72, 0.12);
  }

  .nav-menu.is-active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 1rem;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown-item.is-open .dropdown-menu {
    display: block;
  }

  .hero-signals {
    grid-template-columns: 1fr;
  }

  .call-banner-inner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .sticky-mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
