/* ========== CSS Variables (Design Tokens) ========== */
:root {
  --color-primary: #033669;
  --color-accent: #f68634;
  --color-accent-action: #be5500;
  --color-focus-on-light: var(--color-primary);
  --color-focus-on-dark: #ffffff;
  --color-success: #27ae60;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f9;
  --color-bg-slate: #f8fafc;
  --color-text: #1c2833;
  --color-text-muted: #5b6b78;
  --font-base: 'Segoe UI', Arial, sans-serif;
  --max-width: 1200px;

  /* Radius scale — unify small/medium/large components */
  --radius: 6px;
  --radius-card: 16px;      /* service-card, product-card, news-card */
  --radius-lg: 18px;
  --radius-xl: 22px;

  /* Shadow scale — reuse everywhere instead of one-off rgba values */
  --shadow-sm:
    0 1px 1px rgba(3, 54, 105, 0.04),
    0 2px 2px rgba(3, 54, 105, 0.05),
    inset 0 0 0 1px rgba(3, 54, 105, 0.07);
  --shadow-md:
    0 2px 2px rgba(3, 54, 105, 0.05),
    0 8px 8px -8px rgba(3, 54, 105, 0.07),
    inset 0 0 0 1px rgba(3, 54, 105, 0.07);
  --shadow-lg:
    0 2px 2px rgba(3, 54, 105, 0.05),
    0 8px 16px -4px rgba(3, 54, 105, 0.08),
    0 24px 32px -8px rgba(3, 54, 105, 0.06),
    inset 0 0 0 1px rgba(3, 54, 105, 0.07);

    --transition-standard: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);

  --hv2-navy: var(--color-primary);
  --hv2-orange: var(--color-accent);
  --hv2-gray: #5B6470;
}

/*
 * The header is sticky at 90px, so anchored sections must
 * offset by that much or their headings land underneath it.
 */
html {
  scroll-padding-top: 110px;
}

section[id],
[id^="home-"],
[id$="-section"] {
  scroll-margin-top: 110px;
}

/* ============================================================
   LUCIDE ICON UTILITIES
============================================================ */

.ui-icon {
  display: block;

  width: 24px;
  height: 24px;
  flex: 0 0 auto;

  color: inherit;
  stroke: currentColor;
  stroke-width: 1.75;
}

.ui-icon-sm {
  width: 16px;
  height: 16px;
}

.ui-icon-md {
  width: 26px;
  height: 26px;
}

.ui-icon-lg {
  width: 28px;
  height: 28px;
}


/* ============================================================
   INNER PAGE HERO — unified structure for all non-homepage heroes
   (About, Services, Products, FAQs, Digest/Downloads).
   Does NOT apply to .hero-v2 (homepage hero stays separate).
============================================================ */

.inner-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 90px 20px;
  background-image:
    linear-gradient(135deg, rgba(3, 54, 105, 0.94) 0%, rgba(2, 43, 84, 0.82) 100%),
    var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.inner-page-hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inner-page-hero h1 {
  color: #ffffff;
  font-size: 1.75rem;   /* mobile default, <768px */
  line-height: 1.2;
  margin-bottom: 16px;
}

.inner-page-hero p {
  color: #dce6ec;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .inner-page-hero h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .inner-page-hero h1 { font-size: 2.75rem; }
}

/* ============================================================
   UNIFIED HERO EYEBROW — replaces .about-hero-tag and similar
   one-off tag classes used inside inner-page-hero sections.
============================================================ */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.825rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 16px;
}



/* ========== Global Reset and Overflow Protection ========== */

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

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;

  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
}

/* Fallback for browsers without overflow-x: clip */
@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

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

