/* ============================================================
   GAD MORONA — Design System (Mobile-first, 2026)
   Load AFTER bootstrap.css / style.css to override legacy styles.
   ============================================================ */

/* ---------- 1. DESIGN TOKENS — GAD Morona Brand Manual ---------- */
:root {
  /* Official palette */
  --gad-primary: #00873E;        /* Official primary green */
  --gad-primary-dark: #005A33;   /* Official dark green */
  --gad-primary-darker: #004026; /* Darker green (derived) */
  --gad-primary-light: #E8F5EE;  /* Very light green (derived) */
  --gad-primary-100: #CDE9D8;    /* Light green (derived) */
  --gad-accent: #FFB500;         /* Official golden orange */
  --gad-accent-soft: #FFDC00;    /* Official bright yellow */
  --gad-accent-dark: #D99A00;    /* Dark gold (derived) */
  --gad-info: #33CCDB;           /* Official cyan/turquoise */
  --gad-info-dark: #1C95A3;      /* Dark cyan (derived) */
  --gad-beige: #DED19D;          /* Official beige */
  --gad-secondary: #33CCDB;      /* Alias to official cyan */
  --gad-secondary-dark: #1C95A3;
  --gad-danger: #E92625;
  --gad-success: #55C650;

  /* Neutrals */
  --gad-text: #0f172a;
  --gad-text-soft: #334155;
  --gad-text-muted: #64748b;
  --gad-border: #e2e8f0;
  --gad-border-soft: #f1f5f9;
  --gad-bg: #ffffff;
  --gad-bg-soft: #f8fafc;
  --gad-bg-muted: #f1f5f9;

  /* Radii */
  --gad-radius-xs: 4px;
  --gad-radius-sm: 8px;
  --gad-radius: 12px;
  --gad-radius-lg: 18px;
  --gad-radius-xl: 24px;

  /* Shadows (layered for depth) */
  --gad-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --gad-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --gad-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --gad-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --gad-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --gad-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --gad-shadow-primary: 0 10px 20px -8px rgba(0, 135, 62, 0.35);
  --gad-shadow-accent: 0 10px 20px -8px rgba(255, 181, 0, 0.35);
  --gad-ring: 0 0 0 3px rgba(0, 135, 62, 0.18);

  /* Transitions */
  --gad-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gad-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --gad-transition: 180ms var(--gad-ease);
  --gad-transition-slow: 300ms var(--gad-ease);

  /* Heights */
  --gad-topbar-h: 36px; /* topbar height (desktop) */
  --gad-navbar-h: 64px;
}

@keyframes gad-fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gad-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gad-scaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes gad-slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gad-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- 2. GLOBAL ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--gad-text);
  background-color: var(--gad-bg-soft);
  padding-top: calc(var(--gad-topbar-h) + var(--gad-navbar-h));
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.2px;
}

a { transition: color var(--gad-transition); }

img { max-width: 100%; height: auto; }

::selection { background: var(--gad-primary-light); color: var(--gad-primary-dark); }

:focus-visible { outline: none; box-shadow: var(--gad-ring); border-radius: var(--gad-radius-sm); }

/* ---------- 3. TOPBAR ---------- */
.topbar {
  background: linear-gradient(90deg, var(--gad-primary-darker) 0%, var(--gad-primary) 100%);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1031;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--gad-topbar-h);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar__item {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  transition: color var(--gad-transition);
}

.topbar__item i {
  color: var(--gad-accent-soft);
  font-size: 11px;
}

.topbar__item:hover { color: var(--gad-accent-soft) !important; }

.topbar__right { gap: 6px; }

.topbar__right a {
  color: #fff !important;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all var(--gad-transition);
  text-decoration: none !important;
}

.topbar__right a:hover {
  background: var(--gad-accent);
  transform: translateY(-1px) scale(1.05);
  box-shadow: var(--gad-shadow-accent);
}

/* ---------- 4. NAVBAR (from scratch) ---------- */
.navgad {
  position: fixed;
  top: var(--gad-topbar-h);
  left: 0; right: 0;
  height: var(--gad-navbar-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gad-border-soft);
  box-shadow: var(--gad-shadow-xs);
  z-index: 1030;
  transition: box-shadow var(--gad-transition), background var(--gad-transition);
}

.navgad__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}

/* Brand */
.navgad__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  height: 100%;
  padding-right: 4px;
  flex-shrink: 0;
  transition: opacity var(--gad-transition);
}
.navgad__brand:hover { opacity: 0.85; }

.navgad__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navgad__brand-text {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 2px solid var(--gad-accent);
  line-height: 1.1;
}

.navgad__brand-name {
  color: var(--gad-primary);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
}

.navgad__brand-tag {
  color: var(--gad-text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

/* Toggle (mobile) */
.navgad__toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--gad-border);
  border-radius: var(--gad-radius-sm);
  padding: 10px 11px;
  cursor: pointer;
  transition: all var(--gad-transition);
  height: 40px;
  width: 42px;
}
.navgad__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gad-primary);
  border-radius: 1px;
  transition: transform var(--gad-transition), opacity var(--gad-transition);
}
.navgad__toggle span + span { margin-top: 5px; }
.navgad__toggle:hover { background: var(--gad-primary-light); border-color: var(--gad-primary-100); }
.navgad__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navgad__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navgad__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu wrapper — force visible on desktop (Bootstrap collapse hides by default) */
.navgad__menu,
.navgad__menu.collapse,
.navgad__menu.collapse.show,
.navgad__menu.collapsing {
  display: flex !important;
  visibility: visible !important;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  height: auto !important;
  gap: 16px;
  overflow: visible !important;
}

.navgad__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
  height: 100%;
  gap: 2px;
}

.navgad__list > li {
  display: flex;
  align-items: stretch;
  position: relative;
}

.navgad__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  color: var(--gad-text-soft) !important;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.15px;
  text-decoration: none !important;
  background: transparent !important;
  position: relative;
  cursor: pointer;
  transition: color var(--gad-transition);
}

.navgad__link:hover,
.navgad__link:focus {
  color: var(--gad-primary) !important;
  outline: none;
}

.navgad__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gad-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--gad-ease);
}

.navgad__link:hover::after,
.navgad__list > li.is-active > .navgad__link::after,
.navgad__link[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.navgad__list > li.is-active > .navgad__link {
  color: var(--gad-primary) !important;
  font-weight: 700;
}

.navgad__arrow {
  font-size: 9.5px;
  opacity: 0.55;
  transition: transform var(--gad-transition), opacity var(--gad-transition);
}
.navgad__link[aria-expanded="true"] {
  color: var(--gad-primary) !important;
}

.navgad__link[aria-expanded="true"] .navgad__arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.navgad__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--gad-border-soft) !important;
  border-radius: var(--gad-radius) !important;
  box-shadow: var(--gad-shadow-lg) !important;
  padding: 6px !important;
  list-style: none;
  z-index: 1031;
}

.navgad__dropdown.show {
  animation: gad-slideDown 180ms var(--gad-ease-out);
}

.navgad__dropdown > li > a {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 10px 14px !important;
  border-radius: var(--gad-radius-sm) !important;
  color: var(--gad-text-soft) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all var(--gad-transition);
  position: relative;
  white-space: nowrap;
}

.navgad__dropdown > li > a > i {
  color: var(--gad-text-muted);
  font-size: 13px;
  width: 16px;
  text-align: center;
  transition: color var(--gad-transition);
}

.navgad__dropdown > li > a:hover,
.navgad__dropdown > li > a:focus {
  background: var(--gad-primary-light) !important;
  color: var(--gad-primary) !important;
}
.navgad__dropdown > li > a:hover > i,
.navgad__dropdown > li > a:focus > i { color: var(--gad-primary); }

.navgad__dropdown > li.is-active > a {
  background: var(--gad-primary-light) !important;
  color: var(--gad-primary) !important;
  font-weight: 700 !important;
}
.navgad__dropdown > li.is-active > a > i { color: var(--gad-accent); }
.navgad__dropdown > li.is-active > a::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--gad-accent);
  border-radius: 0 2px 2px 0;
}

.navgad__divider {
  height: 1px;
  background: var(--gad-border-soft);
  margin: 6px 6px;
}

/* CTA button */
.navgad__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--gad-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--gad-radius-sm);
  text-decoration: none !important;
  transition: all var(--gad-transition);
  box-shadow: var(--gad-shadow-xs);
  flex-shrink: 0;
  white-space: nowrap;
}
.navgad__cta i { font-size: 12px; }
.navgad__cta:hover {
  background: var(--gad-primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--gad-shadow-primary);
}

.navgad__cta--ghost {
  background: transparent;
  color: var(--gad-primary) !important;
  border: 1.5px solid var(--gad-primary-100);
  padding: 7.5px 16px;
  box-shadow: none;
}
.navgad__cta--ghost:hover {
  background: var(--gad-primary);
  color: #fff !important;
  border-color: var(--gad-primary);
}

