/* =================================================================
   Congresul Primarilor - Ediția a III-a, 2027
   Institutional · premium · mixed light/dark · blue + gold
   IBM Plex Sans (headings) + Inter (body)
   ================================================================= */

:root{
  /* - blue scale - */
  --navy-900:   #0C2746;   /* deepest navy - dark sections, footer, hero */
  --navy:       #163A6E;   /* primary brand */
  --blue:       #2456A6;   /* links / mid accent */
  --blue-tint:  #ECF1F8;   /* light blue section */

  /* - gold - */
  --gold:       #F2B30A;   /* accent */
  --gold-deep:  #9A7A12;   /* gold-ish text on light (AA) */
  --gold-soft:  rgba(242,179,10,.14);

  /* - bright orange (labels + menu accents) - */
  --orange:     #FF6A1A;
  --orange-soft:rgba(255,106,26,.14);

  /* - neutrals - */
  --paper:      #FFFFFF;
  --paper-2:    #F5F7FA;   /* light grey-blue section */
  --ink:        #15243F;
  --ink-soft:   #3C4C68;
  --muted:      #6B7892;
  --line:       rgba(21,36,63,.13);
  --line-2:     rgba(21,36,63,.24);
  --on-dark:    rgba(255,255,255,.84);
  --on-dark-dim:rgba(255,255,255,.58);
  --line-dark:  rgba(255,255,255,.16);

  --r:          3px;
  --r-lg:       4px;
  --shadow-sm:  0 1px 2px rgba(12,39,70,.05), 0 10px 24px -16px rgba(12,39,70,.25);
  --shadow:     0 2px 6px rgba(12,39,70,.06), 0 24px 50px -28px rgba(12,39,70,.30);

  --maxw:       1200px;
  --gutter:     clamp(20px, 4vw, 56px);
  --topbar-h:   38px;

  --font-head:  'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg,video{ max-width:100%; display:block; }
a{ color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover{ color: var(--navy); }

h1,h2,h3,h4,h5{
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.16;
  margin: 0 0 .55em;
  color: var(--ink);
}
h1{ font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.07; }
h2{ font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.018em; }
h3{ font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 600; }
h4{ font-size: 1.1rem; font-weight: 600; }
p{ margin: 0 0 1em; color: var(--ink-soft); }
.lead{ font-size: 1.18rem; color: var(--ink); font-weight: 400; line-height: 1.6; }

ul{ padding-left: 1.15em; }
li{ margin-bottom: .4em; color: var(--ink-soft); }

.container{ width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ==== SECTION RHYTHM (mixed light/dark) ==== */
section{ padding: clamp(72px, 8.5vw, 120px) 0; position: relative; background: var(--paper); }
section.soft{ background: var(--paper-2); }
section.tint{ background: var(--blue-tint); }
section.dark{ background: var(--navy-900); color: var(--on-dark); }
section.dark h1, section.dark h2, section.dark h3, section.dark h4{ color: #fff; }
section.dark p{ color: var(--on-dark); }
section.dark .lead{ color: #fff; }

.section-head{ max-width: 820px; margin-bottom: 52px; }

/* ==== EYEBROW - uppercase micro-label + short gold rule ==== */
.eyebrow{
  display:inline-flex; align-items:center; gap:12px;
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before{ content:""; width: 26px; height: 2px; background: var(--orange); }
section.dark .eyebrow{ color: var(--orange); }

/* ==== TOP UTILITY BAR ==== */
.topbar{
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--topbar-h); display: flex; align-items: center;
  overflow: hidden; white-space: nowrap;
  background: var(--navy-900);
}
.topbar-track{ display: inline-flex; align-items: center; animation: tb-scroll 42s linear infinite; will-change: transform; }
.topbar:hover .topbar-track{ animation-play-state: paused; }
.topbar-track span{
  font-family: var(--font-body); font-weight: 400; font-size: .8rem;
  letter-spacing: .01em; color: var(--on-dark);
  padding: 0 22px;
}
.topbar-track span b{ color: var(--gold); font-weight: 600; }
.topbar-track .sep{ color: var(--gold); font-size: .55rem; opacity: .8; }
@keyframes tb-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .topbar-track{ animation: none; } }
/* ARSC 10 Ani anniversary logo placements */
.topbar-logo{
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
  height: 100%; width: auto; padding: 8px var(--gutter);
  background: var(--navy-900);
  box-shadow: 18px 0 16px -8px var(--navy-900);
}
.footer-logo .footer-anniv{ height: 42px; width:auto; margin: 4px 0 18px; display:block; }
.hero-anniv{ height: 62px; width:auto; margin-bottom: 22px; display:block; }
@media (max-width:640px){ .topbar-logo{ display:none; } .hero-anniv{ height: 48px; } }

/* ==== NAV (light, premium) ==== */
.nav{
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height: 72px; }
.nav-logo{ display:inline-flex; align-items:center; background: var(--navy-900); padding: 9px 14px; border-radius: var(--r); }
.nav-logo img{ height: 32px; width:auto; }
.nav-links{ display:flex; gap: 30px; list-style:none; padding:0; margin:0; align-items:center; }
.nav-links > li{ margin:0; }
.nav-links > li > a, .dd-toggle{
  position: relative;
  display:inline-flex; align-items:center; gap: 6px;
  padding: 6px 0;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); background: none; border: 0; cursor: pointer;
  transition: color .18s ease;
}
.nav-links > li > a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-links > li > a:hover, .dd-toggle:hover{ color: var(--orange); }
.nav-links > li > a.active{ color: var(--navy); }
.nav-links > li > a.active::after{ transform: scaleX(1); }
.nav-cta{ display:inline-flex; align-items:center; }
.nav-toggle{ display:none; background:none; border:0; color:var(--navy); cursor:pointer; padding:8px; }
.nav-toggle svg{ width: 26px; height: 26px; }

/* dropdown */
.has-dropdown{ position: relative; }
.dd-toggle .chev{ width: 13px; height: 13px; transition: transform .2s ease; opacity:.6; }
.has-dropdown:hover .dd-toggle .chev,
.has-dropdown.open .dd-toggle .chev{ transform: rotate(180deg); }
.dropdown{
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -8px);
  min-width: 210px; padding: 8px; margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
  box-shadow: var(--shadow);
}
/* invisible bridge across the gap so the menu doesn't vanish on hover-down */
.dropdown::before{ content:""; position:absolute; left:0; right:0; top:-16px; height:16px; }
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown,
.has-dropdown:focus-within .dropdown{ opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.dropdown li{ margin: 0; }
.dropdown a{
  display: block; padding: 10px 14px;
  font-family: var(--font-head); font-size: .76rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink);
}
.dropdown a:hover{ background: var(--paper-2); color: var(--orange); }

@media (max-width: 1024px){
  .nav-links{
    position: fixed; top: calc(72px + var(--topbar-h)); left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: #fff;
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s ease;
    max-height: calc(100vh - 72px - var(--topbar-h)); overflow-y: auto;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-links > li > a, .dd-toggle{ padding: 16px 2px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .nav-links > li > a::after{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .nav-cta.desktop{ display:none; }
  .has-dropdown{ width: 100%; }
  .dd-toggle{ width: 100%; justify-content: space-between; }
  .dropdown{
    position: static; opacity: 1; transform: none; pointer-events: auto;
    background: transparent; border: 0; border-top: 0; padding: 0 0 0 14px; margin: 0;
    box-shadow: none; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .has-dropdown.open .dropdown{ max-height: 500px; }
  .dropdown a{ padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .dropdown a:hover{ background: transparent; }
}

/* ==== BUTTONS - squared, uppercase, restrained ==== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--navy); color: #fff; }
.btn-primary:hover{ background: var(--blue); color:#fff; }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover{ border-color: var(--navy); color: var(--navy); }
.btn-dark{ background: var(--navy-900); color: #fff; }
.btn-dark:hover{ background: var(--navy); }
.btn-gold{ background: var(--gold); color: var(--navy-900); }
.btn-gold:hover{ background: #d99e07; color: var(--navy-900); }

/* ==== HERO ==== */
.hero{
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 82vh;
  padding: calc(150px + var(--topbar-h)) 0 96px;
  background: var(--navy-900);
}
.hero-bg{ position: absolute; inset: 0; z-index: 0; }
.hero-bg img{
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  opacity: .85; filter: grayscale(.12);
}
.hero-bg::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(12,39,70,.86) 55%, rgba(12,39,70,.55) 100%);
}
.hero-inner{ position: relative; z-index: 2; color: #fff; max-width: 780px; }
.hero-inner h1, .hero-inner h2, .hero-inner h3{ color: #fff; }
.hero-inner p{ color: var(--on-dark); }

/* edition micro-label */
.edition-badge{
  display:inline-flex; align-items:center; gap: 12px;
  padding: 0; margin-bottom: 26px;
  background: none; color: var(--orange);
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase;
}
.edition-badge .pulse{ width: 18px; height: 2px; border-radius: 0; background: var(--orange); animation: none; }

.hero h1{ max-width: 18ch; margin-bottom: 26px; }
.hero h1 .grad{ color: var(--gold); }
.hero h1 .word{ display: inline; opacity: 1; transform: none; animation: none; }
@keyframes rise{ to { opacity: 1; transform: none; } }

/* structured info row (replaces glass chips) */
.hero-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:0; margin: 30px 0 34px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.chip{
  display:inline-flex; align-items:center; gap:9px;
  padding: 16px 26px 16px 0; margin-right: 26px;
  border-right: 1px solid var(--line-dark);
  background: none; border-radius: 0;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; color:#fff;
}
.chip:last-child{ border-right: 0; margin-right: 0; padding-right: 0; }
.chip .dot{ width: 7px; height: 7px; border-radius: 0; background: var(--gold); }

.hero-ctas{ display:flex; flex-wrap:wrap; gap: 14px; margin-bottom: 40px; }
.hero-ctas .btn-ghost{ color:#fff; border-color: rgba(255,255,255,.4); }
.hero-ctas .btn-ghost:hover{ border-color: var(--gold); color: var(--gold); }

/* countdown - refined strip */
.countdown{
  display:inline-grid; grid-template-columns: repeat(4, minmax(72px,1fr)); gap: 0;
  border: 1px solid var(--line-dark);
}
.cd-cell{
  padding: 18px 20px; text-align: center;
  border-right: 1px solid var(--line-dark);
}
.cd-cell:last-child{ border-right: 0; }
.cd-cell .v{ font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; color:#fff; line-height:1; font-variant-numeric: tabular-nums; }
.cd-cell .u{ font-size: .64rem; color: var(--on-dark-dim); text-transform: uppercase; letter-spacing: .14em; margin-top: 8px; }

.scroll-hint{
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 2; color: var(--on-dark-dim);
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.scroll-hint .line{ width: 1px; height: 34px; background: rgba(255,255,255,.35); }
@keyframes bob{ 0%,100%{ transform: translate(-50%, 0);} 50%{ transform: translate(-50%, 6px);} }

/* ==== MARQUEE - removed (institutional) ==== */
.marquee{ display: none; }
@keyframes scroll{ from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==== CARDS ==== */
.grid{ display:grid; gap: 22px; }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px){ .grid-3,.grid-4{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr;} }

.card{
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 34px 30px;
  transition: border-color .2s ease, box-shadow .2s ease;
  color: var(--ink);
}
.card::before{
  content:""; position:absolute; left:30px; top:-1px; width: 34px; height: 3px;
  background: var(--gold);
}
.card:hover{ border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.card.tint{ background: var(--blue-tint); }
.card h3{ margin: 12px 0 12px; color: var(--ink); }
.card .icon{
  width: 46px; height: 46px; border-radius: var(--r);
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--navy); color: #fff;
  margin-bottom: 6px; font-size: 1.3rem;
}

/* ==== INSTITUTIONAL LOGOS ==== */
.inst-row{
  display:flex; flex-wrap:wrap; gap: 56px; align-items: center; justify-content: center;
  padding: 44px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
}
.inst-row img{ height: 64px; width: auto; filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease; }
.inst-row img:hover{ filter: none; opacity: 1; }
@media(max-width:640px){ .inst-row img{ height: 46px; } .inst-row{ gap: 32px; padding: 30px;} }

/* ==== SPONSOR GRID ==== */
.sponsor-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.sponsor-cell{
  aspect-ratio: 16/10; background: #fff;
  display:flex; align-items:center; justify-content:center; padding: 22px;
  transition: background .2s ease;
}
.sponsor-cell:hover{ background: var(--paper-2); }
.sponsor-cell img{
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: filter .2s ease, opacity .2s ease;
}
.sponsor-cell:hover img{ filter: none; opacity: 1; }

.sponsor-names{
  margin-top: 44px; padding: 30px 34px;
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  font-size: .96rem; color: var(--ink-soft);
  line-height: 1.9;
}

/* ==== AGENDA TIMELINE ==== */
.timeline{ position: relative; max-width: 960px; margin: 0 auto; padding-left: 0; list-style: none; }
.timeline::before{
  content:""; position:absolute; top:8px; bottom:8px; left: 112px;
  width: 1px; background: var(--line-2);
}
.t-item{ position: relative; padding-left: 156px; padding-bottom: 34px; }
.t-time{
  position: absolute; left: 0; top: 2px; width: 96px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  text-align: right; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.t-item::before{
  content:""; position: absolute; left: 107px; top: 6px;
  width: 11px; height: 11px; background: var(--gold);
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2);
}
.t-body{ background: #fff; border:1px solid var(--line); border-left: 3px solid var(--navy); border-radius: var(--r); padding: 22px 26px; transition: border-color .2s ease;}
.t-body:hover{ border-left-color: var(--gold); }
.t-body h3{ margin: 0 0 8px; font-size: 1.16rem; }
.t-body .speakers{ font-size: .92rem; color: var(--ink-soft); margin-top: 10px; }
.t-body ul{ margin: 12px 0 0; padding-left: 1.15em; font-size: .94rem; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tag{ font-size:.68rem; padding: 5px 11px; border-radius: var(--r); background: var(--navy); color: #fff; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

@media (max-width: 720px){
  .timeline::before{ left: 5px; }
  .t-item{ padding-left: 28px; }
  .t-time{ position: static; width: auto; text-align: left; margin-bottom: 8px; font-size: 1.02rem; }
  .t-item::before{ left: 0; top: 8px; }
}

/* ==== PHOTO MOSAIC ==== */
.photo-mosaic{
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px; gap: 8px;
}
.photo-mosaic a{ position: relative; overflow: hidden; border-radius: 7%; display: block; }
.photo-mosaic img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; filter: saturate(.92); }
.photo-mosaic a:hover img{ transform: scale(1.05); filter: saturate(1); }
.photo-mosaic a.tall{ grid-row: span 2; }
.photo-mosaic a.wide{ grid-column: span 2; }
.photo-mosaic a.big{ grid-row: span 2; grid-column: span 2; }
@media (max-width: 960px){
  .photo-mosaic{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .photo-mosaic a.big, .photo-mosaic a.wide{ grid-column: span 2; }
  .photo-mosaic a.tall{ grid-row: span 1; }
}

/* ==== GALLERY ==== */
.gallery{ display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.gallery a{ display:block; aspect-ratio: 4/3; overflow: hidden; border-radius: 7%; position: relative; }
.gallery img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.92); }
.gallery a:hover img{ transform: scale(1.05); filter: saturate(1); }

.lightbox{
  position: fixed; inset: 0; background: rgba(12,39,70,.96);
  display:none; align-items:center; justify-content:center; z-index: 100; padding: 24px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width: 100%; max-height: 90vh; border-radius: var(--r); }
.lightbox .close{ position:absolute; top:24px; right:24px; background:none; border:0; color:#fff; cursor:pointer; }
.lightbox .close svg{ width: 34px; height: 34px; }
.lightbox .nav-btn{
  position:absolute; top:50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  color:#fff; width: 50px; height: 50px; border-radius: var(--r); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox .nav-btn.prev{ left: 24px; }
.lightbox .nav-btn.next{ right: 24px; }
.lightbox .nav-btn:hover{ background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

/* ==== FOOTER ==== */
.footer{
  background: var(--navy-900); color: var(--on-dark);
  padding: 76px 0 30px; border-top: 3px solid var(--gold);
}
.footer h5{ font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color:#fff; margin-bottom: 18px; font-weight:600; }
.footer ul{ list-style: none; padding: 0; }
.footer li{ margin-bottom: 11px; color: var(--on-dark); }
.footer a{ color: var(--on-dark); font-size: .94rem; }
.footer a:hover{ color: var(--gold); }
.footer-grid{
  display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px;
  margin-bottom: 44px;
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-logo img{ height: 52px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-logo p{ color: var(--on-dark-dim); font-size: .9rem; margin: 0 0 .3em; }
.footer-bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px;
  padding-top: 26px; border-top: 1px solid var(--line-dark);
  font-size: .82rem; color: var(--on-dark-dim);
}
.socials{ display:flex; gap: 8px; }
.socials a{
  width: 36px; height: 36px; border-radius: var(--r);
  display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid var(--line-dark); color:#fff;
  transition: all .18s ease;
}
.socials a:hover{ background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.socials svg{ width: 16px; height: 16px; }

/* ==== PAGE HEADER (photo hero + dark-blue overlay) ==== */
.page-head{
  position: relative; overflow: hidden;
  padding: calc(152px + var(--topbar-h)) 0 72px;
  text-align: left;
  background: var(--navy-900) url(../img/galerie/Congresul-Primarilor-2026-21.jpg) center 28% / cover no-repeat;
  border-bottom: 3px solid var(--gold);
}
.page-head::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(8,27,54,.90) 0%, rgba(10,33,66,.72) 48%, rgba(12,39,70,.48) 100%);
}
.page-head .container{ position: relative; z-index: 1; }
.page-head h1, .page-head h2{ color: #fff; max-width: 20ch; }
.page-head p, .page-head .lead{ color: rgba(255,255,255,.92); max-width: 64ch; }
.page-head .eyebrow{ color: var(--orange); }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:.8rem; letter-spacing:.04em; color: rgba(255,255,255,.64); margin-bottom: 18px; text-transform: uppercase; }
.breadcrumb a{ color: rgba(255,255,255,.64); }
.breadcrumb a:hover{ color: var(--orange); }

/* ==== UTILITIES ==== */
.text-center{ text-align: center; }
.text-center .eyebrow{ justify-content: center; }
.tagline{ font-family: var(--font-head); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; color: var(--muted); }

.split{ display:grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items:center; }
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap: 36px; } }

.media-frame{ border-radius: var(--r); overflow:hidden; background: var(--paper-2); position: relative; border: 1px solid var(--line); }
.media-frame img{ width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3; }
.media-frame.tall img{ aspect-ratio: 3/4; }

.list-check{ list-style:none; padding:0; }
.list-check li{ position:relative; padding-left: 30px; margin-bottom: 13px; color: var(--ink-soft); }
.list-check li::before{ content:""; position:absolute; left:0; top:5px; width: 16px; height: 16px; background: var(--gold); border-radius: 2px; }
.list-check li::after{ content:""; position:absolute; left:4px; top:9px; width: 8px; height: 4px; border-left: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: rotate(-45deg); }

/* ==== CTA BAND ==== */
.cta-band{
  background: var(--navy); color: #fff;
  padding: 50px 54px; border-radius: var(--r);
  border-left: 4px solid var(--gold);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px;
  position: relative; overflow: hidden;
}
.cta-band > *{ position: relative; z-index: 1; }
.cta-band h3{ margin:0; max-width: 28ch; color:#fff; font-size: clamp(1.4rem,2.2vw,2rem); }
.cta-band .btn-gold{ background: var(--gold); color: var(--navy-900); }

/* info box */
.info-box{ background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: 28px; }
.info-box h4{ font-family: var(--font-head); font-size: .74rem; text-transform:uppercase; letter-spacing:.14em; color: var(--orange); margin-bottom: 10px; }
.info-box p{ font-size: 1rem; color: var(--ink); margin: 0; }
.info-box p + h4{ margin-top: 18px; }

/* FAQ accordion (details/summary, no JS) */
.faq-list{ max-width: 840px; margin: 0 auto; }
.faq-item{ border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease; }
.faq-item[open]{ border-color: var(--line-2); }
.faq-item summary{ list-style: none; cursor: pointer; position: relative; padding: 20px 52px 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--orange); transition: transform .2s ease; }
.faq-item[open] summary{ color: var(--orange); }
.faq-item[open] summary::after{ transform: translateY(-50%) rotate(45deg); }
.faq-item p{ margin: 0; padding: 0 24px 22px; color: var(--ink-soft); }

/* speakers */
.panel-head{ margin: 52px 0 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.panel-head:first-of-type{ margin-top: 0; padding-top: 0; border-top: 0; }
.panel-head .tag{ font-size:.68rem; padding: 5px 11px; border-radius: var(--r); background: var(--navy); color:#fff; font-weight:600; letter-spacing:.07em; text-transform:uppercase; display:inline-block; }
.panel-head h2{ margin: 14px 0 0; }
.panel-head p{ margin: 10px 0 0; color: var(--muted); }
.speakers-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); gap: 14px; }
.speaker{ background: #fff; border:1px solid var(--line); border-radius: var(--r); padding: 22px; display:flex; gap: 14px; align-items:flex-start; transition: border-color .2s ease, background .2s ease;}
.speaker:hover{ border-color: var(--line-2); background: var(--paper-2); }
.speaker .avatar{
  width: 50px; height: 50px; border-radius: var(--r); flex-shrink: 0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  background: var(--navy); color: #fff;
}
.speaker .name{ font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.speaker .role{ font-size: .84rem; color: var(--muted); line-height: 1.45; }

/* mini gallery */
.mini-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-gallery a{ display:block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r); position: relative; }
.mini-gallery img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mini-gallery a:hover img{ transform: scale(1.04); }
@media(max-width:720px){ .mini-gallery{ grid-template-columns: 1fr; } }

/* recap block */
.recap-block{ position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; display:flex; align-items:flex-end; padding: 46px; color: #fff; }
.recap-block img.bg{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.recap-block::before{ content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(12,39,70,.92) 100%); z-index: 1; }
.recap-block > *{ position: relative; z-index: 2; }
.recap-block h2, .recap-block h3{ color:#fff; margin-bottom: 8px; }
.recap-block p{ color: rgba(255,255,255,.9); margin-bottom: 16px; }

/* reveal */
[data-reveal]{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; }
}
