:root{
  --bg: #f4f5f7;      /* neutru deschis */
  --header: #7a0f0f;  /* roșu închis */
  --text: #171717;
  --muted: rgba(23,23,23,.72);
  --card: rgba(255,255,255,.72);
  --card2: rgba(255,255,255,.88);
  --border: rgba(0,0,0,.10);
  --shadow: 0 18px 40px rgba(0,0,0,.20);
  --shadow2: 0 10px 24px rgba(0,0,0,.18);
  --radius: 14px;
  --radius2: 18px;
  --container: 1440px;
  --gap: 18px;
  --focus: rgba(255,255,255,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; overflow-x: hidden; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background: #2f2f2f; /* margini gri inchis */
}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header{ position: sticky; top:0; z-index: 50; }
.topbar{
  background: linear-gradient(90deg, #7a0f0f 0%, #8f1414 45%, #6b0c0c 100%);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transition: background .25s ease, box-shadow .25s ease;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}
.site-header.is-scrolled .topbar{
  background: rgba(122,15,15,.86);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: #fff;
  min-width: 220px;
}
.brand-logo{
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 6px;
}
.brand-text{
  font-weight: 650;
  letter-spacing: .2px;
  line-height: 1.15;
  font-size: 14px;
  opacity: .98;
}

/* Nav */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  cursor:pointer;
  position: relative;
}
.nav-toggle span{
  display:block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav{ position:relative; }
.nav-list{
  display:flex;
  align-items:center;
  gap: 10px;
  list-style:none;
  margin:0;
  padding:0;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.nav-list > li{ position:relative; }
.nav a{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color:#fff;
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav .dropdown-trigger[data-menu-only="1"]{
  cursor: default;
}
.nav a:hover{ background: rgba(255,255,255,.10); }
.nav a:focus{ outline: none; box-shadow: 0 0 0 3px var(--focus); }

.has-dropdown .chev{
  width: 10px; height: 10px;
  display:inline-block;
  border-right: 3px solid rgba(233,214,255,.9);
  border-bottom: 3px solid rgba(233,214,255,.9);
  transform: rotate(45deg);
  margin-top: -2px;
}

/* Dropdown */
.dropdown{
  position:absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow2);
  padding: 8px;
  list-style:none;
  margin:0;
  margin-top: 8px;
  display:none;
  pointer-events: auto;
  z-index: 60;
}
.nav-list > li.has-dropdown::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.dropdown li a{
  color: var(--text);
  width: 100%;
  justify-content:flex-start;
  font-weight: 650;
  padding: 10px 10px;
  border-radius: 10px;
}
.dropdown li a:hover{ background: rgba(0,0,0,.06); }

.has-dropdown:hover > .dropdown{ display:block; }
.has-dropdown:focus-within > .dropdown{ display:block; }
.dropdown .has-dropdown{ position: relative; }
.dropdown .has-dropdown > .dropdown-trigger .chev{
  border-right: 2px solid rgba(0,0,0,.55);
  border-bottom: 2px solid rgba(0,0,0,.55);
  transform: rotate(-45deg);
}
.dropdown .has-dropdown > .dropdown{
  top: 0;
  left: 100%;
  right: auto;
  margin-top: 0;
  margin-left: 8px;
  min-width: 180px;
}
.dropdown .has-dropdown::after{
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 8px;
  height: 100%;
}

/* Main wrapper (interior crem) */
.site-main{
  background: var(--bg);
  border: none;
  width: 100%;
  margin: 0;
  box-shadow: none;
}

/* Hero */
.hero{
  position:relative;
  min-height: 420px;
  overflow:hidden;
  border-top: 1px solid rgba(0,0,0,.12);
}
.hero--main{
  min-height: 640px;
}
.hero--main .hero-bg{
  background-position: center bottom;
}
.hero--main .hero-inner{
  min-height: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
  align-items: center;
}
.hero--main .hero-content{
  max-width: 720px;
  transform: translateY(90px);
}
.hero--full{
  width: 100%;
  margin: 0;
}
.hero--empty{
  min-height: 520px;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  filter: saturate(1.02) contrast(1.02);
  z-index: 0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.0) 100%);
  z-index: 1;
}
.hero-inner{
  position:relative;
  z-index: 2;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items:center;
  padding: 46px 0;
}
.hero--full .hero-inner{
  grid-template-columns: 1fr;
}
.hero-content{
  color: #fff;
  max-width: 640px;
}
.hero-logos{
  position: absolute;
  right: 120px;
  bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(2px);
}
.hero-logos img{
  width: 120px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.45));
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(24, 36, 58, .08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
  padding: 10px;
}
.hero-content h1{
  margin:0 0 10px 0;
  font-size: clamp(26px, 3.3vw, 46px);
  letter-spacing: .2px;
}
.hero-content p{
  margin:0 0 18px 0;
  font-size: 16px;
  opacity: .92;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap: wrap; }
.hero--sub{
  min-height: 520px;
}
.hero--sub::after{
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.24) 55%, rgba(0,0,0,.06) 100%);
}
.hero--sub .hero-inner{
  padding: 36px 0;
}
.hero--sub .hero-content h2{
  margin:0 0 8px 0;
  font-size: clamp(22px, 2.6vw, 36px);
}
.hero--gold{
  background: #ffffff;
}
.hero--gold::after{
  background: none;
}
.hero--gold .hero-content{
  color: #1a1a1a;
}
.hero--gold .hero-content p{
  color: rgba(26,26,26,.8);
}
.hero--gold .btn-ghost{
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.18);
  color: #1a1a1a;
}
.hero-inner--wide{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 clamp(18px, 2.8vw, 36px);
}
.hero--offer,
.hero--identity,
.hero--alumni{
  min-height: 0;
}
.hero--offer .hero-inner,
.hero--identity .hero-inner,
.hero--alumni .hero-inner{
  padding: 28px 0 32px;
}
.identity-home{
  width: 100%;
  border: 1px solid rgba(122,15,15,.12);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(17,24,39,.06);
}
.identity-home__head{
  text-align: center;
  margin-bottom: 16px;
}
.identity-home__badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(122,15,15,.26);
  background: rgba(122,15,15,.10);
  color: #6b1010;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.identity-home__head h2{
  margin: 8px 0 0 0;
  font-size: clamp(32px, 3vw, 54px);
  line-height: 1.06;
}
.identity-home__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.identity-card{
  position: relative;
  border: none;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: none;
  text-align: center;
}
.identity-card:first-child::after,
.identity-card:last-child::before{
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(122,15,15,.45);
}
.identity-card:first-child::after{
  right: -7px;
}
.identity-card:last-child::before{
  left: -7px;
}
.identity-card__icon{
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin: 2px auto 12px auto;
  background: linear-gradient(145deg, #8f131d, #6f1014);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 10px 22px rgba(122,15,15,.28);
}
.identity-card__icon svg{
  width: 44px;
  height: 44px;
  stroke: #fff;
  stroke-width: 1.95;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.identity-card h3{
  margin: 0 0 10px 0;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.1;
}
.identity-card__body{
  border: none;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  margin-bottom: 12px;
}
.identity-card__body p{
  margin: 0;
  color: rgba(22,22,22,.86);
  line-height: 1.62;
  font-size: clamp(15px, 1.05vw, 18px);
}

/* Home alumni stats section */
.hero--alumni{
  min-height: 0;
}
.hero--alumni .hero-inner{
  padding: 28px 0 12px;
}
.alumni-home{
  width: 100%;
  border: 1px solid rgba(122,15,15,.12);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(17,24,39,.06);
}
.alumni-home__head{
  text-align: center;
}
.alumni-home__badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(122,15,15,.26);
  background: rgba(122,15,15,.10);
  color: #6b1010;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.alumni-home__head h2{
  margin: 8px 0 0 0;
  font-size: clamp(34px, 3.1vw, 56px);
  line-height: 1.06;
}
.alumni-home__stats{
  margin-top: 18px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
}
.alumni-home-stat{
  text-align: center;
  padding: 24px 18px;
  border: 1px solid rgba(122,15,15,.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}
.alumni-home-stat:last-child{
  border-right: none;
}
.alumni-home-stat strong{
  display: block;
  color: #7a0f0f;
  font-size: clamp(44px, 4.2vw, 72px);
  line-height: 1;
  letter-spacing: .01em;
}
.alumni-home-stat span{
  display: block;
  margin-top: 8px;
  color: rgba(23,23,23,.74);
  font-size: clamp(20px, 1.45vw, 28px);
  line-height: 1.2;
}
/* Home offer section */
.offer-home{
  width: 100%;
  border: 1px solid rgba(122,15,15,.12);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(17,24,39,.06);
}
.offer-home__head{
  text-align: center;
}
.offer-home__head h2{
  margin: 8px 0 8px 0;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1.08;
}
.offer-home__head p{
  margin: 0 auto;
  max-width: 980px;
  color: rgba(22,22,22,.86);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
}
.offer-home__badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(122,15,15,.26);
  background: rgba(122,15,15,.10);
  color: #6b1010;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.offer-home__grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.offer-home-card{
  position: relative;
  border: none;
  border-radius: 16px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: none;
  text-align: center;
}
.offer-home-card:not(:first-child)::before{
  content: "";
  position: absolute;
  left: -6px;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(122,15,15,.45);
}
.offer-home-card__icon{
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin: 2px auto 14px auto;
  background: linear-gradient(145deg, #8f131d, #6f1014);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 10px 22px rgba(122,15,15,.28);
}
.offer-home-card__icon svg{
  width: 44px;
  height: 44px;
  stroke: #fff;
  stroke-width: 1.95;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer-home-card h3{
  margin: 0 0 8px 0;
  font-size: 20px;
  line-height: 1.15;
}
.offer-home-card p{
  margin: 0;
  color: rgba(22,22,22,.86);
  line-height: 1.55;
}
.offer-home__specializari{
  margin-top: 14px;
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: none;
}
.offer-home__specializari h3{
  margin: 0 0 10px 0;
  font-size: 18px;
  text-align: center;
}
.offer-home-tags{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.offer-home-tags li{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  border: 1px solid rgba(122,15,15,.22);
  background: rgba(255,255,255,.96);
  color: rgba(23,23,23,.92);
  font-size: 14px;
  line-height: 1.25;
}
.offer-home .hero-actions{
  margin-top: 16px;
  justify-content: center;
}
.offer-home__head h2,
.identity-home__head h2,
.alumni-home__head h2,
.offer-home-card h3,
.identity-card h3,
.alumni-home-stat strong{
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
}

.hero .btn{
  background: #b0141f;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 20px rgba(0,0,0,.22);
}
.hero .btn:hover{ filter: brightness(1.06); }
.hero .btn-ghost{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.45);
}

/* Fixed scroll nav */
.site-scroll-nav{
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display:flex;
  flex-direction:column;
  gap: 14px;
  z-index: 60;
}
.scroll-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: 0 0 0 0 rgba(255,255,255,.25);
  animation: orbPulse 2.4s ease-in-out infinite;
  text-decoration:none;
}
.scroll-dot.is-active{
  background: #7a0f0f;
  border-color: #7a0f0f;
  box-shadow: 0 0 0 4px rgba(122,15,15,.18);
}
.scroll-dot:nth-of-type(2){ animation-delay: .2s; }
.scroll-dot:nth-of-type(3){ animation-delay: .4s; }
.scroll-dot:nth-of-type(4){ animation-delay: .6s; }

@keyframes orbPulse{
  0%, 100%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.22); }
  50%{ transform: scale(1.2); box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@keyframes scrollDot{
  0%{ transform: translate(-50%, 0); opacity: .9; }
  70%{ transform: translate(-50%, 18px); opacity: 0; }
  100%{ transform: translate(-50%, 0); opacity: .9; }
}
@keyframes galleryRoll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(calc(var(--roller-shift, 50%) * -1)); }
}