/* ---------- 5. HERO / PAGE HEADER ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 64px;
  animation: gad-fadeIn 400ms var(--gad-ease-out);
  background:
    radial-gradient(ellipse 70% 60% at 92% -10%, rgba(255, 220, 0, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 105% 50%, rgba(51, 204, 219, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at -10% 110%, rgba(0, 135, 62, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 30% 0%, rgba(222, 209, 157, 0.22) 0%, transparent 50%),
    linear-gradient(180deg, #c8dccf 0%, #a8c5b3 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  background-position: 0% 0%, 100% 50%, 0% 100%, 30% 0%, 0% 0%;
  border-bottom: 1px solid rgba(0, 135, 62, 0.22);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.15);
  animation: gad-fadeIn 400ms var(--gad-ease-out), gad-bg-shift 22s ease-in-out infinite;
}

@keyframes gad-bg-shift {
  0%, 100% { background-position: 0% 0%, 100% 50%, 0% 100%, 30% 0%, 0% 0%; }
  50%      { background-position: 20% 30%, 60% 70%, 30% 60%, 60% 30%, 0% 0%; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--gad-primary-dark) 0%,
    var(--gad-primary) 18%,
    var(--gad-info) 38%,
    var(--gad-accent-soft) 58%,
    var(--gad-accent) 78%,
    var(--gad-primary) 100%);
  z-index: 3;
}

/* Decorative layer */
.hero__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  will-change: transform;
}
.hero__orb--1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0, 135, 62, 0.20) 0%, transparent 70%);
  top: -120px; right: -40px;
  animation: gad-float-1 14s var(--gad-ease) infinite;
}
.hero__orb--2 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 181, 0, 0.26) 0%, transparent 70%);
  bottom: -100px; right: 22%;
  animation: gad-float-2 18s var(--gad-ease) infinite;
}
.hero__orb--3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(51, 204, 219, 0.18) 0%, transparent 70%);
  top: 40%; left: -60px;
  animation: gad-float-3 16s var(--gad-ease) infinite;
}

@keyframes gad-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, 30px) scale(1.08); }
}
@keyframes gad-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -25px) scale(1.12); }
}
@keyframes gad-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(35px, -20px) scale(1.10); }
}

/* Topo lines draw-in */
.hero__topo path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: gad-draw 2.4s var(--gad-ease-out) forwards;
}
.hero__topo path:nth-child(2) { animation-delay: 0.15s; }
.hero__topo path:nth-child(3) { animation-delay: 0.30s; }
.hero__topo path:nth-child(4) { animation-delay: 0.45s; }
.hero__topo path:nth-child(5) { animation-delay: 0.60s; }
.hero__topo path:nth-child(6) { animation-delay: 0.75s; }
@keyframes gad-draw {
  to { stroke-dashoffset: 0; }
}

/* Inner layout (asymmetric on desktop) */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  flex: 1;
  min-width: 0;
  max-width: 760px;
  animation: gad-fadeInUp 480ms var(--gad-ease-out);
}

/* Breadcrumbs */
.hero__crumbs ol {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  gap: 6px;
  font-size: 12.5px;
  color: var(--gad-text-muted);
  font-weight: 500;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gad-border-soft);
  box-shadow: var(--gad-shadow-xs);
}
.hero__crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.hero__crumbs li + li::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 8px;
  color: var(--gad-text-muted);
  opacity: 0.4;
}
.hero__crumbs a {
  color: var(--gad-text-muted) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--gad-transition);
}
.hero__crumbs a:hover { color: var(--gad-primary) !important; }
.hero__crumbs li[aria-current="page"] span {
  color: var(--gad-primary);
  font-weight: 700;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(0, 135, 62, 0.10) 0%, rgba(0, 135, 62, 0.04) 100%);
  border: 1px solid rgba(0, 135, 62, 0.18);
  color: var(--gad-primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 1px 0 rgba(0, 135, 62, 0.04);
}
.hero__eyebrow i {
  color: var(--gad-accent);
  font-size: 12px;
  filter: drop-shadow(0 1px 2px rgba(255, 181, 0, 0.3));
  animation: gad-glow-pulse 2.4s ease-in-out infinite;
}
@keyframes gad-glow-pulse {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(255, 181, 0, 0.3)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 8px rgba(255, 181, 0, 0.7)); transform: scale(1.12); }
}

/* Eyebrow shimmer overlay */
.hero__eyebrow {
  position: relative;
  overflow: hidden;
  animation: gad-fadeInUp 600ms var(--gad-ease-out) both;
}
.hero__eyebrow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: gad-shimmer 4s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes gad-shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(180%); }
  100% { transform: translateX(180%); }
}

/* Title */
.hero__title {
  color: var(--gad-text) !important;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
  max-width: 720px;
  background: none !important;
  text-wrap: balance;
  animation: gad-title-reveal 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}
@keyframes gad-title-reveal {
  0%   { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero__title::after {
  content: '';
  display: block;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--gad-primary) 0%,
    var(--gad-info) 33%,
    var(--gad-accent-soft) 66%,
    var(--gad-accent) 100%);
  background-size: 200% 100%;
  border-radius: 2px;
  margin-top: 20px;
  animation:
    gad-underline-grow 700ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards,
    gad-underline-shimmer 4s ease-in-out 1.4s infinite;
}
@keyframes gad-underline-grow {
  to { width: 96px; }
}
@keyframes gad-underline-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero__subtitle {
  animation: gad-fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 750ms both;
}

/* Subtitle */
.hero__subtitle {
  color: var(--gad-text-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 18px 0 0 0;
  max-width: 680px;
  font-weight: 400;
}

/* Brand motto pills */
.hero__motto {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.hero__motto-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gad-text-soft);
  box-shadow: var(--gad-shadow-xs);
  transition: all var(--gad-transition);
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  animation: gad-pill-pop 600ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero__motto-pill:nth-child(1) { animation-delay: 1000ms; }
.hero__motto-pill:nth-child(2) { animation-delay: 1120ms; }
.hero__motto-pill:nth-child(3) { animation-delay: 1240ms; }
.hero__motto-pill:nth-child(4) { animation-delay: 1360ms; }
@keyframes gad-pill-pop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero__motto-pill i {
  font-size: 12px;
  transition: transform var(--gad-transition);
}
.hero__motto-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--gad-shadow);
}
.hero__motto-pill:hover i {
  transform: scale(1.2) rotate(-8deg);
}

/* Brand-colored variants — one per official palette color */
.hero__motto-pill--green {
  background: linear-gradient(135deg, #fff 0%, var(--gad-primary-light) 100%);
  border-color: rgba(0, 135, 62, 0.25);
}
.hero__motto-pill--green i { color: var(--gad-primary); }
.hero__motto-pill--green:hover { border-color: var(--gad-primary); color: var(--gad-primary-dark); }

.hero__motto-pill--gold {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 181, 0, 0.10) 100%);
  border-color: rgba(255, 181, 0, 0.32);
}
.hero__motto-pill--gold i { color: var(--gad-accent); }
.hero__motto-pill--gold:hover { border-color: var(--gad-accent); color: var(--gad-accent-dark); }

.hero__motto-pill--cyan {
  background: linear-gradient(135deg, #fff 0%, rgba(51, 204, 219, 0.12) 100%);
  border-color: rgba(51, 204, 219, 0.32);
}
.hero__motto-pill--cyan i { color: var(--gad-info-dark); }
.hero__motto-pill--cyan:hover { border-color: var(--gad-info); color: var(--gad-info-dark); }

.hero__motto-pill--yellow {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 220, 0, 0.16) 100%);
  border-color: rgba(255, 220, 0, 0.45);
}
.hero__motto-pill--yellow i { color: #c8a800; }
.hero__motto-pill--yellow:hover { border-color: var(--gad-accent-soft); color: #8a7400; }

/* Side badge (desktop only) */
.hero__badge {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: none;
  animation: gad-fadeIn 800ms var(--gad-ease-out) 600ms both;
}

/* Outer halo pulsing rings */
.hero__badge::before,
.hero__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gad-primary);
  opacity: 0;
  pointer-events: none;
}
.hero__badge::before { animation: gad-halo 3.2s ease-out infinite; }
.hero__badge::after  { animation: gad-halo 3.2s ease-out 1.6s infinite; }
@keyframes gad-halo {
  0%   { transform: scale(0.92); opacity: 0.55; border-color: var(--gad-primary); }
  60%  { opacity: 0.18; border-color: var(--gad-accent); }
  100% { transform: scale(1.35); opacity: 0; border-color: var(--gad-info); }
}

