/* ============================================================
   USH — Sistem de design instituțional spiruharet.ro
   Fundație: tokens, tipografie, grid, componente globale
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Instituțional */
  --ush-navy-900: #172A5B;
  --ush-navy-800: #223A73;
  --ush-navy-700: #2C4A8C;
  --ush-blue-600: #2F8FCB;
  --ush-blue-500: #48A2D6;
  --ush-blue-050: #EAF4FB;
  --ush-ink:      #172033;
  --ush-white:    #FFFFFF;
  --ush-gray-050: #F7F9FC;
  --ush-gray-100: #EEF2F7;
  --ush-gray-200: #E2E8F1;
  --ush-gray-300: #CBD3DF;
  --ush-gray-600: #667085;
  --ush-gray-700: #4A5568;
  --ush-gray-900: #202838;

  /* Accente */
  /* Roșul eliminat — accentul principal devine cyan saturat */
  --ush-coral-600: #00CCFF;
  --ush-coral-700: #00A6D6;
  --ush-coral-050: #E0F7FF;
  /* Galben cald, spre portocaliu */
  --ush-yellow-400: #FCB319;
  --ush-yellow-300: #FFD06B;
  --ush-teal-600:  #00A98F;
  --ush-teal-500:  #12B7A1;
  --ush-teal-050:  #E4F7F3;
  /* Cyan accent saturat */
  --ush-cyan-500:  #00CCFF;
  --ush-cyan-050:  #E0F7FF;
  /* Gri grafit adăugat */
  --ush-graphite:  #606060;
  --ush-graphite-050: #EDEFF3;

  /* Tipografie */
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --radius-card: 6px;
  --radius-sm: 4px;
  --radius-btn: 4px;
  --radius-pill: 999px;
  /* Editorial Modernism: flat tonal depth, umbre foarte discrete */
  --shadow-sm: 0 1px 2px rgba(23,42,91,.05);
  --shadow-md: 0 4px 14px rgba(23,42,91,.06);
  --shadow-lg: 0 10px 30px rgba(23,42,91,.09);
  /* Modulul Infinitului — siluetă Coloana fără sfârșit (mască foto) */
  --im-mask: polygon(28% 0, 72% 0, 100% 50%, 72% 100%, 28% 100%, 0 50%);

  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Click pe tab/ancoră: secțiunea aterizează fix sub header + bara de taburi */
[id] { scroll-margin-top: calc(var(--header-h) + 58px); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ush-ink);
  background: var(--ush-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Type scale ---------- */
.display-xl { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }
.display-l  { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.02em; }
h1, .h1 { font-family: var(--font-head); font-weight: 750; font-weight: 800; font-size: clamp(32px, 3.8vw, 44px); line-height: 1.12; letter-spacing: -0.015em; }
h2, .h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 2.9vw, 34px); line-height: 1.18; letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(21px, 2.1vw, 26px); line-height: 1.24; }
h4, .h4 { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.3; }
.body-l { font-size: 19px; line-height: 1.55; }
.small  { font-size: 14px; line-height: 1.45; font-weight: 500; }
.label {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  line-height: 1.25; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ush-blue-600);
  display: inline-flex; align-items: center; gap: 10px;
}
.text-muted { color: var(--ush-gray-600); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.stack > * + * { margin-top: 1rem; }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ush-navy-900); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ush-blue-500); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   MODULUL INFINITULUI — formă SVG (contur/accent discret)
   ============================================================ */
.im {
  display: inline-block; vertical-align: middle;
  width: 1em; height: 1.8em; flex: none;
}
.im path { stroke-linejoin: round; }

/* Marker numeric mic — folosit pe pași, date, etichete */
.im-marker {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 100px; flex: none;
}
.im-marker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.im-marker .im-num {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 800;
  font-size: 28px; line-height: 1;
}

/* ============================================================
   IMAGE SLOTS (containere de imagine editabile)
   ============================================================ */
.photo > image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.photo:has(image-slot)::after { display: none; }
.photo:has(image-slot) { filter: none !important; background: var(--ush-gray-100); }
image-slot { cursor: pointer; }

