/* ==========================================================================
   DUAL — Campus integrat pentru învățământ dual, Bacău
   Design system & site styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand palette - academic navy + warm accent */
  --c-bg:        #fafbfc;
  --c-surface:   #ffffff;
  --c-surface-2: #f5f7fa;
  --c-surface-3: #eef2f8;
  --c-border:    #e4e7ec;
  --c-border-2:  #cbd5e1;
  --c-text:      #0f172a;
  --c-text-2:    #334155;
  --c-text-3:    #64748b;
  --c-text-soft: #94a3b8;
  --c-brand:        #0b3a82;
  --c-brand-light:  #1e58c0;
  --c-brand-dark:   #06224d;
  --c-accent:       #b91c1c;
  --c-accent-light: #fdecec;
  --c-gold:         #c98a14;
  --c-green:        #15803d;

  --grad-hero: radial-gradient(120% 90% at 80% -10%, rgba(30,88,192,.45), transparent 60%),
               linear-gradient(135deg, #06224d 0%, #0b3a82 55%, #14306b 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(11,58,130,.22), transparent);
  --grad-card: linear-gradient(180deg, #ffffff, #f8fafc);

  /* Typography */
  --ff-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --fz-xs:   .75rem;
  --fz-sm:   .875rem;
  --fz-base: 1rem;
  --fz-lg:   1.125rem;
  --fz-xl:   1.25rem;
  --fz-2xl:  1.5rem;
  --fz-3xl:  1.875rem;
  --fz-4xl:  2.375rem;
  --fz-5xl:  clamp(1.875rem, 1.25rem + 2.4vw, 3.5rem);
  --fz-6xl:  clamp(2.125rem, 1.4rem + 3vw, 4.5rem);

  /* Spacing scale */
  --sp-1:  .25rem;
  --sp-2:  .5rem;
  --sp-3:  .75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  2.5rem;
  --sp-8:  3rem;
  --sp-10: 4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.04);
  --sh-2: 0 4px 12px rgba(15,23,42,.05), 0 2px 4px rgba(15,23,42,.04);
  --sh-3: 0 12px 30px rgba(15,23,42,.07), 0 4px 10px rgba(15,23,42,.04);
  --sh-4: 0 24px 50px rgba(15,23,42,.10), 0 10px 20px rgba(15,23,42,.05);
  --sh-brand: 0 14px 32px rgba(11,58,130,.20);

  /* Motion */
  --t-fast: 150ms cubic-bezier(.2,.8,.2,1);
  --t-base: 250ms cubic-bezier(.2,.8,.2,1);
  --t-slow: 450ms cubic-bezier(.2,.8,.2,1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fz-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

a {
  color: var(--c-brand);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-brand-light); }

::selection { background: rgba(11,58,130,.18); color: var(--c-brand-dark); }

/* ---------- Utilities ---------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2rem, var(--container-narrow)); margin-inline: auto; }
.section { padding: var(--sp-12) 0; }
.section-tight { padding: var(--sp-8) 0; }
.section-sm { padding: var(--sp-7) 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .5rem .9rem;
  background: var(--c-brand);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.skip-link:focus { left: 1rem; outline: 2px solid #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-brand);
  padding: .35rem .75rem;
  background: rgba(11,58,130,.07);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.eyebrow.on-dark {
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-5xl);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 var(--sp-3);
  color: var(--c-text);
  hyphens: auto;
  overflow-wrap: break-word;
}
.section-lead {
  font-size: var(--fz-lg);
  color: var(--c-text-2);
  max-width: 64ch;
  margin: 0 0 var(--sp-6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fz-sm);
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-light));
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { color: #fff; box-shadow: 0 18px 38px rgba(11,58,130,.28); }

.btn-accent {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(185,28,28,.22);
}
.btn-accent:hover { color: #fff; background: #d62828; }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-2);
}
.btn-ghost:hover { background: var(--c-surface-2); color: var(--c-brand); border-color: var(--c-brand-light); }

.btn-ghost-light {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }

.btn-icon { width: 18px; height: 18px; }

/* ---------- PNRR visibility strip (mandatory) ---------- */
.identity-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
}
.identity-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) 0;
}
.identity-inner img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled { box-shadow: var(--sh-1); background: rgba(255,255,255,.94); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: .9rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--c-text);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--sh-brand);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 1.05rem;
  color: var(--c-text);
}
.brand-text span {
  font-size: .72rem;
  color: var(--c-text-3);
  letter-spacing: .04em;
}

