/* ==========================================================================
   Magic Hub — site de prezentare al grupului (Jucărie și Magie + Expert Magic)

   Limbajul vizual e împrumutat strict din cele două teme, măsurat pe
   instanțele locale (2026-10-27):
   - 01bold (jucariesimagie.ro): font de sistem Segoe UI / Helvetica Neue,
     titluri 700 cu litere strânse, benzi negre pe titluri, kicker gri 600,
     butoane negre dreptunghiulare, fără săgeți (hover portocaliu, text negru),
     linii negre de 1px deasupra coloanelor, separatoare #d6d6d6, pagină albă
     încadrată de fundal #101114, accent #ff4c24 doar punctual.
   - 01neon (expertmagic.ro, varianta light): Poppins, ink #12151e, eyebrow
     11px/600 uppercase cu spațiere 1.54px, carduri cu chenar 1px
     rgba(18,21,30,.2), cardul evidențiat #f3f3f4 cu chenar #545760,
     butoane #12151e de 54px, 13px/600, fără rotunjiri.
   Fără gradiente, umbre, blur, animații sau colțuri rotunjite.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* 01bold */
  --frame: #101114;
  --frame-text: #e5e7eb;
  --black: #000;
  --ink: #171717;
  --muted: #535353;
  --rule: #d6d6d6;
  --tile: #f4f4f4;
  --accent: #ff4c24;
  --bold-font: "Segoe Ui", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* 01neon */
  --n-ink: #12151e;
  --n-muted: #545760;
  --n-line: rgba(18, 21, 30, .2);
  --n-soft: #f3f3f4;
  --n-font: "Poppins", sans-serif;

  --page-pad: clamp(16px, 5vw, 70px);
  --section-pad: clamp(56px, 7vw, 90px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--frame);
  color: var(--ink);
  font: 400 16px/1.65 var(--bold-font);
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--black); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Cadrul 01bold: bară sus + pagină albă încadrată ---------- */
.topbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding: 8px 20px; color: var(--frame-text); font-size: 14px;
}
.topbar a { text-decoration: none; }
.page { background: #fff; margin: 0 20px; }
@media (max-width: 767px) { .page { margin: 0; } .topbar { padding-inline: 16px; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: 22px var(--page-pad); background: #fff; border-bottom: 1px solid var(--rule);
}
.logo { font-weight: 700; font-size: 26px; letter-spacing: -.04em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; font-size: 18px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a + a::before { content: "/"; margin: 0 14px; font-weight: 400; color: var(--ink); }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.menu-btn { display: none; padding: 8px 14px; border: 1px solid var(--black); background: #fff; font-weight: 700; cursor: pointer; }

@media (max-width: 899px) {
  .js .menu-btn { display: block; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 12px 0; border-top: 1px solid var(--rule); }
  .js .nav a + a::before { display: none; }
  html:not(.js) .nav { font-size: 16px; }
  .js .nav--static { display: flex; width: auto; }
  .js .nav--static a { border: 0; padding: 0; }
}

/* ---------- Tipografie 01bold ---------- */
.kicker { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 20px; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; margin-bottom: 10px; }
.h3--lg { font-size: clamp(24px, 2.6vw, 30px); }
.lead { max-width: 62ch; font-size: 17px; color: var(--ink); }
.small { font-size: 14px; color: var(--muted); }

/* Titlu pe bandă neagră (product-list.scss din 01bold) */
.band { font-weight: 700; letter-spacing: -.055em; line-height: 1.22; font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 28px; }
.band span, .band--h2 span {
  background: var(--black); color: #fff; padding: .02em .14em .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.band--h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.3; letter-spacing: -.035em; }

/* ---------- Butoane și linkuri 01bold ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 13px 19px;
  background: var(--black); color: #fff; font-weight: 600; text-decoration: none; border: 0;
}
.btn:hover, .btn:focus-visible { background: var(--accent); color: var(--black); }
.arrow-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; text-decoration: none; }
.arrow-link:hover, .arrow-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.big-link { font-size: 28px; font-weight: 700; letter-spacing: -.035em; text-decoration: none; }

/* ---------- Secțiuni 01bold ---------- */
.section { padding: var(--section-pad) var(--page-pad); }
.section--ruled { border-top: 1px solid var(--rule); }

.hero { display: grid; gap: 32px; align-items: center; padding: 48px var(--page-pad) 0; }
.hero__lead { max-width: 44ch; font-size: 17px; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 5fr 7fr; gap: 0; }
  .hero__copy { position: relative; z-index: 1; margin-right: -12%; }
}

.facts { display: grid; gap: 28px; margin: 0; }
.facts > div { display: flex; flex-direction: column-reverse; padding-top: 20px; border-top: 1px solid var(--black); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.cols { display: grid; gap: 40px 28px; margin-top: 44px; }
@media (min-width: 760px) { .cols--2 { grid-template-columns: repeat(2, 1fr); } .cols--3 { grid-template-columns: repeat(3, 1fr); } }
.col { padding-top: 20px; border-top: 1px solid var(--black); }
.col > p:not(.kicker) { color: var(--muted); }
.col a:not(.arrow-link):not(.big-link) { font-weight: 700; }
.suit { display: block; font-size: 40px; line-height: 1; margin-bottom: 20px; }
.list { margin: 0 0 20px; }
.list li { padding: 8px 0; border-bottom: 1px solid var(--rule); }

.tile picture { background: var(--tile); margin-bottom: 18px; }
.tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tile p { color: var(--muted); }

.slashes { display: flex; flex-wrap: wrap; margin-top: 44px; font-weight: 700; }
.slashes a { text-decoration: none; }
.slashes a:hover { text-decoration: underline; text-underline-offset: 4px; }
.slashes a + a::before { content: "/"; margin: 0 12px; font-weight: 400; }

.boxed { display: grid; gap: 8px 48px; margin-top: 56px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--black); }
.boxed p:not(.kicker) { color: var(--muted); max-width: 64ch; margin: 0; }
@media (min-width: 960px) { .boxed { grid-template-columns: 1.6fr 1fr; align-items: end; } .boxed .actions { justify-content: flex-end; margin-top: 0; } }

.visit { display: grid; gap: 48px; }
@media (min-width: 960px) { .visit { grid-template-columns: 1.3fr 1fr; } }
.address { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--black); color: var(--muted); }
.address strong { color: var(--ink); }
.hours { padding-top: 20px; border-top: 1px solid var(--black); }
.hours .h3 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.hours__now { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.hours__now.is-open { color: var(--ink); }
.hours__now.is-open::before { content: "● "; color: var(--accent); }
.hours table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }

.legal { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

/* ==========================================================================
   Expert Magic — 01neon (light)
   ========================================================================== */
.neon { padding: var(--section-pad) var(--page-pad); border-top: 1px solid var(--rule); font-family: var(--n-font); color: var(--n-ink); font-size: 15px; }
.neon p { color: var(--n-muted); }
.neon__head { max-width: 760px; margin-bottom: 48px; }
.neon__eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 1.54px; text-transform: uppercase; color: var(--n-muted); }
.neon__h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1.18; margin-bottom: 16px; }
.neon__h3 { font-size: 25px; font-weight: 800; letter-spacing: -.5px; line-height: 1.3; margin-bottom: 12px; }
.neon__h3--lg { font-size: clamp(25px, 2.6vw, 32px); letter-spacing: -.04em; }
.neon__lead { font-size: 16px; }
.neon__link { font-size: 13px; font-weight: 600; color: var(--n-ink); text-underline-offset: 4px; }
.neon__link:hover { color: var(--n-muted); }
.neon__note { margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--n-line); }
.neon__note strong { color: var(--n-ink); }

.nbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 15px 20px;
  background: var(--n-ink); color: #fff; border: 1px solid var(--n-ink);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.nbtn:hover, .nbtn:focus-visible { background: #fff; color: var(--n-ink); }

.plans { display: grid; gap: 24px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--n-line); }
.plan--value { background: var(--n-soft); border-color: var(--n-muted); }
.plan__price { margin: 4px 0 16px; color: var(--n-ink) !important; font-size: 25px; font-weight: 700; }
.plan__price strong { font-size: clamp(56px, 6vw, 68px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-right: 6px; }
.plan__price span { font-size: 14px; font-weight: 400; color: var(--n-muted); }
.plan__note { padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--n-line); }
.plan__note strong { color: var(--n-ink); }
.plan .nbtn { margin-top: auto; width: 100%; }