ul {
  list-style: none;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
textarea,
select,
button {
  max-width: 100%;
  font: inherit;
}

/* ========== Header / Nav ========== */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 90px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(3, 54, 105, 0.06);
  transition: box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-sticky,
.site-header.is-scrolling {
  box-shadow: 0 4px 20px rgba(3, 54, 105, 0.08);
}

.nav-wrap {
  width: 100%;
  max-width: 1280px;
  height: 90px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  min-width: 0;
}

.logo-placeholder {
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 220px;
  min-width: 0;
  max-height: 60px;
  height: 60px;

  flex: 0 1 220px;
}

.logo-placeholder img {
  display: block;
  width: 100%;
  max-width: 220px;
  max-height: 60px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .logo-placeholder {
    max-width: 175px;
    flex-basis: 175px;
  }

  .logo-placeholder img {
    max-width: 175px;
  }
}

@media (max-width: 360px) {
  .logo-placeholder {
    max-width: 155px;
    flex-basis: 155px;
  }

  .logo-placeholder img {
    max-width: 155px;
  }
}

/* ---- Desktop primary nav ---- */
.primary-nav {
  display: none;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-nav li {
  position: relative;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #033669;
  transform: translateX(-50%);
  transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active {
  color: #033669;
}
.nav-link.active::after {
  width: 100%;
  background: #f68634;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 250ms ease;
}
.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret {
  transform: rotate(225deg);
}

.primary-nav .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(3, 54, 105, 0.1);
  padding: 8px 0;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 180ms ease 250ms,
    transform 180ms ease 250ms,
    visibility 0s linear 430ms;
}
.primary-nav .dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.primary-nav .has-dropdown:hover .dropdown,
.primary-nav .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s;
}
.primary-nav .dropdown li { padding: 0; }
.primary-nav .dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.925rem;
  font-weight: 500;
  color: #1F2937;
}
.primary-nav .dropdown a:hover {
  background: #f8fafc;
  color: #033669;
}

/* ============================================================
   NAVIGATION KEYBOARD FOCUS
============================================================ */

.logo-placeholder:focus-visible,
.nav-link:focus-visible,
.primary-nav .dropdown a:focus-visible,
.btn-contact-cta:focus-visible,
.nav-toggle:focus-visible,
.drawer-close:focus-visible,
.mobile-drawer-nav a:focus-visible {
  outline: 3px solid var(--color-focus-on-light);
  outline-offset: 4px;
}


/* Dropdown links */

.primary-nav .dropdown a:focus-visible {
  background: var(--color-bg-slate);
  color: var(--color-primary);
}


/* Mobile navigation */

.mobile-drawer-nav > ul > li > a:focus-visible,
.mobile-drawer-nav .dropdown a:focus-visible {
  border-radius: 4px;
}

/* ---- Right actions ---- */
.nav-actions {
  display: none;
  align-items: center;
  gap: 16px;
}

.btn-contact-cta {
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.925rem;
  transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}
.btn-contact-cta:hover {
  background: #04477f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(3, 54, 105, 0.28);
}

.btn-nav-secondary {
  padding: 10px 18px;
  border-radius: 8px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(3, 54, 105, 0.22);
  font-weight: 600;
  font-size: 0.925rem;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.btn-nav-secondary:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
}

/* ---- Hamburger toggle (mobile/tablet) ---- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #1F2937;
  border-radius: 2px;
}

/* ---- Mobile drawer ---- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;

  width: min(85%, 340px);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;

  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);

  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;

  transition:
    transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 350ms;

  z-index: 200;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  will-change: transform;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 8px;
  color: #1F2937;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-drawer-nav > ul {
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
}
.mobile-drawer-nav li {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-drawer-nav li:first-child {
  border-top: none;
}
.mobile-drawer-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: #1F2937;
  font-weight: 600;
}
.mobile-drawer-nav .dropdown {
  max-height: 0;
  overflow: hidden;
  padding-left: 16px;
  transition: max-height 300ms ease;
}
.mobile-drawer-nav .has-dropdown.open .dropdown {
  max-height: 400px;
}
.mobile-drawer-nav .dropdown a {
  display: block;
  padding: 12px 0;
  font-size: 0.925rem;
  color: #5B6470;
}
.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.mobile-drawer-actions .btn-contact-cta {
  text-align: center;
}

/* ---- Drawer overlay ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 54, 105, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 150;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open-lock {
  overflow: hidden;
}

/* ---- Desktop breakpoint ---- */
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
  .mobile-drawer { display: none; }
}

