/* GALMED — temă bleumarin/indigo, inspirată de galmed.ro */
:root {
  --navy-950: #060935;
  --navy-900: #080c45;
  --navy-800: #0c1260;
  --navy-700: #121a86;
  --indigo: #2230c4;
  --royal: #3d55ee;
  --sky: #7cc8ff;
  --gold: #f4c542;
  --bronze: #c07a45;
  --silver: #c9d2e3;
  --text: #eef1ff;
  --muted: #aab3e8;
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .09);
  --border: rgba(255, 255, 255, .13);
  --ok: #4ade9b;
  --bad: #ff7a8a;
  --warn: #ffcf5c;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(61, 85, 238, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(34, 48, 196, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900) 55%, var(--navy-950));
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small, small { font-size: .86rem; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.inline { display: inline; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy-800); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 15, 80, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
}
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header.scrolled, .site-header.scrolled { background: rgba(10, 15, 80, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.site-header .wrap { max-width: 1360px; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: .72rem; font-weight: 500; opacity: .7; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav > a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 10px; white-space: nowrap; border-radius: 999px; position: relative; transition: color .2s, background .2s; }
.main-nav > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav > a.active { color: #fff; }
.main-nav > a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--sky); transform: translateX(-50%); }
.nav-account { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; transition: background .2s, transform .2s; }
.icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; transform: translateY(-1px); }
.badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #221a00; font: 700 .72rem/19px var(--font-head); text-align: center; animation: pop .5s var(--ease); }
.pill { font: 600 .8rem var(--font-head); color: #fff; text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.lang button { background: none; border: 1px solid var(--border); color: #fff; font: 600 .78rem var(--font-head); letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.lang button:hover { background: rgba(255,255,255,.1); }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; color: #fff; border: 1.6px solid rgba(255,255,255,.85); border-radius: 6px; padding: 8px 14px; font: 600 .82rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -5px; } .menu-lines::after { top: 5px; }
.nav-open .menu-lines { background: transparent; }
.nav-open .menu-lines::before { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-lines::after { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1281px) {
  .nav-account { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
  .nav-account a:not(.btn), .nav-account .link { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 10px; white-space: nowrap; }
  .nav-account .btn { white-space: nowrap; }
  .nav-account form { display: inline; }
  .header-tools .hide-sm { display: none; }
}
@media (max-width: 1280px) {
  .menu-btn { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 26px; background: rgba(8, 12, 69, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility .35s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; }
  .main-nav > a.active::after { left: 4px; top: 50%; bottom: auto; width: 3px; height: 18px; transform: translateY(-50%); }
  .nav-account { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 14px 0; border-top: 1px solid var(--border); margin-top: 8px; }
  .nav-account a:not(.btn), .nav-account .link { color: #fff; font-weight: 600; }
  .brand-text { display: none; }
}
@media (max-width: 560px) { .pill { display: none; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: linear-gradient(135deg, #4f8bff, var(--royal) 55%, var(--indigo));
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg); color: #fff; border: 0; border-radius: 12px;
  padding: 13px 24px; font: 700 .92rem var(--font-head); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 10px 26px -12px rgba(79, 139, 255, .85);
  transition: transform .25s var(--ease), box-shadow .25s, filter .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(79, 139, 255, .95); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn.small { padding: 8px 14px; font-size: .78rem; border-radius: 10px; }
.btn.secondary, .btn.ghost { --bg: rgba(255,255,255,.08); box-shadow: none; border: 1.5px solid rgba(255,255,255,.35); }
.btn.secondary:hover, .btn.ghost:hover { --bg: rgba(255,255,255,.16); box-shadow: none; }
.btn.light { --bg: #fff; color: var(--navy-800); box-shadow: 0 14px 34px -14px rgba(255,255,255,.55); }
.btn.light:hover { color: var(--navy-800); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 0; color: var(--sky); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link.danger { color: var(--bad); }

/* ---------------------------------------------------------------- hero (acasă) */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; padding: 120px 0 150px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #182093, #0c1260 60%, #0a0f52); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(8px) saturate(115%); transform: scale(1.08); opacity: .8; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,18,96,.35), rgba(12,18,96,.55) 60%, rgba(12,18,96,.9)); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #3d55ee; top: -120px; left: -80px; }
.b2 { width: 460px; height: 460px; background: #7cc8ff; top: 30%; right: -120px; opacity: .35; animation-duration: 28s; }
.b3 { width: 380px; height: 380px; background: #f4c542; bottom: -140px; left: 35%; opacity: .18; animation-duration: 32s; }
.hero-inner { text-align: center; color: #fff; }
.hero-logo { color: #fff; margin-bottom: 18px; animation: fadeUp .9s var(--ease) both; }
.hero-title { font-size: clamp(1.45rem, 3vw, 2.5rem); font-weight: 700; max-width: 980px; margin: 0 auto 18px; text-shadow: 0 4px 30px rgba(0,0,0,.35); animation: fadeUp .9s .1s var(--ease) both; }
.hero-dates { font: 800 clamp(1.9rem, 5vw, 3.6rem)/1.1 var(--font-head); letter-spacing: .01em; text-transform: uppercase; margin: 0 0 40px; background: linear-gradient(90deg, #fff, #d9e8ff 40%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; animation: fadeUp .9s .2s var(--ease) both; }
.stats { display: flex; justify-content: center; gap: clamp(28px, 8vw, 110px); flex-wrap: wrap; margin-bottom: 40px; animation: fadeUp .9s .3s var(--ease) both; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat .num { font: 500 clamp(2.6rem, 6vw, 4.4rem)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.stat .label { font: 600 clamp(1rem, 1.8vw, 1.5rem) var(--font-head); text-transform: uppercase; letter-spacing: .04em; opacity: .92; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeUp .9s .4s var(--ease) both; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 110px; fill: #0a0e6e; }
.organizers { background: linear-gradient(180deg, #0a0e6e 45%, rgba(10,14,110,0)); padding: 10px 0 90px; }
.organizers .logo-row { gap: clamp(30px, 8vw, 110px); }
.organizers img { height: clamp(80px, 11vw, 150px); width: auto; max-width: 240px; object-fit: contain; opacity: .95; transition: transform .35s var(--ease); }
.organizers img:hover { transform: scale(1.05); }

/* logo animat: EKG care se desenează + bătăi discrete */
.logo-mark { display: inline-block; vertical-align: middle; }
.logo-animated .logo-ecg { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s .4s var(--ease) forwards, ecgpulse 4.8s 2.4s ease-in-out infinite; }
.logo-animated .logo-heart { transform-origin: 60px 50px; animation: beat 4.8s 2s ease-in-out infinite; }

/* ---------------------------------------------------------------- layout */
.main { padding-top: 40px; padding-bottom: 70px; min-height: 55vh; }
.home .main { padding-top: 10px; }
.main > h1:first-of-type, .main > .page-title { margin-top: 10px; }
.intro { font: 700 clamp(1.3rem, 2.6vw, 2rem)/1.35 var(--font-head); text-align: center; max-width: 900px; margin: 30px auto 70px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head a { font-weight: 700; text-decoration: none; }
.feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; margin: 0 0 90px; }
.feature.reverse { grid-template-columns: 1fr 1.5fr; }
.feature-text p { color: #dfe4ff; text-align: justify; hyphens: auto; }
.feature-text .btn { margin-top: 10px; }
.feature-art { display: flex; justify-content: center; }
.feature-art svg { width: min(100%, 240px); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.package-art { gap: 18px; flex-wrap: wrap; }
.mini-package { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 170px; padding: 24px 14px 20px; border-radius: 22px; text-decoration: none; color: #fff; background: linear-gradient(180deg, rgba(147,160,255,.55), rgba(110,120,230,.35)); border: 1px solid rgba(255,255,255,.25); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.mini-package:hover { transform: translateY(-6px) rotate(-1deg); color: #fff; box-shadow: 0 26px 50px -20px rgba(0,0,0,.7); }
.mini-package strong { font: 700 1rem var(--font-head); text-transform: uppercase; text-align: center; letter-spacing: .04em; }
.mini-package span { font-weight: 700; opacity: .85; }
.mini-package:nth-child(3n+1) .diamond, .package:nth-child(3n+1) .diamond { color: var(--bronze); }
.mini-package:nth-child(3n+2) .diamond, .package:nth-child(3n+2) .diamond { color: var(--gold); }
.mini-package:nth-child(3n) .diamond, .package:nth-child(3n) .diamond { color: var(--silver); }
.mini-package:hover .diamond { animation: shimmer 1.2s var(--ease); }
@media (max-width: 860px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-art { order: 2; }
  .feature-text p { text-align: left; }
}

/* ---------------------------------------------------------------- cards & grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-bottom: 26px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--border); border-radius: var(--r); padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow); position: relative;
}
.grid > .card { margin-bottom: 0; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.grid > .card:hover { transform: translateY(-4px); border-color: rgba(124, 200, 255, .45); box-shadow: 0 26px 50px -24px rgba(0,0,0,.75); }
.card h2, .card h3 { margin-top: 0; }
.card-link { color: var(--text); text-decoration: none; }
.card-link:hover { color: #fff; }
.date-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 14px; background: linear-gradient(160deg, var(--royal), var(--indigo)); font: 600 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; box-shadow: 0 10px 20px -10px rgba(61,85,238,.9); }
.date-chip b { font-size: 1.45rem; line-height: 1; letter-spacing: 0; }
.meta { color: var(--muted); font-size: .95rem; }
.meta svg, .card-foot svg { vertical-align: -3px; }
.workshop .meta-list { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 6px; color: #d4daff; }
.workshop .meta-list li { display: flex; align-items: center; gap: 8px; }
.workshop .meta-list svg { color: var(--sky); flex-shrink: 0; }
.workshop .logos { display: flex; gap: 12px; align-items: center; min-height: 0; margin-bottom: 8px; }
.workshop .logos img { max-height: 38px; max-width: 120px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.workshop form, .workshop > .tag, .workshop > .btn { margin-top: auto; }
.price { font: 800 1.5rem var(--font-head); color: #fff; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 14px; gap: 10px; }
.seats { font-weight: 700; font-size: .9rem; }
.seats.full { color: var(--bad); }
.seat-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; margin: -4px 0 16px; }
.seat-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--royal)); transition: width 1.2s var(--ease); }
.seat-bar.low span { background: linear-gradient(90deg, var(--warn), #ff9f5c); }
.tag { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font: 600 .8rem var(--font-head); color: #dfe4ff; vertical-align: middle; }
.tag.ok { background: rgba(74, 222, 155, .14); border-color: rgba(74, 222, 155, .4); color: var(--ok); }
h1 .tag, h1 small.tag { font-size: .8rem; vertical-align: middle; }
h2.day { font-size: 1.25rem; display: flex; align-items: center; gap: 12px; margin: 40px 0 18px; text-transform: capitalize; }
h2.day::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

/* pachete (pagina) */
.package { text-align: center; align-items: center; overflow: hidden; }
.package::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--sky), var(--royal)); }
.package .diamond { margin: 6px auto 8px; display: block; }
.package .price { font-size: 2.2rem; margin: 6px 0 10px; }
.package ul.checks { text-align: left; align-self: stretch; }
.package form { margin-top: auto; }

ul.dashes { padding-left: 0; margin: 6px 0 12px; list-style: none; }
ul.dashes li { position: relative; padding-left: 18px; color: #d4daff; }
ul.dashes li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 2px; background: var(--sky); border-radius: 2px; }
ul.checks { padding-left: 0; list-style: none; margin: 10px 0 16px; }
ul.checks li { padding-left: 26px; position: relative; margin: 6px 0; }
ul.checks li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
ul.checks li.ok::before { content: "✓"; background: rgba(74,222,155,.18); color: var(--ok); width: 19px; height: 19px; left: 0; top: .2em; font: 700 .72rem/19px var(--font-head); text-align: center; }
ul.list { padding-left: 0; list-style: none; }
ul.list > li { padding: 12px 0; border-bottom: 1px solid var(--border); }
ul.list > li:last-child { border-bottom: 0; }
ul.missing { padding-left: 0; list-style: none; margin: 8px 0 16px; }
ul.missing li { position: relative; padding: 6px 0 6px 26px; color: #ffd0d6; }
ul.missing li::before { content: "!"; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,122,138,.2); color: var(--bad); font: 700 .75rem/18px var(--font-head); text-align: center; }
.counter { font-size: 1.1rem; }
.counter strong { color: var(--gold); }

/* cont */
.status { border-left: 5px solid var(--warn); }
.status-approved { border-left-color: var(--ok); }
.status-rejected { border-left-color: var(--bad); }
.layout-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 100px; }
@media (max-width: 900px) { .layout-2 { grid-template-columns: 1fr; } .sticky { position: static; } }

/* ---------------------------------------------------------------- messages */
.messages { margin-bottom: 20px; }
.msg { padding: 14px 18px; border-radius: var(--r-sm); margin: 10px 0; background: rgba(124, 200, 255, .1); border: 1px solid rgba(124, 200, 255, .3); animation: slideIn .5s var(--ease); }
.msg.success { background: rgba(74, 222, 155, .1); border-color: rgba(74, 222, 155, .38); }
.msg.error { background: rgba(255, 122, 138, .1); border-color: rgba(255, 122, 138, .42); }
.msg.warning { background: rgba(255, 207, 92, .1); border-color: rgba(255, 207, 92, .4); }

/* ---------------------------------------------------------------- forms */
.form.narrow { max-width: 700px; }
fieldset { border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px 8px; margin: 0 0 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }
legend { font: 700 1rem var(--font-head); padding: 0 8px; color: #fff; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; color: #e3e7ff; }
.field.required > label::after { content: " *"; color: var(--bad); }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number],
.field input[type=date], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; color: #fff;
  background: rgba(6, 9, 53, .55); border: 1.5px solid rgba(255,255,255,.16);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--navy-800); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(124, 200, 255, .18); background-color: rgba(6, 9, 53, .75); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.field ul li label { font-weight: 600; display: flex; gap: 10px; align-items: center; cursor: pointer; }
.field .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--royal); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.error { display: block; color: var(--bad); margin-top: 4px; }
.help { display: block; color: var(--muted); margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: end; }
.row3 .field { margin-bottom: 0; }
@media (max-width: 680px) { .row2, .row3 { grid-template-columns: 1fr; } }
.upload-inline { display: inline-block; margin-left: 6px; }
.upload-inline input { max-width: 220px; font-size: .85rem; color: var(--muted); }
input[type=file]::file-selector-button { font: 600 .8rem var(--font-head); color: #fff; background: rgba(255,255,255,.12); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; margin-right: 10px; cursor: pointer; }

.dropzone { margin-bottom: 16px; }
.dropzone > label { font-weight: 700; display: block; margin-bottom: 6px; }
.dz-area { border: 2px dashed rgba(124, 200, 255, .45); border-radius: var(--r); padding: 28px 20px; text-align: center; position: relative; background: rgba(124, 200, 255, .05); cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.dz-area p { margin: 0 0 4px; font-weight: 600; }
.dz-area.over { border-color: var(--sky); background: rgba(124, 200, 255, .14); transform: scale(1.01); }
.dz-area input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-list { list-style: none; padding: 0; margin: 8px 0; }
.dz-list li { font-size: .9rem; padding: 4px 0; animation: slideIn .35s var(--ease); }
.dz-list li::before { content: "📄 "; }
.dz-list li.bad { color: var(--bad); }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 20px; background: rgba(255,255,255,.035); }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(255,255,255,.035); }
th { background: rgba(255,255,255,.06); font: 600 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tfoot th { color: #fff; font-size: .95rem; }
td.actions { white-space: nowrap; }
td.actions > * { margin-right: 8px; }
table.program td.time { white-space: nowrap; font: 700 .95rem var(--font-head); width: 130px; color: var(--sky); }
tr.is-workshop { background: rgba(61, 85, 238, .14); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { border: 1px solid var(--border); background: rgba(255,255,255,.05); color: #fff; border-radius: 999px; padding: 9px 18px; cursor: pointer; font: 600 .9rem var(--font-head); transition: background .25s, border-color .25s; text-transform: capitalize; }
.tabs button:hover { background: rgba(255,255,255,.1); }
.tabs button.active { background: linear-gradient(135deg, var(--royal), var(--indigo)); border-color: transparent; box-shadow: 0 8px 20px -10px rgba(61,85,238,.9); }
.pdf-frame { width: 100%; height: 80vh; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.countdown b { color: var(--warn); font-variant-numeric: tabular-nums; }
.prose { max-width: 820px; }
.prose p, .prose li { color: #dfe4ff; }

/* ---------------------------------------------------------------- sponsori (un include, 3 locuri) */
.sponsors img { max-height: 46px; max-width: 150px; object-fit: contain; }
.sponsors-strip { background: rgba(255,255,255,.96); overflow: hidden; }
.sponsors-strip img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.sponsors-strip a:hover img { filter: none; opacity: 1; }
.marquee { overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 45s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-row { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: center; padding: 16px 0; }
.sponsors-footer { border-top: 1px solid var(--border); margin-top: 30px; }
.sponsors-footer .sponsor-logo { background: #fff; border-radius: 10px; padding: 6px 12px; display: inline-flex; opacity: .8; transition: opacity .3s, transform .3s var(--ease); }
.sponsors-footer img { max-height: 30px; }
.sponsors-footer .sponsor-logo:hover { opacity: 1; transform: translateY(-2px); }
.sponsors-page .logo-row { background: #fff; border-radius: var(--r); padding: 30px; margin-bottom: 26px; }
.sponsors-page img { max-height: none; height: 70px; max-width: 240px; transition: transform .3s var(--ease); }
.sponsors-page a:hover img { transform: scale(1.06); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #111633; border-top: 1px solid rgba(255,255,255,.06); padding: 56px 0 18px; color: #c9cee8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-about { text-align: center; max-width: 420px; }
.footer-logo { color: #fff; display: inline-block; margin-bottom: 14px; }
.footer-about p { font-size: .93rem; line-height: 1.7; margin: 0; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.site-footer a { color: #c9cee8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact a { display: inline-flex; gap: 8px; align-items: center; }
.copyright { text-align: center; font-size: .82rem; color: #8187ab; margin: 18px 0 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-about { margin: 0 auto; } .footer-links, .footer-contact { align-items: center; } }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-800); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------- animații */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.float svg { animation: float 6s ease-in-out infinite; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ecgpulse { 0%, 88%, 100% { opacity: 1; } 94% { opacity: .55; } }
@keyframes beat { 0%, 84%, 100% { transform: scale(1); } 88% { transform: scale(1.06); } 92% { transform: scale(.98); } 96% { transform: scale(1.04); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer { 0% { filter: brightness(1); } 40% { filter: brightness(1.5); } 100% { filter: brightness(1); } }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .logo-animated .logo-ecg { stroke-dashoffset: 0; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* titlu pagini interioare, cu accent și apariție discretă */
.inner .main > h1, .inner .main > article > h1 { position: relative; padding-bottom: 14px; margin-bottom: 26px; animation: fadeUp .7s var(--ease) both; }
.inner .main > h1::after, .inner .main > article > h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sky), var(--royal)); animation: grow .9s .2s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 600px) {
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat .num { font-size: 2.3rem; }
  .stat .label { font-size: .78rem; }
  .organizers .logo-row { gap: 18px; flex-wrap: nowrap; }
  .organizers img { height: auto; max-height: 90px; max-width: 30%; }
  .hero { padding-top: 100px; }
}

/* pagini centrate: autentificare, înregistrare, resetare parolă, contact */
.centered .main { display: flex; flex-direction: column; align-items: center; }
.centered .main > h1, .centered .main > p, .centered .main > .messages { text-align: center; max-width: 700px; width: 100%; }
.centered .main > h1::after, .centered .main > article > h1::after { left: 50%; transform-origin: center; margin-left: -32px; }
.centered .form.narrow { width: 100%; max-width: 560px; margin: 0 auto; }
.centered .form.narrow > .btn { display: flex; width: 100%; margin-top: 6px; }
.centered .form.narrow > p { text-align: center; }
.centered article.prose { text-align: center; margin: 0 auto; }
.contact-cards { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 26px 0; }
.contact-card { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 16px 22px; color: #fff; text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.contact-card svg { color: var(--sky); }
.contact-card:hover { color: #fff; transform: translateY(-3px); border-color: rgba(124,200,255,.5); }
.contact-form { text-align: left; padding: 28px; margin-top: 6px; }
.contact-form h2 { margin-bottom: 4px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-intro { text-align: center; margin: 0 auto 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.association { text-align: center; margin-top: 20px; }

/* Despre noi — text + echipă */
.about-text { margin-bottom: 40px; }
.team { margin-bottom: 50px; }
.team h2 { display: flex; align-items: center; gap: 14px; }
.team h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.member { text-align: center; margin: 0; padding: 26px 18px; transition: transform .35s var(--ease), border-color .3s; }
.member:hover { transform: translateY(-5px); border-color: rgba(124,200,255,.45); }
.avatar { width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--sky), var(--royal)); }
.avatar img, .avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--navy-800); font: 700 1.8rem var(--font-head); color: #fff; }
.member h3 { margin-bottom: 4px; }
.member .role { color: var(--sky); font-weight: 700; font-size: .92rem; margin: 0 0 8px; }
.member .bio { color: #d4daff; font-size: .92rem; margin: 0 0 8px; }
.member-mail { font-size: .85rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* înregistrare: mesaj „exact ca în buletin” + exemple de adeverințe */
.id-notice { display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin: 4px 0 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(244,197,66,.18), rgba(244,197,66,.06)); border: 1.5px solid rgba(244,197,66,.55); color: #fff4cf; }
.id-notice svg { color: var(--gold); flex-shrink: 0; }
.id-notice p { margin: 0; font: 700 1.02rem/1.45 var(--font-head); }
.no-id { margin-top: 0; }
.doc-examples { margin: 0 0 16px; padding-left: 18px; color: #d4daff; font-size: .93rem; }
.doc-examples li { margin: 4px 0; }
/* select cu căutare */
.select-search { margin-bottom: 6px !important; }
.field input[type=search], input.select-search { width: 100%; padding: 10px 14px; border-radius: 12px; font: inherit; color: #fff; background: rgba(6, 9, 53, .55); border: 1.5px solid rgba(255,255,255,.16); }

/* lucrări: pagina publică */
.notice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 30px; }
.notice { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: linear-gradient(135deg, rgba(61,85,238,.35), rgba(34,48,196,.15)); border: 1px solid rgba(124,200,255,.35); }
.notice svg { color: var(--sky); flex-shrink: 0; }
.notice p { margin: 0; font: 700 1.02rem/1.4 var(--font-head); }
.counter-badge { display: inline-block; padding: 2px 12px; border-radius: 999px; background: rgba(244,197,66,.18); color: var(--gold); border: 1px solid rgba(244,197,66,.45); font-size: .9em; }
.my-papers { margin-bottom: 36px; }
.steps { margin-bottom: 40px; }
.step-list { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.step-list li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); color: #d4daff; }
.step-list li strong { color: #fff; }
.step-list li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--royal), var(--indigo)); display: grid; place-items: center; font: 700 1rem var(--font-head); color: #fff; box-shadow: 0 8px 18px -8px rgba(61,85,238,.9); }
.cta-line { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.download-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.download { flex-direction: row !important; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.download > svg { color: var(--sky); flex-shrink: 0; transition: transform .3s var(--ease); }
.download:hover { color: #fff; }
.download:hover > svg { transform: translateY(3px); }
.upload-zone { margin: 8px 0 4px; }
.mini-drop { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border: 1.8px dashed rgba(124,200,255,.45); border-radius: 12px; background: rgba(124,200,255,.05); cursor: pointer; font-weight: 600; font-size: .9rem; transition: background .25s, border-color .25s; }
.mini-drop:hover, .mini-drop.over { background: rgba(124,200,255,.13); border-color: var(--sky); }
.mini-drop svg { color: var(--sky); transform: rotate(180deg); }
.mini-drop small { color: var(--muted); font-weight: 400; }
.mini-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.small-notice p { font-size: .9rem; font-family: var(--font-body); }
.gdpr { display: flex; gap: 10px; font-size: .88rem; margin: 10px 0 14px; cursor: pointer; }

/* sponsori: colț pe desktop (defilare continuă), bandă pe telefon */
.sponsors-corner { position: fixed; left: 18px; bottom: 18px; z-index: 30; width: 190px; padding: 10px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); color: var(--navy-800); animation: fadeUp .8s 1s var(--ease) both; }
.sponsors-corner[hidden] { display: none; }
.corner-title { display: block; font: 700 .7rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #5a6390; text-decoration: none; margin-bottom: 6px; }
.corner-close { position: absolute; top: 4px; right: 8px; border: 0; background: none; font-size: 1.2rem; line-height: 1; color: #8a91b4; cursor: pointer; }
.corner-window { height: 70px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.corner-track { display: flex; flex-direction: column; align-items: center; gap: 22px; animation: scrollUp 18s linear infinite; }
.sponsors-corner:hover .corner-track { animation-play-state: paused; }
.corner-track img { max-height: 48px; max-width: 150px; }
@keyframes scrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (min-width: 901px) { .sponsors-strip { display: none; } }
@media (max-width: 900px) { .sponsors-corner { display: none; } }
@media (prefers-reduced-motion: reduce) { .corner-track { animation: none; } }

/* noutăți + footer */
.news-item time { font: 600 .8rem var(--font-head); color: var(--sky); text-transform: uppercase; letter-spacing: .08em; }
.news-item h3 { margin: 6px 0 8px; }
.news-item p { color: #d4daff; margin: 0; }
.socials { display: flex; gap: 10px; margin: 4px 0 8px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .25s, transform .25s var(--ease); }
.socials a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.footer-contact .btn { align-self: flex-start; margin: 4px 0 10px; }
.assoc { font-size: .82rem; color: #8f96bd; margin: 6px 0 0; line-height: 1.6; }
@media (max-width: 800px) { .footer-contact .btn { align-self: center; } }
.contact-form h2 { text-align: center; }
.sponsors-corner { transition: opacity .35s, transform .35s var(--ease); }
.sponsors-corner.away { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* șabloane de descărcat: titlu + „vezi / descarcă” */
.download { flex-wrap: wrap; }
.download > span:not(.doc-actions) { flex: 1 1 120px; min-width: 0; }
.download .doc-actions { margin-left: auto; flex-shrink: 0; }
.download .doc-actions span { overflow: visible; }

/* pagini legale: tabele (datele asociației, cookie-uri), titluri de secțiune, linkuri */
.prose h2 { font-size: 1.25rem; margin: 1.8em 0 .6em; }
.prose table { margin: 14px 0 22px; border: 1px solid var(--border); border-radius: var(--r-sm); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.prose table tr:last-child td { border-bottom: 0; }
.prose table td, .prose table th { padding: 11px 14px; color: #dfe4ff; }
.prose table td:first-child { white-space: nowrap; }
.prose code { font-size: .88em; background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; }
.prose ul ul { margin-top: 6px; }
@media (max-width: 600px) { .prose table td:first-child { white-space: normal; } }