/* ============================================================
   BUTOANE
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ush-yellow-400); color: #111; }
.btn-primary:hover { background: var(--ush-yellow-300); color: #111; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(252,179,25,.34); }
.btn-navy { background: var(--ush-navy-900); color: #fff; }
.btn-navy:hover { background: var(--ush-navy-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ush-navy-900); border-color: var(--ush-gray-300); }
.btn-ghost:hover { border-color: var(--ush-navy-900); background: var(--ush-gray-050); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--ush-navy-900); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-yellow { background: var(--ush-yellow-400); color: #111; }
.btn-yellow:hover { background: var(--ush-yellow-300); color: #111; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(252,179,25,.34); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-btn);
  background: transparent; border: none; color: var(--ush-navy-900);
  transition: background .15s;
}
.icon-btn:hover { background: var(--ush-gray-100); }
.icon-btn svg { width: 20px; height: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--ush-navy-900); transition: gap .18s ease, color .18s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover { color: var(--ush-coral-600); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   BARĂ UTILITARĂ + HEADER
   ============================================================ */
.utility-bar {
  background: var(--ush-navy-900);
  color: rgba(255,255,255,.82);
  font-size: 12px;
}
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; flex-wrap: wrap; }
.utility-bar .ub-group { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.utility-bar a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; color: rgba(255,255,255,.82); font-weight: 600;
  font-family: var(--font-head); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  border-radius: 5px; transition: background .15s, color .15s;
}
.utility-bar a:hover { background: rgba(255,255,255,.1); color: #fff; }
.utility-bar svg { width: 14px; height: 14px; }
.utility-bar .util-divider { display: none; }
.utility-bar .util-lang { font-weight: 700; }
.utility-bar .util-lang .sep { color: rgba(255,255,255,.35); padding-inline: 2px; }

/* Wrapper-ul injectat nu trebuie să limiteze sticky-ul header-ului */
#site-header { display: contents; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ush-gray-200);
}
.site-header .container { display: flex; align-items: center; gap: 28px; min-height: 134px; transition: min-height .28s ease; }
.site-header.shrink .container { min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: 120px; height: 120px; transition: width .28s ease, height .28s ease; }
.site-header.shrink .brand img { width: 76px; height: 76px; }
@media (max-width: 600px) {
  .site-header .container { min-height: 100px; }
  .brand img { width: 92px; height: 92px; }
  .site-header.shrink .brand img { width: 58px; height: 58px; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .b-name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ush-navy-900); letter-spacing: -0.01em; }
.brand-text .b-sub { font-size: 11px; font-weight: 600; color: var(--ush-gray-600); letter-spacing: .04em; text-transform: uppercase; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: static; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-family: var(--font-head); font-weight: 700;
  font-size: 13.5px; color: var(--ush-navy-900); border-radius: 6px;
  letter-spacing: .04em; text-transform: uppercase; transition: background .15s, color .15s; white-space: nowrap;
}
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li.open > a { color: var(--ush-coral-600); background: transparent; }
.main-nav > ul > li.active > a { color: var(--ush-coral-700); }
.main-nav > ul > li.active > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
  background: var(--ush-coral-600); border-radius: 3px;
}
.main-nav .caret { width: 14px; height: 14px; transition: transform .18s; opacity: .65; }
.main-nav li.open .caret { transform: rotate(180deg); }

.nav-cta { display: inline-flex; align-items: center; gap: 14px; flex: none; }