.included { display: grid; gap: 24px 48px; margin-top: 48px; }
@media (min-width: 760px) { .included { grid-template-columns: 1fr 1.6fr; } }
.squares { display: grid; gap: 14px 32px; align-content: start; }
@media (min-width: 560px) { .squares { grid-template-columns: 1fr 1fr; } }
.squares li { position: relative; padding-left: 18px; font-size: 13px; font-weight: 600; }
.squares li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--n-ink); }

.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin: 72px 0 20px; }
.rail-head .neon__h3 { margin: 0; }
.rail-head__nav { display: flex; align-items: center; gap: 8px; }
.rail-head__nav .neon__link { margin-left: 12px; }
.rail-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--n-line); background: #fff; cursor: pointer; }
.rail-btn:hover { border-color: var(--n-ink); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.js .rail-btn { display: inline-block; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(180px, 19vw, 220px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px;
  scrollbar-width: thin; scrollbar-color: var(--n-line) transparent;
}
.rail > li { scroll-snap-align: start; }
.course { display: grid; gap: 4px; text-decoration: none; }
.course picture { border: 1px solid var(--n-line); margin-bottom: 10px; }
.course img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.course__level { font-size: 11px; font-weight: 600; letter-spacing: 1.54px; text-transform: uppercase; color: var(--n-muted); }
.course__name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.course__meta { font-size: 13px; color: var(--n-muted); }
.course:hover .course__name { text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; gap: 28px 56px; align-items: center; margin-top: 80px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .actions { gap: 14px 24px; }

.formats { margin: 8px 0 0; border-top: 1px solid var(--n-line); }
.formats > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--n-line); }
.formats dt { font-weight: 600; }
.formats dd { margin: 0; font-size: 13px; color: var(--n-muted); }

/* ---------- Footer (cadrul 01bold) ---------- */
.footer { padding: 48px 20px 28px; color: #999; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; padding: 0 var(--page-pad) 28px; border-bottom: 1px solid #2a2b30; }
.footer__cols > div { display: grid; gap: 8px; align-content: start; }
.footer__h { margin: 0 0 4px; color: #fff; font-weight: 700; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin: 20px 0 0; padding: 0 var(--page-pad); font-size: 13px; }

/* ---------- Pagini simple (confidențialitate, 404) ---------- */
.doc { padding: var(--section-pad) var(--page-pad); }
.doc > * { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 12px; }
.doc h2 { font-size: 20px; font-weight: 700; letter-spacing: -.035em; margin: 36px 0 10px; padding-top: 16px; border-top: 1px solid var(--rule); }
.doc p, .doc li { color: var(--muted); }
.doc ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.doc a { color: var(--ink); font-weight: 700; }

@media print {
  body { background: #fff; }
  .topbar, .header, .rail-head__nav, .hero__media { display: none !important; }
  .page { margin: 0; }
}