/* Floating logo */
.hero-float{ display:flex; justify-content:flex-end; }
.float-card{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.float-img{
  width: min(290px, 60vw);
  height: auto;
  display:block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}

/* Sections */
.section{ padding: 34px 0; }
.gallery-section{ padding: 26px 0 36px; }
.gallery-section{
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.gallery-hero{ padding: 6px 0 10px; }
.gallery-hero__top{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align: center;
  gap: 10px;
  margin-bottom: 14px;
}
.gallery-hero__top h2{
  margin:0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 560;
  letter-spacing: .03em;
  color: rgba(17,17,17,.62);
}
.gallery-hero .gallery-open-grid{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.2);
  background: rgba(255,255,255,.55);
  color: rgba(17,17,17,.92);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-hero .gallery-open-grid:hover{
  background: rgba(255,255,255,.78);
  border-color: rgba(0,0,0,.28);
  filter: none;
}
.gallery-hero .gallery-open-grid:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12);
}
.gallery-roller{
  position: relative;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 10px 0;
  margin-bottom: 14px;
}
.gallery-roller__viewport{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}
.gallery-roller__viewport::before,
.gallery-roller__viewport::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 4vw, 72px);
  z-index: 2;
  pointer-events: none;
}
.gallery-roller__viewport::before{
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,0) 100%);
}
.gallery-roller__viewport::after{
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,0) 100%);
}
.gallery-roller__nav{
  display: none;
}
.gallery-roller__track{
  display:flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
  animation: galleryRoll var(--roller-duration, 44s) linear infinite;
}
.gallery-roller__item{
  flex: 0 0 auto;
  height: 200px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  padding: 0;
  cursor:pointer;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.16);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.gallery-roller__item img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.02) contrast(1.02);
  transition: transform .34s ease, filter .34s ease;
}
.gallery-roller__item:hover{
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 16px 28px rgba(0,0,0,.22);
}
.gallery-roller__item:hover img{
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.05);
}
.gallery-roller__item:focus{
  outline: none;
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 0 0 3px rgba(122,15,15,.18), 0 16px 28px rgba(0,0,0,.22);
}
.gallery-hero__layout{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  align-items: stretch;
}
.gallery-hero__layout--single{
  grid-template-columns: 1fr;
}
.gallery-hero__featured{
  border:none;
  padding:0;
  background: transparent;
  cursor:pointer;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  aspect-ratio: 16 / 9;
}
.gallery-hero__featured img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.gallery-empty{
  padding: 18px;
  color: rgba(23,23,23,.7);
}