.primary-nav { display: flex; align-items: center; gap: var(--sp-2); }
.primary-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: .15rem;
}
.primary-nav a {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-text-2);
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav a:hover { color: var(--c-brand); background: var(--c-surface-3); }
.primary-nav li.is-current > a {
  color: var(--c-brand);
  background: rgba(11,58,130,.08);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: transparent;
  border: 1px solid var(--c-border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--c-surface-2); }
.nav-toggle svg { width: 22px; height: 22px; color: var(--c-text); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-4);
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-base), opacity var(--t-base), visibility var(--t-base);
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav li { width: 100%; }
  .primary-nav a {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: var(--r-md);
    font-size: 1rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--grad-hero);
  overflow: hidden;
  padding: clamp(4rem, 5vw, 7rem) 0 clamp(5rem, 6vw, 9rem);
}
.hero::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(60% 60% at 10% 110%, rgba(30,88,192,.35), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' opacity='.06'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 40L40 0' stroke='%23fff' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23p)'/%3E%3C/svg%3E");
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -30% auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30,88,192,.45) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.hero-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-6xl);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: var(--sp-3) 0 var(--sp-5);
  color: #fff;
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero-title em { font-style: italic; font-weight: 400; color: #c9d7ee; }
.hero-lead {
  font-size: var(--fz-lg);
  color: #d6e0f0;
  max-width: 56ch;
  margin: 0 0 var(--sp-6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--sh-4);
}
.hero-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 .4rem;
  color: #fff;
}
.hero-card p {
  font-size: .9rem;
  color: #c9d7ee;
  margin: 0;
}
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.hero-pillars .pillar {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  transition: transform var(--t-base), background var(--t-base);
}
.hero-pillars .pillar:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.hero-pillars .pillar small {
  display: block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9fb4d5;
  margin-bottom: .25rem;
}
.hero-pillars .pillar strong {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: .25rem;
  color: #fff;
}
.hero-pillars .pillar p { font-size: .8rem; line-height: 1.4; color: #c9d7ee; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: var(--sp-12) 0 var(--sp-8);
  background: linear-gradient(180deg, var(--c-surface-3) 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto auto;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30,88,192,.10) 0%, transparent 60%);
  filter: blur(30px);
  z-index: -1;
}
.page-hero h1 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-5xl);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: var(--sp-3) 0 var(--sp-4);
  color: var(--c-text);
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.page-hero .lead {
  font-size: var(--fz-lg);
  max-width: 60ch;
  color: var(--c-text-2);
  margin: 0;
}

/* ---------- Section header ---------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
  flex-wrap: wrap;
}
.section-header > div { max-width: 60ch; }

/* ---------- Feature pillars (home strip) ---------- */
.pillar-strip {
  background: var(--c-surface);
  border-block: 1px solid var(--c-border);
  padding: var(--sp-7) 0;
}
.pillar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 940px) { .pillar-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-row { grid-template-columns: 1fr; } }
.pillar-cell {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  transition: background var(--t-base);
}
.pillar-cell:hover { background: var(--c-surface-2); }
.pillar-cell .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(11,58,130,.08);
  color: var(--c-brand);
}
.pillar-cell .icon svg { width: 22px; height: 22px; }
.pillar-cell .label small {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
  font-weight: 700;
  margin-bottom: .15rem;
}
.pillar-cell .label strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
}

/* ---------- Announcement / Feature block ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 940px) { .feature-split { grid-template-columns: 1fr; } }
.feature-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  position: relative;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media.stack img + img { margin-top: 0; }
.feature-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.feature-stack img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--sh-2);
}
.feature-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16/8; }
.feature-content h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-4xl);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: var(--sp-3) 0 var(--sp-4);
}
.feature-content blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: var(--sp-4);
  margin: var(--sp-4) 0;
  font-style: italic;
  color: var(--c-text-2);
  font-size: 1.05rem;
}
.feature-content cite {
  display: block;
  margin-top: var(--sp-2);
  font-style: normal;
  font-size: .85rem;
  color: var(--c-text-3);
  font-weight: 500;
}

/* ---------- Stat / number cards ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 940px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.stat {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--stat-color, var(--c-brand));
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--c-border-2); }
.stat .num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1;
  color: var(--stat-color, var(--c-brand));
  letter-spacing: -.03em;
  margin-bottom: var(--sp-3);
  display: block;
}
.stat .label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
  display: block;
}
.stat .note {
  font-size: .8rem;
  color: var(--c-text-3);
  line-height: 1.45;
  margin: 0;
}
.stat--blue   { --stat-color: var(--c-brand-light); }
.stat--green  { --stat-color: #15803d; }
.stat--orange { --stat-color: #ea580c; }
.stat--purple { --stat-color: #7c3aed; }
.stat--amber  { --stat-color: #d4a017; }

/* ---------- Generic prose ---------- */
.prose {
  max-width: 70ch;
  margin-inline: auto;
}
.prose.full { max-width: none; }
.prose h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-3xl);
  letter-spacing: -.02em;
  margin: var(--sp-7) 0 var(--sp-3);
  color: var(--c-text);
}
.prose h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-xl);
  margin: var(--sp-5) 0 var(--sp-2);
  color: var(--c-text);
}
.prose p {
  margin: 0 0 var(--sp-4);
  color: var(--c-text-2);
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose ul, .prose ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.25rem;
  color: var(--c-text-2);
  line-height: 1.7;
}
.prose ul li::marker { color: var(--c-brand-light); }
.prose ol li::marker { color: var(--c-brand-light); font-weight: 600; }
.prose ul li, .prose ol li { margin-bottom: .35rem; }
.prose strong { color: var(--c-text); font-weight: 600; }

