/* ============================================================
   en-reg.ro — Design system unificat (2026)
   Modern, animat, optimizat. Teme per subdomeniu via [data-theme].
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Theme tokens ---------- */
:root {
  --bg: #060b14;
  --bg-soft: #0b1320;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --text: #eef3fb;
  --text-soft: #aab6c8;
  --text-dim: #748098;
  --accent: #2dd4bf;
  --accent-2: #22c55e;
  --accent-3: #38bdf8;
  --accent-rgb: 45, 212, 191;
  --glow: rgba(45, 212, 191, .35);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -25px rgba(0,0,0,.7);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-head: "Space Grotesk", "Inter", sans-serif;
}

[data-theme="hub"] {
  --accent: #34d399; --accent-2: #7c3aed; --accent-3: #38bdf8;
  --accent-rgb: 52, 211, 153; --glow: rgba(52,211,153,.32);
}
[data-theme="ssm"] {
  --accent: #2dd4bf; --accent-2: #14b8a6; --accent-3: #d4a55a;
  --accent-rgb: 45, 212, 191; --glow: rgba(45,212,191,.32);
}
[data-theme="energie"] {
  --bg: #07100a; --bg-soft: #0a1810;
  --accent: #34d27a; --accent-2: #a3e635; --accent-3: #fbbf24;
  --accent-rgb: 52, 210, 122; --glow: rgba(52,210,122,.35);
}
[data-theme="podcasturi"] {
  --bg: #0c0814; --bg-soft: #140d24;
  --accent: #a855f7; --accent-2: #ec4899; --accent-3: #818cf8;
  --accent-rgb: 168, 85, 247; --glow: rgba(168,85,247,.35);
}

/* ---------- Aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  filter: blur(110px); opacity: .5; will-change: transform;
}
.aurora::before {
  top: -15%; left: -10%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.aurora::after {
  bottom: -20%; right: -10%;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  animation: drift2 26s ease-in-out infinite alternate;
}
.aurora .grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
@keyframes drift1 { to { transform: translate(12vw, 10vh) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-10vw, -8vh) scale(1.15); } }

/* ---------- Thematic background scene ---------- */
.scene { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.scene-item {
  position: absolute; color: var(--accent); opacity: .11;
  will-change: transform; filter: drop-shadow(0 8px 24px rgba(0,0,0,.4));
}
.scene-item svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.scene-item.fill svg { fill: currentColor; stroke: none; opacity: 1; }
.scene-item.accent2 { color: var(--accent-2); }
.scene-item.accent3 { color: var(--accent-3); }
.scene-eq { font-family: var(--font-head); font-weight: 700; color: var(--accent); opacity: .1; position: absolute; }

/* placement helpers */
.s-tl { top: 8%; left: 3%; }
.s-tr { top: 12%; right: 4%; }
.s-ml { top: 44%; left: 5%; }
.s-mr { top: 50%; right: 5%; }
.s-bl { bottom: 8%; left: 6%; }
.s-br { bottom: 7%; right: 5%; }
.s-bc { bottom: 4%; left: 42%; }

.float-a { animation: floatA 13s ease-in-out infinite; }
.float-b { animation: floatB 16s ease-in-out infinite; }
.float-c { animation: floatC 19s ease-in-out infinite; }
.spin-slow svg { animation: spinScene 26s linear infinite; transform-origin: 50% 50%; }
.spin-slow .blades { transform-origin: 50% 33%; animation: spinScene 9s linear infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-22px) rotate(3deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(26px) rotate(-3deg)} }
@keyframes floatC { 0%,100%{transform:translate(0,0)} 50%{transform:translate(14px,-16px)} }
@keyframes spinScene { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .scene-item { opacity: .05; transform: scale(.7); }
  .scene-hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .spin-slow svg, .spin-slow .blades { animation: none; }
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-orb {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  animation: spin .9s linear infinite;
  box-shadow: 0 0 40px var(--glow);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.main-content { padding-top: 96px; padding-bottom: 120px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: #021; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.02em; color: #fff; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { color: var(--text-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 15px; border-radius: 999px;
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .3);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.coloured {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--text-dim); }

.section-header { max-width: 64ch; margin-bottom: clamp(34px, 5vw, 56px); }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform; position: relative; overflow: hidden;
}
.button-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #04130d; box-shadow: 0 14px 34px -10px var(--glow);
}
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -10px var(--glow); }
.button-secondary {
  background: var(--surface); color: #fff; border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.button-secondary:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--surface-2); }
.button-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45), transparent 70%);
  transform: translateX(-130%);
}
.button-primary:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { transform: translateX(130%); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 90;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 11, 20, .72); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 16px clamp(18px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: -.01em; }
.brand-subtitle { font-size: .72rem; color: var(--text-dim); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 9px 15px; border-radius: 999px; font-size: .92rem; font-weight: 500; white-space: nowrap;
  color: var(--text-soft); transition: color .25s, background .25s;
}
.site-nav a:hover { color: #fff; background: var(--surface); }
.site-nav a.is-active { color: var(--accent); }
.site-nav .header-cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #04130d; font-weight: 600; margin-left: 8px;
}
.site-nav .header-cta:hover { color: #04130d; transform: translateY(-2px); }
.menu-toggle {
  display: none; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: #fff; font-weight: 600; font-size: .9rem;
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-block: clamp(40px, 6vw, 72px);
}
.hero h1 { margin: 18px 0 20px; }
.hero p { font-size: 1.12rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats, .stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px;
}
.hero-stat, .stats-grid .card { text-align: left; }
.hero-stat strong, .stat-value {
  display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; color: #fff; line-height: 1;
}
.hero-stat { font-size: .82rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 6px; }
.stat-label { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }

.hero-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-visual img[data-slide] {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 1; transition: opacity 1.2s var(--ease), transform 6s ease;
}
.hero-visual img[data-slide].is-out { opacity: 0; }
.hero-visual-caption {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.hero-visual-dots { position: absolute; right: 18px; bottom: 22px; z-index: 2; display: flex; gap: 7px; }
.hero-visual-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-visual-dots span.is-active { background: var(--accent); width: 22px; border-radius: 5px; }

/* Trust portrait (SSM) */
.hero-panel { display: grid; gap: 18px; }
.trust-portrait-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); aspect-ratio: 4/4.4;
}
.trust-portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.panel-note { display: grid; gap: 14px; }
.panel-note > div {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px;
  transition: transform .3s var(--ease), border-color .3s;
}
.panel-note > div:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb),.4); }
.panel-note strong { color: #fff; font-size: .98rem; display: block; margin-bottom: 4px; }
.panel-note p { font-size: .88rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  padding-block: clamp(40px, 6vw, 64px);
}
.page-hero h1 { margin: 16px 0 16px; }
.page-hero p { font-size: 1.1rem; max-width: 56ch; }
.page-hero-visual {
  border-radius: var(--radius); padding: 28px;
  background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb),.18), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}