.gallery-modal{
  position: fixed;
  inset: 0;
  z-index: 100;
}
.gallery-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}
.gallery-modal__content{
  position: relative;
  z-index: 1;
  width: min(90vw, 1000px);
  margin: 6vh auto 0 auto;
  background: rgba(20,20,20,.95);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.gallery-modal__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 26px;
  cursor:pointer;
}
.gallery-modal__prev{ left: 8px; }
.gallery-modal__next{ right: 8px; }
.gallery-modal__img{
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display:block;
}
.gallery-modal__close{
  position: absolute;
  top: 6px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color:#fff;
  font-size: 22px;
  cursor:pointer;
}
.modal-open{ overflow: hidden; }

.gallery-grid-modal{
  position: fixed;
  inset: 0;
  z-index: 90;
}
.gallery-grid-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.6);
}
.gallery-grid-modal__content{
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  margin: 4vh auto 0 auto;
  background: rgba(255,255,255,.98);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.gallery-grid-modal__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 12px;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid__item{
  border:none;
  padding:0;
  background: transparent;
  cursor:pointer;
  border-radius: 12px;
  overflow:hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
}
.gallery-grid__item img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.gallery-grid-modal__close{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.6);
  cursor:pointer;
  font-size: 20px;
}
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px;
  text-decoration:none;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
}
.card h3{ margin:0 0 6px 0; }
.card p{ margin:0; color: var(--muted); }