/* Mega-menu — panou full-width sub header */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--ush-gray-200);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 50;
}
.main-nav li.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr) 280px; gap: 8px 36px; padding-block: 32px 36px; }
.mega-col h5 {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ush-coral-600);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--ush-gray-200);
}
.mega-col + .mega-col {}
.mega a.mega-link {
  display: block; padding: 7px 10px; margin-left: -10px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--ush-navy-900);
  transition: background .14s, color .14s; line-height: 1.3;
}
.mega a.mega-link:hover { background: var(--ush-blue-050); color: var(--ush-navy-900); }
.mega a.mega-link span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ush-gray-600); margin-top: 1px; }
.mega-sub { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ush-gray-600); font-family: var(--font-head); margin: 14px 0 4px; }
/* Panou featured */
.mega-feature {
  background: var(--ush-navy-900); border-radius: 16px; padding: 24px;
  color: #fff; display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.mega-feature .label { color: var(--ush-yellow-400); }
.mega-feature h4 { color: #fff; font-size: 20px; line-height: 1.2; }
.mega-feature p { font-size: 13.5px; color: rgba(255,255,255,.74); line-height: 1.5; }
.mega-feature .btn { margin-top: auto; align-self: flex-start; }
.mega-feature .mega-mod { position: absolute; right: -24px; bottom: -30px; opacity: .16; }

/* Hamburger / mobile */
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ush-navy-900); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ============================================================
   MOBILE PANEL (injectat de chrome.js — global)
   ============================================================ */
.mobile-panel { position: fixed; inset: 0; z-index: 200; background: rgba(23,42,91,.4); opacity: 0; visibility: hidden; transition: opacity .2s; }
.mobile-panel.open { opacity: 1; visibility: visible; }
.mobile-panel .sheet { position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 86vw); background: #fff; box-shadow: var(--shadow-lg); padding: 22px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
.mobile-panel.open .sheet { transform: translateX(0); }
.mobile-panel .m-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-panel .m-head button { background: none; border: none; padding: 6px; color: var(--ush-navy-900); }
.mobile-panel .m-head svg { width: 26px; height: 26px; }
.m-nav details { border-bottom: 1px solid var(--ush-gray-100); }
.m-nav summary { list-style: none; cursor: pointer; padding: 14px 12px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ush-navy-900); display: flex; align-items: center; justify-content: space-between; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary::after { content: ""; width: 11px; height: 11px; border-right: 2.5px solid var(--ush-gray-600); border-bottom: 2.5px solid var(--ush-gray-600); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.m-nav details[open] summary::after { transform: rotate(-135deg); }
.m-nav details a { display: block; font-size: 15px; font-weight: 500; padding: 9px 12px 9px 20px; color: var(--ush-gray-700); }
.m-nav details[open] { padding-bottom: 8px; }
.m-nav .m-flat { display: block; padding: 14px 12px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ush-navy-900); border-bottom: 1px solid var(--ush-gray-100); }
.mobile-panel .m-util { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-panel .m-util a { padding: 8px 14px; background: var(--ush-gray-050); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--ush-navy-800); text-transform: uppercase; letter-spacing: .04em; }
.mobile-panel .m-cta { margin-top: 22px; }

/* ============================================================
   CARDURI
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--ush-gray-200);
  border-radius: var(--radius-card); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ush-gray-300); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
}
.tag-licenta   { background: var(--ush-blue-050); color: var(--ush-navy-800); }
.tag-master    { background: var(--ush-teal-050); color: var(--ush-teal-600); }
.tag-dppd      { background: var(--ush-cyan-050); color: #0E7C95; }
.tag-coral     { background: var(--ush-coral-050); color: var(--ush-coral-700); }

/* Placeholder foto */
.photo {
  position: relative; background: var(--ush-navy-800);
  background-image:
    linear-gradient(135deg, rgba(47,143,203,.35), rgba(23,42,91,.55));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.78); text-align: center; overflow: hidden;
}
.photo::after {
  content: attr(data-label);
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .03em; padding: 8px 14px;
  border: 1px dashed rgba(255,255,255,.4); border-radius: 8px;
  max-width: 80%;
}
.photo-4x3 { aspect-ratio: 4/3; }
.photo-3x2 { aspect-ratio: 3/2; }
.photo-16x9 { aspect-ratio: 16/9; }
.photo-4x5 { aspect-ratio: 4/5; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fff; color: var(--ush-ink); border-top: 3px solid var(--ush-gray-200); }
.site-footer a { color: var(--ush-ink); transition: color .15s; }
.site-footer a:hover { color: var(--ush-navy-900); }
.footer-top { padding-block: clamp(48px, 6vw, 72px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 48px;
  align-items: start;
}
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer-about .f-name { font-family: var(--font-head); font-weight: 800; color: var(--ush-navy-900); font-size: 18px; }
.footer-about p { color: var(--ush-gray-700); }
.footer-contact { color: var(--ush-gray-700); display: flex; flex-direction: column; gap: 2px; }
.footer-contact a { color: var(--ush-navy-800); font-weight: 600; }
.footer-col h5 {
  font-family: var(--font-head); font-weight: 700; color: var(--ush-navy-900);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-bottombar { background: var(--ush-navy-900); }
.footer-bottombar a { color: rgba(255,255,255,.82); }
.footer-bottombar a:hover { color: #fff; }
.footer-bottom {
  padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.82);
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--ush-gray-300);
  border-radius: 10px; color: var(--ush-navy-800); transition: background .15s, border-color .15s;
}
.footer-social a:hover { background: var(--ush-gray-050); border-color: var(--ush-navy-800); }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   UTILE
   ============================================================ */
.grid { display: grid; gap: var(--gutter); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.bg-gray { background: var(--ush-gray-050); }
.bg-navy { background: var(--ush-navy-900); color: #fff; }
.flow > * + * { margin-top: clamp(14px, 2vw, 20px); }

/* ============================================================
   PAGINI INTERIOARE — page-hero, breadcrumb, local-nav
   ============================================================ */
.page-hero { background: var(--ush-gray-050); border-bottom: 1px solid var(--ush-gray-200); padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero.navy { background: var(--ush-navy-900); border-bottom: none; color: #fff; }
.page-hero.navy .breadcrumb, .page-hero.navy .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero.navy .breadcrumb a:hover { color: #fff; }
.page-hero.navy h1 { color: #fff; }
.page-hero.navy .page-hero-lead { color: rgba(255,255,255,.82); }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero-lead { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--ush-gray-700); max-width: 56ch; }
.page-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-figure { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/3; background: rgba(23,42,91,.05); }
.page-hero.navy .hero-figure { background: rgba(255,255,255,.07); }
.hero-figure > image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 920px) { .hero-figure { aspect-ratio: 16/9; } }
.page-hero-mod { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); opacity: .9; z-index: 0; }

.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--ush-gray-600); font-weight: 500; }
.breadcrumb a { color: var(--ush-gray-600); }
.breadcrumb a:hover { color: var(--ush-navy-900); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--ush-navy-900); font-weight: 600; }

/* Local navigation (taburi/ancore sticky) */
.local-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ush-gray-200); }
.local-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a { display: inline-flex; align-items: center; padding: 16px 14px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ush-gray-700); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.local-nav a:hover { color: var(--ush-navy-900); }
.local-nav a.active { color: var(--ush-coral-700); border-bottom-color: var(--ush-coral-600); }

