/* ==========================================================================
   The Monitoring Center — shared base + site chrome
   --------------------------------------------------------------------------
   Extracted from the common portion of every "html source" page so the
   layout (announcement bar, topbar, nav, mobile menu, footer, sticky call)
   and any page without its own inline <style> (e.g. /thank-you/) render
   correctly. Individual converted pages still carry their full inline
   <style> block in @section Head for pixel-faithful page-specific styling;
   those identical chrome rules simply override these with the same values.
   ========================================================================== */

:root {
  --navy: #061f44;
  --navy2: #09295a;
  --red: #d70606;
  --gold: #f8c432;
  --white: #ffffff;
  --text: #071f42;
  --muted: #5f6c7d;
  --green: #18a957;
  --border: #dce3ec;
  --light: #f6f9fd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(215, 6, 6, .22);
}
.btn:hover { filter: brightness(.96); }
.btn-navy,
.btn-blue { background: var(--navy); box-shadow: none; }
.btn-gold { background: var(--gold); color: var(--navy); }

/* Announcement bar ----------------------------------------------------- */
.announcement-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.announcement-bar span { color: var(--gold); }

/* Top bar (logo + phone) ----------------------------------------------- */
.topbar { background: #fff; padding: 13px 0 9px; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-img { height: 60px; width: auto; }
.phone-wrap { display: flex; align-items: center; gap: 26px; }
.phone-label { font-size: 14px; font-weight: 800; text-align: right; color: var(--navy); }
.phone { color: var(--red); font-size: 30px; font-weight: 950; white-space: nowrap; line-height: 1; }

/* Desktop nav ---------------------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
}
nav a { color: #fff; white-space: nowrap; }
nav a:hover { color: var(--gold); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 13px);
  left: 0;
  background: var(--navy);
  min-width: 230px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  z-index: 200;
  padding: 6px 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
/* Invisible bridge over the 13px gap between the nav bar and the menu so
   :hover isn't lost while the cursor travels down into the dropdown. This
   lives on the (unclipped) .nav-dropdown container rather than the menu,
   because a scrollable menu (overflow-y:auto) would clip a menu pseudo-
   element positioned above its box and drop the hover. */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
  display: none;
}
.nav-dropdown:hover::after { display: block; }
.nav-dropdown-menu a:last-child { border-bottom: 0; }
.nav-dropdown-menu a:hover { background: rgba(255, 255, 255, .1); color: var(--gold); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu.scrollable { max-height: 70vh; overflow-y: auto; }
.nav-dropdown-menu a.nav-group-header {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .8px;
  padding-top: 12px;
}
.nav-dropdown-menu a.nav-group-header:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--gold);
  text-decoration: underline;
}

/* Mobile nav toggle + menu --------------------------------------------- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.mobile-nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  overflow-y: auto;
  padding: 64px 24px 40px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}
.mob-section { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mob-section-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .8px;
  width: 100%;
  text-align: left;
}
.mob-section-toggle:hover { background: rgba(255, 255, 255, .05); }
.mob-section-arrow { font-size: 16px; transition: transform .25s; flex-shrink: 0; }
.mob-section.open .mob-section-arrow { transform: rotate(180deg); }
.mob-section-links { display: none; flex-direction: column; background: rgba(0, 0, 0, .25); }
.mob-section.open .mob-section-links { display: flex; }
.mob-section-links a {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 10px 28px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
  display: block !important;
}
.mob-section-links a:last-child { border-bottom: 0 !important; }
.mob-section-links a:hover { color: var(--gold) !important; background: rgba(255, 255, 255, .05) !important; }
.mob-city-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mob-city-grid a { border-right: 1px solid rgba(255, 255, 255, .06); }
.mob-city-grid a:nth-child(even) { border-right: 0; }
.mobile-menu > a {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 13px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
  display: block !important;
}
.mobile-menu > a:hover { color: var(--gold) !important; }

/* Footer --------------------------------------------------------------- */
footer { padding: 28px 0 16px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 900; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.footer-inner a { color: #fff; }
footer a { color: var(--gold); }

/* Mobile sticky call --------------------------------------------------- */
.mobile-sticky-call {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  padding: 16px;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 950;
  font-size: 17px;
  text-transform: uppercase;
}

/* Radio / checkbox alignment ------------------------------------------ */
/* Generic full-width field rules (e.g. .form-card input{width:100%}) also
   hit radio/checkbox inputs, stretching them so the dot floats above its
   label text. Force them back to their natural size and vertically center
   each control with its label across every form. */
.radio-row label,
.radio-row .label,
label.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.radio-row input[type="radio"],
.radio-row input[type="checkbox"],
.form-card input[type="radio"],
.form-card input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex: none;
  vertical-align: middle;
}

/* Chrome responsive behaviour ----------------------------------------- */
@media (max-width: 1080px) {
  nav { display: none; }
  .mobile-nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  body { padding-bottom: 70px; }
  .topbar-inner { flex-wrap: nowrap; }
  .logo-img { height: 48px; }
  .phone-wrap { display: none; }
  .mobile-sticky-call { display: block; }
  .footer-inner { flex-direction: column; text-align: center; }
}