.hero__badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, var(--gad-primary) 0%, var(--gad-accent) 25%, var(--gad-info) 50%, var(--gad-accent-soft) 75%, var(--gad-primary) 100%);
  padding: 3px;
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
  animation: gad-spin 18s linear infinite;
}
.hero__badge-content {
  position: absolute;
  inset: 14px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 24px -10px rgba(0, 135, 62, 0.30), inset 0 0 0 1px rgba(0, 135, 62, 0.05);
  transition: transform 400ms var(--gad-ease);
}
.hero__badge:hover .hero__badge-content {
  transform: scale(1.04);
}
.hero__badge-content i {
  color: var(--gad-primary);
  font-size: 38px;
  margin-bottom: 4px;
  animation: gad-icon-bob 4s ease-in-out infinite;
}
@keyframes gad-icon-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.hero__badge-label {
  color: var(--gad-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero__badge-name {
  color: var(--gad-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--gad-primary) 0%, var(--gad-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gad-spin {
  to { transform: rotate(360deg); }
}

/* ---------- 6. CONTENT WRAP ---------- */
.content-wrap {
  padding: 40px 0 64px;
  animation: gad-fadeInUp 450ms var(--gad-ease-out);
}

/* ---------- 7. CARDS ---------- */
.card-gad {
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  box-shadow: var(--gad-shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--gad-transition), transform var(--gad-transition), border-color var(--gad-transition);
  margin-bottom: 20px;
  position: relative;
}
.card-gad:hover { box-shadow: var(--gad-shadow); border-color: var(--gad-border); }

.card-gad__header { padding: 18px 20px 0; }
.card-gad__body { padding: 18px 20px 20px; }
.card-gad__body p { color: var(--gad-text-soft); line-height: 1.65; }

.card-gad--accent {
  border-top: 3px solid var(--gad-accent);
}

.card-gad--featured {
  background: linear-gradient(135deg, #ffffff 0%, var(--gad-primary-light) 100%);
}

.card-gad--center { text-align: center; }

.card-gad__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gad-primary-light) 0%, var(--gad-primary-100) 100%);
  color: var(--gad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 135, 62, 0.08);
}

.card-gad__separator {
  width: 40px; height: 3px;
  background: var(--gad-accent);
  border: none;
  margin: 8px auto 16px;
  border-radius: 2px;
}

/* ---------- 8. TITLE WITH ACCENT ---------- */
.title-accent {
  position: relative;
  padding-left: 14px;
  color: var(--gad-primary);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px 0;
  line-height: 1.3;
  display: inline-block;
  letter-spacing: -0.2px;
}
.title-accent::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--gad-accent) 0%, var(--gad-accent-dark) 100%);
  border-radius: 2px;
}
.title-accent--lg { font-size: 22px; }
.title-accent--center {
  display: block;
  text-align: center;
  padding-left: 0;
  padding-top: 14px;
}
.title-accent--center::before {
  left: 50%; top: 0; bottom: auto;
  transform: translateX(-50%);
  width: 32px; height: 3px;
}

/* ---------- 9. SECTION TITLE (header for sections) ---------- */
.section-title {
  background: linear-gradient(90deg, var(--gad-accent) 0%, var(--gad-accent-dark) 100%);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--gad-radius) var(--gad-radius) 0 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.section-title i { font-size: 16px; }

/* ---------- 10. BUTTONS ---------- */
.btn-gad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--gad-radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  transition: all var(--gad-transition);
  text-decoration: none !important;
  line-height: 1.4;
  letter-spacing: 0.1px;
}

.btn-gad--primary { background: var(--gad-primary); color: #fff !important; box-shadow: var(--gad-shadow-xs); }
.btn-gad--primary:hover { background: var(--gad-primary-dark); transform: translateY(-1px); box-shadow: var(--gad-shadow-primary); color: #fff !important; }
.btn-gad--primary:active { transform: translateY(0); }

.btn-gad--accent { background: var(--gad-accent); color: #fff !important; box-shadow: var(--gad-shadow-xs); }
.btn-gad--accent:hover { background: var(--gad-accent-dark); transform: translateY(-1px); box-shadow: var(--gad-shadow-accent); color: #fff !important; }

.btn-gad--secondary { background: var(--gad-secondary); color: #fff !important; }
.btn-gad--secondary:hover { background: var(--gad-secondary-dark); color: #fff !important; }

.btn-gad--outline {
  background: transparent;
  color: var(--gad-primary) !important;
  border: 1.5px solid var(--gad-primary);
  padding: 8.5px 18px;
}
.btn-gad--outline:hover { background: var(--gad-primary); color: #fff !important; }

.btn-gad--ghost {
  background: transparent;
  color: var(--gad-text-soft) !important;
}
.btn-gad--ghost:hover { background: var(--gad-bg-muted); color: var(--gad-primary) !important; }

.btn-gad--block { display: flex; width: 100%; }
.btn-gad--sm { padding: 6px 12px; font-size: 12.5px; }
.btn-gad--lg { padding: 13px 26px; font-size: 15px; }

/* Legacy button overrides */
.btn-default {
  background: var(--gad-primary) !important;
  border-color: var(--gad-primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: var(--gad-radius-sm) !important;
  transition: all var(--gad-transition) !important;
}
.btn-default:hover, .btn-default:focus {
  background: var(--gad-primary-dark) !important;
  border-color: var(--gad-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--gad-shadow-primary);
}

.btn-primary {
  background: var(--gad-primary) !important;
  border-color: var(--gad-primary) !important;
  color: #fff !important;
  border-radius: var(--gad-radius-sm) !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
}

/* ---------- 11. SIDEBAR ---------- */
.sidebar-gad {
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  padding: 8px;
  box-shadow: var(--gad-shadow-xs);
  position: sticky;
  top: calc(var(--gad-topbar-h) + var(--gad-navbar-h) + 16px);
  margin-bottom: 20px;
}

.sidebar-gad__title {
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gad-text-muted);
  font-weight: 700;
  padding: 12px 14px 6px;
  margin: 0;
}

.sidebar-gad__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: var(--gad-radius-sm);
  color: var(--gad-text-soft) !important;
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: all var(--gad-transition);
  line-height: 1.3;
  margin-bottom: 2px;
  position: relative;
}

.sidebar-gad__link i {
  width: 20px;
  text-align: center;
  color: var(--gad-text-muted);
  font-size: 14px;
  transition: color var(--gad-transition);
}

.sidebar-gad__link:hover {
  background: var(--gad-primary-light);
  color: var(--gad-primary) !important;
}
.sidebar-gad__link:hover i { color: var(--gad-primary); }

.sidebar-gad__link.is-active {
  background: linear-gradient(90deg, var(--gad-primary-light) 0%, transparent 100%);
  color: var(--gad-primary) !important;
  font-weight: 700;
}
.sidebar-gad__link.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--gad-accent);
  border-radius: 0 2px 2px 0;
}
.sidebar-gad__link.is-active i { color: var(--gad-accent); }

/* ---------- 12. FILE LINKS ---------- */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--gad-radius-sm);
  color: var(--gad-text) !important;
  text-decoration: none !important;
  transition: all var(--gad-transition);
  border: 1px solid transparent;
  font-weight: 500;
  background: var(--gad-bg-soft);
}

.file-link__icon {
  width: 38px; height: 38px;
  border-radius: var(--gad-radius-sm);
  background: linear-gradient(135deg, rgba(233, 38, 37, 0.1) 0%, rgba(233, 38, 37, 0.05) 100%);
  color: var(--gad-danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--gad-transition);
}

.file-link__name { flex: 1; word-break: break-word; font-size: 14px; }

.file-link__arrow {
  color: var(--gad-text-muted);
  transition: transform var(--gad-transition), color var(--gad-transition);
}

.file-link:hover {
  background: #fff;
  border-color: var(--gad-primary-100);
  color: var(--gad-primary) !important;
  box-shadow: var(--gad-shadow-xs);
}
.file-link:hover .file-link__icon { transform: scale(1.08); }
.file-link:hover .file-link__arrow { transform: translateX(4px); color: var(--gad-primary); }

/* ---------- 13. BADGES ---------- */
.badge-gad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.25px;
}
.badge-gad--info { background: rgba(51, 204, 219, 0.15); color: #117a85; }
.badge-gad--success { background: var(--gad-primary-light); color: var(--gad-primary-dark); }
.badge-gad--accent { background: rgba(255, 181, 0, 0.15); color: #8a6b00; }

/* ---------- 14. ITEM CARD (lists) ---------- */
.item-card {
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  padding: 20px;
  margin-bottom: 14px;
  transition: all var(--gad-transition);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}

.item-card:hover {
  border-color: var(--gad-primary-100);
  box-shadow: var(--gad-shadow);
  transform: translateY(-1px);
}

.item-card__body { flex: 1; min-width: 0; }

.item-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.item-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gad-text);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.item-card__subitems {
  list-style: none;
  padding: 10px 0 0 0;
  margin: 10px 0 0 0;
  border-top: 1px dashed var(--gad-border);
}

.item-card__subitems li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gad-text-soft);
}

