/* =========================================================================
   IT Employees Association — main stylesheet
   Palette: aerospace navy + blue accent + leaf-green call-to-action (matched to the ITEA logo)
   ========================================================================= */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --font-brand: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --navy: #042a63;
  --navy-2: #0a3d84;
  --blue: #0a5aa8;
  --accent: #0072c6;
  --accent-dark: #005a9e;
  --green: #61a92f;
  --green-dark: #4f9126;
  --green-bright: #7cc248;
  --ink: #1f2d3d;
  --muted: #5b6b7b;
  --line: #e2e8f0;
  --bg: #f4f7fb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 14px 40px rgba(10, 37, 64, 0.14);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  line-height: 1.22; color: var(--navy); margin: 0 0 .6em;
  font-weight: 700; letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.center { text-align: center; }
code {
  background: #eef2f7; padding: 2px 6px; border-radius: 6px;
  font-family: "Consolas", "Courier New", monospace; font-size: .9em;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; cursor: pointer;
  padding: 12px 26px; border-radius: 50px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: var(--green-dark); color: var(--navy); }
.btn-secondary { background: var(--accent); color: #fff; }
.btn-secondary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { background: transparent; color: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent-dark); color: #fff; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(100deg, rgba(4,24,56,0.90) 0%, rgba(10,44,104,0.88) 52%, rgba(5,32,74,0.90) 100%);
  box-shadow: 0 2px 14px rgba(0,0,0,.22),
              inset 0 1px 0 rgba(255,255,255,.06),
              inset 0 -1px 0 rgba(124,194,72,.32);
  transition: background .3s ease, box-shadow .3s ease;
}
/* Blur lives on a pseudo-element so the header is NOT a containing block for
   the position:fixed mobile drawer / overlay. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header.scrolled {
  background: linear-gradient(100deg, rgba(3,18,44,0.98) 0%, rgba(7,36,86,0.97) 52%, rgba(4,25,60,0.98) 100%);
  box-shadow: 0 8px 26px rgba(0,0,0,.34),
              inset 0 -1px 0 rgba(124,194,72,.45);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; transition: min-height .3s ease; }
.site-header.scrolled .header-inner { min-height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white); font-weight: 800; font-size: .95rem; letter-spacing: .5px; flex: 0 0 auto;
}
.brand-logo {
  width: 52px; height: 52px; flex: 0 0 auto;
  border-radius: 10px; background: var(--white); padding: 3px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  transition: width .3s ease, height .3s ease;
}
.site-header.scrolled .brand-logo { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text strong {
  font-family: var(--font-brand);
  color: var(--white); font-size: 1.08rem; font-weight: 700;
  letter-spacing: .2px;
}
.brand-text small {
  font-family: var(--font-brand);
  color: #a9c4dd; font-size: .64rem; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; margin-top: 2px;
}

/* ---- Navigation + dropdowns --------------------------------------------- */
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav a, .dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  color: #dbe7f2; padding: 9px 13px; border-radius: 8px;
  font-size: .93rem; font-weight: 500; white-space: nowrap;
  font-family: inherit; background: none; border: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .dropdown-toggle:hover { background: rgba(255,255,255,.10); color: var(--white); text-decoration: none; }
.main-nav a:focus-visible, .dropdown-toggle:focus-visible, .nav-close:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--green-bright); outline-offset: 2px;
}
.main-nav > ul > li > a.active,
.main-nav > ul > li.active > a,
.main-nav > ul > li.active > .dropdown-toggle { color: var(--white); background: rgba(0, 114, 198, .22); }
.caret { font-size: .7em; opacity: .8; transition: transform .25s ease; }
.has-dropdown:hover > .dropdown-toggle .caret,
.has-dropdown.open > .dropdown-toggle .caret { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; list-style: none; margin: 0;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 10px; display: flex; flex-direction: column; gap: 2px; z-index: 110;
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.dropdown.align-right { left: auto; right: 0; }
/* Invisible hover bridge across the gap so the menu doesn't close */
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { width: 100%; }
.dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--ink); padding: 11px 12px; border-radius: 10px; font-weight: 600; white-space: normal;
}
.dropdown a:hover { background: var(--bg); color: var(--accent-dark); }
.dropdown a.active { background: rgba(0,114,198,.12); color: var(--accent-dark); }
.dd-icon {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.15rem; line-height: 1;
  background: linear-gradient(135deg, rgba(0,114,198,.16), rgba(97,169,47,.18));
}
.dd-text { display: flex; flex-direction: column; line-height: 1.32; min-width: 0; }
.dd-text strong { font-size: .95rem; }
.dd-text small { color: var(--muted); font-weight: 500; font-size: .8rem; }

.nav-cta { background: var(--green); color: var(--navy) !important; font-weight: 700; margin-left: 8px; }
.nav-cta:hover { background: var(--green-dark); }

