/* Echipa Empatio, varianta v2 (24 nov. 2026). Generat de build-echipa-v2.py, peste profil-v2.css (sistemul o2: fundal închis,
 * portretele noi). Filtrul vine din echipa.js, orașul din preturi-programe.js. */

.ev-main {
  --color-primary: #5ed0d8; --color-primary-foreground: #06262a; --color-ring: #5ed0d8;
  --color-foreground: #f2eee6; --color-muted-foreground: #c3ccca; --color-border: rgb(242 238 230 / 0.14); --color-card: #141b1d;
}

/* ── titlul + caruselul ─────────────────────────────────────────────────────────────── */
.ev-hero { position: relative; padding-top: clamp(76px, 6vw, 96px); overflow: hidden; }
.ev-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 0%, rgb(94 208 216 / 0.09), transparent 70%); }
.ev-hero-g { display: grid; gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(28px, 4vw, 56px); }
.ev-h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(3.25rem, 11.2vw, 11.5rem);
  line-height: 0.9; letter-spacing: -0.055em; color: var(--o2-ink); }
.ev-h1 span { color: var(--o2-gold); }
.ev-lede { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin: 0;
  max-width: 1100px; font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.45; color: var(--o2-soft); text-wrap: pretty; }
.ev-jump { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--o2-ink); text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
.ev-jump svg { transform: rotate(135deg); }
.ev-arc { margin-top: clamp(8px, 2vw, 24px); }

/* ── cine lucrează unde ─────────────────────────────────────────────────────────────── */
.ev-ls { padding-top: clamp(48px, 7vw, 96px); scroll-margin-top: 72px; }
.ev-ls-hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.ev-filter { display: grid; gap: 12px; margin-top: clamp(24px, 3vw, 36px); padding-block: 20px; border-block: 1px solid var(--o2-line); }
.ev-filter-l { margin: 0; font-size: 0.9375rem; color: var(--o2-mute); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--o2-line); background: transparent;
  color: var(--o2-soft); font: inherit; font-size: 0.9375rem; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .ev-chips button:hover { border-color: rgb(242 238 230 / 0.4); color: var(--o2-ink); } }
.ev-chips .ec-chip[aria-pressed="true"] { background: var(--o2-ink); border-color: var(--o2-ink); color: #0b1012; }
.ev-chips .ev-clear { border-style: dashed; }
.ev-chips button:focus-visible, .ev-seg button:focus-visible { outline: 2px solid var(--o2-teal); outline-offset: 2px; }

.ev-gs { display: grid; gap: clamp(64px, 8vw, 112px); margin-top: clamp(40px, 5vw, 72px); }
.ev-g-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: start; gap: 8px clamp(16px, 2.4vw, 32px);
  padding-bottom: clamp(20px, 2.4vw, 28px); }
.ev-g-i { margin: 0; padding-top: 0.55em; font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--o2-gold); letter-spacing: 0.02em; }
.ev-g-t { display: grid; gap: 8px; min-width: 0; }
.ev-g-n { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; }
.ev-g-n a { color: var(--o2-ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ev-g-n a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; } }
.ev-g-a { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--o2-soft); font-size: 0.9375rem; }
.ev-g-a svg { flex: none; color: var(--o2-gold); }
.ev-g-s { margin: 0; color: var(--o2-mute); font-size: 0.9375rem; line-height: 1.45; max-width: 56ch; }
.ev-g-c { margin: 0; padding-top: 0.35em; font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--o2-ink); white-space: nowrap; }
.ev-g-w { color: var(--o2-mute); font-size: 0.5em; }
.ev-gs:not(.is-f) .ev-g-w { display: none; }
.ev-g-b { align-self: start; white-space: nowrap; }

/* cardurile: portretul 3:4, numele, rolul; săgeata se aprinde la hover */
.ev-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px);
  margin: 0; padding: 0; list-style: none; }
.ev-c { position: relative; display: grid; align-content: start; gap: 12px; transition: opacity 250ms var(--o2-ease); }
.ev-c.is-out { display: none; }
.ev-c-a { position: relative; display: grid; gap: 4px; color: var(--o2-ink); text-decoration: none; border-radius: 18px; }
.ev-c-f { display: block; aspect-ratio: 3 / 4; margin-bottom: 14px; border-radius: 18px; overflow: hidden; background: #161c1e; }
.ev-c-f img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--o2-ease); }
.ev-c-n { font-family: var(--font-display); font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.12; font-weight: 500; letter-spacing: -0.02em;
  text-wrap: balance; }
