@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #1A2230;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #EAECF0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sticky footer: main grows to fill, footer pinned to bottom */
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════
   CONTAINER  — fluid, capped at 1280px
═══════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #E4E7EF;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

.nav-logo {
  flex: 0 0 auto;
  margin-right: auto;
}

.nav-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover { background: #F3F4F6; color: #1A2230; }

.nav-login {
  margin-left: 16px;
  flex-shrink: 0;
}

.btn-login-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  background: #1E3A6E;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-login-nav:hover { background: #162f5a; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: #1A2230;
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #E4E7EF;
  padding: 8px 16px 20px;
  gap: 2px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  padding: 12px 12px;
  border-radius: 6px;
}

.mobile-nav a:hover { background: #F3F4F6; }

.mobile-nav .mobile-login {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: #1E3A6E;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════
   HERO CARD
═══════════════════════════════════════════════════ */
.hero {
  padding: 40px 0 48px;
}

.hero-card {
  background: #162040;
  border-radius: 16px;
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Grid overlay */
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 20px;
}

/* Keep the brand name in its proper case inside uppercased labels */
.hero-eyebrow .brand { text-transform: none; }
.hero-eyebrow--q { text-transform: none; }

.hero-heading {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-heading .teal { color: #38D9C0; }

.hero-divider {
  width: 44px;
  height: 3px;
  background: #F5A623;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-body p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
}

/* CTA column */
.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.btn-become-member {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  background: #F5A623;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-become-member:hover { background: #e09617; }

.btn-login-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  background: #fff;
  color: #162040;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-login-hero:hover { background: #F3F4F6; }

.hero-tagline {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: #0E1730;
  color: #fff;
  padding: 56px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 160px 200px;
  gap: 48px;
  padding-bottom: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-box {
  display: inline-flex;
  background: #fff;
  border-radius: 6px;
  padding: 7px 12px;
}

.footer-logo-box img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  color: #131A31;
  background: #F5A623;
  transform: translateY(-2px);
}

.footer-social svg { display: block; }

.footer-nav-col h4,
.footer-contact h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

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

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact address p,
.footer-contact address a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.85); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════ */

/* ── Large desktop: 1280px+ ── */
@media (min-width: 1280px) {
  .hero-card {
    grid-template-columns: 1fr 420px;
    padding: 72px 80px;
  }
}

/* ── Extra-wide monitors: 1700px+ ── */
@media (min-width: 1700px) {
  .container { max-width: 1600px; }
  .hero-card {
    grid-template-columns: 1fr 460px;
    padding: 88px 96px;
  }
  .hero-heading { font-size: 52px; }
}

/* ── Tablet landscape: 1024px – 1279px ── */
@media (max-width: 1279px) {
  .container { padding: 0 32px; }

  .hero-card {
    grid-template-columns: 1fr 340px;
    padding: 52px 48px;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 150px 190px;
    gap: 40px;
  }
}

/* ── Tablet portrait: 768px – 1023px ── */
@media (max-width: 1023px) {
  .container { padding: 0 28px; }

  .hero-card {
    grid-template-columns: 1fr 300px;
    padding: 44px 40px;
    gap: 32px;
  }

  .hero-heading { font-size: clamp(24px, 3.5vw, 36px); }

  .btn-become-member,
  .btn-login-hero { height: 52px; font-size: 15px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand  { grid-column: 1 / -1; }
  .footer-nav-col { grid-column: 1; }
  .footer-contact { grid-column: 2; }
}

/* ── Mobile: < 768px ── */
@media (max-width: 767px) {
  .container { padding: 0 16px; }

  /* Navbar */
  .nav-links,
  .nav-login    { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner    { height: 60px; }
  .nav-logo img { height: 38px; }

  /* Hero */
  .hero { padding: 20px 0 28px; }

  .hero-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
    border-radius: 12px;
  }

  .hero-heading { font-size: clamp(24px, 7vw, 32px); }
  .hero-body p  { font-size: 14px; }

  .btn-become-member,
  .btn-login-hero { height: 52px; font-size: 15px; border-radius: 8px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-nav-col,
  .footer-contact { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ── Small mobile: < 480px ── */
@media (max-width: 479px) {
  .container { padding: 0 12px; }

  .hero-card { padding: 28px 18px; }
  .hero-heading { font-size: clamp(22px, 7vw, 28px); }

  .btn-become-member,
  .btn-login-hero { height: 48px; font-size: 14px; }

  .footer-bottom-links { gap: 16px; }
}


/* ═══════════════════════════════════════════════════
   ACTIVE NAV STATE
═══════════════════════════════════════════════════ */
.nav-links a.active { color: #162040; background: #EEF1F6; }
.mobile-nav a.active { color: #162040; background: #EEF1F6; }

/* ═══════════════════════════════════════════════════
   INNER PAGES (Membership, Circulars, etc.)
═══════════════════════════════════════════════════ */
.page-section {
  padding: 56px 0 96px;
}

.page-card {
  background: #162040;
  border-radius: 16px;
  padding: 64px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-heading {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
}

.contact-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}

.contact-list li {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 4px;
}

.contact-list a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.contact-list a:hover { border-bottom-color: #F5A623; }

@media (max-width: 767px) {
  .page-section { padding: 28px 0 56px; }
  .page-card { padding: 36px 24px; border-radius: 12px; min-height: 240px; }
  .contact-list { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 479px) {
  .page-card { padding: 28px 18px; }
}

/* ═══════════════════════════════════════════════════
   KNOWLEDGE HUB — TABS & GUIDE CARDS
═══════════════════════════════════════════════════ */
.kh-tabs {
  display: flex;
  gap: 8px;
  margin: 40px 0 28px;
  border-bottom: 1px solid #D8DDE6;
}

.kh-tab {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #6B7280;
  padding: 12px 20px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.kh-tab:hover { color: #162040; }

.kh-tab.active {
  color: #162040;
  border-bottom-color: #F5A623;
}

.kh-panel { display: none; }
.kh-panel.active { display: block; }

.kh-empty {
  padding: 48px 4px;
  font-size: 16px;
  color: #5A6473;
}

/* Guide grid */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E4E7EF;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.guide-card:hover {
  box-shadow: 0 8px 24px rgba(22,32,64,0.08);
  border-color: #CBD2DE;
  transform: translateY(-2px);
}

.guide-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EEF1F6;
  color: #1E3A6E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.guide-body { flex: 1 1 auto; }

.guide-title {
  font-size: 18px;
  font-weight: 700;
  color: #162040;
  margin-bottom: 8px;
  line-height: 1.3;
}

.guide-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #5A6473;
  margin-bottom: 14px;
}

.guide-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9AA3B2;
  margin-bottom: 20px;
}

.guide-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 44px;
  padding: 0 24px;
  background: #1E3A6E;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s;
}

.guide-download:hover { background: #162f5a; }

/* Placeholder / not-yet-available download */
.guide-download.is-disabled {
  background: #E4E8EF;
  color: #8A93A3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Empty state */
.guide-empty {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed #CBD2DE;
  border-radius: 12px;
  color: #9AA3B2;
}

.guide-empty svg { color: #C2CAD6; margin-bottom: 16px; }

.guide-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: #5A6473;
  margin-bottom: 8px;
}

.guide-empty p {
  font-size: 14px;
  color: #9AA3B2;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .kh-tabs { margin: 28px 0 20px; }
  .kh-tab { padding: 12px 14px; font-size: 14px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-empty { padding: 48px 20px; }
}

/* ═══════════════════════════════════════════════════
   USP / WHY-US CARDS  (dark band + gradient cards)
═══════════════════════════════════════════════════ */
.usp-section {
  background: #162040;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

/* subtle grid texture on the band */
.usp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.usp-header {
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
  text-align: center;
}

.usp-section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.usp-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
  gap: 22px;
}

.usp-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 30px 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* copy centred; identical for every card */
  cursor: default;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* soft decorative blob in each card */
.usp-card::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  pointer-events: none;
}

/* ── Per-card gradients (on-brand palette) ── */
/* Cohesive cool→warm progression pulled from the logo palette
   (deep blue → blue → teal → orange accent → indigo back to base) */
.usp-card--1 { background: linear-gradient(155deg, #23477E 0%, #16305C 100%); }
.usp-card--2 { background: linear-gradient(155deg, #1E6EA0 0%, #144E77 100%); }
.usp-card--3 { background: linear-gradient(155deg, #1690A8 0%, #0E5E6C 100%); }
.usp-card--4 { background: linear-gradient(155deg, #F0A020 0%, #D2760F 100%); }
.usp-card--5 { background: linear-gradient(155deg, #34497E 0%, #1E2C54 100%); }

/* Copy block: title only in flow, description is absolutely positioned
   so it never changes the title's vertical position between cards. */
.usp-copy {
  position: relative;
  z-index: 1;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Title reserves 2 lines, first line top-aligned → identical box on every card */
.usp-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  margin: 0;
}

/* Description sits just below the title box, out of flow, hidden until hover */
.usp-desc {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin: 8px 0 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease 0.08s,
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

/* ── Hover / focus reveal ── */
.usp-card:hover,
.usp-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.34);
}

/* lift the whole copy block up to make room for the description */
.usp-card:hover .usp-copy,
.usp-card:focus-within .usp-copy { transform: translateY(-34px); }

.usp-card:hover .usp-desc,
.usp-card:focus-within .usp-desc { opacity: 1; transform: translateY(0); }

/* Touch devices: no hover — show everything expanded */
@media (hover: none) {
  .usp-card { min-height: 0; justify-content: flex-start; }
  .usp-card .usp-copy { transform: none; }
  .usp-card .usp-desc {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 8px;
  }
}

@media (max-width: 767px) {
  .usp-section { padding: 48px 0 56px; }
  .usp-grid { grid-template-columns: 1fr; gap: 16px; }
  .usp-card { min-height: 0; padding: 26px 24px; justify-content: flex-start; }
  .usp-title { min-height: 0; }
  /* On mobile (no hover), expand content */
  .usp-card .usp-copy { transform: none; }
  .usp-card .usp-desc {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 8px;
  }
}

/* ═══════════════════════════════════════════════════
   D: SCROLL REVEAL (fade + slide up)
   Uses the `translate` property (not `transform`) so it never
   conflicts with the cards' hover transform.
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, translate;
}

.reveal.is-visible {
  opacity: 1;
  translate: none;
}

/* Stagger the USP cards as they enter */
.usp-card.reveal.is-visible { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
}
