:root {
  --primary: rgb(15, 76, 129);
  --primary-dark: rgb(10, 48, 82);
  --primary-light: rgb(235, 244, 252);
  --accent: rgb(217, 119, 6);
  --accent-hover: rgb(180, 83, 9);
  --accent-light: rgb(254, 243, 199);
  --alert-red: rgb(220, 38, 38);
  --alert-bg: rgb(254, 242, 242);
  --text-main: rgb(30, 41, 59);
  --text-muted: rgb(71, 85, 105);
  --text-light: rgb(148, 163, 184);
  --bg-main: rgb(255, 255, 255);
  --bg-alt: rgb(248, 250, 252);
  --bg-card: rgb(255, 255, 255);
  --border-light: rgb(226, 232, 240);
  --border-medium: rgb(203, 213, 225);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height: 1.65;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: var(--line-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

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

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

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

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

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

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.2rem;
}

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

li {
  margin-bottom: 0.5rem;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.top-notice-bar {
  background-color: var(--primary-dark);
  color: rgb(255, 255, 255);
  padding: 6px 0;
  font-size: 0.85rem;
  text-align: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: block;
  line-height: 1.1;
  text-decoration: none;
}

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

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

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-sm);
}

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown.open .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-toggle:hover, .dropdown-toggle:focus {
  color: var(--primary);
  background-color: var(--primary-light);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: var(--bg-main);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 0;
  list-style: none;
  z-index: 101;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--primary-light);
  color: var(--primary);
}

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

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  align-items: center;
  gap: 6px;
}

.mobile-menu-btn::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  box-shadow: 0 -5px 0 0 currentColor, 0 5px 0 0 currentColor;
}

/* Mobile Nav Styles */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 8px;
  }

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

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding-left: 12px;
    background-color: var(--bg-alt);
  }

  .header-call-btn {
    display: none;
  }
}

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

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
  content: "";
}

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

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

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

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

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

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

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

/* Page Layout */
.page-body {
  padding: 40px 0 60px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.main-column {
  min-width: 0;
}

.sidebar-column {
  min-width: 0;
}

/* Sidebar Widgets */
.sidebar-box {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  margin-top: 0;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
  color: var(--primary-dark);
}

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

.sidebar-links li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  display: block;
}

.sidebar-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Callout & Alert Boxes */
.callout-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.callout-box h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.emergency-alert {
  background-color: var(--alert-bg);
  border-left: 4px solid var(--alert-red);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.emergency-alert h3 {
  margin-top: 0;
  color: var(--alert-red);
}

/* Call Banners */
.call-banner {
  background-color: var(--primary-dark);
  color: rgb(255, 255, 255);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin: 36px 0;
  text-align: center;
}

.call-banner h3 {
  color: rgb(255, 255, 255);
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 8px;
}

.call-banner p {
  color: rgb(226, 232, 240);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.phone-link-large {
  display: inline-block;
  background-color: var(--accent);
  color: rgb(255, 255, 255);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.phone-link-large:hover, .phone-link-large:focus {
  background-color: var(--accent-hover);
  color: rgb(255, 255, 255);
}

/* Section Cards & Features */
.info-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 32px 0;
}

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

.info-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card h3 {
  margin-top: 0;
  color: var(--primary);
}

/* Technical Steps */
.step-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.step-item {
  position: relative;
  padding-left: 54px;
  margin-bottom: 24px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  background-color: var(--primary);
  color: rgb(255, 255, 255);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.step-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

/* FAQ Box */
.faq-block {
  margin: 32px 0;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  background-color: var(--bg-card);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* In-Content Image */
.content-media {
  margin: 28px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.content-media figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 12px;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

/* Footer */
.site-footer {
  background-color: rgb(15, 23, 42);
  color: rgb(226, 232, 240);
  padding: 48px 0 24px 0;
  font-size: 0.95rem;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

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

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

.footer-widget h4 {
  color: rgb(255, 255, 255);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgb(51, 65, 85);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgb(148, 163, 184);
}

.footer-bottom a {
  color: rgb(203, 213, 225);
}

/* Sticky Mobile Call Bar */
.sticky-mobile-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

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

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