.ev-c-r { font-size: 0.9375rem; line-height: 1.35; color: var(--o2-soft); }
.ev-c-f { position: relative; }
.ev-c-go { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgb(12 18 20 / 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--o2-ink);
  transition: background-color 150ms ease, color 150ms ease; }
.ev-c-go svg { transform: rotate(45deg); }
.ev-c-a:focus-visible { outline: 2px solid var(--o2-teal); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .ev-cards:has(.ev-c-a:hover) .ev-c:not(:has(.ev-c-a:hover)) { opacity: 0.45; }
  .ev-c-a:hover .ev-c-f img { transform: scale(1.035); }
  .ev-c-a:hover .ev-c-go { background: var(--o2-ink); color: #0b1012; }
}
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ev-tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--o2-line); font-size: 0.8125rem; line-height: 1.4; color: var(--o2-mute); }
.ev-tags li.is-on { border-color: var(--o2-gold); color: var(--o2-gold); }
.ev-g-0 { margin: 0; padding: 24px; border-radius: 18px; border: 1px dashed var(--o2-line); color: var(--o2-soft); }
.ev-g-0 a { color: var(--o2-ink); white-space: nowrap; }
.ev-g.is-empty .ev-cards { display: none; }

/* recepția clinicii: telefonul în stânga, oamenii în dreapta (portrete 3:4, mai mici decât ale specialiștilor); nu se filtrează */
.ev-rec { display: grid; grid-template-columns: minmax(280px, 1fr) auto; align-items: end; gap: 32px clamp(32px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: 28px;
  background: linear-gradient(160deg, #141c1f 0%, #0f1416 70%); box-shadow: inset 0 0 0 1px var(--o2-line); }
.ev-rec-c { display: grid; justify-items: start; gap: 10px; align-self: stretch; align-content: space-between; }
.ev-rec-h { margin: 0; font-size: 0.875rem; color: var(--o2-gold); }
.ev-rec-p { margin: 0 0 auto; max-width: 34ch; color: var(--o2-soft); font-size: 1.0625rem; line-height: 1.45; text-wrap: pretty; }
.ev-rec-tel { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; min-height: 56px; color: var(--o2-ink); text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.ev-rec-ti { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--o2-ink); color: #0b1012;
  transition: transform 160ms var(--o2-ease); }
.ev-rec-tel > span:last-child { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px;
  transition: background-size 380ms var(--o2-ease); }
@media (hover: hover) and (pointer: fine) { .ev-rec-tel:hover > span:last-child { background-size: 100% 1px; } }
.ev-rec-tel:active .ev-rec-ti { transform: scale(0.94); }
.ev-rec-tel:focus-visible { outline: 2px solid var(--o2-teal); outline-offset: 6px; border-radius: 8px; }
.ev-rec-o { margin: 0; font-size: 0.9375rem; color: var(--o2-mute); }
.ev-rec-o a { color: var(--o2-soft); text-underline-offset: 3px; }
.ev-rec-l { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ev-rec-l li { display: grid; align-content: start; gap: 2px; }
.ev-r-f { display: block; aspect-ratio: 3 / 4; margin-bottom: 10px; border-radius: 16px; overflow: hidden; background: #1f2729; }
.ev-r-f img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-r-n { font-weight: 500; font-size: 0.9375rem; line-height: 1.25; color: var(--o2-ink); }
.ev-r-r { font-size: 0.8125rem; color: var(--o2-mute); }

/* ── finalul ────────────────────────────────────────────────────────────────────────── */
.ev-end { border-top: 1px solid var(--o2-line); }
.ev-end-in { display: grid; justify-items: center; gap: 22px; text-align: center; }
.ev-end-h { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 6vw, 5.5rem); line-height: 0.98;
  letter-spacing: -0.045em; text-wrap: balance; }
.ev-end-p { margin: 0; max-width: 46ch; color: var(--o2-soft); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.ev-end-a { margin-top: 8px; }
.ev-end-t { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 16px 0 0; padding: 0; list-style: none; }
.ev-end-t li { display: grid; gap: 2px; font-size: 0.875rem; color: var(--o2-mute); }
.ev-end-t a { color: var(--o2-ink); font-size: 1.0625rem; font-variant-numeric: tabular-nums; text-decoration: none; min-height: 32px; }
@media (hover: hover) and (pointer: fine) { .ev-end-t a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ── lățimi ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) { .ev-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ev-rec { grid-template-columns: minmax(0, 1fr); }
  .ev-rec-p { margin-bottom: 0; }
  .ev-g-h { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ev-g-b { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .ev-c-f { margin-bottom: 10px; border-radius: 14px; }
  .ev-c-go { width: 30px; height: 30px; right: 8px; bottom: 8px; }
  .ev-ls-hd { display: grid; }
  .ev-seg { justify-self: start; }
  .ev-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--o2-pad)); padding-inline: var(--o2-pad); scrollbar-width: none; }
  .ev-chips button { flex: none; }
  .ev-g-h { grid-template-columns: minmax(0, 1fr) auto; }
  .ev-g-i { display: none; }
  .ev-g-b { grid-column: 1 / -1; }
  .ev-rec-l { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ev-rec-l[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-r-n { font-size: 0.875rem; }
  .ev-rec-tel { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-c, .ev-c-f img { transition: none; }
  .ev-c-a:hover .ev-c-f img { transform: none; }
}

/* cardul de cariere (24 nov.): un loc liber în echipă — silueta plină, în proporțiile portretelor, și „+” pe piept */
/* fundalul de studio al portretelor (gri-negru, lumină moale sus), pe ambele teme */
.ev-hire-f { position: relative; display: block; color: #f2eee6;
  background: radial-gradient(70% 55% at 50% 32%, #2d3537 0%, #1a2022 55%, #101416 100%); }
.ev-hire-i { transform-origin: 50% 100%; transition: transform 700ms var(--o2-ease); }
.ev-hire-p { position: absolute; left: 50%; top: 86%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: #f2eee6; color: #0b1012; box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.6);
  transition: transform 450ms var(--o2-ease), background-color 200ms ease; }
.ev-hire-p svg { transition: transform 450ms var(--o2-ease); }
.ev-hire .ev-c-n { color: var(--o2-ink); }
@media (hover: hover) and (pointer: fine) {
  .ev-hire .ev-c-a:hover .ev-hire-i { transform: scale(1.03); }
  .ev-hire .ev-c-a:hover .ev-hire-p { transform: scale(1.08); background: var(--o2-gold); }
  .ev-hire .ev-c-a:hover .ev-hire-p svg { transform: rotate(90deg); }
}
.ev-hire .ev-c-a:active .ev-hire-p { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) { .ev-hire-i, .ev-hire-p, .ev-hire-p svg { transition: background-color 200ms ease; } .ev-hire .ev-c-a:hover :is(.ev-hire-i, .ev-hire-p, .ev-hire-p svg) { transform: none; } }
@media (max-width: 640px) { .ev-hire-p { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .ev-hire-p svg { width: 18px; height: 18px; } }

/* ── Telefon (24 nov.): carduri mai scurte (portret 4:5, prima etichetă + „+n”), secțiuni mai apropiate ── */
@media (max-width: 640px) {
  .ev-gs { gap: 56px; margin-top: 32px; }
  .ev-cards { gap: 24px 12px; }
  .ev-c { gap: 8px; }
  .ev-c-f { aspect-ratio: 4 / 5; }
  .ev-c-n { font-size: 1.0625rem; }
  .ev-c-r { font-size: 0.8125rem; }
  .ev-tags { gap: 4px; flex-wrap: nowrap; min-width: 0; }
  .ev-tags li { min-width: 0; padding: 2px 8px; font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ev-tags::after { flex: none; }
  .ev-tags li:nth-child(n+2):not(.is-on) { display: none; }
  .ev-tags[data-n]::after { content: attr(data-n); padding: 2px 4px; font-size: 0.75rem; line-height: 1.4; color: var(--o2-mute); font-variant-numeric: tabular-nums; }
  .ev-gs.is-f .ev-tags[data-n]::after { content: none; }
  .ev-rec { margin-top: 32px; padding: 20px; border-radius: 22px; gap: 20px; }
  .ev-rec-p { font-size: 1rem; }
  .ev-rec-tel { margin-top: 10px; }
  .ev-rec-ti { width: 44px; height: 44px; }
  .ev-g-n { font-size: 1.75rem; }
  .ev-end-h { font-size: 2rem; }
}