/* Off-canvas drawer head (mobile only) */
.nav-drawer-head { display: none; }
.nav-close { background: none; border: 0; cursor: pointer; }
.nav-overlay { display: none; }

/* Hamburger button (animates into an X when open) */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; padding: 11px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; margin: 5px 0; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(0,114,198,.35), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--blue) 70%, var(--accent-dark));
  color: var(--white); padding: 96px 0 104px;
}
.hero-inner { max-width: 780px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: #9fd4f0; margin-bottom: 10px; }
.hero-title { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 18px; }
.hero-subtitle { font-size: 1.15rem; color: #dcebf7; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-icon {
  width: 60px; height: 60px; border-radius: 15px; line-height: 1;
  display: grid; place-items: center; font-size: 1.85rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 16px;
}

/* ---- Hero slider / carousel --------------------------------------------- */
.hero-slider {
  position: relative; overflow: hidden;
  background: var(--navy); isolation: isolate;
}
.slides { position: relative; min-height: clamp(540px, 78vh, 660px); }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .8s ease;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }

/* Per-slide photo gallery background: each slide shows a photo (set via the
   --slide-photo custom property on the <article> in index.php) beneath a
   semi-transparent aerospace navy→blue→green gradient scrim that keeps the
   white headline text readable. To use real photos, drop 16:9 images into
   assets/images/hero/ and point --slide-photo at them (or overwrite the
   provided hero-1…hero-4 placeholders). */
.slide[data-grad="one"] {
  background-image:
    linear-gradient(105deg, rgba(4,32,74,.90) 0%, rgba(8,58,120,.74) 48%, rgba(0,90,158,.55) 100%),
    var(--slide-photo, none);
}
.slide[data-grad="two"] {
  background-image:
    linear-gradient(105deg, rgba(4,30,72,.90) 0%, rgba(0,96,168,.70) 52%, rgba(10,61,132,.58) 100%),
    var(--slide-photo, none);
}
.slide[data-grad="three"] {
  background-image:
    linear-gradient(105deg, rgba(8,44,96,.90) 0%, rgba(10,90,168,.66) 46%, rgba(79,145,38,.55) 100%),
    var(--slide-photo, none);
}
.slide[data-grad="four"] {
  background-image:
    linear-gradient(105deg, rgba(4,42,99,.90) 0%, rgba(0,90,158,.66) 50%, rgba(97,169,47,.56) 115%),
    var(--slide-photo, none);
}

/* Soft animated glow overlay on the active slide */
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px 340px at 82% 12%, rgba(124,194,72,.30), transparent 62%),
    radial-gradient(560px 300px at 8% 92%, rgba(0,114,198,.40), transparent 60%);
  opacity: 0; transition: opacity 1.1s ease .1s;
}
.slide.is-active::before { opacity: 1; }

.slide-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
  padding-top: 40px; padding-bottom: 40px; width: 100%;
}
.slide-content { max-width: 640px; }
.slide-content .hero-eyebrow { margin-bottom: 12px; }
.slide-content .hero-subtitle { max-width: 560px; }

/* Staggered entrance for the active slide's content */
.slide-content > *,
.slide-visual { opacity: 0; transform: translateY(22px); }
.slide.is-active .slide-content > * { animation: heroReveal .7s cubic-bezier(.22,.61,.36,1) forwards; }
.slide.is-active .slide-content > *:nth-child(1) { animation-delay: .15s; }
.slide.is-active .slide-content > *:nth-child(2) { animation-delay: .28s; }
.slide.is-active .slide-content > *:nth-child(3) { animation-delay: .41s; }
.slide.is-active .slide-content > *:nth-child(4) { animation-delay: .54s; }
.slide.is-active .slide-visual { animation: heroReveal .8s cubic-bezier(.22,.61,.36,1) .35s forwards; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Floating glass "stat" card on the right */
.slide-visual { display: flex; justify-content: center; }
.visual-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  width: min(300px, 100%); padding: 40px 34px; border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: heroFloat 6s ease-in-out infinite;
}
.visual-icon {
  width: 78px; height: 78px; margin-bottom: 8px; border-radius: 20px;
  display: grid; place-items: center; font-size: 2.4rem; line-height: 1;
  background: linear-gradient(135deg, rgba(124,194,72,.28), rgba(0,114,198,.30));
  border: 1px solid rgba(255,255,255,.25);
}
.visual-stat { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1.1; }
.visual-label { color: #cfe3f4; font-size: .95rem; letter-spacing: .3px; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Prev / next arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.8rem; line-height: 1; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.30);
  backdrop-filter: blur(4px); transition: background .2s, transform .2s, border-color .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.55); }
.slider-arrow:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }
.slider-arrow:active { transform: translateY(-50%) scale(.92); }