.item-card__subitems li i { color: var(--gad-danger); }

.item-card__actions { flex-shrink: 0; width: 170px; }

/* ---------- 15. ACCORDION (Bootstrap 5) ---------- */
.accordion-gad .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--gad-primary);
}

.accordion-gad .accordion-item {
  background: #fff;
  border: 1px solid var(--gad-border-soft) !important;
  border-radius: var(--gad-radius) !important;
  margin-bottom: 10px !important;
  box-shadow: var(--gad-shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--gad-transition);
}
.accordion-gad .accordion-item:hover { box-shadow: var(--gad-shadow-sm); }

.accordion-gad .accordion-header { margin: 0 !important; }

.accordion-gad .accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px !important;
  color: var(--gad-text) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  text-decoration: none !important;
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  transition: all var(--gad-transition);
  width: 100%;
  text-align: left;
}

.accordion-gad .accordion-button::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
  font-weight: 900;
  font-size: 12px;
  color: var(--gad-primary);
  transition: transform var(--gad-transition), background var(--gad-transition);
  margin-left: 12px;
  background: var(--gad-primary-light) !important;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: none !important;
}

.accordion-gad .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  background: var(--gad-accent) !important;
  color: #fff;
}

.accordion-gad .accordion-button:not(.collapsed) {
  background: #fff !important;
  color: var(--gad-primary) !important;
}

.accordion-gad .accordion-button:hover {
  background: var(--gad-bg-soft) !important;
  color: var(--gad-primary) !important;
}

.accordion-gad .accordion-button:focus {
  border-color: transparent !important;
  box-shadow: var(--gad-ring) !important;
  z-index: 1;
}

.accordion-gad .accordion-body {
  padding: 14px 20px 18px !important;
  background: var(--gad-bg-soft);
  border-top: 1px solid var(--gad-border-soft);
}

.accordion-gad .list-group-item {
  border: none;
  background: #fff;
  border-radius: var(--gad-radius-sm);
  padding: 10px 14px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  transition: all var(--gad-transition);
  font-size: 13.5px;
  border-left: 3px solid transparent;
}

.accordion-gad .list-group-item:hover {
  transform: translateX(2px);
}

/* File uploaded — green indicator */
.accordion-gad .list-group-item--filled {
  border-left-color: var(--gad-primary);
  background: linear-gradient(90deg, rgba(0, 135, 62, 0.06) 0%, #fff 40%);
}
.accordion-gad .list-group-item--filled:hover {
  background: linear-gradient(90deg, rgba(0, 135, 62, 0.12) 0%, var(--gad-primary-light) 40%);
}

/* No file — pending indicator */
.accordion-gad .list-group-item--empty {
  border-left-color: var(--gad-accent);
  background: linear-gradient(90deg, rgba(255, 181, 0, 0.07) 0%, #fff 40%);
  opacity: 0.75;
}
.accordion-gad .list-group-item--empty:hover {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 181, 0, 0.14) 0%, rgba(255, 181, 0, 0.04) 40%);
}

/* Status indicator dot/icon */
.file-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
}
.file-status--ok {
  background: var(--gad-primary-light);
  color: var(--gad-primary);
}
.file-status--pending {
  background: rgba(255, 181, 0, 0.18);
  color: var(--gad-accent-dark);
}

.accordion-gad .list-group-item a[href] {
  color: var(--gad-text) !important;
  font-weight: 500;
  text-decoration: none !important;
}
.accordion-gad .list-group-item a[href]:hover { color: var(--gad-primary) !important; }

/* Filled items — link in green */
.accordion-gad .list-group-item--filled a[href] {
  color: var(--gad-primary) !important;
  font-weight: 600;
}
.accordion-gad .list-group-item--filled a[href]:hover {
  color: var(--gad-primary-dark) !important;
}

.accordion-gad .list-group-item .edit-action {
  margin-left: auto;
  color: var(--gad-secondary) !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(41, 171, 226, 0.1);
  border-radius: 6px;
}
.accordion-gad .list-group-item .edit-action:hover {
  background: rgba(41, 171, 226, 0.2);
  color: var(--gad-secondary-dark) !important;
}

/* ---------- 16. YEAR GRID ---------- */
.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.year-grid .year-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  background: linear-gradient(135deg, #fff 0%, var(--gad-bg-soft) 100%);
  border: 1.5px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  color: var(--gad-text) !important;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none !important;
  transition: all var(--gad-transition);
  position: relative;
  overflow: hidden;
}

.year-grid .year-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gad-primary-light) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--gad-transition);
  pointer-events: none;
}

.year-grid .year-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gad-accent);
  transform: scaleX(0);
  transition: transform var(--gad-transition);
}

.year-grid .year-card:hover {
  color: var(--gad-primary) !important;
  border-color: var(--gad-primary-100);
  transform: translateY(-3px);
  box-shadow: var(--gad-shadow);
}
.year-grid .year-card:hover::before { opacity: 1; }
.year-grid .year-card:hover::after { transform: scaleX(1); }

.year-grid .year-card small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gad-text-muted);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.year-grid .year-card > :not(small) { position: relative; z-index: 1; }

/* ---------- 17. FORMS ---------- */
.form-card {
  background: #fff;
  border-radius: var(--gad-radius);
  box-shadow: var(--gad-shadow-md);
  padding: 32px 34px;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid var(--gad-border-soft);
  animation: gad-scaleIn 400ms var(--gad-ease-out);
}

.form-card__title {
  text-align: center;
  color: var(--gad-primary);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.form-card__subtitle {
  text-align: center;
  color: var(--gad-text-muted);
  font-size: 13.5px;
  margin: 0 0 22px 0;
}

.form-card .form-group { margin-bottom: 16px; }

.form-card label,
.form-contact label {
  font-weight: 600;
  color: var(--gad-text);
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.1px;
}

.form-card .form-control,
.form-contact .form-control {
  border: 1.5px solid var(--gad-border);
  border-radius: var(--gad-radius-sm);
  padding: 10px 14px;
  height: auto;
  box-shadow: none;
  transition: all var(--gad-transition);
  font-size: 14px;
  background: #fff;
}

.form-card .form-control:focus,
.form-contact .form-control:focus {
  border-color: var(--gad-primary);
  box-shadow: var(--gad-ring);
  outline: none;
}

/* ---------- 18. PAGINATION ---------- */
.pagination {
  display: inline-flex;
  gap: 4px;
  margin: 24px 0 0;
  padding: 0;
}
.pagination > li > a,
.pagination > li > span {
  border: 1px solid var(--gad-border);
  color: var(--gad-text-soft);
  border-radius: var(--gad-radius-sm) !important;
  padding: 7px 13px;
  font-weight: 600;
  font-size: 13px;
  transition: all var(--gad-transition);
  margin: 0 !important;
  background: #fff;
}
.pagination > li > a:hover {
  background: var(--gad-primary-light);
  color: var(--gad-primary);
  border-color: var(--gad-primary-100);
}
.pagination > .active > span,
.pagination > .active > a,
.pagination > .active > a:hover {
  background: var(--gad-primary) !important;
  border-color: var(--gad-primary) !important;
  color: #fff !important;
  box-shadow: var(--gad-shadow-xs);
}
.pagination > .disabled > span { color: var(--gad-text-muted); opacity: 0.5; }

/* ---------- 19. FOOTER ---------- */
.footer-gad {
  background: linear-gradient(135deg, var(--gad-primary-darker) 0%, var(--gad-primary) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 0;
  margin-top: 64px;
  position: relative;
}

.footer-gad::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gad-accent-soft) 0%, var(--gad-accent) 50%, var(--gad-accent-dark) 100%);
}

.footer-gad__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-gad__brand img {
  max-width: 170px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-gad__brand p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-gad__motto {
  font-weight: 600 !important;
  color: #fff !important;
  font-size: 13px !important;
  letter-spacing: 0.3px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px !important;
}

.footer-gad__motto {
  margin-bottom: 18px !important;
}

.footer-gad__motto .dot {
  color: var(--gad-accent);
  font-weight: 900;
}

.footer-gad__social { display: flex; gap: 8px; }

.footer-gad__social a {
  width: 38px; height: 38px;
  border-radius: var(--gad-radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--gad-transition);
  text-decoration: none !important;
}
.footer-gad__social a:hover {
  background: var(--gad-accent);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--gad-shadow-accent);
}

.footer-gad__title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gad-accent);
  display: inline-block;
}

.footer-gad__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-gad__item i {
  color: var(--gad-accent-soft);
  width: 18px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 13px;
}

.footer-gad__item a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none;
  transition: color var(--gad-transition);
}
.footer-gad__item a:hover { color: var(--gad-accent-soft) !important; }

