/* ============================================================
   Green Energy Summit 2027 — Light Editorial design system
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-2: #f4f6f1;        /* warm off-white — alt sections */
  --ink: #11211a;            /* near-black green — headings */
  --ink-2: #4c5953;          /* body text */
  --ink-3: #66726b;          /* muted / labels (>=4.5:1 pe alb, AA) */
  --green: #18764b;          /* primary accent (sober forest) */
  --green-dark: #115438;
  --green-soft: #e9f1ea;     /* tint blocks */
  --line: #e3e7e0;           /* hairlines */
  --line-2: #d3d9d0;
  --maxw: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 40px -22px rgba(17, 33, 26, 0.28);
  --shadow-sm: 0 10px 26px -18px rgba(17, 33, 26, 0.22);
  /* aliases for legacy inline-style variable names (safety net) */
  --green-2: var(--green);
  --lime: var(--green);
  --text: var(--ink);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
}

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

html {
  -webkit-text-size-adjust: 100%;
  font-size: 100%; /* text-size accessibility control scales from here */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--green); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

section { padding: clamp(72px, 9vw, 128px) 0; }
.section-alt { background: var(--paper-2); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(44px, 5vw, 64px);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
.section-sub {
  margin: 18px auto 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 1.06rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.92em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn svg { transition: transform 0.25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.inline-cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* ============================================================
   TOP / NAV
   ============================================================ */
.topbar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.8rem;
  text-align: center;
  padding: 9px 0;
}
.topbar strong { color: var(--ink-2); font-weight: 600; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
}
.nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled { box-shadow: 0 8px 30px -20px rgba(17, 33, 26, 0.35); background: rgba(255, 255, 255, 0.94); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}
/* ---- Brand lockup (text logo, no background, theme-adaptive) ---- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -8px rgba(24, 118, 75, 0.7);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}
.brand-text strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-text span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.footer-lockup { margin-bottom: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 auto 0 12px;
  padding: 0;
}
.nav-links > li > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover,
.nav-trigger:hover { color: var(--green); background: var(--green-soft); }
.nav-trigger svg { width: 15px; height: 15px; transition: transform 0.25s; }
.has-drop { position: relative; }
.has-drop:hover .nav-trigger svg { transform: rotate(180deg); }
.nav-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.has-drop:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.nav-drop a:hover { color: var(--green); background: var(--green-soft); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--green-dark); }
.nav-cta svg { transition: transform 0.25s; }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(24, 118, 75, 0.07), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-dark);
  background: var(--paper);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 118, 75, 0.15);
}
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto;
}
.hero-title .accent { color: var(--green); }
.hero-sub {
  margin: 26px auto 0;
  max-width: 58ch;
  font-size: 1.15rem;
  color: var(--ink-2);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-meta-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.hero-meta span:not(.sep) { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--green); }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

.countdown {
  display: inline-flex;
  margin: 36px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cd-cell {
  padding: 16px clamp(16px, 3vw, 30px);
  text-align: center;
  border-right: 1px solid var(--line);
}
.cd-cell:last-child { border-right: none; }
.cd-num {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-label {
  margin-top: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-figure {
  margin: clamp(48px, 6vw, 80px) auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-figure img {
  width: 100%;
  height: clamp(280px, 42vw, 540px);
  object-fit: cover;
}

/* ============================================================
   SPLIT (Despre, Locație, Ediția 2026)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.split-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 8px; }
.split-text p { color: var(--ink-2); }
.split-text .prose { padding-left: 0; list-style: none; margin: 18px 0 0; }
.split-text .prose li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.split-text .prose li strong { color: var(--ink); }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ============================================================
   FEATURE / AUDIENCE CARDS
   ============================================================ */
.feature-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card,
.audience-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover,
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.card-num {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
}
.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.feat-icon svg { width: 24px; height: 24px; }
.feature-card h3,
.audience-card h3 {
  font-size: 1.24rem;
  margin: 16px 0 9px;
}
.feature-card p,
.audience-card p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

/* ============================================================
   AGENDA
   ============================================================ */
.agenda {
  max-width: 840px;
  margin: 0 auto;
}
.agenda-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.agenda-item:last-child { border-bottom: 1px solid var(--line); }
.agenda-time {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}
.agenda-tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
.agenda-item h3 { font-size: 1.3rem; margin-bottom: 7px; }
.agenda-people { color: var(--ink-2); font-size: 0.97rem; }
.agenda-item.keynote .agenda-tag { color: #fff; background: var(--green); border-color: var(--green); }
.agenda-item.keynote h3 { color: var(--green-dark); }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: clamp(56px, 6vw, 84px) 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.stat {
  background: var(--paper);
  text-align: center;
  padding: clamp(28px, 4vw, 44px) 16px;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  margin-top: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* ============================================================
   SPEAKERS
   ============================================================ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.speaker-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.speaker-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.02);
  transition: filter 0.4s, transform 0.6s;
}
.speaker:hover .speaker-photo img { filter: none; transform: scale(1.03); }
.speaker-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin-top: 16px;
}
.speaker-role { color: var(--ink-2); font-size: 0.9rem; margin-top: 2px; }

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sponsor-tile {
  background: #ffffff;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
}
.sponsor-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.35s ease;
}
.sponsor-tile:hover img { transform: scale(1.12); }