/* Dot indicators */
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.slider-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.35); border: 0; transition: background .25s, transform .25s, width .25s;
}
.slider-dots button:hover { background: rgba(255,255,255,.65); }
.slider-dots button.active { background: var(--green-bright); width: 30px; border-radius: 7px; }
.slider-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Autoplay progress bar along the bottom edge */
.slider-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 3; background: rgba(255,255,255,.12); }
.slider-progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--green-bright));
}
.slider-progress > span.run { animation: heroProgress linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* ---- Interior page hero + breadcrumb ------------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 300px at 90% -20%, rgba(0,114,198,.30), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); padding: 60px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 8px; }
.page-hero p { color: #cfe3f4; margin: 0; max-width: 720px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; font-size: .85rem; }
.breadcrumb li { color: #9fc2e0; }
.breadcrumb a { color: #cfe3f4; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6f93b4; }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 74px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: #dbe7f2; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; color: var(--accent-dark); font-weight: 700; }
.section-head h2 { font-size: 2.1rem; margin-top: 6px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---- Cards -------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0,114,198,.16), rgba(97,169,47,.16));
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; }

/* ---- Split / stats ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.split-text h2 { font-size: 2rem; }
.split-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow);
}
.section-navy .stat, .stat-band .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--accent-dark); }
.section-navy .stat-num, .stat-band .stat-num { color: var(--green-bright); }
.stat-label { color: var(--muted); font-size: .9rem; }
.section-navy .stat-label, .stat-band .stat-label { color: #cfe3f4; }
.stat-band { background: linear-gradient(135deg, var(--navy), var(--blue)); padding: 56px 0; }
.stat-band .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 20px; }

/* ---- Panels (mission / vision) ------------------------------------------ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel {
  background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius); padding: 30px;
}
.section-alt .panel { background: var(--bg); }
.panel h3 { color: var(--navy); }
.panel p:last-child { margin: 0; }
.panel p { color: var(--muted); }

/* ---- Values / feature grid ---------------------------------------------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fx {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--green)); color: #fff; font-size: 1.1rem;
}
.feature-list h4 { margin: 2px 0 4px; }
.feature-list p { margin: 0; color: var(--muted); }

/* ---- Checklist ---------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist.two { columns: 2; column-gap: 40px; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: var(--ink); break-inside: avoid; }
.checklist li::before {
  content: "\2714"; position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .72rem;
  display: grid; place-items: center;
}

/* ---- Timeline (history) ------------------------------------------------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline .t-year { font-weight: 800; color: var(--accent-dark); }
.timeline h4 { margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* ---- Team / leadership -------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow);
}
.avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--accent-dark));
}
.team-card h3 { margin: 0 0 2px; font-size: 1.15rem; }
.team-card .role { color: var(--accent-dark); font-weight: 600; font-size: .9rem; }
.team-card .bio { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* ---- Steps (how to join / process) -------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

/* ---- Comparison / data table -------------------------------------------- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--navy); color: #fff; font-size: .95rem; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg); }
.data-table .plan { font-weight: 700; color: var(--navy); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; background: rgba(0,114,198,.14); color: var(--accent-dark); }
.badge-gold { background: rgba(97,169,47,.18); color: var(--green-dark); }

/* ---- Accordion (FAQ) ---------------------------------------------------- */
.accordion { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.accordion-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.accordion-header {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.accordion-header::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); transition: transform .2s; }
.accordion-item.open .accordion-header::after { content: "\2013"; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 22px; }
.accordion-item.open .accordion-body { max-height: 400px; padding: 0 22px 20px; }
.accordion-body p { color: var(--muted); margin: 0; }

/* ---- News list ---------------------------------------------------------- */
.news-list { display: grid; gap: 18px; }
.news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.news-date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.news-date .d { font-size: 1.8rem; font-weight: 800; color: var(--accent-dark); line-height: 1; }
.news-date .m { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.news-body h3 { margin: 0 0 6px; font-size: 1.2rem; }
.news-body p { color: var(--muted); margin: 0 0 6px; }
.news-tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--accent-dark); }
.news-source { display: inline-block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.news-source:hover { color: var(--accent-dark); }
.news-more { text-align: center; margin-top: 30px; }

/* ---- Pagination --------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 38px; }
.pagination button {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.pagination button:hover:not([disabled]) { border-color: var(--accent); color: var(--accent-dark); }
.pagination button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button[disabled] { opacity: .4; cursor: not-allowed; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--accent-dark), var(--blue)); color: #fff; padding: 58px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 6px; }
.cta-inner p { color: #dcebf7; margin: 0; }

/* ---- Callout ------------------------------------------------------------ */
.callout { border-radius: var(--radius); padding: 22px 26px; background: rgba(0,114,198,.08); border: 1px solid rgba(0,114,198,.25); }
.callout.gold { background: rgba(97,169,47,.10); border-color: rgba(97,169,47,.35); }
.callout p:last-child { margin: 0; }

/* ---- Forms -------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.req { color: #d64545; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 1rem; font-family: inherit; background: #fdfefe;
  transition: border .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,114,198,.15);
}

/* ---- Form status banner + honeypot -------------------------------------- */
.form-status {
  border-radius: var(--radius); padding: 15px 18px; margin-bottom: 20px;
  font-weight: 600; border: 1px solid transparent;
}
.form-status.is-success { background: rgba(97,169,47,.12); border-color: rgba(97,169,47,.45); color: var(--green-dark); }
.form-status.is-error { background: rgba(214,69,69,.10); border-color: rgba(214,69,69,.40); color: #b23a3a; }
/* Honeypot field — visually hidden but still in the DOM for bots to fill */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Contact list ------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-card .ci { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card h4 { margin: 0 0 6px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #c6d6e5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: 60px 20px 42px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-logo { width: 46px; height: 46px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-affiliation { color: #8fa9c2; font-size: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.footer-links a { color: #c6d6e5; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 20px; font-size: .85rem; color: #8fa9c2; }
.footer-bottom-inner a { color: #c6d6e5; }
.footer-bottom-inner p { margin: 0; }

/* ---- Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 210; transition: opacity .2s ease; }
  /* The drawer has its own close button + backdrop, so hide the hamburger while open */
  .nav-toggle[aria-expanded="true"] { opacity: 0; pointer-events: none; }

  /* Off-canvas slide-in drawer */
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(360px, 86vw);
    background: var(--navy); z-index: 200;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -14px 0 44px rgba(0,0,0,.45);
  }
  .main-nav.open { transform: translateX(0); }

  .nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.12);
    position: sticky; top: 0; background: var(--navy); z-index: 1;
  }
  .nav-drawer-title { color: #fff; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .82rem; }
  .nav-close {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
    color: #fff; font-size: 1.7rem; line-height: 1;
  }
  .nav-close:hover { background: rgba(255,255,255,.18); }

  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 14px 16px 26px; gap: 4px; }
  .main-nav > ul > li { width: 100%; }
  .main-nav a, .dropdown-toggle { padding: 13px 14px; width: 100%; border-radius: 10px; }
  .has-dropdown > .dropdown-toggle { justify-content: space-between; }
  .has-dropdown > .dropdown-toggle .caret { margin-left: auto; }
  .main-nav > ul > li.active > .dropdown-toggle,
  .main-nav > ul > li > a.active { background: rgba(0,114,198,.28); }

  /* Submenus become smooth accordions */
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: block; min-width: 0; gap: 0;
    background: rgba(255,255,255,.04); box-shadow: none; border: 0;
    border-radius: 10px; margin: 2px 0 4px; padding: 0 6px;
    max-height: 0; overflow: hidden; transition: max-height .32s ease, padding .32s ease;
  }
  .dropdown::before { display: none; }
  .has-dropdown.open > .dropdown { max-height: 640px; padding: 6px; }
  .dropdown a { color: #cfe3f4; padding: 10px 10px; }
  .dropdown a:hover, .dropdown a.active { background: rgba(255,255,255,.10); color: #fff; }
  .dd-icon { width: 34px; height: 34px; font-size: 1.05rem; background: rgba(255,255,255,.08); }
  .dd-text strong { color: #eaf2fb; }
  .dd-text small { color: #9fc2e0; }

  .nav-cta-item { margin-top: 10px; }
  .nav-cta { display: block; text-align: center; margin: 0; padding: 14px; }

  /* Dimmed backdrop behind the drawer */
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 190;
    background: rgba(4, 18, 40, .55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .split, .two-col, .three-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .checklist.two { columns: 1; }

  /* Slider: stack content over the visual card */
  .slide-inner { grid-template-columns: 1fr; gap: 26px; text-align: center; padding-top: 30px; padding-bottom: 56px; }
  .slide-content { max-width: none; margin: 0 auto; }
  .slide-content .hero-subtitle { max-width: none; }
  .hero-actions { justify-content: center; }
  .slide-visual { order: -1; }
  .visual-card { padding: 26px 30px; }
  .slider-arrow { width: 42px; height: 42px; font-size: 1.5rem; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; display: flex; gap: 8px; justify-content: center; align-items: baseline; }
  .hero { padding: 72px 0 80px; }
  .slides { min-height: clamp(560px, 92vh, 640px); }
  .slide-visual { display: none; }
  .slider-arrow { display: none; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .slide { transition: opacity .3s ease; }
  .slide.is-active .slide-content > *,
  .slide.is-active .slide-visual { animation: none; opacity: 1; transform: none; }
  .visual-card { animation: none; }
  .slider-progress > span.run { animation: none; }
  .slide::before { transition: none; }
}
