/* ============================================================
   ASPEN CAPITAL — Global Styles
   ============================================================ */

:root {
  /* Brand colors - strictly #1A2B63, #F3525A, and #FFFFFF */
  --navy-900: #1A2B63;
  --navy-800: #1A2B63;
  --navy-700: #1A2B63;
  --red-600: #F3525A;
  --red-700: #F3525A;
  --white: #FFFFFF;
  --bg-light: rgba(26, 43, 99, .03);
  --bg-muted: rgba(26, 43, 99, .06);
  --text-dark: #1A2B63;
  --text-body: #1A2B63;
  --text-muted: rgba(26, 43, 99, .70);
  --line: rgba(26, 43, 99, .12);
  --line-dark: rgba(255, 255, 255, .14);

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(26, 43, 99, .08);
  --shadow-md: 0 10px 30px rgba(26, 43, 99, .12);
  --shadow-lg: 0 20px 50px rgba(26, 43, 99, .18);

  --content-w: 1280px;
  --header-h: 92px;
  --container-pad: 24px;
}

@media (max-width:768px) {
  :root {
    --container-pad: 20px;
    --header-h: 78px;
  }
}

@media (max-width:480px) {
  :root {
    --container-pad: 16px;
    --header-h: 72px;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: var(--header-h);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  width: 100%;
}

@media (min-width:1024px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.eyebrow {
  color: var(--red-600);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red-600);
  display: inline-block;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

@media (max-width:768px) {
  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 44px 0;
  }
}

.section--light {
  background: var(--bg-light);
}

.section--navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .86);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn svg {
  transition: transform .18s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--red-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-700);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy-900);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-600);
  font-weight: 600;
  font-size: .92rem;
  padding: 0;
  background: none;
  border: 0;
}

.btn-text svg {
  transition: transform .18s ease;
}

.btn-text:hover svg {
  transform: translateX(3px);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-play .play-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease;
}

.btn-play:hover .play-circle {
  background: rgba(255, 255, 255, .14);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 260;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(1px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(26, 43, 99, .08);
  border-color: var(--line);
}

.header-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

@media (min-width:1024px) {
  .header-inner {
    padding-left: 40px;
    padding-right: 40px;
    gap: 24px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  flex-shrink: 0;
}

.brand img {
  height: 76px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: height .2s ease;
}

@media (max-width:768px) {
  .brand img {
    height: 58px;
  }
}

@media (max-width:480px) {
  .brand img {
    height: 50px;
  }
}

.main-nav {
  display: none;
}

@media (min-width:1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .main-nav>li {
    position: relative;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: .94rem;
    color: var(--navy-900);
    border-radius: 8px;
    transition: color .15s ease;
  }

  .nav-link:hover,
  .main-nav>li.is-open .nav-link,
  .nav-link.is-current {
    color: var(--red-600);
  }

  .nav-link svg {
    transition: transform .2s ease;
  }

  .main-nav>li.is-open .nav-link svg {
    transform: rotate(180deg);
  }
}

/* --- Rich mega menu panel (full-width, floats below header) --- */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 14px 24px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 250;
  display: none;
}

@media (min-width:1024px) {
  .mega-panel {
    display: block;
  }
}

.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 240;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.mega-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mega-panel-inner,
.container.mega-panel-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: .86fr 2.14fr;
  padding: 0;
}

.mega-intro {
  background: var(--navy-900);
  color: #fff;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mega-intro::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(243, 82, 90, .3), transparent 65%);
}

.mega-intro * {
  position: relative;
  z-index: 1;
}

.mega-intro h3 {
  color: #fff;
  font-size: 1.28rem;
  margin: 0;
}

.mega-intro p {
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  margin: 0;
}

.mega-intro .btn-text {
  color: #fff;
  margin-top: 6px;
}

.mega-intro .btn-text svg {
  color: var(--red-600);
}

.mega-cols {
  display: grid;
}

.mega-cols--2 {
  grid-template-columns: repeat(2, 1fr);
}

.mega-cols--3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-col {
  padding: 32px 26px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--text-body);
  transition: background .15s ease;
}

.mega-col:hover {
  background: var(--bg-light);
}

.mega-col h4 {
  margin: 16px 0 8px;
  font-size: 1.02rem;
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
}

.mega-col p.desc {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.mega-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin: 0 0 18px;
  list-style: none;
}

.mega-col li {
  font-size: .83rem;
  color: var(--text-body);
  font-weight: 600;
  padding-left: 14px;
  position: relative;
}

.mega-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-600);
}

.mega-col .mega-col-arrow {
  margin-top: auto;
  color: var(--red-600);
  display: inline-flex;
}

.mega-cols--6 {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
}

.mega-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-body);
  transition: background .15s ease;
}

.mega-card:nth-child(3n+1) {
  border-left: none;
}

.mega-card:nth-child(n+4) {
  border-bottom: none;
}

.mega-card:hover {
  background: var(--bg-light);
}

.mega-card h4 {
  margin: 0 0 4px;
  font-size: .94rem;
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
}

.mega-card p.desc {
  margin: 0;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width:1180px) {
  .mega-intro {
    padding: 30px 24px;
  }

  .mega-col {
    padding: 26px 18px;
  }

  .mega-card {
    padding: 18px 16px;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta .btn {
  padding: 12px 22px;
  font-size: .88rem;
}

.header-cta .btn-dark {
  display: none;
}

@media (min-width:640px) {
  .header-cta .btn-dark {
    display: inline-flex;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

@media (min-width:1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.is-active span {
  background: transparent;
}

.nav-toggle.is-active span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 190;
  transform: translateX(100%);
  transition: transform .3s ease, visibility 0s linear .3s;
  overflow-y: auto;
  padding: 8px 24px 40px;
  visibility: hidden;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .3s ease;
}

@media (min-width:1024px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.mobile-sub.is-open {
  max-height: 400px;
}

.mobile-sub a {
  display: block;
  padding: 13px 4px 13px 14px;
  color: var(--text-body);
  font-weight: 600;
  border-bottom: 1px dashed var(--line);
  font-size: .96rem;
}

.mobile-nav-cta {
  margin-top: 22px;
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width:560px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

@media (min-width:900px) {
  .footer-top {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 44px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.footer-brand .brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.footer-brand .brand img {
  height: 85px;
  width: auto;
  margin: -8px -20px;
  display: block;
}

.footer-brand p {
  margin: 18px 0 22px;
  font-size: .92rem;
  max-width: 280px;
  color: rgba(255, 255, 255, .62);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}

.social-row a:hover {
  background: var(--red-600);
  border-color: var(--red-600);
}

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-head);
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: .92rem;
  transition: color .15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}

.footer-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal a:hover {
  color: #fff;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--red-600);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 999;
  transition: top .2s ease;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .current {
  color: var(--red-600);
}