.footer-gad__copy {
  background: rgba(0, 0, 0, 0.22);
  padding: 14px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-gad__copy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-gad__copy a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}
.footer-gad__copy a:hover { color: var(--gad-accent-soft) !important; }

.footer-gad__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-gad__credit i { color: var(--gad-accent-soft); font-size: 12px; }
.footer-gad__credit strong { color: #fff; font-weight: 700; }

/* ============================================================
   DEV STUDIO SIGNATURE — Premium developer credit
   ============================================================ */
.dev-studio {
  padding: 22px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
}

.dev-studio__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 220, 0, 0.10) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(51, 204, 219, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, #061a0e 0%, #0a2918 50%, #061a0e 100%);
  border-radius: var(--gad-radius-lg);
  border: 1px solid rgba(255, 220, 0, 0.18);
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
  flex-wrap: wrap;
  transition: transform 400ms var(--gad-ease), box-shadow 400ms var(--gad-ease);
}
.dev-studio__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    var(--gad-accent-soft) 0%,
    transparent 30%,
    transparent 70%,
    var(--gad-info) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}
.dev-studio__card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 32px 60px -22px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Shimmer overlay */
.dev-studio__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 220, 0, 0.10) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: dev-shimmer 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes dev-shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(180%); }
  100% { transform: translateX(180%); }
}