/* ========== Layout Sections ========== */
.site-main { min-height: 60vh; }

.section { max-width: var(--max-width); margin: 0 auto; padding: 30px 20px; }
.section.alt { background: var(--color-bg-alt); max-width: none; }
.section.alt > * { max-width: var(--max-width); margin-left: auto; margin-right: auto; padding: 0 20px; }

h1 { font-size: 1.8rem; margin-bottom: 16px; color: var(--color-primary); }
h2 { font-size: 1.5rem; margin-bottom: 16px; color: var(--color-primary); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { color: var(--color-text-muted); margin-bottom: 12px; }



/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #e4e9ed;
}

/* ========== Forms ========== */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 500px; margin-top: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.form input, .form textarea {
  padding: 10px 12px;
  border: 1px solid #ccd4d9;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
}
/* ========== Footer  ========== */

/* ---- Tier 1: CTA banner ---- */
.footer-cta-banner {
  background: linear-gradient(135deg, #033669 0%, #022B54 100%);
  border-radius: 24px;
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 70px 32px;
  position: relative;
  z-index: 1;
}
.footer-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.footer-cta-inner h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 16px;
}
.footer-cta-inner p {
  color: #dce6ec;
  line-height: 1.7;
  margin-bottom: 0;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 16px;

  margin-top: 28px;
}

.footer-newsletter-message {
  font-weight: 600;
  margin-bottom: 0;
}
.footer-newsletter-message-success {
  color: #27ae60;
}
.footer-newsletter-message-error {
  color: #d9534f;
}