/* Page */
.page-hero{
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.35);
}
.page-hero h1{ margin:0; font-size: 26px; }
.page-sub{ margin: 8px 0 0 0; color: var(--muted); }

.page-content{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 18px;
}

/* Mission / Vision rich content */
.mv-wrap{
  display: grid;
  gap: 18px;
}
.mv-intro{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(255,255,255,.82), rgba(255,255,255,.64));
}
.mv-intro h2{
  margin: 0 0 8px 0;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
}
.mv-intro p{
  margin: 0 0 10px 0;
  color: rgba(23,23,23,.85);
  line-height: 1.55;
}
.mv-media{
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}
.mv-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mv-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mv-card{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,.76);
}
.mv-card h3{
  margin: 0 0 8px 0;
  font-size: 16px;
}
.mv-card p{
  margin: 0;
  color: rgba(23,23,23,.82);
  line-height: 1.5;
}
.mv-bullets{
  margin: 0;
  padding-left: 20px;
}
.mv-bullets li{
  margin: 7px 0;
  line-height: 1.45;
}
.mv-highlight{
  border: 1px solid rgba(122,15,15,.24);
  border-radius: 12px;
  background: rgba(122,15,15,.06);
  padding: 12px 14px;
}
.mv-highlight p{
  margin: 0;
  color: rgba(23,23,23,.9);
}
.mv-values{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mv-chip{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,.16);
  background: rgba(255,255,255,.82);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 650;
}
.mv-sep{
  border: none;
  border-top: 1px dashed rgba(0,0,0,.18);
  margin: 2px 0;
}

/* Values page (text only) */
.values-page{
  display: grid;
  gap: 16px;
}
.values-hero{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  padding: 16px 18px;
  background: linear-gradient(140deg, rgba(255,255,255,.82), rgba(255,255,255,.66));
}
.values-hero h2{
  margin: 0 0 8px 0;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
}
.values-hero p{
  margin: 0;
  color: rgba(23,23,23,.84);
  line-height: 1.55;
}
.values-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.values-item{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,.76);
}
.values-mark{
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #7a0f0f;
  background: rgba(122,15,15,.10);
  border: 1px solid rgba(122,15,15,.24);
}
.values-item h3{
  margin: 0 0 6px 0;
  font-size: 21px;
  line-height: 1.2;
}
.values-item p{
  margin: 0;
  color: rgba(23,23,23,.84);
  line-height: 1.5;
}
.values-note{
  border: 1px solid rgba(122,15,15,.24);
  border-radius: 12px;
  background: rgba(122,15,15,.06);
  padding: 12px 14px;
}
.values-note p{
  margin: 0;
  line-height: 1.5;
  color: rgba(23,23,23,.9);
}