/* ============================================================
   ACCORDION (FAQ / curriculum)
   ============================================================ */
.accordion { border: 1px solid var(--ush-gray-200); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.accordion details { border-bottom: 1px solid var(--ush-gray-100); }
.accordion details:last-child { border-bottom: none; }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ush-navy-900); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2.5px solid var(--ush-gray-600); border-bottom: 2.5px solid var(--ush-gray-600); transform: rotate(45deg); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion .acc-body { padding: 0 24px 22px; color: var(--ush-gray-700); line-height: 1.6; }
.accordion .acc-body p + p { margin-top: 12px; }

/* ============================================================
   CARDURI DE SERVICIU / ACCES RAPID
   ============================================================ */
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--ush-gray-200); border-radius: var(--radius-card); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ush-gray-300); }
.svc-ic { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ush-blue-050); color: var(--ush-blue-600); }
.svc-ic svg { width: 24px; height: 24px; }
.svc-card h4 { font-size: 18px; }
.svc-card p { font-size: 14.5px; color: var(--ush-gray-600); line-height: 1.5; }
.svc-card .svc-go { margin-top: auto; padding-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ush-coral-600); display: inline-flex; align-items: center; gap: 6px; }
.svc-card .svc-go svg { width: 16px; height: 16px; transition: transform .18s; }
a.svc-card:hover .svc-go svg { transform: translateX(3px); }

/* Acces rapid (platforme) */
.quick-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--ush-gray-200); transition: transform .18s, box-shadow .18s; }
.quick-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quick-tile .qt-ic { flex: none; width: 44px; height: 44px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.quick-tile .qt-ic svg { width: 22px; height: 22px; }
.quick-tile h4 { font-size: 16px; margin-bottom: 1px; }
.quick-tile p { font-size: 13px; color: var(--ush-gray-600); }

/* ============================================================
   LISTĂ DOCUMENTE (transparență)
   ============================================================ */
.doc-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--ush-gray-200); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.doc-row:hover { border-color: var(--ush-blue-500); box-shadow: var(--shadow-sm); }
.doc-row .doc-ic { flex: none; width: 44px; height: 52px; border-radius: 8px; background: var(--ush-coral-050); color: var(--ush-coral-700); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 11px; }
.doc-row .doc-main { flex: 1; min-width: 0; }
.doc-row .doc-main h4 { font-size: 16px; }
.doc-row .doc-meta { font-size: 13px; color: var(--ush-gray-600); margin-top: 3px; display: flex; gap: 14px; flex-wrap: wrap; }
.doc-row .doc-dl { flex: none; }

/* ============================================================
   TIMELINE (istoric / pași)
   ============================================================ */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-bottom: 32px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 130px; top: 8px; bottom: -8px; width: 2px; background: var(--ush-gray-200); }
.tl-item:last-child::before { display: none; }
.tl-year { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--ush-coral-600); text-align: right; }
.tl-body { padding-left: 28px; position: relative; }
.tl-body::before { content: ""; position: absolute; left: -4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ush-navy-900); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ush-gray-200); }
.tl-body h4 { font-size: 18px; margin-bottom: 4px; }
.tl-body p { color: var(--ush-gray-600); font-size: 15px; }

