/* Pagina «Suivez-nous» / «Follow us» (FR: /suivez-nous/, EN: /en/follow-us/): stil comun pentru cele două limbi.
   Antetul, firimiturile și subsolul sunt aceleași ca pe /film/ (aceleași variabile). */
:root {
  --primary: #003168;
  --ink: #0B2F63;
  --ink-2: #1E4577;
  --accent: #ef7c1a;
  --accent-text: #B34A09; /* WCAG AA pentru text mic: 5,4:1 pe alb, 4,8:1 pe fundalul benzii de sus (portocaliul de brand nu ajunge) */
  --on-accent: #0B2F63;
  --bg: #FFFFFF;
  --bg-alt: #F1F4F8;
  --veil: #EEF2F7;
  --text: #0B2F63;
  --text-muted: #475569;
  --border: #DCE3EC;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: hidden; max-width: 100vw; }
h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.soc-gate a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
main { scroll-margin-top: 84px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; z-index: 10001; background: var(--accent); color: var(--on-accent); padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; }

/* Antet, firimituri, subsol (ca pe /film/) */
.header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--primary); }
.header-right { display: flex; align-items: center; gap: 24px; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lang-switch a { color: var(--text-muted); text-decoration: none; }
.lang-switch a.active { color: var(--primary); font-weight: 600; }
.breadcrumb { background: var(--bg-alt); padding: 16px 0; font-size: 14px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.footer { background: var(--primary); color: white; padding: 32px 0; text-align: center; }
.footer a { color: rgba(255,255,255,0.85); text-decoration: none; margin: 0 8px; font-size: 14px; }

/* Butoane */
.btn, .soc-btn { overflow-wrap: anywhere; text-align: center; display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; min-height: 48px; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn-primary, .soc-btn { background: var(--accent); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-primary:hover, .soc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(239,124,26,0.35); }
.btn-secondary:hover { background: var(--veil); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Deschidere: bandă ușoară, text aliniat la stânga */
.soc-hero { background: linear-gradient(180deg, var(--veil) 0%, var(--bg) 100%); padding: 56px 0 8px; }
.soc-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.soc-hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; color: var(--ink); margin: 8px 0 12px; text-wrap: balance; }
.nw { white-space: nowrap; }
.soc-lead { font-size: 18px; color: var(--text-muted); max-width: 640px; }

main { padding-bottom: 16px; }
#social-root { min-height: 240px; padding-top: 32px; }

/* Cardul canalului («poarta» paginii) */
.soc-gates { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.soc-gates[data-count="1"] { grid-template-columns: minmax(0, 760px); }
.soc-gates > * { min-width: 0; }
.soc-gate { display: flex; gap: 22px; align-items: flex-start; padding: 28px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, #16477f 100%); box-shadow: 0 10px 30px rgba(0,49,104,0.18); }
.soc-gate-icon { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(255,255,255,0.06); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.soc-gate-icon svg { width: 30px; height: 30px; margin-left: 3px; }
.soc-gate-body { min-width: 0; }
.soc-gate h2 { font-size: 28px; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.soc-gate-meta { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 2px; overflow-wrap: anywhere; }
.soc-gate-meta span { display: inline-block; max-width: 100%; }
.soc-gate-meta span:not(:last-child)::after { content: ' \00B7\00A0'; white-space: pre; }
.soc-gate-text { margin: 12px 0 18px; color: rgba(255,255,255,0.9); max-width: 52ch; }
.soc-gate .soc-btn { margin-top: 2px; text-align: center; }
.soc-gate-meta + .soc-btn { margin-top: 16px; }

/* Rafturi și liste de filme */
.soc-section { margin-top: 48px; }
.soc-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.soc-section h2 { font-size: 28px; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.soc-section-head > div { min-width: 0; }
.soc-count { font-size: 14px; color: var(--text-muted); }
.soc-more { display: inline-block; margin-top: 4px; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.soc-more:hover { text-decoration: underline; }
.soc-navs { display: flex; gap: 8px; }
.soc-navs[hidden] { display: none; }
.soc-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background 0.2s ease; }
.soc-nav:hover { background: var(--veil); }
.soc-row { display: flex; gap: 16px; margin: 16px -24px 0; padding: 4px 24px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: thin; }
.soc-item { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; display: flex; }
.soc-item .soc-card { width: 100%; }
.soc-grid { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 300px)); }

.soc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(11,47,99,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.soc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,47,99,0.12); }
.soc-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--primary) 0%, #16477f 100%); overflow: hidden; }
.soc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.soc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.soc-play > span { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.25); transition: transform 0.2s ease; }
.soc-card:hover .soc-play > span { transform: scale(1.05); }
.soc-play svg { width: 26px; height: 26px; margin-left: 3px; }
.soc-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,49,104,0.88); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; border-radius: 999px; padding: 5px 10px; }
.soc-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.soc-card h3 { font-size: 20px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.soc-card-note { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.soc-card h3 a { color: inherit; text-decoration: none; }
.soc-card h3 a:hover { text-decoration: underline; }

/* Eroare de încărcare */
.soc-error { max-width: 760px; padding: 28px; border-radius: 24px; background: var(--bg-alt); border: 1px solid var(--border); }
.soc-error p { margin-bottom: 16px; color: var(--text-muted); }

/* Invitația spre configurator (ca pe /film/) */
.cta-section { text-align: center; padding: 8px 0; margin-top: 64px; }
.cta-section h2 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.cta-section p { color: var(--text-muted); margin-bottom: 22px; }

@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 767px), (pointer: coarse) { .soc-more { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 767px) {
  /* Antet pe telefon, ca pe prima pagină (responsive.css): logo de 36 px, comutatorul de limbă stă în meniul mobil */
  .header-inner { padding: 8px 16px; gap: 8px; }
  .logo { min-width: 0; flex-shrink: 1; }
  .logo img { height: 36px; }
  .lang-switch { display: none; }
  .soc-navs { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .soc-hero { padding-top: 40px; }
  .soc-lead { font-size: 17px; }
  .soc-gate { flex-direction: column; gap: 16px; padding: 22px; border-radius: 20px; }
  .soc-gate .soc-btn { display: flex; width: 100%; }
  .soc-row { margin: 16px -16px 0; padding: 4px 16px 16px; scroll-padding-inline: 16px; }
  .soc-grid { grid-template-columns: 1fr; }
  .soc-section h2, .cta-section h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .soc-card:hover, .btn-primary:hover, .soc-btn:hover { transform: none; }
}
