/* Hub-ul de echipament (/ro/mantrailing/echipament + /en/mantrailing/equipment), redesenat 2026-11-17.
   Totul e izolat în .eq. Selectorii au două clase (.eq .eq__x) fiindcă tema „mad” din style.css
   are reguli (0,1,1) pe h1/h2/p/a/li care bat o clasă simplă.
   Aceeași familie vizuală cu voluntariat.css și sar-voluntar.css. */
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/fonts/inter/Inter-instructors-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

.eq {
  --eq-navy: var(--color-secondary, #0A3A71);
  --eq-red: var(--color-primary, #C83021);
  --eq-red-dark: #AD281C;
  --eq-tint: #F2F5F8;
  --eq-text: #333;
  --eq-line: #CED8E2;
  --eq-display: 'Inter Display', 'Inter', system-ui, sans-serif;
  background: #fff;
  color: var(--eq-text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.eq *, .eq *::before, .eq *::after { box-sizing: border-box; }
.eq strong { font-weight: 700; }
.eq a:focus-visible {
  /* Tema veche șterge conturul de focus cu !important. */
  outline: 3px solid #1674D1 !important;
  outline-offset: 3px;
}
.eq .eq__hero a:focus-visible, .eq .eq__cta a:focus-visible { outline-color: #fff !important; }

.eq .eq__wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 32px; }
.eq .eq__section { padding-block: 96px; scroll-margin-top: 24px; }
.eq .eq__section--tint { background: var(--eq-tint); }

/* ---------- tipografie ---------- */
.eq .eq__eyebrow { margin: 0 0 14px; color: var(--eq-red); font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; }
.eq .eq__eyebrow--light { color: #fff; }
.eq .eq__h2 { margin: 0; color: var(--eq-navy); font-family: var(--eq-display); font-size: 42px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.eq .eq__p { margin: 0; max-width: 64ch; line-height: 1.6; }
.eq .eq__link { color: var(--eq-navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.eq .eq__link:hover { color: var(--eq-red); }
.eq .eq__p + .eq__p { margin-top: 14px; }

/* ---------- butoane ---------- */
.eq .eq__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 10px 24px;
  border: 2px solid var(--eq-red); border-radius: 12px; background: var(--eq-red); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.eq .eq__btn:hover { border-color: var(--eq-red-dark); background: var(--eq-red-dark); color: #fff; }
.eq .eq__btn--white { border-color: #fff; background: transparent; }
.eq .eq__btn--white:hover { border-color: #fff; background: #fff; color: var(--eq-navy); }
.eq .eq__arrow { flex: none; width: 20px; height: 20px; }

/* ---------- hero ---------- */
.eq .eq__hero { display: grid; grid-template-columns: 50% 50%; min-height: 560px; background: var(--eq-navy); }
.eq .eq__hero-text { padding: 36px 64px 72px max(32px, calc((100vw - 1240px) / 2 + 32px)); color: #fff; }
.eq .eq__crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 48px; color: #fff; font-size: 13px; opacity: .85; }
.eq .eq__crumb { color: #fff; text-decoration: none; }
.eq .eq__crumb:hover { color: #fff; text-decoration: underline; }
.eq .eq__h1 { margin: 0 0 28px; color: #fff; font-family: var(--eq-display); font-size: clamp(42px, 4.2vw, 60px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.eq .eq__mark { position: relative; display: inline-block; white-space: nowrap; }
.eq .eq__mark::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -5px; height: 7px; border-radius: 8px; background: var(--eq-red); transform: rotate(-1deg); }
.eq .eq__hero-lead { margin: 0 0 34px; max-width: 26em; color: #fff; font-size: 20px; line-height: 1.6; }
.eq .eq__hero-media { position: relative; min-height: 340px; }
.eq .eq__hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* ---------- scurtături ---------- */
.eq .eq__index-list { display: grid; grid-template-columns: repeat(5, 1fr); margin-block: 0; padding-block: 0; list-style: none; }
.eq .eq__index-list::after { content: ""; grid-column: 1 / -1; border-bottom: 1px solid var(--eq-line); }
.eq .eq__index-item { margin: 0; }
.eq .eq__index-item + .eq__index-item { border-left: 1px solid var(--eq-line); }
.eq .eq__index-link { display: block; height: 100%; padding: 26px 20px 26px 0; text-decoration: none; }
.eq .eq__index-item + .eq__index-item .eq__index-link { padding-left: 24px; }
.eq .eq__index-n { display: block; color: var(--eq-red); font-family: var(--eq-display); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.eq .eq__index-text { display: block; color: var(--eq-navy); font-size: 18px; font-weight: 700; line-height: 1.3; transition: color .2s ease; }
.eq .eq__index-link:hover .eq__index-text { color: var(--eq-red); }

/* ---------- intro ---------- */
.eq .eq__intro { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.eq .eq__intro-lead { margin: 0; color: var(--eq-navy); font-size: 27px; font-weight: 600; line-height: 1.35; }
.eq .eq__intro-must { margin: 28px 0 0; padding: 6px 0 6px 24px; border-left: 5px solid var(--eq-red); color: var(--eq-navy); font-size: 20px; font-weight: 600; line-height: 1.45; }

/* ---------- piesele ---------- */
.eq .eq__pieces-title { max-width: 16em; margin-bottom: 56px; }
.eq .eq__piece { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; scroll-margin-top: 24px; }
.eq .eq__piece + .eq__piece { margin-top: 72px; }
.eq .eq__piece--flip { grid-template-columns: 5fr 6fr; }
.eq .eq__piece--flip .eq__piece-media { order: 2; }
.eq .eq__piece-media { position: relative; }
.eq .eq__piece-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 24px; object-fit: cover; }
.eq .eq__piece-n { position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--eq-red); font-family: var(--eq-display); font-size: 18px; font-weight: 800; line-height: 1; }
.eq .eq__piece-title { margin-bottom: 18px; font-size: 38px; }
.eq .eq__piece-btn { margin-top: 26px; }

/* ---------- cta ---------- */
.eq .eq__cta { position: relative; padding: 112px 0; background: var(--eq-navy); color: #fff; text-align: center; }
.eq .eq__cta-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.eq .eq__cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(10, 58, 113, .78); }
.eq .eq__cta-inner { position: relative; z-index: 2; }
.eq .eq__cta-title { margin-bottom: 18px; color: #fff; font-size: 46px; }
.eq .eq__cta-p { margin: 0 auto 32px; max-width: 34em; color: #fff; font-size: 20px; line-height: 1.6; }
.eq .eq__cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- tabletă ---------- */
@media (max-width: 1100px) {
  .eq .eq__intro { gap: 48px; }
  .eq .eq__piece { gap: 48px; }
  .eq .eq__hero-text { padding-right: 40px; }
  .eq .eq__index-link { padding-right: 12px; }
  .eq .eq__index-item + .eq__index-item .eq__index-link { padding-left: 16px; }
  .eq .eq__index-text { font-size: 16px; }
}

@media (max-width: 900px) {
  .eq .eq__section { padding-block: 64px; }
  .eq .eq__hero { display: block; min-height: 0; }
  .eq .eq__hero-text { padding: 28px 32px 48px; }
  .eq .eq__hero-media { height: 400px; }
  .eq .eq__intro, .eq .eq__piece, .eq .eq__piece--flip { grid-template-columns: 1fr; gap: 28px; }
  .eq .eq__piece--flip .eq__piece-media { order: 0; }
  .eq .eq__piece + .eq__piece { margin-top: 56px; }
  /* Scurtăturile devin o bandă care se derulează orizontal. */
  .eq .eq__index { border-bottom: 1px solid var(--eq-line); }
  .eq .eq__index-list { display: flex; overflow-x: auto; scrollbar-width: none; }
  .eq .eq__index-list::-webkit-scrollbar { display: none; }
  .eq .eq__index-list::after { display: none; }
  .eq .eq__index-item { flex: none; }
  .eq .eq__index-link { padding: 18px 18px 18px 0; }
  .eq .eq__index-item + .eq__index-item .eq__index-link { padding-left: 18px; }
  .eq .eq__index-text { white-space: nowrap; }
}

/* ---------- mobil ---------- */
@media (max-width: 600px) {
  .eq { font-size: 16px; }
  .eq .eq__wrap { padding-inline: 20px; }
  .eq .eq__section { padding-block: 56px; }
  .eq .eq__h2 { font-size: 30px; }
  .eq .eq__hero-text { padding: 24px 20px 40px; }
  .eq .eq__crumbs { margin-bottom: 24px; }
  .eq .eq__h1 { margin-bottom: 20px; font-size: 38px; }
  .eq .eq__hero-lead { margin-bottom: 26px; font-size: 17px; }
  .eq .eq__hero-media { height: 250px; }
  .eq .eq__intro-lead { font-size: 22px; }
  .eq .eq__intro-must { margin-top: 22px; padding-left: 18px; font-size: 18px; }
  .eq .eq__pieces-title { margin-bottom: 32px; }
  .eq .eq__piece { gap: 22px; }
  .eq .eq__piece + .eq__piece { margin-top: 52px; }
  .eq .eq__piece-title { margin-bottom: 12px; font-size: 28px; }
  .eq .eq__piece-n { left: 16px; top: 16px; width: 46px; height: 46px; font-size: 15px; }
  .eq .eq__piece-btn { display: flex; justify-content: space-between; }
  .eq .eq__cta { padding: 72px 0; }
  .eq .eq__cta-title { font-size: 30px; }
  .eq .eq__cta-p { font-size: 18px; }
  .eq .eq__cta-actions { flex-direction: column; }
}

@media (max-width: 360px) {
  .eq .eq__wrap { padding-inline: 16px; }
  .eq .eq__hero-text { padding-inline: 16px; }
  .eq .eq__h1 { font-size: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  .eq *, .eq *::before, .eq *::after { transition: none !important; }
}