/* Pași (proces admitere) cu Modulul Infinitului */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step .im-marker { width: 60px; height: 108px; }
.step .im-marker .im-num { color: #fff; }
.step h4 { font-size: 16px; }
.step p { font-size: 13.5px; color: var(--ush-gray-600); line-height: 1.45; }

/* ============================================================
   FORMULAR
   ============================================================ */
.form-card { background: #fff; border: 1px solid var(--ush-gray-200); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ush-navy-900); font-family: var(--font-head); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border: 1.5px solid var(--ush-gray-300);
  border-radius: 11px; background: var(--ush-gray-050); color: var(--ush-ink); min-height: 50px;
  transition: border-color .15s, background .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ush-blue-500); background: #fff; outline: none; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ush-gray-700); line-height: 1.5; }
.form-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }

/* Facts strip / cifre */
.factstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.factstrip .fs { }
.factstrip .fs-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--ush-navy-900); letter-spacing: -.02em; }
.factstrip .fs-num .u { color: var(--ush-coral-600); font-size: .55em; }
.factstrip .fs-lbl { margin-top: 8px; font-size: 14.5px; color: var(--ush-gray-600); font-weight: 500; }
.bg-navy .factstrip .fs-num { color: #fff; }
.bg-navy .factstrip .fs-lbl { color: rgba(255,255,255,.72); }

/* Prose (text editorial) */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 16px; line-height: 1.7; color: var(--ush-gray-900); }
.prose h3 { margin: 28px 0 12px; }
.prose ul.bullets { margin: 0 0 16px; padding-left: 0; display: flex; flex-direction: column; gap: 9px; }
.prose ul.bullets li { position: relative; padding-left: 26px; line-height: 1.55; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 16px; background: var(--ush-coral-600); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* Pill filter buttons */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--ush-gray-300); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ush-gray-700); cursor: pointer; transition: all .15s; }
.pill:hover { border-color: var(--ush-navy-900); }
.pill.active { background: var(--ush-navy-900); border-color: var(--ush-navy-900); color: #fff; }

/* ============================================================
   PROGRAM FINDER + CARD PROGRAM (partajate)
   ============================================================ */
.finder { background: #fff; border: 1px solid var(--ush-gray-200); border-radius: 22px; box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 30px); }
.finder-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.finder-head .label { color: var(--ush-navy-800); }
.finder-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ush-gray-600); font-family: var(--font-head); }
.field select {
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ush-ink);
  padding: 12px 38px 12px 14px; border: 1.5px solid var(--ush-gray-300);
  border-radius: 12px; background: var(--ush-gray-050); appearance: none; min-height: 50px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; transition: border-color .15s;
}
.field select:hover { border-color: var(--ush-blue-500); }
.finder-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.finder-foot .compare { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ush-gray-700); }

.prog-card .photo { aspect-ratio: 16/10; }
.prog-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prog-body h4 { font-size: 19px; line-height: 1.25; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ush-gray-600); margin-top: 2px; }
.prog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.prog-meta svg { width: 14px; height: 14px; opacity: .7; }
.prog-tax { font-family: var(--font-head); font-weight: 700; color: var(--ush-navy-900); font-size: 15px; }
.prog-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ush-gray-100); }
.prog-foot .compare { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ush-gray-600); }

/* Știri / evenimente (partajate) */
.news-card .photo { aspect-ratio: 16/10; }
.news-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-body .meta { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ush-coral-600); font-family: var(--font-head); }
.news-body h4 { font-size: 18px; line-height: 1.3; }
.events { display: flex; flex-direction: column; gap: 14px; }
.event { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--ush-gray-200); border-radius: 16px; padding: 16px 18px; transition: transform .18s, box-shadow .18s; }
.event:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.event-date { flex: none; width: 64px; height: 76px; border-radius: 12px; background: var(--ush-navy-900); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event-date .d { font-family: var(--font-head); font-weight: 800; font-size: 28px; }
.event-date .m { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; color: var(--ush-yellow-400); }
.event-info h4 { font-size: 16.5px; line-height: 1.3; }
.event-info .e-meta { font-size: 13px; color: var(--ush-gray-600); margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; }
.event-info .e-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-info svg { width: 13px; height: 13px; opacity: .7; }

/* facts grid (de ce USH) */
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 44px; }
.fact { display: flex; gap: 18px; align-items: flex-start; }
.fact .fnum { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--ush-navy-900); letter-spacing: -.02em; flex: none; }
.fact .fnum .u { font-size: 22px; color: var(--ush-coral-600); }
.fact .ftxt h4 { font-size: 17px; margin-bottom: 4px; }
.fact .ftxt p { font-size: 14.5px; color: var(--ush-gray-600); line-height: 1.45; }