/* Code mark */
.dev-studio__brand {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.dev-studio__mark {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 12px 18px;
  background:
    linear-gradient(135deg, rgba(0, 135, 62, 0.4) 0%, rgba(0, 90, 51, 0.5) 100%);
  border: 1px solid rgba(255, 220, 0, 0.35);
  border-radius: var(--gad-radius);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  box-shadow:
    0 8px 20px -8px rgba(0, 135, 62, 0.6),
    inset 0 0 20px rgba(255, 220, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.dev-studio__bracket {
  color: var(--gad-accent-soft);
  text-shadow: 0 0 8px rgba(255, 220, 0, 0.5);
  animation: dev-blink 2.4s ease-in-out infinite;
}
.dev-studio__bracket:last-child { animation-delay: 0.4s; }
.dev-studio__slash {
  color: var(--gad-info);
  text-shadow: 0 0 8px rgba(51, 204, 219, 0.5);
  margin: 0 2px;
}
@keyframes dev-blink {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(255, 220, 0, 0.5); }
  50%      { opacity: 0.7; text-shadow: 0 0 14px rgba(255, 220, 0, 0.9); }
}

/* Beam under mark */
.dev-studio__beam {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 6px;
  background: radial-gradient(ellipse, rgba(255, 220, 0, 0.5) 0%, transparent 70%);
  filter: blur(4px);
  animation: dev-beam-pulse 2.4s ease-in-out infinite;
}
@keyframes dev-beam-pulse {
  0%, 100% { opacity: 0.5; width: 50%; }
  50%      { opacity: 1; width: 75%; }
}

/* Text block */
.dev-studio__text {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 260px;
}
.dev-studio__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(255, 220, 0, 0.12);
  border: 1px solid rgba(255, 220, 0, 0.30);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gad-accent-soft);
  margin-bottom: 8px;
}
.dev-studio__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gad-accent-soft);
  box-shadow: 0 0 0 4px rgba(255, 220, 0, 0.25);
  animation: gad-pulse 2s ease-in-out infinite;
}
.dev-studio__name {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.15;
  color: #fff;
}
.dev-studio__name span {
  background: linear-gradient(90deg, var(--gad-accent-soft) 0%, var(--gad-accent) 50%, var(--gad-info) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: dev-text-shift 6s ease-in-out infinite;
}
@keyframes dev-text-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.dev-studio__org {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.dev-studio__org strong {
  color: var(--gad-accent-soft);
  font-weight: 700;
}
.dev-studio__sep { color: var(--gad-accent); margin: 0 6px; font-weight: 800; }

/* Tech stack chips */
.dev-studio__stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.dev-studio__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: 0.3px;
  transition: all var(--gad-transition);
}
.dev-studio__chip i { font-size: 12px; }
.dev-studio__chip:nth-child(1) i { color: #FFD43B; }
.dev-studio__chip:nth-child(2) i { color: #E34F26; }
.dev-studio__chip:nth-child(3) i { color: #1572B6; }
.dev-studio__chip:nth-child(4) i { color: #F7DF1E; }
.dev-studio__chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 220, 0, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .dev-studio { padding: 16px 0; }
  .dev-studio__card {
    padding: 16px;
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .dev-studio__mark { font-size: 18px; padding: 10px 14px; }
  .dev-studio__name { font-size: 16px; }
  .dev-studio__org { font-size: 11.5px; }
  .dev-studio__text { min-width: 0; width: 100%; }
  .dev-studio__stack { width: 100%; }
}

/* ---------- 20. UTILITIES ---------- */
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-sm { margin-bottom: 8px !important; }
.u-mb-md { margin-bottom: 16px !important; }
.u-mb-lg { margin-bottom: 24px !important; }
.u-mt-md { margin-top: 16px !important; }
.u-mt-lg { margin-top: 24px !important; }
.u-text-center { text-align: center !important; }
.u-text-justify { text-align: justify !important; }
.u-text-muted { color: var(--gad-text-muted) !important; }
.u-text-primary { color: var(--gad-primary) !important; }

/* ---------- 21. LEGACY OVERRIDES ---------- */
.animationload { display: none !important; }
.fcopy { display: none; }
.card-gad .panel,
.card-gad .panel-heading,
.card-gad .panel-body {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.section { padding: 0; }

/* Hide legacy menu__link if it still appears */
.menu__link.active-link { color: var(--gad-primary) !important; }

/* ============================================================
   MOBILE-FIRST RESPONSIVE (tablet/desktop upscale)
   ============================================================ */

/* Tablet+ (≥768px) */
@media (min-width: 768px) {
  :root {
    --gad-topbar-h: 36px; /* topbar height (desktop) */
    --gad-navbar-h: 68px;
  }

  .hero { padding: 56px 0 64px; }
  .hero__title { font-size: 36px; }
  .hero__subtitle { font-size: 16px; }

  .content-wrap { padding: 48px 0 72px; }

  .title-accent { font-size: 20px; }
  .title-accent--lg { font-size: 24px; }

  .section-title { font-size: 16px; padding: 14px 22px; }

  .card-gad__header { padding: 20px 24px 0; }
  .card-gad__body { padding: 20px 24px 24px; }
  .card-gad__icon { width: 68px; height: 68px; font-size: 26px; }

  .form-card { padding: 36px 40px; max-width: 520px; }
  .form-card__title { font-size: 24px; }

  .item-card { padding: 22px; gap: 20px; }
  .item-card__title { font-size: 16px; }

  .year-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .year-grid .year-card { padding: 22px 10px; font-size: 24px; }

  .file-link { padding: 13px 16px; }
  .file-link__icon { width: 40px; height: 40px; font-size: 17px; }
  .file-link__name { font-size: 14.5px; }
}

/* Desktop+ (≥992px) */
@media (min-width: 992px) {
  .navgad__logo { height: 46px; }
  .navgad__brand-name { font-size: 15px; letter-spacing: 0.6px; }
  .navgad__brand-tag { font-size: 9.5px; letter-spacing: 1.4px; }

  .hero { padding: 64px 0 76px; }
  .hero__title { font-size: 44px; }
  .hero__subtitle { font-size: 16px; }
  .hero__badge { display: block; }
  .hero__orb--1 { width: 420px; height: 420px; }
}

/* ============================================================
   MOBILE-SPECIFIC OVERRIDES
   ============================================================ */

@media (max-width: 991px) {
  /* topbar stacks vertically */
  :root { --gad-topbar-h: 58px; --gad-navbar-h: 60px; }

  .topbar .container {
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .topbar__left { gap: 14px; justify-content: center; font-size: 11.5px; }
  .topbar__item--hide-mobile { display: none; }

  /* Navbar collapses into mobile drawer */
  .navgad__toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; margin-left: auto; }

  .navgad__menu,
  .navgad__menu.collapse {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--gad-border-soft);
    box-shadow: var(--gad-shadow-lg);
    height: auto !important;
    gap: 6px;
    display: none !important;
    visibility: hidden !important;
    max-height: calc(100vh - var(--gad-topbar-h) - var(--gad-navbar-h));
    overflow-y: auto !important;
  }
  .navgad__menu.collapse.show {
    display: flex !important;
    visibility: visible !important;
    animation: gad-slideDown 200ms var(--gad-ease-out);
  }
  .navgad__menu.collapsing {
    display: flex !important;
    visibility: visible !important;
  }

  .navgad__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
    gap: 2px;
  }
  .navgad__list > li { width: 100%; display: block; }

  .navgad__link {
    padding: 12px 14px;
    border-radius: var(--gad-radius-sm);
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }
  .navgad__link::after { display: none; }
  .navgad__link:hover,
  .navgad__list > li.is-active > .navgad__link,
  .navgad__link[aria-expanded="true"] {
    background: var(--gad-primary-light) !important;
  }
  .navgad__list > li.is-active > .navgad__link {
    border-left: 3px solid var(--gad-accent);
    padding-left: 11px;
  }

  .navgad__dropdown {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--gad-bg-soft) !important;
    padding: 4px 6px !important;
    margin: 4px 0 6px 0 !important;
    animation: none;
    min-width: 0;
    width: 100%;
  }

  .navgad__cta {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 18px;
  }

  .navgad__brand { padding-right: 0; }
  .navgad__logo { height: 38px; }
  .navgad__brand-name { font-size: 13.5px; }
  .navgad__brand-tag { font-size: 9px; letter-spacing: 1.2px; }
  .navgad__brand-text { padding-left: 10px; }

  /* Hero (tablet) */
  .hero { padding: 36px 0 44px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 14.5px; }
  .hero__inner { gap: 28px; }
  .hero__badge { width: 150px; height: 150px; }
  .hero__badge-content i { font-size: 30px; }
  .hero__badge-name { font-size: 18px; }
  .hero__motto-pill { font-size: 11.5px; padding: 6px 12px; }
  .hero__orb--1 { width: 240px; height: 240px; right: -40px; }

  .content-wrap { padding: 32px 0 48px; }

  /* Sidebar becomes horizontal scroller on tablet/mobile */
  .sidebar-gad {
    position: static;
    top: auto;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar-gad::-webkit-scrollbar { display: none; }
  .sidebar-gad__title { display: none; }
  .sidebar-gad__link {
    flex-shrink: 0;
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 12.5px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--gad-border-soft);
  }
  .sidebar-gad__link i { font-size: 12px; width: auto; }
  .sidebar-gad__link.is-active {
    background: var(--gad-primary) !important;
    color: #fff !important;
    border-color: var(--gad-primary);
    font-weight: 600;
  }
  .sidebar-gad__link.is-active::before { display: none; }
  .sidebar-gad__link.is-active i { color: #fff; }
}

@media (max-width: 767px) {
  .container { padding-left: 14px; padding-right: 14px; }

  body { line-height: 1.55; }

  /* Titles */
  .hero { padding: 28px 0 36px; }
  .hero__title { font-size: 22px; letter-spacing: -0.4px; }
  .hero__title::after { width: 42px; height: 3px; margin-top: 14px; }
  .hero__subtitle { font-size: 13.5px; margin-top: 14px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: 1.3px; padding: 5px 11px; margin-bottom: 14px; }
  .hero__crumbs ol { font-size: 11px; padding: 4px 10px; margin-bottom: 14px; }
  .hero__motto { gap: 6px; margin-top: 18px; }
  .hero__motto-pill { font-size: 11px; padding: 5px 10px; }
  .hero__motto-pill i { font-size: 10px; }
  .hero__badge { display: none; }
  .hero__orb { opacity: 0.7; }
  .hero__topo { opacity: 0.4; }

  .title-accent { font-size: 16px; }
  .title-accent--lg { font-size: 18px; }
  .section-title { font-size: 13.5px; padding: 11px 16px; }

  /* Cards */
  .card-gad { margin-bottom: 14px; border-radius: var(--gad-radius-sm); }
  .card-gad__header { padding: 16px 16px 0; }
  .card-gad__body { padding: 14px 16px 18px; }
  .card-gad__body p { font-size: 13.5px; line-height: 1.6; }
  .card-gad__icon { width: 52px; height: 52px; font-size: 20px; margin-bottom: 10px; }

  /* Item card (audits, agreements) */
  .item-card {
    flex-direction: column;
    padding: 14px;
    gap: 12px;
    border-radius: var(--gad-radius-sm);
  }
  .item-card__actions { width: 100%; }
  .item-card__title { font-size: 14px; }
  .item-card__subitems li { flex-wrap: wrap; font-size: 12.5px; padding: 6px 0; }
  .item-card__subitems li > span { flex: 1; min-width: 0; word-break: break-word; }
  .item-card__subitems li .btn-gad { width: 100%; margin-top: 4px; }

  /* File list */
  .file-list { gap: 4px; }
  .file-link { padding: 10px 12px; gap: 10px; }
  .file-link__icon { width: 34px; height: 34px; font-size: 14px; }
  .file-link__name { font-size: 13px; }

  /* Forms */
  .form-card { padding: 22px 18px; max-width: 100%; border-radius: var(--gad-radius-sm); }
  .form-card__title { font-size: 19px; }
  .form-card__subtitle { font-size: 12.5px; margin-bottom: 18px; }

  /* Buttons */
  .btn-gad { padding: 10px 16px; font-size: 13px; }
  .btn-gad--lg { padding: 12px 20px; font-size: 14px; }

  /* Year grid */
  .year-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
  .year-grid .year-card { padding: 16px 8px; font-size: 18px; }
  .year-grid .year-card small { font-size: 8.5px; }

  /* Accordion */
  .accordion-gad .panel-title a,
  .accordion-gad .anchor-accordion { padding: 13px 16px !important; font-size: 13.5px !important; }
  .accordion-gad .panel-body { padding: 12px 14px 16px !important; }
  .accordion-gad .list-group-item { padding: 9px 12px; font-size: 12.5px; }
  .accordion-gad .list-group-item .edit-action { margin-left: 0; font-size: 11.5px; }

  /* Pagination */
  .pagination > li > a,
  .pagination > li > span { padding: 5px 10px; font-size: 12px; }

  /* Badges */
  .badge-gad { font-size: 11px; padding: 4px 10px; }

  /* Footer */
  .footer-gad { padding: 36px 0 0; margin-top: 40px; }
  .footer-gad__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-gad__title { font-size: 12.5px; }
  .footer-gad__item { font-size: 13px; margin-bottom: 10px; }
  .footer-gad__brand img { max-width: 140px; }
  .footer-gad__brand p { font-size: 13px; }
  .footer-gad__social a { width: 34px; height: 34px; font-size: 14px; }
  .footer-gad__copy { text-align: center; }
  .footer-gad__copy-inner { justify-content: center; text-align: center; gap: 10px; }
  .footer-gad__copy { font-size: 11.5px; padding: 12px 0; }
  .footer-gad__credit { font-size: 10.5px; padding: 5px 12px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 20px; }
  .hero__subtitle { font-size: 13px; }
  .hero__orb { display: none; }
  .hero__motto-pill:nth-child(n+3) { display: none; }
  .topbar__left { gap: 10px; font-size: 11px; }
  .topbar__item { font-size: 11px; }
  .year-grid .year-card { font-size: 16px; padding: 14px 6px; }
  .card-gad__body p { font-size: 13px; }
  .navgad__brand-text { display: none; }
}

/* ---------- 22. MODAL FRAME (iframe inside modals) ---------- */
body.modal-frame {
  padding: 20px !important;
  background: #fff !important;
}
body.modal-frame .topbar,
body.modal-frame .navgad,
body.modal-frame .hero,
body.modal-frame .footer-gad,
body.modal-frame .dev-studio { display: none !important; }
body.modal-frame .content-wrap { padding: 0 !important; }
body.modal-frame .form-card {
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* ---------- 23. PRINT ---------- */
@media print {
  .navgad, .topbar, .footer-gad, .sidebar-gad, .hero { display: none !important; }
  body { padding: 0 !important; }
}

/* ---------- 23. SKELETON LOADERS ---------- */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: var(--gad-bg-muted);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: -200% 0;
  animation: gad-shimmer 1.4s linear infinite;
  border-radius: var(--gad-radius-sm);
  color: transparent !important;
  user-select: none;
  pointer-events: none;
}
.skeleton * { visibility: hidden !important; }

.skeleton-line {
  display: block;
  height: 12px;
  margin-bottom: 10px;
  border-radius: var(--gad-radius-xs);
}
.skeleton-line--sm { height: 10px; }
.skeleton-line--lg { height: 18px; }
.skeleton-line--w25 { width: 25%; }
.skeleton-line--w50 { width: 50%; }
.skeleton-line--w75 { width: 75%; }
.skeleton-line--w100 { width: 100%; }
.skeleton-line:last-child { margin-bottom: 0; }

.skeleton-title {
  height: 22px;
  width: 60%;
  margin-bottom: 14px;
  border-radius: var(--gad-radius-xs);
}

.skeleton-circle {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.skeleton-card {
  padding: 22px;
  background-color: var(--gad-bg);
  border: 1px solid var(--gad-border);
  border-radius: var(--gad-radius-lg);
  box-shadow: var(--gad-shadow-sm);
  margin-bottom: 20px;
}

.skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton.is-loaded {
  animation: none;
  background: none;
  color: inherit !important;
  pointer-events: auto;
  user-select: auto;
}
.skeleton.is-loaded * { visibility: visible !important; }

/* ---------- 24. MICROINTERACTIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms var(--gad-ease-out),
    transform 600ms var(--gad-ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--fade { transform: none; }
.reveal--left { transform: translateX(-24px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(24px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.96); }
.reveal--scale.is-visible { transform: scale(1); }

.reveal-stagger.is-visible > * { animation: gad-fadeInUp 600ms var(--gad-ease-out) both; }
.reveal-stagger.is-visible > *:nth-child(1)  { animation-delay:  60ms; }
.reveal-stagger.is-visible > *:nth-child(2)  { animation-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(3)  { animation-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4)  { animation-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5)  { animation-delay: 300ms; }
.reveal-stagger.is-visible > *:nth-child(6)  { animation-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(7)  { animation-delay: 420ms; }
.reveal-stagger.is-visible > *:nth-child(8)  { animation-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(n+9){ animation-delay: 540ms; }

.tilt {
  transform-style: preserve-3d;
  transition: transform 260ms var(--gad-ease), box-shadow 260ms var(--gad-ease);
  will-change: transform;
}
.tilt:hover { box-shadow: var(--gad-shadow-lg); }
.tilt__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--tilt-x, 50%) var(--tilt-y, 50%),
    rgba(255, 255, 255, 0.18),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 260ms var(--gad-ease);
}
.tilt:hover .tilt__shine { opacity: 1; }

.card-gad,
.item-card,
.year-card,
.file-link {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- 25. BADGES DE ESTADO ---------- */
.badge-estado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: middle;
}
.badge-estado::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

.badge-estado--vigente    { color: #0f7a37; background: #E8F5EE; border-color: #bfe1ca; }
.badge-estado--archivado  { color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.badge-estado--revision   { color: #92540a; background: #FFF4D6; border-color: #F2D27A; }
.badge-estado--pendiente  { color: #1C6470; background: #DFF6F9; border-color: #9ED9E1; }
.badge-estado--borrador   { color: #5b21b6; background: #ede9fe; border-color: #c4b5fd; }
.badge-estado--vencido    { color: #991b1b; background: #fee2e2; border-color: #fca5a5; }

.badge-estado--vigente.badge-estado--pulse::before {
  animation: gad-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes gad-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 6%,  transparent); }
}

/* ============================================================
   INDEX PAGE COMPONENTS
   ============================================================ */

/* Featured current period banner */
.featured-period {
  position: relative;
  overflow: hidden;
  border-radius: var(--gad-radius-lg);
  background:
    linear-gradient(135deg, var(--gad-primary) 0%, var(--gad-primary-dark) 70%, var(--gad-primary-darker) 100%);
  color: #fff;
  padding: 32px 36px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow:
    0 20px 40px -16px rgba(0, 135, 62, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  isolation: isolate;
  animation: gad-fadeInUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.featured-period::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gad-accent-soft) 0%, var(--gad-accent) 50%, var(--gad-info) 100%);
}
.featured-period__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.featured-period__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.featured-period__orb--a {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--gad-accent) 0%, transparent 70%);
  top: -120px; right: -80px;
  animation: gad-float-1 12s ease-in-out infinite;
}
.featured-period__orb--b {
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--gad-info) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  animation: gad-float-2 14s ease-in-out infinite;
}
.featured-period__inner { position: relative; z-index: 1; flex: 1; min-width: 0; }
.featured-period__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gad-accent-soft);
  margin-bottom: 14px;
}
.featured-period__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gad-accent-soft);
  box-shadow: 0 0 0 4px rgba(255, 220, 0, 0.25);
  animation: gad-pulse 2s ease-in-out infinite;
}
@keyframes gad-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 220, 0, 0.25); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 220, 0, 0); }
}
.featured-period__year {
  font-size: 44px;
  font-weight: 900;
  margin: 0 0 12px 0;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
}
.featured-period__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px 0;
  max-width: 580px;
}
.featured-period__desc strong { color: var(--gad-accent-soft); font-weight: 700; }
.featured-period__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.featured-period .btn-gad--outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.featured-period .btn-gad--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Featured period visual on right */
.featured-period__visual {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: none;
  z-index: 1;
}
.featured-period__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 220, 0, 0.45);
  animation: gad-spin 30s linear infinite;
}
.featured-period__year-big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -3px;
}
.featured-period__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255, 220, 0, 0.85);
  filter: drop-shadow(0 4px 20px rgba(255, 220, 0, 0.4));
  animation: gad-icon-bob 4s ease-in-out infinite;
}