/* ---------- Objectives cards ---------- */
.obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 720px) { .obj-grid { grid-template-columns: 1fr; } }
.obj-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.obj-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-brand), var(--c-brand-light));
}
.obj-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--c-border-2); }
.obj-card .obj-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-brand);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
}
.obj-card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 var(--sp-3);
  color: var(--c-text);
}
.obj-card p { color: var(--c-text-2); font-size: .95rem; line-height: 1.65; margin: 0; }

.obj-general {
  background: linear-gradient(135deg, var(--c-brand-dark), var(--c-brand));
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  margin-bottom: var(--sp-7);
  box-shadow: var(--sh-brand);
}
.obj-general .obj-tag { color: rgba(255,255,255,.7); }
.obj-general h3 { color: #fff; font-size: 1.5rem; margin-bottom: var(--sp-4); }
.obj-general p { color: rgba(255,255,255,.92); font-size: 1.05rem; line-height: 1.7; margin: 0; }

/* ---------- Activities tree ---------- */
.act-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-3);
}
.act-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.act-item:hover { border-color: var(--c-border-2); box-shadow: var(--sh-2); }
.act-item-head {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.act-tag {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-light));
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.act-item-head h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: .5rem 0 0;
  color: var(--c-text);
  line-height: 1.4;
}
.act-sub {
  list-style: none;
  padding: var(--sp-3) 0 0 calc(44px + var(--sp-4));
  margin: 0;
  display: grid;
  gap: var(--sp-2);
}
.act-sub li {
  padding: .6rem .9rem;
  background: var(--c-surface-2);
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--c-text-2);
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.act-sub li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--c-brand-light);
  border-radius: 50%;
  margin-top: .55rem;
}

/* ---------- Partner cards ---------- */
.partners-grid {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 720px) { .partners-grid { grid-template-columns: 1fr 1fr; } }

.partner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.partner:hover { border-color: var(--c-border-2); box-shadow: var(--sh-2); }
.partner.is-open { border-color: var(--c-brand-light); box-shadow: var(--sh-3); }

.partner-head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.partner-head:hover { background: var(--c-surface-2); }
.partner-logo {
  flex-shrink: 0;
  width: 88px; height: 64px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--c-surface-2);
  padding: .4rem;
  border: 1px solid var(--c-border);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-title {
  flex: 1;
  min-width: 0;
}
.partner-title small {
  display: block;
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--c-brand);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.partner-title strong {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  display: block;
  line-height: 1.3;
  word-break: break-word;
  hyphens: auto;
}
.partner-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-surface-2);
  color: var(--c-text-3);
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.partner-toggle svg { width: 16px; height: 16px; }
.partner.is-open .partner-toggle {
  transform: rotate(180deg);
  background: var(--c-brand-light);
  color: #fff;
}
.partner-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow);
}
.partner.is-open .partner-body { grid-template-rows: 1fr; }
.partner-body-inner {
  overflow: hidden;
}
.partner.is-open .partner-body-inner {
  border-top: 1px solid var(--c-border);
}
.partner-body-inner > div {
  padding: var(--sp-5);
  color: var(--c-text-2);
  font-size: .95rem;
  line-height: 1.65;
}
.partner-body-inner p { margin: 0 0 var(--sp-3); }
.partner-body-inner p:last-child { margin-bottom: 0; }
.partner-body-inner ul {
  padding-left: 1.25rem;
  margin: 0 0 var(--sp-3);
}
.partner-body-inner strong { color: var(--c-text); }