/* ---- Tier 2: Floating newsletter card ---- */
.footer-newsletter-wrap {
  max-width: 1280px;
  margin: -40px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.footer-newsletter-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(3, 54, 105, 0.12);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-newsletter-text {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-newsletter-text svg {
  width: 28px;
  height: 28px;

  flex-shrink: 0;

  color: var(--color-primary);
}
.footer-newsletter-text h3 {
  color: #033669;
  margin-bottom: 0;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-newsletter-form input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.footer-newsletter-form input:focus {
  outline: 3px solid var(--color-focus-on-light);
  outline-offset: 3px;
  border-color: #033669;
  box-shadow: none;
}
.footer-newsletter-form button {
  height: 48px;
  padding: 0 28px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 250ms ease;
}
.footer-newsletter-form button:hover {
  background: #04477f;
}

@media (min-width: 768px) {
  .footer-newsletter-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-newsletter-form {
    flex-direction: row;
    max-width: 560px;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .footer-newsletter-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .footer-newsletter-text {
    justify-self: start;
  }

  .footer-newsletter-form {
    grid-column: 2;
    justify-self: center;
    width: 600px;
    max-width: 100%;
    transform: translateX(50px);
  }

  .footer-newsletter-message {
    grid-column: 2;
    justify-self: center;
  }
}

/* ---- Tier 3: Dark directory grid ---- */
.site-footer {
  background: #022B54;
  color: #dce6ec;
  margin-top: 60px;
}
.footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 32px 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.logo-placeholder-footer {
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 18px;
}
.footer-col-brand p {
  color: #dce6ec;
  line-height: 1.6;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social-row .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 250ms ease, border-color 250ms ease;
}
.footer-social-row .social-icon svg {
  width: 16px;
  height: 16px;
}
.footer-social-row .social-icon:hover {
  background: var(--color-accent-action);
  border-color: var(--color-accent-action);
}

.footer-arrow-list li {
  margin-bottom: 12px;
}
.footer-arrow-list a {
  position: relative;
  color: #dce6ec;
  padding-right: 16px;
  transition: color 250ms ease, padding-right 250ms ease;
}
.footer-arrow-list a::after {
  content: "→";
  position: absolute;
  right: 0;
  opacity: 0;
  transition: opacity 250ms ease, right 250ms ease;
  color: #f68634;
}
.footer-arrow-list a:hover {
  color: #ffffff;
  padding-right: 22px;
}
.footer-arrow-list a:hover::after {
  opacity: 1;
  right: -6px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #f68634;
  margin-top: 2px;
}
.footer-contact-list a {
  color: #dce6ec;

  min-width: 0;
  max-width: 100%;

  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact-list li > *:last-child {
  min-width: 0;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .footer-wrap {
    padding: 80px 20px 40px;
  }

  .footer-bottom {
    padding: 24px 20px;
  }

  .footer-legal-links {
    width: 100%;
  }
}


/* ---- Tier 4: Bottom regulatory ribbon ---- */
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom p {
  margin-bottom: 0;
  color: #dce6ec;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;

  max-width: 100%;
  min-width: 0;
}
.footer-legal-links a {
  color: #dce6ec;
}
.footer-legal-links a:hover {
  color: #f68634;
}
.footer-legal-links span {
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .footer-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-wrap { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
/* ========== Tablet and up ========== */
@media (min-width: 768px) {
 h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Desktop ========== */
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   FOOTER KEYBOARD FOCUS
============================================================ */

.site-footer a:focus-visible,
.footer-cta-banner a:focus-visible {
  outline: 3px solid var(--color-focus-on-dark);
  outline-offset: 4px;
}

.footer-newsletter-form button:focus-visible {
  outline: 3px solid var(--color-focus-on-light);
  outline-offset: 4px;
}

.honeypot {
  position: absolute;

  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);

  white-space: nowrap;
  border: 0;
}

.form-error {
  color: #b42318;
  font-weight: 600;
}

/* ============================================================
   SHARED BUTTON UTILITIES
============================================================ */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 24px;

  background: transparent;

  color: var(--color-primary);

  border: 2px solid var(--color-primary);
  border-radius: var(--radius);

  font-weight: 700;
  line-height: 1.4;

  cursor: pointer;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-outline:focus-visible {
  outline: 3px solid var(--color-focus-on-light);
  outline-offset: 3px;
}


/* Light version for dark backgrounds */

.btn-outline-light {
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-light:hover {
  background: #ffffff;
  border-color: #ffffff;

  color: var(--color-primary);
}

.footer-cta-banner .btn-outline-light:focus-visible {
  outline: 3px solid var(--color-focus-on-dark);
  outline-offset: 4px;
}


/* Text-style action */

.btn-text {
  display: inline-flex;
  align-items: center;

  color: var(--color-primary);

  font-weight: 700;
  line-height: 1.5;

  transition:
    color 220ms ease;
}

.btn-text:hover {
  color: var(--color-accent);
}

.btn-text:focus-visible {
  outline: 3px solid rgba(246, 134, 52, 0.28);
  outline-offset: 3px;
}


/* ============================================================
   SHARED SECTION EYEBROW
============================================================ */

.values-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 12px;
}

.values-eyebrow-row .eyebrow {
  color: var(--color-accent);

  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: normal;
}

/* Allow active grid and flex children to shrink below intrinsic width */

.card-grid > *,
.leadership-tier > *,
.management-team-grid > *,
.news-grid > * {
  min-width: 0;
}

/* ============================================================
   FINAL RESPONSIVE CONTAINMENT
============================================================ */

@media (max-width: 767px) {

  .section,
  .hero-v2-inner,
  .about-values-modern-container {
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section.alt > * {
    width: 100%;
    max-width: var(--max-width);

    padding-left: 0;
    padding-right: 0;
  }

}

/* ============================================================
   ADMIN RATE GUIDE
============================================================ */

.admin-rate-guide-card {
  max-width: 900px;
}


.admin-rate-guide-preview {
  width: 100%;
  margin: 20px 0;

  overflow: auto;

  background: #f8fafc;

  border:
    1px solid
    rgba(3, 54, 105, 0.1);

  border-radius: 12px;
}


.admin-rate-guide-preview img {
  display: block;

  width: 100%;
  height: auto;
}


.admin-rate-guide-success {
  max-width: 900px;

  padding: 12px 16px;

  color: #166534;

  background: #f0fdf4;

  border:
    1px solid #bbf7d0;

  border-radius: 8px;
}


.admin-rate-guide-error {
  max-width: 900px;

  padding: 12px 16px;

  color: #991b1b;

  background: #fef2f2;

  border:
    1px solid #fecaca;

  border-radius: 8px;
}

/* ============================================================
   GLOBAL PAGE LOADER
============================================================ */

.site-loader {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 260ms ease,
    visibility 0s linear 260ms;
}


/* JavaScript-enabled state */

.page-loader-ready .site-loader {
  opacity: 1;
  visibility: visible;

  pointer-events: all;

  transition:
    opacity 260ms ease,
    visibility 0s linear 0s;
}


/* Hidden state */

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 260ms ease,
    visibility 0s linear 260ms;
}


/* Loader content */

.site-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 18px;

  text-align: center;
}


/* ============================================================
   LOGO + ROTATING RING
============================================================ */

.site-loader-mark {
  position: relative;

  display: grid;
  place-items: center;

  width: 92px;
  height: 92px;
}


/* Circular loader */

.site-loader-ring {
  position: absolute;
  inset: 0;

  width: 92px;
  height: 92px;

  border:
    3px solid
    rgba(3, 54, 105, 0.12);

  border-top-color:
    #f68634;

  border-right-color:
    rgba(246, 134, 52, 0.45);

  border-radius: 50%;

  animation:
    siteLoaderSpin
    850ms
    linear
    infinite;
}


/* Brand icon */

.site-loader-mark img {
  position: relative;
  z-index: 2;

  display: block;

  width: 43px;
  height: 58px;

  object-fit: contain;
}


/* Brand name */

.site-loader-brand {
  margin: 0;

  color: #033669;

  font-size: 0.76rem;
  font-weight: 700;

  line-height: 1.3;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* Rotation */

@keyframes siteLoaderSpin {
  from {
    transform:
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg);
  }
}


/* ============================================================
   ACCESSIBILITY
============================================================ */

@media (prefers-reduced-motion: reduce) {

  .site-loader-ring {
    animation: none;

    border-color:
      rgba(3, 54, 105, 0.18);

    border-top-color:
      #f68634;
  }

  .site-loader,
  .page-loader-ready .site-loader {
    transition: none;
  }

  .site-loader.is-hidden {
    transition: none;
  }

}

/* ============================================================
   NEWSLETTER FEEDBACK MODAL
============================================================ */

.newsletter-feedback-overlay {
  position: fixed;
  inset: 0;

  z-index: 99990;

  display: grid;
  place-items: center;

  padding: 24px;

  background:
    rgba(3, 30, 57, 0.56);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  opacity: 1;
  visibility: visible;

  animation:
    newsletterOverlayIn
    220ms
    ease
    both;
}


/* ============================================================
   MODAL
============================================================ */

.newsletter-feedback-modal {
  position: relative;

  width: min(100%, 440px);

  padding:
    42px
    38px
    36px;

  text-align: center;

  background: #ffffff;

  border:
    1px solid
    rgba(3, 54, 105, 0.09);

  border-radius: 22px;

  box-shadow:
    0 30px 80px
    rgba(3, 30, 57, 0.24);

  animation:
    newsletterModalIn
    420ms
    cubic-bezier(.22, 1, .36, 1)
    both;
}


/* ============================================================
   ICON
============================================================ */

.newsletter-feedback-icon {
  display: grid;
  place-items: center;

  width: 76px;
  height: 76px;

  margin:
    0
    auto
    22px;

  border-radius: 50%;
}


.newsletter-feedback-icon-success {
  color: #138a4b;

  background:
    rgba(22, 163, 74, 0.1);

  border:
    1px solid
    rgba(22, 163, 74, 0.18);
}


.newsletter-feedback-icon-error {
  color: #c2410c;

  background:
    rgba(246, 134, 52, 0.11);

  border:
    1px solid
    rgba(246, 134, 52, 0.2);
}


/* ============================================================
   CONTENT
============================================================ */

.newsletter-feedback-eyebrow {
  display: block;

  margin-bottom: 9px;

  color: #f68634;

  font-size: 0.72rem;
  font-weight: 800;

  line-height: 1.3;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}


.newsletter-feedback-modal h2 {
  margin:
    0
    0
    13px;

  color: #033669;

  font-size:
    clamp(
      1.55rem,
      3vw,
      1.9rem
    );

  font-weight: 800;

  line-height: 1.2;

  letter-spacing: -0.025em;
}


.newsletter-feedback-modal p {
  max-width: 350px;

  margin:
    0
    auto;

  color: #5f6f7f;

  font-size: 0.98rem;

  line-height: 1.7;
}


/* ============================================================
   DONE BUTTON
============================================================ */

.newsletter-feedback-action {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 130px;
  min-height: 46px;

  margin-top: 27px;
  padding: 11px 24px;

  color: #ffffff;

  background: var(--color-accent-action);

  border: 0;
  border-radius: 8px;

  font: inherit;

  font-size: 0.92rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    background-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}


.newsletter-feedback-action:hover {
  background: var(--color-primary);

  transform:
    translateY(-2px);

  box-shadow:
    0 10px 24px
    rgba(246, 134, 52, 0.25);
}


/* ============================================================
   CLOSE BUTTON
============================================================ */

.newsletter-feedback-close {
  position: absolute;

  top: 17px;
  right: 17px;

  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;

  padding: 0;

  color: #657383;

  background:
    rgba(3, 54, 105, 0.055);

  border: 0;
  border-radius: 50%;

  cursor: pointer;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 200ms ease;
}


.newsletter-feedback-close:hover {
  color: #033669;

  background:
    rgba(3, 54, 105, 0.1);

  transform:
    rotate(4deg);
}


/* ============================================================
   CLOSING
============================================================ */

.newsletter-feedback-overlay.is-closing {
  opacity: 0;

  pointer-events: none;

  transition:
    opacity 220ms ease;
}


.newsletter-feedback-overlay.is-closing
.newsletter-feedback-modal {
  transform:
    translateY(12px)
    scale(0.98);

  opacity: 0;

  transition:
    opacity 180ms ease,
    transform 220ms ease;
}


/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes newsletterOverlayIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes newsletterModalIn {

  from {
    opacity: 0;

    transform:
      translateY(22px)
      scale(0.965);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 520px) {

  .newsletter-feedback-overlay {
    padding: 18px;
  }


  .newsletter-feedback-modal {
    padding:
      38px
      24px
      30px;

    border-radius: 18px;
  }


  .newsletter-feedback-icon {
    width: 68px;
    height: 68px;
  }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

  .newsletter-feedback-overlay,
  .newsletter-feedback-modal {
    animation: none;
  }

}

/* Admin status pills */
.status-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #eef2f6;
  color: #033669;
}

.status-pill.is-approved {
  background: #e6f4ea;
  color: #1e7e34;
}

.status-pill.is-rejected {
  background: #fdecea;
  color: #c0392b;
}

.state-ok    { color: #1e7e34; }
.state-fail  { color: #c0392b; }
.state-idle  { color: #5b6b78; }