/* ---------- Cards & grids ---------- */
.card, .info-card, .category-card, .service-card, .process-step, .hub-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
  overflow: hidden;
}
.card::before, .info-card::before, .category-card::before, .hub-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb),.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover, .info-card:hover, .category-card:hover, .service-card:hover, .process-step:hover, .hub-card:hover {
  transform: translateY(-6px); border-color: rgba(var(--accent-rgb),.35); background: var(--surface-2);
}
.card:hover::before, .info-card:hover::before, .category-card:hover::before, .hub-card:hover::before { opacity: 1; }
.card h3, .info-card h3 { margin-bottom: 10px; }
.card p, .info-card p { font-size: .95rem; }

.card-grid { display: grid; gap: 22px; }
.card-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.card-grid.three-up { grid-template-columns: repeat(3, 1fr); }
.info-grid { display: grid; gap: 22px; }
.info-grid.three-up { grid-template-columns: repeat(3, 1fr); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.mini-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 10px;
}
.service-card-icon {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--accent);
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.3); margin-bottom: 16px;
}

.category-card { text-align: center; }
.category-icon {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 22px;
  display: grid; place-items: center;
  background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.25);
}
.category-icon img { width: 46px; height: 46px; filter: brightness(0) saturate(100%) invert(70%) sepia(60%) saturate(500%) hue-rotate(90deg); }
.category-card h3 { font-size: 1.05rem; letter-spacing: .03em; margin-bottom: 8px; }
.category-card p { font-size: .88rem; }

/* Service card with media (energie) */
.service-card { padding: 0; }
.service-card-media { aspect-ratio: 16/10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.08); }
.service-card-body { padding: 22px 24px 26px; }
.service-card-body h3 { margin-bottom: 8px; letter-spacing: .02em; }
.service-card-body p { font-size: .92rem; }

