:root {
  --color-primary: rgb(21, 57, 87);
  --color-primary-dark: rgb(13, 37, 58);
  --color-primary-light: rgb(32, 85, 128);
  --color-accent: rgb(204, 119, 34);
  --color-accent-hover: rgb(179, 98, 20);
  --color-teal: rgb(18, 126, 142);
  --color-bg-light: rgb(246, 248, 250);
  --color-bg-alt: rgb(238, 242, 246);
  --color-text-main: rgb(33, 43, 54);
  --color-text-muted: rgb(90, 104, 118);
  --color-border: rgb(218, 225, 233);
  --color-white: rgb(255, 255, 255);
  --color-danger-bg: rgb(254, 242, 242);
  --color-danger-border: rgb(254, 202, 202);
  --color-danger-text: rgb(153, 27, 27);
  --color-card-border: rgb(226, 232, 240);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-family-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.65;
  font-size: 1.05rem;
  padding-bottom: 70px;
}

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

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

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

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

.site-header {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.brand-link:hover {
  color: var(--color-primary-light);
}

.brand-logo-img {
  width: 32px;
  height: 32px;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.1rem;
}

.nav-desktop {
  display: none;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
}

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

.nav-desktop li {
  position: relative;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  display: block;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  padding: 0.6rem 0;
  margin: 0;
  display: none;
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: flex;
}

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

.dropdown-menu a {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  white-space: nowrap;
}

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

.nav-phone-btn {
  background-color: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.nav-phone-btn:hover,
.nav-phone-btn:focus {
  background-color: var(--color-accent-hover) !important;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--color-primary-dark);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.hamburger-icon {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

@media (min-width: 960px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-nav-pane {
  display: none;
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  padding: 1.25rem;
}

.mobile-nav-pane.active {
  display: block;
}

.mobile-nav-pane ul {
  list-style: none;
}

.mobile-nav-pane li {
  margin-bottom: 0.75rem;
}

.mobile-nav-pane a {
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
  padding: 0.4rem 0;
}

.mobile-services-heading {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.25rem;
}

.mobile-sub-menu {
  padding-left: 1rem;
}

.mobile-sub-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  padding: 0.35rem 0;
}

.hero-section {
  background: linear-gradient(135deg, rgb(13, 37, 58) 0%, rgb(21, 57, 87) 60%, rgb(18, 70, 96) 100%);
  color: var(--color-white);
  padding: 3.5rem 1.25rem;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.hero-content h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--color-white);
}

@media (min-width: 600px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  color: rgb(215, 230, 242);
}

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

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.9rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.hero-badge-group {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.badge-item {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: rgb(235, 245, 255);
}

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

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

.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

.article-content {
  background-color: var(--color-white);
  padding: 2.25rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.65rem;
  color: var(--color-primary-dark);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  border-bottom: 2px solid var(--color-bg-alt);
  padding-bottom: 0.5rem;
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.4rem;
  padding-left: 1.6rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-inline-image {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.article-inline-image figcaption {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 0.5rem 0.75rem;
  background-color: var(--color-bg-alt);
  font-style: italic;
}

.callout-box {
  background-color: var(--color-bg-alt);
  border-left: 4px solid var(--color-teal);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 6px 6px 0;
}

.callout-urgent {
  background-color: var(--color-danger-bg);
  border-left: 4px solid var(--color-danger-text);
  color: var(--color-danger-text);
}

.callout-urgent h3 {
  color: var(--color-danger-text);
  margin-top: 0;
}

.cta-box-inline {
  background: linear-gradient(135deg, rgb(21, 57, 87) 0%, rgb(18, 70, 96) 100%);
  color: var(--color-white);
  padding: 1.75rem 2rem;
  border-radius: 8px;
  margin: 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

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

.cta-box-inline h3 {
  color: var(--color-white);
  margin-top: 0;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.cta-box-inline p {
  color: rgb(215, 230, 242);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.cta-btn-light {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

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

.faq-section {
  margin-top: 2.5rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  margin-bottom: 1rem;
  background-color: var(--color-white);
}

.faq-question {
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-alt);
  border-radius: 6px 6px 0 0;
}

.faq-answer {
  padding: 1.25rem;
  font-size: 1rem;
  color: var(--color-text-main);
  border-top: 1px solid var(--color-border);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.4rem;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--color-border);
}

.sidebar-menu li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-primary);
  display: block;
}

.sidebar-menu a:hover,
.sidebar-menu a:focus {
  color: var(--color-accent);
  padding-left: 0.35rem;
  transition: padding 0.15s ease;
}

.sidebar-cta-card {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.sidebar-cta-card h3 {
  color: var(--color-white);
  border-bottom: none;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.sidebar-cta-card p {
  color: rgb(215, 230, 242);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.sidebar-phone-btn {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  display: block;
  font-size: 1.15rem;
}

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

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

@media (min-width: 650px) {
  .service-grid-homepage {
    grid-template-columns: 1fr 1fr;
  }
}

.service-item-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-item-card h3 {
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

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

.service-link-anchor {
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: auto;
}

.service-link-anchor:hover,
.service-link-anchor:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-teal);
  text-decoration: none;
}

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

.breadcrumbs span.separator {
  margin: 0 0.5rem;
  color: var(--color-text-muted);
}

.site-footer {
  background-color: var(--color-primary-dark);
  color: rgb(215, 230, 242);
  padding: 3.5rem 1.25rem 2rem;
  margin-top: 3.5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .footer-container {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.4rem;
  display: inline-block;
}

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

.footer-nav-list {
  list-style: none;
}

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

.footer-nav-list a {
  color: rgb(215, 230, 242);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-hub-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgb(170, 190, 205);
}

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

.sticky-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-accent);
  padding: 0.75rem 1rem;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

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

.sticky-call-btn {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