/* ============================================================
   MAP
   ============================================================ */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25); }

/* ============================================================
   CTA REGISTER
   ============================================================ */
.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 22px;
  padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 60px);
  background:
    radial-gradient(90% 120% at 80% -10%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
}
.cta-box .eyebrow { color: rgba(255, 255, 255, 0.85); justify-content: center; }
.cta-box .eyebrow::before { background: rgba(255, 255, 255, 0.7); }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-box p { color: rgba(255, 255, 255, 0.85); max-width: 54ch; margin: 16px auto 30px; }
.cta-box .btn-primary { background: #fff; color: var(--green-dark); }
.cta-box .btn-primary:hover { background: var(--paper-2); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 6vw, 80px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-2); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col li {
  color: var(--ink-2);
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-3);
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { --d: 0.1s; }
.reveal[data-delay="2"] { --d: 0.2s; }
.reveal[data-delay="3"] { --d: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px clamp(20px, 4vw, 40px) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s, opacity 0.3s, visibility 0.3s;
  }
  .nav-links.open { max-height: 80vh; opacity: 1; visibility: visible; }
  .nav-links > li > a, .nav-trigger { padding: 12px 10px; }
  .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 6px 14px;
    min-width: 0;
  }
  .has-drop:hover .nav-trigger svg { transform: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .feature-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsors-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media, .split .map-embed { order: -1; }
  #editia-2026-banner .split-media { order: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .feature-grid, .audience-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { width: 100%; }
  .cd-cell { flex: 1; padding: 14px 6px; }
  .agenda-item { grid-template-columns: 1fr; gap: 8px; }
  .hero-meta { gap: 10px; }
  .hero-meta .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   INNER PAGES — shared chrome & components
   ============================================================ */

/* Legacy class aliases so inner-page content maps onto the system */
.section-eyebrow { /* same as .eyebrow */
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}
.section-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.55; }
.section-head .section-eyebrow { justify-content: center; }
.why-icon { /* same as .feat-icon */
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.why-icon svg { width: 24px; height: 24px; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0 clamp(40px, 5vw, 66px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 0%, rgba(24, 118, 75, 0.06), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: var(--paper);
  margin-bottom: 22px;
}
.page-hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24, 118, 75, 0.15); }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto;
}
.page-hero h1 .accent { color: var(--green); }
.page-hero p {
  margin: 22px auto 0;
  max-width: 64ch;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.page-hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
}
.page-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-meta svg { width: 17px; height: 17px; color: var(--green); }

/* ---- Agenda: handle both wrapped & unwrapped item markup ---- */
.agenda-track { max-width: 840px; margin: 0 auto; }
.agenda-track .agenda-item { display: grid; grid-template-columns: 160px 1fr; column-gap: 30px; align-items: start; }
.agenda-track .agenda-item > .agenda-time { grid-column: 1; }
.agenda-track .agenda-item > :not(.agenda-time) { grid-column: 2; }
.agenda-item.break { opacity: 0.78; }
.agenda-item.break .agenda-time { color: var(--ink-3); }
.agenda-item.break h3 { font-size: 1.1rem; color: var(--ink-2); }
.agenda-people .mod { color: var(--green); font-weight: 600; }
.agenda-people strong { color: var(--ink); font-weight: 600; }

