/* CSS Custom Properties */
:root {
  --navy: #0c2340;
  --navy-light: #1d3557;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --accent: #d97706; /* Safety Orange */
  --accent-hover: #c2410c;
  --text-main: #333333;
  --text-muted: #666666;
  --border: #e2e8f0;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset and Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-main); line-height: 1.6; background-color: var(--white); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; margin-top: 2rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-top: 1.5rem; }
p { margin-bottom: 1.2rem; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-hover); }
ul, ol { margin-bottom: 1.2rem; padding-left: 2rem; }
li { margin-bottom: 0.5rem; }

/* Layout & Containers */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header & Navigation */
.site-header { background-color: var(--navy); color: var(--white); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: -0.5px; }
.logo:hover { color: var(--white); }
.logo-sub { display: block; font-size: 0.85rem; color: #a0aec0; font-weight: 400; }

/* Desktop Navigation */
.desktop-nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
}
.nav-link { color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 0.5rem; border-radius: 4px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--white); min-width: 250px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: flex; flex-direction: column; }
.dropdown-item { padding: 0.75rem 1.25rem; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--off-white); }
.dropdown-item:hover { background-color: var(--off-white); color: var(--accent); }

/* Mobile Navigation */
.menu-toggle { background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; padding: 0.25rem; min-height: 44px; min-width: 44px; }
.mobile-nav { display: none; flex-direction: column; background-color: var(--navy-light); padding: 1rem 1.5rem; }
.mobile-nav.active { display: flex; }
.mobile-nav .nav-link { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-sub-menu { padding-left: 1.5rem; display: flex; flex-direction: column; }
.mobile-sub-menu .nav-link { font-size: 0.95rem; color: #cbd5e1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background-color: var(--accent); color: var(--white); padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 700; text-align: center; border: none; cursor: pointer; min-height: 44px; transition: background-color 0.2s ease, transform 0.2s ease; text-decoration: none; }
.btn:hover, .btn:focus { background-color: var(--accent-hover); color: var(--white); transform: translateY(-1px); }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }

/* Breadcrumbs */
.breadcrumbs { background-color: var(--off-white); padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li::after { content: "/"; color: var(--text-muted); margin-left: 0.5rem; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--navy); font-weight: 500; }
.breadcrumbs a:hover { color: var(--accent); }

/* Hero Section */
.hero { background-color: var(--off-white); padding: 4rem 0 5rem; border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; font-size: 0.875rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin-bottom: 2rem; font-weight: 400; }
.hero img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* Main Content Area */
.content-section { padding: 4rem 0; }
.article-content { max-width: 850px; margin: 0 auto; }
.call-box { background-color: var(--navy-light); color: var(--white); padding: 2.5rem; border-radius: 8px; margin: 3rem 0; text-align: center; }
.call-box h3 { color: var(--white); margin-top: 0; }
.call-box p { color: #cbd5e1; font-size: 1.1rem; }

/* FAQ Section (Accordion styling can be handled via JS or HTML details/summary) */
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
details.faq-item { background-color: var(--off-white); border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.5rem; }
details.faq-item summary { font-size: 1.25rem; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); }
details.faq-item[open] summary::after { content: '-'; }
details.faq-item p { margin-top: 1rem; margin-bottom: 0; }

/* Footer */
.site-footer { background-color: var(--navy); color: #cbd5e1; padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; }

/* Sticky Mobile Call Bar */
.mobile-call-bar { display: none; }
@media (max-width: 767px) {
  .mobile-call-bar { display: flex; align-items: center; justify-content: center; position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--accent); color: var(--white); padding: 1rem; font-weight: 700; font-size: 1.125rem; z-index: 2000; box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1); text-decoration: none; }
  .mobile-call-bar:hover { background-color: var(--accent-hover); color: var(--white); }
  body { padding-bottom: 60px; /* offset for bar */ }
}