/* Project 150 ani */
.project150-wrap{
  display: grid;
  gap: 18px;
}
.project150-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 18px;
  padding: clamp(14px, 2vw, 24px);
  background:
    radial-gradient(90% 120% at 0% -10%, rgba(122,15,15,.12), transparent 56%),
    radial-gradient(100% 120% at 100% 110%, rgba(186,140,64,.16), transparent 60%),
    linear-gradient(155deg, rgba(255,255,255,.92), rgba(255,255,255,.76));
  box-shadow: 0 16px 34px rgba(0,0,0,.11);
}
.project150-badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(122,15,15,.28);
  background: rgba(122,15,15,.10);
  color: #6a0f0f;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 6px 10px;
}
.project150-copy h2{
  margin: 10px 0 10px 0;
  font-size: clamp(30px, 2.5vw, 44px);
  line-height: 1.06;
}
.project150-copy p{
  margin: 0 0 9px 0;
  color: rgba(24,24,24,.88);
  line-height: 1.58;
  font-size: clamp(16px, 1.12vw, 19px);
}
.project150-cover{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
  background: rgba(0,0,0,.06);
  min-height: 0;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  align-self: start;
}
.project150-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project150-wrap--comenius .project150-hero{
  display: block;
}
.project150-wrap--comenius .project150-cover.project150-cover-inline{
  float: right;
  width: min(40%, 430px);
  height: clamp(200px, 23vw, 310px);
  min-height: 0;
  max-width: none;
  margin: 6px 0 12px 18px;
}
.project150-wrap--comenius .project150-copy::after{
  content: "";
  display: block;
  clear: both;
}
.project150-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.project150-stat{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  display: grid;
  gap: 4px;
}
.project150-stat strong{
  font-size: clamp(30px, 2.2vw, 40px);
  line-height: 1;
  color: #7a0f0f;
}
.project150-stat span{
  color: rgba(24,24,24,.82);
  line-height: 1.35;
}
.project150-gallery-block{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 18px;
  padding: clamp(14px, 1.9vw, 20px);
  background: rgba(255,255,255,.82);
}
.project150-gallery-head h3{
  margin: 0;
  font-size: clamp(24px, 1.8vw, 31px);
}
.project150-gallery-head p{
  margin: 8px 0 0 0;
  color: rgba(24,24,24,.78);
  line-height: 1.45;
}
.project150-gallery{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.project150-shot{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.16);
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
  background: #fff;
  aspect-ratio: 4 / 3;
}
.project150-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}
.project150-shot:hover img{
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.04);
}
.project150-shot:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(122,15,15,.22), 0 10px 20px rgba(0,0,0,.14);
}

/* Project text-only layout */
.project-text-wrap{
  display: grid;
  gap: 14px;
}
.project-text-head{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 18px;
  padding: clamp(14px, 2vw, 24px);
  background:
    radial-gradient(95% 120% at 0% -10%, rgba(122,15,15,.12), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.90), rgba(255,255,255,.76));
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}
.project-text-badge{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122,15,15,.26);
  background: rgba(122,15,15,.10);
  color: #6c1010;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.project-text-head h2{
  margin: 10px 0 6px 0;
  font-size: clamp(30px, 2.5vw, 44px);
  line-height: 1.06;
}
.project-text-sub{
  margin: 0;
  color: rgba(23,23,23,.72);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 600;
}
.project-text-body{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: clamp(14px, 1.8vw, 22px);
  background: rgba(255,255,255,.84);
}
.project-text-body p{
  margin: 0 0 12px 0;
  line-height: 1.65;
  color: rgba(22,22,22,.88);
  font-size: clamp(16px, 1.05vw, 19px);
}
.project-text-body p:last-child{
  margin-bottom: 0;
}

/* Resources */
.resource-list{ display:flex; flex-direction:column; gap: 12px; }
.resource{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.66);
}
.resource h3{ margin:0; font-size: 16px; }
.resource p{ margin: 6px 0 0 0; color: var(--muted); }
.resource-actions{ display:flex; gap: 10px; flex-wrap: wrap; }
.empty{
  background: rgba(255,255,255,.55);
  border: 1px dashed rgba(0,0,0,.22);
  border-radius: 16px;
  padding: 18px;
}

