/* ==========================================================================
   AA Service Nav — token baseline.
   Every value here is overridable from the Elementor Style tab. Children use
   `color: inherit` so the Card → Text color control cascades through.
   ========================================================================== */

.aa-snav {
  --aa-accent: #f0c219;
  --aa-cut: 46px;
  --aa-cut-edge: 4px;
  --aa-slash: 26px;
  --aa-slash-edge: 3px;

  position: relative;
  display: block;
  /* Right-only padding is what keeps the accent to the diagonal + right edge.
     Padding all round would render a full gold picture-frame. */
  padding: 0 var(--aa-cut-edge) 0 0;
  background: var(--aa-accent);
  border-radius: 4px;
  color: #fff;
  clip-path: polygon(
    0 0,
    calc(100% - var(--aa-cut)) 0,
    100% var(--aa-cut),
    100% 100%,
    0 100%
  );
}

.aa-snav--no-cut {
  clip-path: none;
}

.aa-snav__inner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(160deg, #123059 0%, #0a1c33 100%);
  clip-path: polygon(
    0 0,
    calc(100% - var(--aa-cut)) 0,
    100% var(--aa-cut),
    100% 100%,
    0 100%
  );
}

.aa-snav--no-cut .aa-snav__inner {
  clip-path: none;
}

/* ── Header ───────────────────────────────────────────────────────────── */

.aa-snav__header {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 20px 16px;
  background: transparent;
}

.aa-snav__heading {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--aa-accent);
  font-family: 'Oswald', 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.aa-snav__heading-rule {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 14px;
  background: var(--aa-accent);
}

/* Mobile toggle — hidden until JS puts the widget in collapsed mode. */
.aa-snav__toggle {
  display: none;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .2s ease;
}

.aa-snav__toggle:hover { background: rgba(255, 255, 255, .18); }
.aa-snav__toggle svg   { width: 20px; height: 20px; transition: transform .2s ease; }
.aa-snav--open .aa-snav__toggle svg { transform: rotate(180deg); }

.aa-snav__toggle .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Service list ─────────────────────────────────────────────────────── */

.aa-snav__list {
  list-style: none;
  margin: 0;
  padding: 10px 12px 14px;
}

.aa-snav__item {
  position: relative;
}

.aa-snav__item + .aa-snav__item {
  margin-top: 4px;
}

.aa-snav__item + .aa-snav__item .aa-snav__link::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(255, 255, 255, .10);
}

.aa-snav--no-dividers .aa-snav__item + .aa-snav__item .aa-snav__link::before,
.aa-snav__item--active .aa-snav__link::before,
.aa-snav__item--active + .aa-snav__item .aa-snav__link::before {
  display: none;
}

.aa-snav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 3px;
  border-left: 0 solid transparent;
  background: rgba(255, 255, 255, .05);
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.aa-snav__link:hover,
.aa-snav__link:focus-visible {
  background: rgba(255, 255, 255, .12);
  color: inherit;
}

.aa-snav__link:focus-visible {
  outline: 2px solid var(--aa-accent);
  outline-offset: 2px;
}

.aa-snav__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.aa-snav__icon i,
.aa-snav__icon svg { width: 15px; height: 15px; }

/* Scoped to icon containers only — a blanket rule would turn stroke-based
   chevrons into filled triangles. */
.aa-snav__icon svg,
.aa-snav__icon svg path { fill: currentColor; }

.aa-snav__label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
}

.aa-snav__chevron {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .75);
}

.aa-snav__chevron svg { width: 100%; height: 100%; }

