/* ===== /assets/css/site.css ===== */
:root {
  --brand-dk: #0b1b2b;   /* deep navy */
  --brand: #0f2741;      /* primary */
  --brand-accent: #c41e3a; /* red accent */
  --brand-accent-2: #ff4d4d; /* lighter red */
  --ink: #0b0e13;        /* text */
  --muted: #667085;      /* secondary text */
  --bg: #ffffff;         /* page */
  --bg-alt: #f5f7fa;     /* sections */
  --ring: rgba(196, 30, 58, .35);
  --radius: 14px;
  --shadow: 0 10px 25px rgba(15, 39, 65, .08), 0 2px 6px rgba(0, 0, 0, .04);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-accent); }
img { max-width: 100%; display: block; height: auto; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* Header */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo-img { width: 100px; display: block; }
.brand__name { font-weight: 700; letter-spacing: .2px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-weight: 600; }
.nav__link[aria-current="page"] { background: var(--bg-alt); }
.cta-phone { white-space: nowrap; margin-left: auto; flex-shrink:0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 4px 14px rgba(15, 39, 65, .18); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover {  box-shadow: 0 8px 22px rgba(15, 39, 65, .24); }
a.btn--accent:hover { color: var(--brand-dk); }
.btn--outline { background: transparent; color: var(--brand); border: 1px solid rgba(15, 39, 65, .18); }
.btn--accent { background: var(--brand-accent); }

/* Base mobile layout */
@media (max-width: 767.98px) {
  .topnav { display: none; }
  .menu-toggle { display: none; }
  .menu-toggle-mobile { display: inline-flex; }
}
@media (min-width: 768px) {
  .menu-toggle-mobile { display: none; }
}

/* Mobile menu container */
.mobile-nav {
  position: fixed; inset: 0;
  display: none;
  z-index: 1000;
}
.mobile-nav.open { display: block; }

.mobile-nav__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; transition: opacity .2s ease;
}
.mobile-nav.open .mobile-nav__backdrop { opacity: 1; }

.mobile-nav__panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 100%; max-width: 360px;
  background: #fff; color: #0b1b2b;
  transform: translateX(-100%);
  transition: transform .25s ease;
  padding: 60px 0 40px;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__close {
  position: absolute; top: 12px; right: 16px;
  font-size: 32px; background: none; border: 0; cursor: pointer;
}

/* Full-width column style for links */
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-menu > li {
  border-bottom: 1px solid #e0e4ea;
}

.mobile-menu a,
.mobile-menu summary {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  font-size: 1rem;
  text-decoration: none;
  color: #0b1b2b;
  font-weight: 600;
  background-color: #fff;
  transition: background-color 0.2s ease;
}
.mobile-menu a:hover,
.mobile-menu summary:hover {
  background-color: #f2f5f9;
}

/* Submenu links */
.mobile-menu details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu details li a {
  padding: 14px 36px;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid #e7ebf0;
  width: 100%;
}

/* Remove default disclosure triangle */
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after {
  content: "›";
  float: right;
  transition: transform 0.25s ease;
}
.mobile-menu details[open] summary::after {
  transform: rotate(90deg);
}

.menu-toggle { display: none; }
@media (max-width: 880px) {
  nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .menu-panel { position: fixed; inset: 0 0 auto 0; top: 64px; background: #fff; border-top: 1px solid #eef0f4; box-shadow: 0 20px 40px rgba(0,0,0,.12); display: none; }
  .menu-panel.open { display: block; }
  .menu-panel ul { display: grid; gap: 8px; padding: 16px; }
  .cta-phone { display: none; }
}

/* Hero */
.hero { position: relative; isolation: isolate; padding: clamp(36px, 8vw, 72px) 0; background:
  radial-gradient(1200px 400px at 80% -10%, rgba(196, 30, 58, .12), transparent 60%),
  linear-gradient(180deg, #0f2741 0%, #0b1b2b 100%);
  color: #fff; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0; }
.hero p { font-size: clamp(16px, 2.1vw, 18px); color: rgba(255,255,255,.86); margin: 14px 0 22px; }
.hero__img { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }
aside{    display: flex;
    align-items: center;
    justify-content: center;height: -webkit-fill-available;
    }
/* Promo cards */
.section { padding: clamp(36px, 7vw, 72px) 0; }
.section--alt { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.no-grid{display: block;}
.no-grid .card{margin-bottom:30px;}
.card { border: 1px solid #e7ebf0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; justify-content: space-around; }
.card__media { aspect-ratio: 16/9; background: #eef2f6; }
.card__body { padding: 18px; }
.card__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.card h3 { margin: 6px 0 8px; font-size: 20px; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card .btn { align-self: flex-start; }

/* Footer */
footer { background: var(--brand-dk); color: #dfe6ee; }
footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; padding: 30px 0; }
footer a { color: #dfe6ee; }
footer small { display: block; color: #9bb0c7; margin-top: 10px; }
@media (max-width: 860px) { footer .grid { grid-template-columns: 1fr; } }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: saturate(1.2) blur(2px); border: 1px solid rgba(255,255,255,.22); margin-bottom:10px; }
.kicker { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-accent-2); font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.list-inline { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.muted { color: var(--muted); }
.divider { height: 1px; background: #e7ebf0; margin: 18px 0; }
.focus-ring:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* ====== Base Navigation Layout ====== */
.topnav {
  background-color: #fff;        /* matches Utility of Chicago header */
  width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  position: relative;
  z-index: 100;
}

.topnav .menu {
  display: flex;
  align-items: center;
  justify-content: center;       /* center align across width */
  gap: 2rem;                     /* even spacing */
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
}

.topnav .menu > li {
  position: relative;            /* anchor point for dropdown */
}

.topnav .menu > li > a {
  display: inline-block;
  text-decoration: none;
  color: #000;
  padding: 0.75rem 0.25rem;
  transition: color 0.25s ease;
}

.topnav .menu > li > a:hover {
  color: #0046ad;                /* Utility blue hover */
}

/* ====== Dropdown Styles ====== */
.topnav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  min-width: 240px;
  display: none;                 /* hidden by default */
}

.topnav .dropdown li a {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 0.6rem 1rem;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.topnav .dropdown li a:hover {
  background-color: rgba(0,0,0,0.05);
}

/* ====== Hover Trigger ====== */
.topnav .has-dropdown:hover > .dropdown {
  display: block;                /* only show on hover */
}



/* ====== Accessibility & Focus ====== */
.topnav .has-dropdown:focus-within > .dropdown {
  display: block;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 900px) {
  .topnav .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .topnav .menu > li {
    width: 100%;
  }

  .topnav .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    display: none;               /* mobile menu system can override */
    min-width: 100%;
  }

  .topnav .has-dropdown:hover > .dropdown {
    display: none;               /* disable hover for mobile */
  }
}

/* ====== Optional Subtle Animation ====== */
.topnav .dropdown {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.topnav .has-dropdown:hover > .dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