@media (min-width: 768px) {
  .featured-period__visual { display: block; }
  .featured-period { padding: 40px 44px; }
  .featured-period__year { font-size: 56px; }
}
@media (max-width: 767px) {
  .featured-period { padding: 24px 22px; flex-direction: column; align-items: flex-start; }
  .featured-period__year { font-size: 36px; }
  .featured-period__desc { font-size: 13.5px; }
  .featured-period__actions .btn-gad { width: 100%; }
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stats-card {
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--gad-shadow-xs);
  transition: all var(--gad-transition);
  animation: gad-fadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stats-card:nth-child(1) { animation-delay: 100ms; }
.stats-card:nth-child(2) { animation-delay: 180ms; }
.stats-card:nth-child(3) { animation-delay: 260ms; }
.stats-card:nth-child(4) { animation-delay: 340ms; }
.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gad-shadow);
  border-color: var(--gad-border);
}
.stats-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--gad-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.stats-card__icon--green { background: var(--gad-primary-light); color: var(--gad-primary); }
.stats-card__icon--gold  { background: rgba(255, 181, 0, 0.14);  color: var(--gad-accent-dark); }
.stats-card__icon--cyan  { background: rgba(51, 204, 219, 0.14); color: var(--gad-info-dark); }
.stats-card__icon--yellow{ background: rgba(255, 220, 0, 0.18);  color: #b59500; }
.stats-card__body { min-width: 0; flex: 1; }
.stats-card__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--gad-text);
  line-height: 1;
  letter-spacing: -0.5px;
}
.stats-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gad-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Article 7 / index info card */
.index-info__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--gad-primary-light);
  color: var(--gad-primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.index-info__chip i { font-size: 11px; }

.index-info__bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.index-info__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gad-text-soft);
  font-weight: 500;
}
.index-info__bullets i {
  color: var(--gad-primary);
  font-size: 14px;
}

/* DPE Portal CTA */
.dpe-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #2C96B6 0%, #1C7595 100%);
  border-radius: var(--gad-radius);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 14px 28px -14px rgba(28, 117, 149, 0.55);
  transition: all var(--gad-transition);
  position: relative;
  overflow: hidden;
}
.dpe-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.dpe-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(28, 117, 149, 0.7);
  color: #fff !important;
}
.dpe-cta__icon {
  width: 46px; height: 46px;
  border-radius: var(--gad-radius-sm);
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #fff;
}
.dpe-cta__logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--gad-radius-sm);
  background: #fff;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.dpe-cta__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Large logo + vertical layout variant */
.dpe-cta--vertical {
  flex-direction: column;
  text-align: center;
  padding: 22px 20px;
  gap: 16px;
}
.dpe-cta__logo--lg {
  width: 100%;
  height: auto;
  max-width: 260px;
  padding: 14px;
  border-radius: var(--gad-radius);
}
.dpe-cta__logo--lg img {
  max-height: 80px;
}
.dpe-cta--vertical .dpe-cta__title {
  font-size: 14px;
}
.dpe-cta--vertical .dpe-cta__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
}
.dpe-cta__body { flex: 1; min-width: 0; }
.dpe-cta__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.dpe-cta__title {
  font-size: 16px;
  font-weight: 800;
  margin: 2px 0 4px 0;
  color: #fff;
}
.dpe-cta__desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.dpe-cta__arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform var(--gad-transition);
}
.dpe-cta:hover .dpe-cta__arrow {
  transform: translateX(4px);
  color: #fff;
}

/* Quick access section */
.quick-access {
  margin-bottom: 28px;
}
.quick-access__header {
  margin-bottom: 18px;
}
.quick-access__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gad-primary-light) 0%, rgba(255, 220, 0, 0.15) 100%);
  color: var(--gad-primary-dark);
  border: 1px solid rgba(0, 135, 62, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.quick-access__chip i { color: var(--gad-accent); font-size: 11px; }
.quick-access__title {
  color: var(--gad-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 8px 0 4px 0;
}
.quick-access__subtitle {
  color: var(--gad-text-muted);
  font-size: 14px;
  margin: 0;
}

.quick-access__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.qa-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  text-decoration: none !important;
  box-shadow: var(--gad-shadow-xs);
  transition: all var(--gad-transition);
  overflow: hidden;
  isolation: isolate;
  animation: gad-fadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.qa-card:nth-child(1) { animation-delay: 50ms; }
.qa-card:nth-child(2) { animation-delay: 130ms; }
.qa-card:nth-child(3) { animation-delay: 210ms; }
.qa-card:nth-child(4) { animation-delay: 290ms; }
.qa-card:nth-child(5) { animation-delay: 370ms; }
.qa-card:nth-child(6) { animation-delay: 450ms; }

.qa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gad-primary);
  transition: width var(--gad-transition);
}
.qa-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gad-shadow-md);
  border-color: var(--gad-border);
}
.qa-card:hover::before { width: 6px; }