/* ---- Agenda day tabs ---- */
.agenda-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.agenda-tab {
  padding: 11px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.agenda-tab:hover { border-color: var(--green); color: var(--green); }
.agenda-tab.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
a.contact-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card .why-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-card .why-icon svg { width: 21px; height: 21px; }
.ci-label { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.ci-value { font-weight: 600; color: var(--ink); }

.form-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 7px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(24, 118, 75, 0.12);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--ink-3); }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .ic {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  transition: transform 0.3s, background 0.3s;
}
.faq-item .ic svg { width: 16px; height: 16px; }
.faq-item[open] .ic { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-answer { padding: 0 22px 22px; color: var(--ink-2); }
.faq-answer a { color: var(--green); font-weight: 600; }

/* ---- Partner tiers ---- */
.partner-cta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier-card.featured { border-color: var(--green); box-shadow: var(--shadow); position: relative; }
.tier-card.featured::before {
  content: "Recomandat";
  position: absolute;
  top: -11px; left: clamp(26px, 3vw, 34px);
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.tier-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ink); margin-bottom: 12px; }
.tier-card p { color: var(--ink-2); flex: 1; }
.tier-card .btn { margin-top: 20px; align-self: flex-start; }

/* ---- Legal / prose pages ---- */
.content .prose { max-width: 760px; margin: 0 auto; }
.content .prose h2 {
  font-size: 1.35rem;
  margin: 34px 0 12px;
  color: var(--ink);
}
.content .prose h2:first-of-type { margin-top: 8px; }
.content .prose p { color: var(--ink-2); }
.content .prose ul { padding-left: 1.2em; color: var(--ink-2); }
.content .prose li { margin-bottom: 8px; }
.content .prose a { color: var(--green); font-weight: 600; }

/* ---- CTA section wrapper (inner pages) ---- */
.cta { padding: clamp(64px, 8vw, 112px) 0; }
.cta-box .btn { align-self: center; }

/* ---- Inner-page responsive ---- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .partner-cta { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .agenda-track .agenda-item { grid-template-columns: 1fr; column-gap: 0; row-gap: 6px; }
  .page-hero-meta { gap: 14px; }
}

/* ============================================================
   DARK THEME (accessibility)
   ============================================================ */