/* Lists */
.check-list, .feature-list, .plain-list { display: grid; gap: 11px; margin-top: 6px; }
.check-list li, .feature-list li {
  position: relative; padding-left: 30px; font-size: .94rem; color: var(--text-soft);
}
.check-list li::before, .feature-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(var(--accent-rgb),.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2334d27a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.plain-list li { position: relative; padding-left: 18px; font-size: .92rem; color: var(--text-soft); }
.plain-list li::before { content: "•"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.about-card ul { display: grid; gap: 8px; margin-top: 12px; }
.about-card ul li { position: relative; padding-left: 18px; font-size: .94rem; color: var(--text-soft); }
.about-card ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.about-actions { margin-top: 28px; }

/* Timeline */
.timeline { display: grid; gap: 18px; margin-top: 6px; }
.timeline-item { position: relative; padding-left: 26px; font-size: .92rem; color: var(--text-soft); }
.timeline-item::before { content: ""; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.15); }
.timeline-item::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: -16px; width: 1px; background: var(--border-strong); }
.timeline-item:last-child::after { display: none; }
.timeline-item strong { display: block; color: #fff; margin-bottom: 3px; font-size: .92rem; }

/* Badges & chips */
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge {
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border); transition: all .3s;
}
.badge:hover { color: var(--accent); border-color: rgba(var(--accent-rgb),.4); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step span {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--accent);
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.3); margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: .9rem; }

/* CTA band */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
  padding: clamp(34px, 5vw, 54px); border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(var(--accent-rgb),.18), var(--surface));
  border: 1px solid rgba(var(--accent-rgb),.25); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
}
.cta-band .section-header { margin-bottom: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; }

/* ---------- Topbar (energie) ---------- */
.topbar-info {
  background: rgba(0,0,0,.35); border-bottom: 1px solid var(--border);
  font-size: .82rem; position: fixed; top: 0; inset-inline: 0; z-index: 91;
}
.topbar-info-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 8px clamp(18px,4vw,40px);
  display: flex; align-items: center; gap: 16px; color: var(--text-soft);
}
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.has-topbar .site-header { top: 37px; }
.has-topbar .main-content { padding-top: 130px; }

/* ---------- Podcast featured card ---------- */
.podcast-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface);
}
.podcast-media { position: relative; min-height: 280px; }
.podcast-media img { width: 100%; height: 100%; object-fit: cover; }
.podcast-media .play-btn {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #04130d; font-size: 1.4rem; display: grid; place-items: center;
  box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 var(--glow);} 70%{box-shadow:0 0 0 22px rgba(var(--accent-rgb),0);} 100%{box-shadow:0 0 0 0 rgba(var(--accent-rgb),0);} }
.podcast-content { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.podcast-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--text-dim); margin-bottom: 14px; }
.podcast-title { margin-bottom: 12px; }
.podcast-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.action-btn { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-weight: 500; font-size: .9rem; transition: all .3s; }
.action-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Filters & video grid (podcasturi) ---------- */
.filters-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.search-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.search-row input[type="search"] {
  flex: 1; min-width: 240px; padding: 13px 18px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border-strong); color: #fff; font-size: .95rem;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--text-soft);
  background: var(--bg-soft); border: 1px solid var(--border-strong); transition: all .3s;
}
.chip:hover { color: #fff; }
.chip.is-active { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #120420; border-color: transparent; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column;
}
.video-card.is-hidden { display: none; }
.video-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb),.4); }
.video-frame { aspect-ratio: 16/9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-body { padding: 22px 24px 26px; }
.video-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.video-tag { font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; color: var(--accent); background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.25); }
.video-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.video-body p { font-size: .9rem; }
.resource-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.resource-link { font-size: .86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.resource-link::before { content: "↓"; }
.resource-link:hover { text-decoration: underline; }
.resource-link[target]::before { content: "↗"; }

.resource-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px;
  padding: clamp(28px,4vw,40px); border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(var(--accent-rgb),.15), var(--surface)); border: 1px solid var(--border);
}
.resource-banner h3 { margin-bottom: 8px; }
.network-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card-link { color: var(--accent); }
.contact-card-link:hover { text-decoration: underline; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(26px,3vw,36px); }
.form-card h2 { margin-bottom: 6px; }
.contact-form { margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--text-soft); }
.field input, .field textarea {
  padding: 13px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border-strong);
  color: #fff; font-size: .95rem; font-family: inherit; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-form .button { margin-top: 20px; }
.form-help { font-size: .8rem; color: var(--text-dim); margin-top: 12px; }
.success-message {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: .9rem;
  background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.3); color: var(--accent);
}
.success-message.is-visible { display: block; }