/* ---------- Team cards ---------- */
.team-group { margin-bottom: var(--sp-10); }
.team-group:last-child { margin-bottom: 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 940px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.person {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--c-border-2); }
.person-photo {
  aspect-ratio: 4/5;
  background: var(--c-surface-2);
  overflow: hidden;
}
.person-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.person:hover .person-photo img { transform: scale(1.04); }
.person-body { padding: var(--sp-4); }
.person-name {
  font-family: var(--ff-display);
  font-size: .98rem;
  font-weight: 600;
  margin: 0 0 var(--sp-1);
  color: var(--c-text);
  line-height: 1.3;
}
.person-role {
  font-size: .82rem;
  color: var(--c-brand);
  font-weight: 500;
  margin: 0;
}

/* ---------- Documents list (legal page) ---------- */
.doc-list {
  display: grid;
  gap: var(--sp-3);
}
.doc-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.doc-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-brand-light);
  box-shadow: var(--sh-2);
  color: inherit;
}
.doc-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .04em;
  color: #fff;
  background: var(--c-accent);
}
.doc-icon[data-ext="rar"] { background: var(--c-gold); }
.doc-icon[data-ext="zip"] { background: var(--c-gold); }
.doc-icon[data-ext="docx"], .doc-icon[data-ext="doc"] { background: var(--c-brand-light); }
.doc-meta { flex: 1; min-width: 0; }
.doc-meta strong {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  display: block;
  line-height: 1.35;
  margin-bottom: .2rem;
}
.doc-meta small {
  font-size: .8rem;
  color: var(--c-text-3);
}
.doc-arrow {
  flex-shrink: 0;
  color: var(--c-text-3);
  transition: transform var(--t-base), color var(--t-base);
}
.doc-item:hover .doc-arrow { transform: translateX(3px); color: var(--c-brand); }

/* ---------- Announcement posts ---------- */
.posts {
  display: grid;
  gap: var(--sp-6);
}
.post {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.post:hover { border-color: var(--c-border-2); box-shadow: var(--sh-2); }
.post-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
  background: rgba(11,58,130,.07);
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.post h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-2xl);
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 0 0 var(--sp-4);
  color: var(--c-text);
}
.post .post-body p { color: var(--c-text-2); line-height: 1.7; margin: 0 0 var(--sp-3); font-size: .98rem; }
.post .post-body p:last-child { margin-bottom: 0; }
.post .post-body strong { color: var(--c-text); }
.post-attachments {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.post-attachments a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: .85rem;
  color: var(--c-text);
  font-weight: 500;
}
.post-attachments a:hover { background: rgba(11,58,130,.06); border-color: var(--c-brand-light); color: var(--c-brand); }
.post-attachments a::before {
  content: '↓';
  font-weight: 700;
  color: var(--c-accent);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
}
.contact-card h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 var(--sp-4);
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.contact-card h3::before {
  content: '';
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-light));
}
.contact-list { display: grid; gap: var(--sp-3); margin: 0; padding: 0; }
.contact-list .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.contact-list .row:last-child { border-bottom: 0; }
.contact-list .row dt {
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-text-3);
  font-weight: 600;
  margin: 0;
}
.contact-list .row dd {
  margin: 0;
  font-size: .95rem;
  color: var(--c-text);
}
.contact-list .row dd a { font-weight: 500; }
.contact-extra {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: .9rem;
  color: var(--c-text-3);
}

.callout {
  background: linear-gradient(135deg, var(--c-brand-dark), var(--c-brand));
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  flex-wrap: wrap;
}
.callout svg { width: 56px; height: 56px; flex-shrink: 0; color: rgba(255,255,255,.7); }
.callout > div { flex: 1; min-width: 240px; }
.callout h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  color: #fff;
}
.callout p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0a1c3d, #06122a);
  color: #c9d7ee;
  padding-top: var(--sp-10);
  position: relative;
  isolation: isolate;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(30,88,192,.20), transparent 70%);
  z-index: -1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 var(--sp-3);
}
.footer-brand p { font-size: .9rem; line-height: 1.6; margin: 0 0 var(--sp-3); }
.footer-col h5 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--sp-3);
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a {
  color: #c9d7ee;
  font-size: .9rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: var(--sp-5) 0;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-logo {
  width: 220px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  margin-top: var(--sp-3);
}
.footer-banner {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  background: #fff;
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-4);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Misc helpers ---------- */
.divider {
  height: 1px;
  background: var(--grad-line);
  border: 0;
  margin: var(--sp-8) 0;
}
.text-muted { color: var(--c-text-3); }
.text-accent { color: var(--c-accent); }
.text-brand { color: var(--c-brand); }