.qa-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--gad-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform var(--gad-transition);
}
.qa-card:hover .qa-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.qa-card__body { flex: 1; min-width: 0; }
.qa-card__title {
  color: var(--gad-text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}
.qa-card__desc {
  color: var(--gad-text-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.qa-card__arrow {
  color: var(--gad-text-muted);
  font-size: 13px;
  transition: transform var(--gad-transition), color var(--gad-transition);
  flex-shrink: 0;
}
.qa-card:hover .qa-card__arrow {
  transform: translateX(4px);
}

/* Brand color variants */
.qa-card--green::before { background: var(--gad-primary); }
.qa-card--green .qa-card__icon { background: var(--gad-primary-light); color: var(--gad-primary); }
.qa-card--green:hover .qa-card__arrow { color: var(--gad-primary); }
.qa-card--green:hover .qa-card__title { color: var(--gad-primary); }

.qa-card--gold::before { background: var(--gad-accent); }
.qa-card--gold .qa-card__icon { background: rgba(255, 181, 0, 0.14); color: var(--gad-accent-dark); }
.qa-card--gold:hover .qa-card__arrow { color: var(--gad-accent-dark); }
.qa-card--gold:hover .qa-card__title { color: var(--gad-accent-dark); }

.qa-card--cyan::before { background: var(--gad-info); }
.qa-card--cyan .qa-card__icon { background: rgba(51, 204, 219, 0.14); color: var(--gad-info-dark); }
.qa-card--cyan:hover .qa-card__arrow { color: var(--gad-info-dark); }
.qa-card--cyan:hover .qa-card__title { color: var(--gad-info-dark); }

@media (max-width: 767px) {
  .quick-access__title { font-size: 18px; }
  .quick-access__subtitle { font-size: 13px; }
  .qa-card { padding: 14px; gap: 12px; }
  .qa-card__icon { width: 42px; height: 42px; font-size: 17px; }
  .qa-card__title { font-size: 14px; }
  .qa-card__desc { font-size: 12px; }
}

/* Internal panel */
.panel-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.panel-sidebar,
.panel-card {
  background: #fff;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius-lg);
  box-shadow: var(--gad-shadow-sm);
}

.panel-sidebar {
  padding: 18px;
  position: sticky;
  top: calc(var(--gad-topbar-h) + var(--gad-navbar-h) + 20px);
}

.panel-sidebar__head {
  margin-bottom: 18px;
}

.panel-sidebar__group + .panel-sidebar__group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gad-border-soft);
}

.panel-sidebar__group h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gad-text-muted);
}

.panel-sidebar__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--gad-radius-sm);
  color: var(--gad-text-soft);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--gad-transition);
}

.panel-sidebar__nav a:hover,
.panel-sidebar__nav a.is-active {
  background: var(--gad-primary-light);
  color: var(--gad-primary-dark);
}

.panel-main {
  min-width: 0;
}

.panel-card {
  padding: 22px;
}

.panel-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-search {
  position: relative;
  flex: 1 1 280px;
}

.panel-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gad-text-muted);
}

.panel-toolbar input,
.panel-toolbar select {
  min-height: 46px;
  border: 1px solid var(--gad-border);
  border-radius: var(--gad-radius-sm);
  background: #fff;
}

.panel-toolbar input {
  width: 100%;
  padding: 0 14px 0 42px;
}

.panel-toolbar select {
  min-width: 180px;
  padding: 0 14px;
}

.panel-table-wrap {
  overflow-x: auto;
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
}

.panel-table th,
.panel-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--gad-border-soft);
  vertical-align: middle;
}

.panel-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gad-text-muted);
}

.panel-table td {
  color: var(--gad-text-soft);
}

.panel-actions {
  white-space: nowrap;
  display: flex;
  gap: 8px;
}

.panel-empty {
  text-align: center;
  color: var(--gad-text-muted);
  padding: 26px 12px !important;
}

.panel-form-card {
  max-width: 100%;
  margin: 0;
}

.panel-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.panel-detail-item {
  padding: 16px;
  border: 1px solid var(--gad-border-soft);
  border-radius: var(--gad-radius);
  background: var(--gad-bg);
}

.panel-detail-item__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gad-text-muted);
  font-weight: 700;
}

.panel-detail-item__value {
  color: var(--gad-text-soft);
  word-break: break-word;
}

.panel-module-count {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gad-primary-light);
  color: var(--gad-primary-dark);
  font-weight: 700;
  font-size: 12px;
}

@media (max-width: 991px) {
  .panel-shell {
    grid-template-columns: 1fr;
  }

  .panel-sidebar {
    position: static;
  }
}

/* Year section header */
.year-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.year-section__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.year-section__chip--green {
  background: var(--gad-primary);
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(0, 135, 62, 0.5);
}
.year-section__chip--muted {
  background: var(--gad-bg-muted);
  color: var(--gad-text-muted);
}
.year-section__count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--gad-primary-light);
  color: var(--gad-primary);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.year-section__count--muted {
  background: var(--gad-bg-muted);
  color: var(--gad-text-muted);
}

/* Year card — CURRENT variant (premium, higher specificity) */
.year-grid .year-card.year-card--current,
.year-grid .year-card--current {
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 220, 0, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--gad-primary) 0%, var(--gad-primary-dark) 70%, var(--gad-primary-darker) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow:
    0 14px 32px -10px rgba(0, 135, 62, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1.5px var(--gad-accent);
  padding: 14px 10px 18px !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  letter-spacing: -0.5px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
}
.year-grid .year-card.year-card--current:hover {
  color: #ffffff !important;
}
.year-card--current::before { display: none !important; }
.year-card--current::after { display: none !important; }

.year-card--current .year-card__badge {
  position: static !important;
  width: 28px; height: 28px;
  background: var(--gad-accent);
  color: var(--gad-primary-darker);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(255, 181, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.22);
  text-shadow: none;
  margin-bottom: 2px;
}

.year-card--current > :not(small):not(.year-card__badge) {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: inherit;
  line-height: 1;
}

.year-card--current small {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin-top: 4px !important;
  padding: 4px 10px;
  background: var(--gad-accent);
  color: var(--gad-primary-darker) !important;
  border-radius: 999px;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: 0 4px 10px -2px rgba(255, 181, 0, 0.5);
}
.year-card--current small::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 6px;
  animation: gad-pulse-mini 1.6s ease-in-out infinite;
}
@keyframes gad-pulse-mini {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.year-card--current:hover {
  color: #fff !important;
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 20px 40px -10px rgba(0, 135, 62, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 0 0 1.5px var(--gad-accent-soft);
}

/* Default badge (for non-current cards if they still use it) */
.year-card__badge {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  background: var(--gad-accent);
  color: var(--gad-primary-darker);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 181, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.25);
  text-shadow: none;
}
.year-card--legacy {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  font-weight: 700;
}

.year-grid--compact .year-card {
  padding: 14px 8px !important;
  font-size: 18px !important;
}

/* ---------- 26. STATS STRIP (métricas resumen) ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat-tile {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  background: var(--gad-bg);
  border: 1px solid var(--gad-border);
  border-radius: var(--gad-radius-lg);
  box-shadow: var(--gad-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform var(--gad-transition), box-shadow var(--gad-transition);
}
.stat-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gad-primary);
  border-radius: 4px 0 0 4px;
}
.stat-tile--accent::before  { background: var(--gad-accent); }
.stat-tile--info::before    { background: var(--gad-info); }
.stat-tile--success::before { background: var(--gad-success); }
.stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--gad-shadow-md);
}
.stat-tile__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gad-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stat-tile__value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gad-text);
  letter-spacing: -0.5px;
}
.stat-tile__hint {
  font-size: 12px;
  color: var(--gad-text-muted);
}

/* ---------- 27. EMPTY STATE ---------- */
.empty-state {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--gad-border);
  border-radius: var(--gad-radius-lg);
  background: var(--gad-bg-soft);
}
.empty-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gad-primary-light);
  color: var(--gad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.empty-state__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gad-text);
  margin: 0 0 6px;
}
.empty-state__text {
  color: var(--gad-text-muted);
  font-size: 14px;
  margin: 0 auto;
  max-width: 420px;
}

/* ---------- 28. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .skeleton { animation: none !important; background: var(--gad-bg-muted) !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tilt { transform: none !important; }
}
