/* ==========================================================================
   Components — Header, Footer, Cards, Forms
   ========================================================================== */

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 20px;
}
.topbar a:hover { color: var(--color-gold); }
.topbar-info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar-info span,
.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar-info svg { width: 14px; height: 14px; opacity: 0.7; }
.topbar-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.75rem;
  transition: all var(--t-fast) var(--ease);
}
.lang-switch:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { opacity: 0.75; }
.topbar-social svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .topbar { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--t-med) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(10, 31, 68, 0.08);
}
.site-header.scrolled .nav-bar { height: var(--header-h-scrolled); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
  transition: height var(--t-med) var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--color-navy);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-electric) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(201, 162, 74, 0.4) 100%);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong { font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-name small {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-electric);
  background: var(--color-electric-light);
}
.nav-link .caret {
  width: 10px;
  height: 10px;
  transition: transform var(--t-fast) var(--ease);
  opacity: 0.6;
}
.nav-item:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 260px;
  background: var(--color-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--sh-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-med) var(--ease);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--t-fast) var(--ease);
}
.nav-dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-electric);
}
.nav-dropdown a .ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--color-electric-light);
  display: grid;
  place-items: center;
  color: var(--color-electric);
  flex-shrink: 0;
}
.nav-dropdown a .ico svg { width: 18px; height: 18px; }
.nav-dropdown a strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.9375rem;
  margin-bottom: 2px;
}
.nav-dropdown a small {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
  display: block;
}

/* Mega Menu */
.nav-item-mega { position: static; }
.nav-mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--sh-lg);
  padding: 36px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-med) var(--ease);
}
.nav-item-mega:hover .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.mega-col h6 {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.mega-col a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: var(--r-md);
  margin-inline: -8px;
  transition: all var(--t-fast) var(--ease);
}
.mega-col a:hover { background: var(--color-bg-alt); }
.mega-col a .ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--color-electric-light), white);
  display: grid;
  place-items: center;
  color: var(--color-electric);
  flex-shrink: 0;
}
.mega-col a .ico svg { width: 20px; height: 20px; }
.mega-col a strong { display: block; color: var(--color-navy); font-weight: 600; }
.mega-col a small { color: var(--color-text-muted); font-size: 0.8125rem; }
.mega-feature {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-electric-600) 100%);
  border-radius: var(--r-lg);
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}
.mega-feature::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.4), transparent 70%);
}
.mega-feature h5 { color: white; margin-bottom: 8px; }
.mega-feature p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin-bottom: 16px; }
.mega-feature .btn-link { color: var(--color-gold); position: relative; }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-navy);
  background: var(--color-bg-alt);
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--color-electric); color: white; }
.icon-btn svg { width: 18px; height: 18px; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--t-med) var(--ease);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 68, 0.5);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-med) var(--ease);
}
.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: min(380px, 100%);
  height: 100%;
  background: var(--color-white);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
[dir="rtl"] .mobile-drawer-panel { transform: translateX(100%); }
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}
.mobile-drawer-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--color-navy);
}
.mobile-nav { flex: 1; }
.mobile-nav a, .mobile-nav button.collapse-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  border-radius: var(--r-md);
  text-align: start;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: var(--color-bg-alt); }
.mobile-nav .submenu {
  padding-inline-start: 16px;
  display: none;
}
.mobile-nav .submenu.open { display: block; }
.mobile-nav .submenu a { font-weight: 500; font-size: 0.9375rem; color: var(--color-text-muted); }
.collapse-trigger .caret { transition: transform var(--t-med) var(--ease); }
.collapse-trigger.open .caret { transform: rotate(180deg); }
.mobile-drawer-foot {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-top: 16px;
}
.mobile-drawer-foot .btn { width: 100%; margin-bottom: 10px; }

@media (max-width: 1100px) {
  .primary-nav, .header-cta .icon-btn { display: none; }
  .mobile-toggle { display: flex; }
}
@media (max-width: 540px) {
  .header-cta .btn { display: none; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-electric-light), white);
  display: grid;
  place-items: center;
  color: var(--color-electric);
  margin-bottom: 20px;
  transition: all var(--t-med) var(--ease);
}
.card .card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon {
  background: linear-gradient(135deg, var(--color-electric), var(--color-navy));
  color: white;
  transform: scale(1.05);
}
.card h3, .card h4 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { font-size: 0.9375rem; line-height: 1.75; }

/* Sector card (large feature) */
.sector-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 380px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease);
}
.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.2) 0%, rgba(10, 31, 68, 0.92) 100%);
  z-index: -1;
  transition: opacity var(--t-med) var(--ease);
}
.sector-card:hover { transform: translateY(-6px); }
.sector-card:hover::before {
  background: linear-gradient(180deg, rgba(30, 99, 216, 0.3) 0%, rgba(10, 31, 68, 0.95) 100%);
}
.sector-card .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  width: fit-content;
}
.sector-card h3 {
  color: white;
  font-size: 1.625rem;
  margin-bottom: 10px;
}
.sector-card p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  font-size: 0.9375rem;
}
.sector-card .btn-link { color: var(--color-gold); }
.sector-card .btn-link:hover { color: white; }