/* Active row — the white card in the comp. */
.aa-snav__item--active .aa-snav__link {
  background: #f4f6f9;
  border-left-color: transparent;
}
.aa-snav__item--active .aa-snav__label   { color: #123059; }
.aa-snav__item--active .aa-snav__icon    { color: #1f6fd0; }
.aa-snav__item--active .aa-snav__chevron { color: #123059; }

.aa-snav__item--child .aa-snav__link { padding-left: 32px; }

/* ── CTA panel (eagle art lives here as a background) ─────────────────── */

.aa-snav__cta {
  position: relative;
  padding: 38px 20px 22px;
  background-color: #0d2141;
  background-position: right bottom;
  background-size: auto 112%;
  background-repeat: no-repeat;
  clip-path: polygon(0 var(--aa-slash), 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}

.aa-snav--no-slash .aa-snav__cta {
  clip-path: none;
}

/* Baseline scrim so the copy stays readable over whatever art gets dropped in
   as the panel background. Overridden by the Overlay control. */
.aa-snav__cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(10, 26, 48, .94) 0%,
    rgba(10, 26, 48, .82) 45%,
    rgba(10, 26, 48, .38) 100%
  );
}

/* The gold diagonal band, sitting flush inside the panel's clipped edge. */
.aa-snav__cta-slash {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: calc(var(--aa-slash) + var(--aa-slash-edge));
  background: var(--aa-accent);
  pointer-events: none;
  clip-path: polygon(
    0 var(--aa-slash),
    100% 0,
    100% var(--aa-slash-edge),
    0 calc(var(--aa-slash) + var(--aa-slash-edge))
  );
}

.aa-snav__cta-body {
  position: relative;
  z-index: 2;
}

.aa-snav__cta-heading {
  margin: 0 0 6px;
  font-family: 'Oswald', 'Poppins', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: inherit;
}

.aa-snav__cta-sub {
  margin: 0 0 14px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: inherit;
}

.aa-snav__cta-accent {
  color: var(--aa-accent);
  font-weight: 700;
}

.aa-snav__cta-accent + .aa-snav__cta-subhead { margin-left: .3em; }

.aa-snav__cta-subhead { color: inherit; }

.aa-snav__cta-phone-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.aa-snav__cta-phone-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aa-accent);
}

.aa-snav__cta-phone-icon i,
.aa-snav__cta-phone-icon svg { width: 18px; height: 18px; font-size: 18px; }
.aa-snav__cta-phone-icon svg,
.aa-snav__cta-phone-icon svg path { fill: currentColor; }

.aa-snav__cta-phone {
  font-family: 'Oswald', 'Poppins', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}

.aa-snav__cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 3px;
  background: var(--aa-accent);
  color: #123059;
  text-decoration: none;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}

.aa-snav__cta-btn:hover,
.aa-snav__cta-btn:focus-visible {
  background: #fff;
  color: #123059;
}

.aa-snav__cta-btn-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.aa-snav__cta-btn-icon i,
.aa-snav__cta-btn-icon svg { width: 14px; height: 14px; font-size: 14px; }
.aa-snav__cta-btn-icon svg,
.aa-snav__cta-btn-icon svg path { fill: currentColor; }

/* ── Trust strip ──────────────────────────────────────────────────────── */

.aa-snav__trust {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  background: #0a1a30;
}

.aa-snav__trust-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.aa-snav__trust-icon i,
.aa-snav__trust-icon svg { width: 22px; height: 22px; font-size: 22px; }
.aa-snav__trust-icon svg,
.aa-snav__trust-icon svg path { fill: currentColor; }

.aa-snav__trust-text {
  display: block;
  min-width: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
}

.aa-snav__trust-line1 {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
}

.aa-snav__trust-line2 {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, .72);
}

/* ── Collapsed (mobile) mode — class applied by aa-service-nav.js ─────── */

.aa-snav--collapsed-mode .aa-snav__toggle { display: inline-flex; }
.aa-snav--collapsed-mode .aa-snav__list   { display: none; }
.aa-snav--collapsed-mode.aa-snav--open .aa-snav__list { display: block; }

/* ── Editor-only notice ───────────────────────────────────────────────── */

.aa-snav-notice {
  padding: 18px 20px;
  border: 1px dashed rgba(18, 48, 89, .4);
  border-radius: 4px;
  background: rgba(240, 194, 25, .12);
  color: #123059;
  font: 500 13px/1.5 system-ui, sans-serif;
}