@media (max-width: 920px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-mod { display: none; }
  .finder-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .factstrip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 80px 1fr; }
  .tl-item::before { left: 90px; }
}
@media (max-width: 600px) {
  .finder-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .factstrip { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .doc-row { flex-wrap: wrap; }
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--ush-gray-700); }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

/* Titlu de secțiune centrat, uppercase, cu liniuță accent (stil editorial) */
.sec-title { text-align: center; max-width: 760px; margin: 0 auto clamp(34px, 4vw, 52px); }
.sec-title h2 { text-transform: uppercase; letter-spacing: .01em; }
.sec-title .rule { width: 56px; height: 4px; background: var(--ush-graphite); border-radius: 2px; margin: 16px auto 0; }
.sec-title .rule.yellow { background: var(--ush-yellow-400); }
.sec-title p { margin-top: 18px; color: var(--ush-gray-600); font-size: 17px; }
.uppercase { text-transform: uppercase; }

/* Statistici mari (cyan / yellow) */
.statline { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; justify-content: center; }
.statline.left { justify-content: flex-start; }
.stat .s-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.02em; color: var(--ush-cyan-500); }
.stat .s-lbl { margin-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ush-gray-600); }
.stat.yellow .s-num { color: var(--ush-yellow-400); }
.bg-navy .stat .s-lbl { color: rgba(255,255,255,.65); }

/* Label categorie (uppercase colorat, fără pill) */
.cat-label { font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.cat-label.coral { color: var(--ush-coral-600); }
.cat-label.cyan { color: var(--ush-cyan-500); }

/* Link cu subliniere galbenă (stil editorial) */
.link-ul { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ush-navy-900); padding-bottom: 3px; border-bottom: 2px solid var(--ush-yellow-400); transition: gap .18s, border-color .18s; }
.link-ul svg { width: 16px; height: 16px; transition: transform .18s; }
.link-ul:hover { gap: 11px; }
.link-ul:hover svg { transform: translateX(3px); }

/* Card cu bordură-accent sus / jos */
.border-top-cyan { border-top: 3px solid var(--ush-cyan-500); }
.border-top-coral { border-top: 3px solid var(--ush-coral-600); }
.border-bot-navy { border-bottom: 3px solid var(--ush-navy-900); }

/* Footer extra */
.footer-contact { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; color: rgba(255,255,255,.7); }
.footer-contact a { color: rgba(255,255,255,.85); }
.m-nav .m-flat { display: block; padding: 14px 12px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ush-navy-900); border-bottom: 1px solid var(--ush-gray-100); }

/* ============================================================
   RESPONSIVE — desktop ▸ tabletă ▸ telefon
   ============================================================ */

/* Ascunde butonul ghost secundar mai devreme */
@media (max-width: 1180px) {
  .nav-cta .btn-ghost { display: none; }
}

/* ▸ Sub 1120px: nav desktop devine meniu hamburger (6 items uppercase nu mai încap) */
@media (max-width: 1120px) {
  :root { --header-h: 80px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ▸ Tabletă (≤900px) */
@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: 28px; }
  .section { padding-block: clamp(48px, 7vw, 72px); }
  .local-nav { top: var(--header-h); }
}

/* ▸ Telefon mare / tabletă mică (≤700px) */
@media (max-width: 700px) {
  .utility-bar .ub-left { display: none; }            /* link-urile rapide sunt în panoul mobil */
  .utility-bar .container { justify-content: flex-end; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
}

/* ▸ Telefon (≤600px) */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .container { padding-inline: 20px; }
  .brand-text { display: none; }
  .btn { min-height: 48px; }
  .btn-lg { min-height: 54px; font-size: 16px; }
  h1, .h1 { font-size: clamp(28px, 8vw, 36px); }
  .display-l, .display-xl { font-size: clamp(34px, 11vw, 46px); }
  .head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head, .sec-title { max-width: none; }
}

/* ▸ Telefon mic (≤380px) */
@media (max-width: 380px) {
  .footer-links { grid-template-columns: 1fr; }
  .utility-bar a { padding: 6px 8px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