/* Project card */
.project-card {
  background: var(--color-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.project-card-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-img .badges {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.project-card-img .badge {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}
.project-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.project-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.project-card h4 {
  font-size: 1.1875rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.project-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.project-card .footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

/* News card */
.news-card {
  background: var(--color-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.news-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img .cat {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--color-electric);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.news-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.news-card h4 {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.news-card h4 a { transition: color var(--t-fast) var(--ease); }
.news-card h4 a:hover { color: var(--color-electric); }
.news-card p {
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex: 1;
}

/* Stat Card */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-navy);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat-card .num .suffix {
  color: var(--color-gold);
  font-size: 0.65em;
}
.stat-card .label {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
}
.stat-card.on-dark .num { color: var(--color-white); }
.stat-card.on-dark .num .suffix { color: var(--color-gold); }
.stat-card.on-dark .label { color: rgba(255,255,255,0.75); }

/* Team card */
.team-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--t-med) var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}
.team-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-alt);
}
.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body {
  padding: 22px 24px;
  text-align: center;
}
.team-card h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}
.team-card .role {
  color: var(--color-electric);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-card .socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.team-card .socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-bg-alt);
  color: var(--color-navy);
  transition: all var(--t-fast) var(--ease);
}
.team-card .socials a:hover {
  background: var(--color-electric);
  color: white;
}
.team-card .socials svg { width: 14px; height: 14px; }

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 18px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr; } }

.field { display: block; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--color-navy);
}
.field label .req { color: var(--color-danger); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  background: white;
  font-size: 0.9375rem;
  transition: all var(--t-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-electric);
  box-shadow: 0 0 0 4px rgba(30, 99, 216, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-light); }

.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--t-fast) var(--ease);
  margin: 0;
  color: var(--color-text);
}
.radio-group input { display: none; }
.radio-group label:hover { border-color: var(--color-electric); color: var(--color-electric); }
.radio-group input:checked + span,
.radio-group label:has(input:checked) {
  background: var(--color-electric);
  border-color: var(--color-electric);
  color: white;
}

/* File upload */
.file-upload {
  display: block;
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.file-upload:hover {
  border-color: var(--color-electric);
  background: var(--color-electric-light);
}
.file-upload input { display: none; }
.file-upload .ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--color-electric-light);
  color: var(--color-electric);
  display: grid;
  place-items: center;
}
.file-upload strong { display: block; color: var(--color-navy); margin-bottom: 4px; }
.file-upload small { color: var(--color-text-muted); font-size: 0.8125rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-electric), var(--color-gold), var(--color-electric));
}
.site-footer h5 {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .brand { color: white; margin-bottom: 18px; }
.footer-brand .brand-name strong { color: white; }
.footer-brand .brand-name small { color: rgba(255,255,255,0.6); }
.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.85;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: white;
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover {
  background: var(--color-electric);
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: all var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--color-gold); padding-inline-start: 6px; }

.footer-contact .item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.9375rem;
}
.footer-contact .item .ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--color-gold);
  flex-shrink: 0;
}
.footer-contact .item .ico svg { width: 16px; height: 16px; }
.footer-contact .item strong {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.875rem;
}
.footer-contact .item span { color: rgba(255,255,255,0.7); }

.newsletter-form {
  position: relative;
  margin-top: 18px;
}
.newsletter-form input {
  width: 100%;
  padding: 14px 18px;
  padding-inline-end: 52px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-pill);
  color: white;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-electric);
  background: rgba(255,255,255,0.08);
}
.newsletter-form button {
  position: absolute;
  inset-inline-end: 6px;
  top: 6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-electric);
  color: white;
  display: grid;
  place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.newsletter-form button:hover { background: var(--color-gold); color: var(--color-navy); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--color-gold); }
.footer-bottom .legal-links { display: flex; gap: 22px; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--t-med) var(--ease);
  animation: pulse-wa 2.4s ease-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp svg { width: 28px; height: 28px; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 14px 22px;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--t-fast) var(--ease);
}
.tab:hover { color: var(--color-navy); }
.tab.active {
  color: var(--color-electric);
  border-color: var(--color-electric);
}

/* ---------- Pills / Chips Filter ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: white;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.chip:hover {
  border-color: var(--color-electric);
  color: var(--color-electric);
}
.chip.active {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

/* ---------- Search Bar ---------- */
.search-bar {
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-pill);
  background: white;
  font-size: 0.9375rem;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--color-electric);
  box-shadow: 0 0 0 4px rgba(30, 99, 216, 0.1);
}
.search-bar .ico {
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}
.search-bar .ico svg { width: 18px; height: 18px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}
.pagination a, .pagination button {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: white;
  border: 1.5px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--t-fast) var(--ease);
}
.pagination a:hover {
  border-color: var(--color-electric);
  color: var(--color-electric);
}
.pagination .active {
  background: var(--color-electric);
  color: white;
  border-color: var(--color-electric);
}

/* ---------- Logo Strip / Partners ---------- */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .partners-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .partners-strip { grid-template-columns: repeat(2, 1fr); } }
.partner-logo {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 18px;
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: all var(--t-med) var(--ease);
  filter: grayscale(100%);
  opacity: 0.65;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--color-electric);
  color: var(--color-navy);
  box-shadow: var(--sh-md);
}

/* ---------- CTA Section ---------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(10, 31, 68, 0.94), rgba(30, 99, 216, 0.88)),
    url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
}
.cta-band .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Tag list ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list .tag {
  padding: 5px 12px;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
}