/* ---------- Policy ---------- */
.policy-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.policy-sidebar { position: sticky; top: 110px; display: grid; gap: 4px; }
.policy-sidebar a { padding: 10px 14px; border-radius: 10px; font-size: .9rem; color: var(--text-soft); border-left: 2px solid transparent; transition: all .3s; }
.policy-sidebar a:hover { color: #fff; background: var(--surface); border-left-color: var(--accent); }
.policy-content { display: grid; gap: 22px; }
.policy-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px,3vw,34px); scroll-margin-top: 110px; }
.policy-block h2 { font-size: 1.5rem; margin-bottom: 14px; }
.policy-block h3 { font-size: 1.05rem; margin: 18px 0 8px; color: var(--accent); }
.policy-block p { margin-bottom: 12px; font-size: .96rem; }
.policy-block .plain-list { margin: 8px 0 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(0,0,0,.3); margin-top: 40px; }
.footer-shell { padding-block: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer-title { font-family: var(--font-head); font-size: .95rem; color: #fff; margin-bottom: 16px; font-weight: 600; }
.site-footer p { font-size: .92rem; }
.footer-list, .legal-list { display: grid; gap: 10px; }
.footer-list li, .legal-list li { font-size: .9rem; color: var(--text-soft); }
.footer-list a:hover { color: var(--accent); }
.footer-link { display: flex; align-items: center; gap: 10px; }
.footer-link .icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); }
.footer-link .icon svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
address { font-style: normal; }
.anpc-links { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.anpc-links img { height: 42px; width: auto; border-radius: 6px; }
.footer-note { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--text-dim); }
.footer-note a { color: var(--accent); }

/* ---------- Bottom subdomain dock ---------- */
.subdomain-dock {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 95;
}
.dock-inner {
  display: flex; align-items: center; gap: 6px; padding: 8px;
  background: rgba(10, 16, 26, .72); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-strong); border-radius: 999px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.7);
}
.dock-home, .dock-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  color: var(--text-soft); font-size: .85rem; font-weight: 500; transition: all .3s var(--ease);
}
.dock-home { padding: 11px; }
.dock-home svg, .dock-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock-icon { display: grid; place-items: center; }
.dock-divider { width: 1px; height: 26px; background: var(--border-strong); }
.dock-item:hover, .dock-home:hover { color: #fff; background: var(--surface-2); transform: translateY(-2px); }
.dock-item.is-active {
  color: #04130d; background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px -6px var(--glow);
}
.dock-label { white-space: nowrap; }

/* ---------- Hub page ---------- */
.hub-wrap { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 140px; text-align: center; align-items: center; }
.hub-wrap h1 { margin: 18px 0 18px; }
.hub-wrap > p { font-size: 1.18rem; max-width: 62ch; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; width: 100%; text-align: left; }
a.hub-card { display: block; text-decoration: none; color: inherit; }
.hub-card { padding: 34px; }
.hub-card h3 { margin-bottom: 12px; }
.hub-card p { font-size: .95rem; margin-bottom: 22px; }
.hub-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.3); }
.hub-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-card.ssm { --accent: #2dd4bf; --accent-2: #14b8a6; --accent-rgb: 45,212,191; }
.hub-card.energie { --accent: #34d27a; --accent-2: #a3e635; --accent-rgb: 52,210,122; }
.hub-card.podcasturi { --accent: #a855f7; --accent-2: #ec4899; --accent-rgb: 168,85,247; }
.hub-card .cta { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.hub-card:hover .cta { gap: 12px; }

/* ---------- Scroll reveal ---------- */
.reveal, .reveal-stagger > * {
  opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in, .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .47s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .54s; }
.reveal-stagger.is-in > *:nth-child(9) { transition-delay: .61s; }

@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, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero, .page-hero { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/11; }
  .page-hero-visual { display: none; }
  .trust-portrait .panel-note { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .card-grid.three-up, .info-grid.three-up, .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .podcast-card, .contact-grid, .policy-grid { grid-template-columns: 1fr; }
  .policy-sidebar { position: static; display: flex; flex-wrap: wrap; }
  .hub-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: stretch;
    gap: 8px; padding: 90px 22px 40px; background: var(--bg-soft); border-left: 1px solid var(--border);
    transform: translateX(105%); transition: transform .4s var(--ease); z-index: 89;
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 13px 16px; font-size: 1rem; }
  .hero-stats, .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .card-grid.two-up, .about-grid, .service-grid, .card-grid.three-up, .info-grid.three-up, .process, .contact-details { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-portrait .panel-note { grid-template-columns: 1fr; }
  .dock-label { display: none; }
  .dock-home, .dock-item { padding: 11px; }
  .dock-item.is-active .dock-label { display: inline; }
  .dock-item.is-active { padding: 11px 16px; }
  .cta-band, .resource-banner { flex-direction: column; align-items: flex-start; }
}