[data-theme="dark"] {
  --paper: #0e1512;
  --paper-2: #131d18;
  --ink: #eaf2ed;
  --ink-2: #aebbb4;
  --ink-3: #76847d;
  --green: #4dc486;
  --green-dark: #38a771;
  --green-soft: #16241d;
  --line: #233029;
  --line-2: #2e3d35;
  --shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 10px 28px -18px rgba(0, 0, 0, 0.65);
}
[data-theme="dark"] .nav { background: rgba(14, 21, 18, 0.82); }
[data-theme="dark"] .nav.scrolled { background: rgba(14, 21, 18, 0.95); box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.8); }
[data-theme="dark"] .hero-badge { background: var(--paper-2); }
[data-theme="dark"] .hero::before { background: radial-gradient(60% 50% at 50% 0%, rgba(77, 196, 134, 0.08), transparent 70%); }
[data-theme="dark"] .page-hero::before { background: radial-gradient(60% 70% at 50% 0%, rgba(77, 196, 134, 0.08), transparent 70%); }
[data-theme="dark"] .page-hero-eyebrow { background: var(--paper); }
[data-theme="dark"] .brand-mark { box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .sponsor-tile { background: #ffffff; }
[data-theme="dark"] .sponsor-tile img { filter: none; opacity: 1; }
[data-theme="dark"] .sponsor-tile:hover img { transform: scale(1.12); }
[data-theme="dark"] .map-embed iframe { filter: grayscale(0.4) invert(0.9) hue-rotate(170deg); }
[data-theme="dark"] .cta-box .btn-primary { background: #0e1512; color: #eaf2ed; }
[data-theme="dark"] .cta-box .btn-primary:hover { background: #1a2620; }

/* ============================================================
   HIGH CONTRAST (accessibility)
   ============================================================ */
[data-contrast] {
  --ink: #000000;
  --ink-2: #1c1c1c;
  --ink-3: #3a3a3a;
  --green: #0a5c34;
  --green-dark: #063f23;
  --line: #555;
  --line-2: #333;
}
[data-contrast][data-theme="dark"] {
  --ink: #ffffff;
  --ink-2: #f0f0f0;
  --ink-3: #d4d4d4;
  --green: #7af0b0;
  --green-dark: #5fe09c;
  --line: #b9b9b9;
  --line-2: #d8d8d8;
}
[data-contrast] .btn,
[data-contrast] .feature-card,
[data-contrast] .audience-card,
[data-contrast] .hero-badge { border-width: 2px; }
[data-contrast] a:focus-visible,
[data-contrast] button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ============================================================
   ACCESSIBILITY WIDGET
   ============================================================ */
.a11y { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.a11y-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(24, 118, 75, 0.7);
  transition: transform 0.25s, background 0.25s;
}
.a11y-fab:hover { background: var(--green-dark); transform: translateY(-2px); }
.a11y-fab svg { width: 26px; height: 26px; }
.a11y.open .a11y-fab { transform: scale(0.92); }

.a11y-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 290px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  animation: a11yIn 0.22s ease;
}
@keyframes a11yIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h4 { font-size: 1.05rem; }
.a11y-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.a11y-close:hover { background: var(--green-soft); color: var(--green); }
.a11y-close svg { width: 15px; height: 15px; }

.a11y-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
button.a11y-row:hover { border-color: var(--green); background: var(--green-soft); }
.a11y-ico {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}
.a11y-ico svg { width: 19px; height: 19px; }
.a11y-label { flex: 1; }
.a11y-state {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
}
button.a11y-row[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
button.a11y-row[aria-pressed="true"] .a11y-state { color: var(--green); }

.a11y-stepper { cursor: default; }
.a11y-steps { display: inline-flex; align-items: center; gap: 6px; }
.a11y-steps button {
  width: 32px; height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.a11y-steps button:hover { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.a11y-font-val { font-size: 0.78rem; font-weight: 600; color: var(--ink-3); min-width: 38px; text-align: center; }

.a11y-reset {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 9px;
}
.a11y-reset:hover { color: var(--green); background: var(--green-soft); }

@media (max-width: 620px) {
  .a11y { right: 14px; bottom: 14px; }
  .a11y-panel { width: calc(100vw - 28px); right: 0; }
}

/* ============================================================
   ADAUGAT 26.05: colturi rotunjite poze + banda foto + logo ARSC
   ============================================================ */

/* Colturi rotunjite pe toate pozele din site (~10%) */
.hero-figure, .split-media, .gallery-item, .speaker-photo, .map-embed,
.pm-item, .editie-foto, .about-figure, figure.media, .media-rounded {
  border-radius: 18px;
}
.hero-figure img, .split-media img, .gallery-item img, .speaker-photo img,
.pm-item img { border-radius: inherit; }

/* Banda foto dinamica (circulanta dreapta -> stanga) */
.photo-band { padding: clamp(28px, 4vw, 44px) 0; overflow: hidden; }
.photo-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.pm-track {
  display: flex; gap: 18px; width: max-content;
  animation: pm-scroll 70s linear infinite;
  will-change: transform;
}
.photo-marquee:hover .pm-track { animation-play-state: paused; }
.pm-item {
  flex: 0 0 auto; width: 360px; aspect-ratio: 1200 / 630;
  overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 10px 30px -16px rgba(17,33,26,0.4);
  background: var(--paper-2);
}
.pm-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes pm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .pm-item { width: 250px; } .pm-track { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .pm-track { animation: none; } }

/* Logo ARSC in footer (organizator) */
.footer-org { margin-top: 20px; }
.footer-org-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 9px;
}
.footer-arsc { height: 46px; width: auto; display: block; }
.footer-arsc.is-white { display: none; }
[data-theme="dark"] .footer-arsc.is-color { display: none; }
[data-theme="dark"] .footer-arsc.is-white { display: block; }

/* Social media in footer */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--ink-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