/* Istoric page */
.history-shell{
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.64));
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 18px;
  padding: clamp(14px, 2.2vw, 30px);
  overflow: hidden;
}
.history-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(800px 140px at 20% -12%, rgba(122,15,15,.12), transparent 60%),
    radial-gradient(700px 120px at 80% -14%, rgba(186,140,64,.14), transparent 62%);
}
.history-legacy-content{
  position: relative;
  z-index: 1;
  color: #1f1f1f;
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.62;
}
.history-legacy-content,
.history-legacy-content *{
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
  box-sizing: border-box;
}
.history-legacy-content > div{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
.history-legacy-content p{
  margin: 0 0 14px 0;
}
.history-legacy-content [id]{
  scroll-margin-top: 95px;
}
.history-legacy-content h2,
.history-legacy-content h4{
  margin: 22px 0 12px 0;
  color: #111;
  clear: both;
  text-align: center;
  line-height: 1.2;
}
.history-legacy-content h2{
  font-size: clamp(36px, 3vw, 50px) !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}
.history-legacy-content h4{
  font-size: clamp(28px, 2.1vw, 36px) !important;
  font-weight: 700 !important;
}
.history-local-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
  margin: 0 auto 22px;
  padding: 10px 12px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.history-legacy-content a{
  color: #7a0f0f;
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.history-tooltip-trigger{
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  margin: 0;
  padding: 0;
  color: #7a0f0f;
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: help;
}
.history-tooltip-trigger:hover,
.history-tooltip-trigger:focus{
  color: #571010;
  outline: none;
}
.history-tooltip-float{
  position: fixed;
  z-index: 130;
  max-width: min(520px, calc(100vw - 24px));
  background: rgba(64,64,64,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.34);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  pointer-events: none;
  white-space: normal;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .12s ease, transform .12s ease;
}
.history-tooltip-float.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.history-legacy-content img{
  display: block;
  float: none !important;
  width: min(100%, 640px);
  height: auto;
  margin: 18px auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.history-legacy-content img[src*="istoric.png"]{
  width: min(100%, 560px);
}
.history-table-wrap{
  clear: both;
  overflow: auto;
  width: 100%;
  margin: 20px 0 30px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.history-legacy-content table{
  width: max(100%, 1400px) !important;
  min-width: 1100px;
  display: table !important;
  height: auto !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  background: #fff;
  border: none;
}
.history-legacy-content th,
.history-legacy-content td{
  border: 1px solid rgba(0,0,0,.14) !important;
  padding: 10px 12px !important;
  text-align: left !important;
  vertical-align: top !important;
  font-size: 17px !important;
  line-height: 1.35;
  white-space: normal;
}
.history-legacy-content th{
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1e9d5;
  font-weight: 800;
}
.history-legacy-content tr:nth-child(even) td{
  background: rgba(0,0,0,.02);
}
.history-legacy-content ul{
  margin: 10px 0 14px 32px;
}
.history-legacy-content hr{
  border: none;
  border-top: 1px solid rgba(0,0,0,.18);
  margin: 26px 0;
  clear: both;
}
@media (max-width: 1100px){
  .history-shell{ padding: 14px; }
  .history-legacy-content{ font-size: 17px; }
  .history-legacy-content h2{ font-size: clamp(32px, 7vw, 44px) !important; }
  .history-legacy-content h4{ font-size: clamp(24px, 5vw, 32px) !important; }
  .history-tooltip-float{ font-size: 13px; }
  .history-legacy-content img{ width: min(100%, 560px); }
  .history-legacy-content table{ min-width: 960px; }
  .history-legacy-content th,
  .history-legacy-content td{ font-size: 15px !important; }
}

/* Personal page */
.personal-shell{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 18px;
  padding: clamp(14px, 2.1vw, 26px);
  background:
    radial-gradient(95% 120% at 0% 0%, rgba(122,15,15,.08), transparent 62%),
    linear-gradient(170deg, rgba(255,255,255,.90), rgba(255,255,255,.72));
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.personal-head h2{
  margin: 0;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.14;
}
.personal-head p{
  margin: 10px 0 0 0;
  color: rgba(23,23,23,.78);
  line-height: 1.48;
}
.personal-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 14px;
}
.personal-chip{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.86);
  color: #222;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.personal-chip:hover{
  background: rgba(122,15,15,.10);
  border-color: rgba(122,15,15,.34);
  color: #681111;
}
.personal-sections{
  display: grid;
  gap: 16px;
}
.personal-section{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.82);
}
.personal-section h3{
  margin: 2px 4px 12px;
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.2;
}
.personal-table-wrap{
  overflow: auto;
  width: 100%;
  border: 1px solid rgba(0,0,0,.20);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.personal-table{
  width: max(100%, 1160px);
  min-width: 980px;
  border-collapse: collapse;
  background: #fff;
}
.personal-table th,
.personal-table td{
  border: 1px solid rgba(0,0,0,.13);
  padding: 10px 11px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.34;
}
.personal-table th{
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1e7d1;
  font-weight: 800;
}
.personal-table tr:nth-child(even) td{
  background: rgba(0,0,0,.02);
}

/* Anunturi tabs */
.anunturi-tabs{
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 14px;
}
.anunturi-tab-actions{
  display:flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.anunturi-tab-btn{
  display:inline-flex;
  align-items:center;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.82);
  color: #191919;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.anunturi-tab-btn.is-active{
  background: rgba(122,15,15,.95);
  color:#fff;
  border-color: rgba(122,15,15,.95);
}
.anunturi-tab-panel{
  display:none;
}
.anunturi-tab-panel.is-active{
  display:block;
}
.anunt-card-list{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.anunt-card{
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  padding: 14px;
}
.anunt-card h3{
  margin: 0 0 10px 0;
  font-size: 19px;
}
.anunt-card h3 span{
  font-style: italic;
  text-decoration: underline;
}
.anunt-body p{
  margin: 0 0 8px 0;
  line-height: 1.5;
}
.anunt-links{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.anunt-link{
  color:#8d0f0f;
  text-decoration: underline;
  font-weight: 600;
}
.archive-groups{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.archive-group{
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 12px;
}
.archive-group h3{
  margin: 0 0 10px 0;
  font-size: 16px;
}
.archive-list{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.archive-item{
  display:flex;
  flex-direction:column;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.8);
  border-radius: 10px;
  text-decoration:none;
}
.archive-item-title{
  color: #191919;
  font-weight: 650;
}
.archive-item-path{
  color: rgba(25,25,25,.68);
  font-size: 12px;
  word-break: break-all;
}

/* Oferta scolara switch */
.offer-switch{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 20px;
  padding: clamp(16px, 2.2vw, 26px);
  background:
    radial-gradient(120% 120% at 0% -10%, rgba(122,15,15,.10), transparent 55%),
    radial-gradient(130% 140% at 100% 110%, rgba(186,140,64,.14), transparent 60%),
    linear-gradient(170deg, rgba(255,255,255,.90), rgba(255,255,255,.72));
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.offer-switch-head{
  margin-bottom: 14px;
}
.offer-switch-head h2{
  margin: 0 0 8px 0;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.16;
}
.offer-switch-head p{
  margin: 0;
  color: rgba(23,23,23,.78);
  line-height: 1.5;
  max-width: 760px;
}
.offer-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 8px;
  margin: 12px auto 0;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 10px 24px rgba(0,0,0,.08);
}
.offer-toggle-btn{
  border: 1px solid transparent;
  background: transparent;
  color: rgba(23,23,23,.88);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 760;
  letter-spacing: .01em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.offer-toggle-btn:hover{
  color: #7a0f0f;
  background: rgba(122,15,15,.08);
}
.offer-toggle-btn:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(122,15,15,.20);
}
.offer-toggle-btn.is-active{
  background: linear-gradient(160deg, #7a0f0f, #8f1414);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 9px 20px rgba(122,15,15,.30);
}
.offer-toggle-btn.is-active:hover{
  color: #fff;
  transform: translateY(-1px);
}
.offer-panels{
  margin-top: 16px;
}
.offer-panel{
  animation: offerFade .22s ease;
}
.offer-card{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: clamp(14px, 1.9vw, 20px);
  background: rgba(255,255,255,.84);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.offer-copy h3{
  margin: 10px 0 8px 0;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.2;
}
.offer-copy p{
  margin: 0;
  color: rgba(23,23,23,.80);
  line-height: 1.48;
}
.offer-badge{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122,15,15,.28);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(122,15,15,.08);
  color: #651010;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.offer-actions{
  display: flex;
  align-items: center;
}
.offer-actions .btn{
  min-width: 210px;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 20px rgba(122,15,15,.24);
}

@keyframes offerFade{
  from{ opacity: 0; transform: translateY(4px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer{
  background: #6f0f16;
  border-top: 1px solid rgba(0,0,0,.25);
  color: #fff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px 0;
}
.footer-card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 16px;
}
.footer-card h3{ margin:0 0 10px 0; color:#fff; }
.footer-card p{ margin: 6px 0; color: rgba(255,255,255,.85); }
.footer-card a{ color: #fff; text-decoration: none; }
.footer-card a:hover{ text-decoration: underline; }
.footer-links{ margin-top: 10px; }
.footer-admin{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  color:#fff;
}
.footer-map{
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 22px rgba(0,0,0,.18);
  max-width: 440px;
}
.footer-map iframe{
  display:block;
  width: 100%;
  height: 230px;
  border: 0;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 12px 0;
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.85);
}

.site-footer label{ color:#fff; }
.site-footer input, .site-footer textarea{
  background: #fff;
  border: 1px solid rgba(0,0,0,.2);
}

/* Form */
.contact-form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 10px; }
label{ font-weight: 650; font-size: 13px; }
input, textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.16);
  background: rgba(255,255,255,.92);
  font: inherit;
}
input:focus, textarea:focus{
  outline:none;
  box-shadow: 0 0 0 4px rgba(122,15,15,.18);
  border-color: rgba(122,15,15,.40);
}

.alert{
  padding: 10px 12px;
  border-radius: 12px;
  margin: 0 0 12px 0;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.75);
}
.alert.ok{ border-color: rgba(20,120,60,.35); }
.alert.err{ border-color: rgba(190,40,40,.35); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 12px;
  padding: 11px 14px;
  background: rgba(122,15,15,.95);
  color:#fff;
  font-weight: 750;
  border: 1px solid rgba(255,255,255,.18);
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{ filter: brightness(1.04); }
.btn-ghost{
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.28);
  color:#fff;
}
.site-main .btn-ghost{
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.14);
  color: var(--text);
}

/* Responsive */
@media (max-width: 980px){
  .brand-text{ display:none; }
  .site-main{ width: 100%; }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-inner--wide{ padding: 0 16px; }
  .hero-float{ justify-content:flex-start; }
  .cards{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .contact-form .row{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-roller__item{ height: 168px; }
  .mv-intro{ grid-template-columns: 1fr; }
  .mv-grid{ grid-template-columns: 1fr; }
  .values-list{ grid-template-columns: 1fr; }
  .identity-home__grid{ grid-template-columns: 1fr; }
  .identity-card::before,
  .identity-card::after{ display: none; }
  .alumni-home__stats{ grid-template-columns: 1fr; }
  .alumni-home-stat{
    border-right: none;
    border-bottom: none;
  }
  .alumni-home-stat:last-child{
    border-bottom: none;
  }
  .offer-home__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-home-card::before{ display: none; }
  .project150-hero{ grid-template-columns: 1fr; }
  .project150-cover{ min-height: 260px; }
  .project150-wrap--comenius .project150-cover.project150-cover-inline{
    float: none;
    width: 100%;
    height: 230px;
    margin: 10px 0 12px 0;
  }
  .project150-stats{ grid-template-columns: 1fr; }
  .project150-gallery{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-text-head h2{ font-size: clamp(28px, 6vw, 40px); }
  .offer-card{
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .offer-actions .btn{
    min-width: 0;
    width: 100%;
  }
  .personal-table{
    min-width: 860px;
  }
}

@media (max-width: 860px){
  .topbar-inner{ flex-wrap: wrap; }
  .brand{ order: 1; }
  .nav-toggle{
    order: 2;
    margin-left: auto;
  }
  .nav{ order: 3; flex-basis: 100%; }
  .nav-toggle{ display:block; }
  .nav{ width: 100%; }
  .nav-list{
    position:absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(520px, calc(100vw - 32px));
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 16px;
    box-shadow: var(--shadow2);
    padding: 10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 6px;
  }
  .nav-list > li{ width: 100%; }
  .nav a{
    color: var(--text);
    padding: 12px 12px;
    border-radius: 12px;
    justify-content:space-between;
  }
  .nav a:hover{ background: rgba(0,0,0,.06); }
  .has-dropdown:hover > .dropdown{ display:none; } /* pe mobil */
  .dropdown{
    position: static;
    display:none;
    min-width: 0;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 4px;
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.08);
  }
  .dropdown .has-dropdown::after{ display:none; }
  .dropdown .has-dropdown > .dropdown{
    margin-left: 10px;
    margin-top: 6px;
  }
  .dropdown .has-dropdown > .dropdown-trigger .chev{
    border-right: 2px solid rgba(0,0,0,.55);
    border-bottom: 2px solid rgba(0,0,0,.55);
    transform: rotate(45deg);
  }
  .dropdown li a{ font-weight: 650; }
  .nav-list.is-open{ display:flex; }
}

@media (max-width: 520px){
  .hero{ min-height: 460px; }
  .hero--main{ min-height: 520px; }
  .hero--main .hero-content{ transform: translateY(50px); }
  .hero::after{ background: linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.10) 100%); }
  .hero--sub{ min-height: 420px; }
  .identity-card{
    padding: 12px;
  }
  .identity-card__icon{
    width: 86px;
    height: 86px;
  }
  .identity-card__icon svg{
    width: 38px;
    height: 38px;
  }
  .hero-inner--wide{ padding: 0 12px; }
  .alumni-home__stats{ margin-top: 12px; }
  .alumni-home-stat{
    padding: 14px 8px;
  }
  .offer-home__grid{ grid-template-columns: 1fr; }
  .offer-home-card{
    padding: 12px;
  }
  .offer-home-tags li{
    font-size: 13px;
    padding: 6px 9px;
  }
  .site-scroll-nav{ right: 10px; gap: 10px; }
  .resource{ flex-direction:column; align-items:flex-start; }
  .hero-logos{
    right: auto;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    padding: 8px 10px;
  }
  .hero-logos img{
    width: 54px;
    max-height: 46px;
    padding: 6px;
  }
  .gallery-hero__top{ flex-direction:column; align-items:center; text-align:center; }
  .gallery-hero .gallery-open-grid{ padding: 7px 12px; font-size: 13px; }
  .gallery-roller{ padding: 14px 10px; }
  .gallery-roller__track{ gap: 10px; }
  .gallery-roller__item{ height: 140px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .project150-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project150-copy h2{ font-size: clamp(27px, 8vw, 36px); }
  .project150-copy p{ font-size: 15px; line-height: 1.5; }
  .project-text-head{
    border-radius: 14px;
    padding: 12px;
  }
  .project-text-body{
    border-radius: 14px;
    padding: 12px;
  }
  .project-text-body p{
    font-size: 15px;
    line-height: 1.52;
  }
  .anunt-card h3{ font-size: 17px; }
  .anunturi-tab-btn{ width: 100%; justify-content: center; }
  .offer-switch{
    border-radius: 16px;
    padding: 14px;
  }
  .offer-toggle{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 14px;
    padding: 6px;
    gap: 6px;
  }
  .offer-toggle-btn{
    width: 100%;
    justify-content: center;
  }
  .offer-copy h3{
    font-size: 21px;
  }
  .personal-shell{
    border-radius: 14px;
    padding: 12px;
  }
  .personal-nav{
    display: grid;
    grid-template-columns: 1fr;
  }
  .personal-chip{
    justify-content: center;
  }
  .personal-table{
    min-width: 720px;
  }
  .personal-table th,
  .personal-table td{
    font-size: 14px;
    padding: 8px 9px;
  }
}

@media (prefers-reduced-motion: reduce){
  .gallery-roller__viewport{ overflow-x: auto; }
  .gallery-roller__track{ animation: none; }
}
/* /assets/css/style.css  (adauga la final) */
.brand--logoonly { min-width: auto; }
.brand--logoonly .brand-logo { width: 56px; height: 56px; }
.brand--logoonly .brand-text { display: none !important; }
