:root {
  --bara: 3.75rem;
  --fundal: #f7f5f2;
  --suprafata: #ffffff;
  --text: #1f1c19;
  --text-slab: #5a534c;
  --linie: #e2dcd4;
  --contur: #8a8178;
  --accent: #7a4a26;
  --accent-inchis: #5c3518;
  --accent-deschis: #f3ebe2;
  --subsol: #2a2521;
  --subsol-text: #f1ece6;
  --stea-plina: #e0a020;
  --stea-goala: #ddd5cb;
  --raza: 0.75rem;
  --rand: 1.6rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fundal);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-inchis);
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.sectiune:focus,
.card:focus:not(:focus-visible) {
  outline: none;
}

.vizual-ascuns {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.bara {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--bara);
  background: var(--suprafata);
  border-bottom: 1px solid var(--linie);
}

.bara-interior {
  width: min(100% - 2rem, 72rem);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bara-titlu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  border-radius: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.bara-titlu:hover {
  color: var(--accent);
}

.bara-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 2.75rem;
  border-radius: 0.4rem;
}

.meniu ul {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meniu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--suprafata);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.meniu a:hover {
  border-color: var(--accent);
  background: var(--accent-deschis);
  color: var(--accent-inchis);
}

.meniu-buton {
  display: none;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--contur);
  border-radius: 999px;
  background: var(--suprafata);
  font-weight: 600;
}

.meniu-icon {
  position: relative;
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.meniu-buton[aria-expanded="true"] .meniu-icon {
  box-shadow: none;
  transform: rotate(45deg);
}

.meniu-buton[aria-expanded="true"] .meniu-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(90deg);
}

@media (max-width: 47.99em) {
  html:not(.js) .bara-interior {
    gap: 0.5rem;
  }

  html:not(.js) .meniu ul {
    gap: 0.25rem;
  }

  html:not(.js) .bara-logo {
    height: 2rem;
  }

  @media (max-width: 24.5em) {
    html:not(.js) .bara-logo {
      width: 2rem;
      object-fit: cover;
      object-position: left center;
    }
  }

  html:not(.js) .meniu a {
    min-height: 2.25rem;
    padding: 0 0.6rem;
    font-size: 0.9rem;
  }

  .js .meniu-buton {
    display: inline-flex;
  }

  .js .meniu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 0 1rem;
    background: var(--suprafata);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 12px 24px rgba(31, 28, 25, 0.08);
  }

  .js .meniu.deschis {
    display: block;
  }

  .js .meniu ul {
    flex-direction: column;
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
  }

  .js .meniu a {
    display: flex;
    min-height: 3rem;
    border-radius: 0.6rem;
  }
}

.antet {
  padding-block: 3rem 2.5rem;
  background: var(--suprafata);
  border-bottom: 1px solid var(--linie);
}

.antet-text {
  max-width: 42rem;
  margin: 0;
  color: var(--text-slab);
  font-size: 1.125rem;
}

.antet-total {
  display: inline-block;
  margin: 1.25rem 0 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-deschis);
  color: var(--accent-inchis);
  font-weight: 600;
}

.sectiune {
  padding-block: 3rem;
  scroll-margin-top: var(--bara);
}

.sectiune-alt {
  background: var(--suprafata);
  border-block: 1px solid var(--linie);
}

.filtre {
  display: none;
}

.js .filtre {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 48em) {
  .js .filtre {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

.camp {
  min-width: 0;
}

.camp label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.camp input,
.camp select {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--contur);
  border-radius: 0.6rem;
  background-color: var(--suprafata);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.camp select {
  padding-right: 2.5rem;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235a534c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.75rem auto;
}

.camp input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.rezultate {
  min-height: var(--rand);
  margin: 0 0 1rem;
  color: var(--text-slab);
  font-weight: 600;
}

.lista-recenzii {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  align-items: start;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.js .lista-recenzii:not(.gata) > .card:nth-child(n + 25) {
  display: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--linie);
  border-radius: var(--raza);
  background: var(--suprafata);
  scroll-margin-top: calc(var(--bara) + 1rem);
}

.card-continut {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.card-autor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 0.75rem;
}

.card-nume {
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.card-cand {
  color: var(--text-slab);
  font-size: 0.875rem;
}

.stele {
  --stea: 1.05rem;
  --umplere: calc(var(--stea) * 5.8);
  display: inline-block;
  flex-shrink: 0;
  width: calc(var(--stea) * 5.8);
  height: var(--stea);
  background: linear-gradient(90deg, var(--stea-plina) var(--umplere), var(--stea-goala) var(--umplere));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.8 24'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / calc(var(--stea) * 1.2) var(--stea) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.8 24'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / calc(var(--stea) * 1.2) var(--stea) repeat-x;
}

.stele.n10 {
  --umplere: calc(var(--stea) * 1);
}

.stele.n15 {
  --umplere: calc(var(--stea) * 1.7);
}

.stele.n20 {
  --umplere: calc(var(--stea) * 2.2);
}

.stele.n25 {
  --umplere: calc(var(--stea) * 2.9);
}

.stele.n30 {
  --umplere: calc(var(--stea) * 3.4);
}

.stele.n35 {
  --umplere: calc(var(--stea) * 4.1);
}

.stele.n40 {
  --umplere: calc(var(--stea) * 4.6);
}

.stele.n45 {
  --umplere: calc(var(--stea) * 5.3);
}

.card-nota {
  display: flex;
  margin: -0.25rem 0 0;
}

.card-text {
  margin: 0;
  font-size: 1rem;
  line-height: var(--rand);
}

.card-text p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.card-text p + p {
  margin-top: var(--rand);
}

.js .card-text {
  max-height: calc(var(--rand) * 6);
  overflow: hidden;
}

.js .card-text.extins {
  max-height: none;
}

.js .card-text.trunchiat {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--rand)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--rand)), transparent);
}

.card-tot {
  align-self: flex-start;
  margin: -0.25rem 0 0;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.card-tot:hover {
  color: var(--accent-inchis);
}

.card-poze {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-poze a {
  display: block;
  border-radius: 0.6rem;
}

.card-poza {
  display: block;
  width: 6rem;
  height: 6rem;
  border: 1px solid var(--linie);
  border-radius: 0.6rem;
  background: var(--fundal);
  object-fit: cover;
  transition: opacity 0.15s ease;
}

.card-poze a:hover .card-poza {
  opacity: 0.85;
}

.card-subsol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--linie);
}

.card-produs-rand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.card-produs-poza,
.produs-poza {
  display: block;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--linie);
  border-radius: 0.5rem;
  background: #fff;
  object-fit: contain;
}

.card-produs {
  margin: 0;
  color: var(--text-slab);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.buton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.buton:hover {
  background: var(--accent);
  color: #fff;
}

.buton-plin {
  background: var(--accent);
  color: #fff;
}

.buton-plin:hover {
  border-color: var(--accent-inchis);
  background: var(--accent-inchis);
}

.mai-multe-zona {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.lista-produse {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.produs {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--linie);
  border-radius: var(--raza);
  background: var(--fundal);
}

.produs-poza {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.produs-nume {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

a.produs-nume::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--raza);
}

.produs:has(a.produs-nume:hover) {
  border-color: var(--accent);
}

.produs-numar {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  color: var(--text-slab);
  font-size: 0.9rem;
  white-space: nowrap;
}

.produs-nota {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.produs-nota .stele {
  --stea: 0.95rem;
}

.produs-medie {
  font-size: 0.9rem;
  font-weight: 700;
}

.produs-nota + .produs-numar {
  grid-row: 2;
}

@media (max-width: 47.99em) {
  .lista-produse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .produs {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 0.4rem;
    padding: 0.75rem;
  }

  .produs-poza,
  .produs-nume,
  .produs-nota,
  .produs-numar,
  .produs-nota + .produs-numar {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .produs-poza {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 0.35rem;
  }

  .produs-nume {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .produs-numar {
    font-size: 0.85rem;
  }
}

.despre-text {
  max-width: 45rem;
}

.despre-text h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.3;
}

.despre-text p {
  margin: 0 0 1rem;
}

.despre-text .despre-indemn {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.6rem 0.6rem 0;
  background: var(--accent-deschis);
  color: var(--accent-inchis);
  font-weight: 600;
}

.subsol {
  padding-block: 2.5rem;
  background: var(--subsol);
  color: var(--subsol-text);
}

.subsol ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subsol a {
  color: var(--subsol-text);
}

.subsol a:hover {
  color: #fff;
}

.subsol :focus-visible {
  outline-color: var(--subsol-text);
}

.istoric {
  --aur: #d6b06a;
  --crem: #f3ebe2;
  position: relative;
  margin-top: 3rem;
  background:
    radial-gradient(48rem 32rem at 0% 0%, rgba(214, 176, 106, 0.16), transparent 70%),
    radial-gradient(56rem 36rem at 100% 100%, rgba(122, 74, 38, 0.5), transparent 70%),
    #2b2019;
  color: var(--crem);
}

.istoric-fixat {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: rgba(214, 176, 106, 0.4) transparent;
}

.istoric-pista {
  --pas: clamp(15rem, 34vw, 32rem);
  --linie: #9c7d4c;
  position: relative;
  display: flex;
  height: 34rem;
  margin: 0;
  padding: 0 max(1rem, (100vw - 72rem) / 2);
  list-style: none;
}

.istoric-pas {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  flex: 0 0 var(--pas);
  margin-right: calc(var(--pas) / -2);
}

.istoric-pas:last-child {
  margin-right: 0;
}

.istoric-pas::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--linie);
}

.istoric-pas:first-child::after {
  left: -4rem;
  background: linear-gradient(90deg, transparent, var(--linie) 4rem);
}

.istoric-pas:last-child::after {
  background: linear-gradient(90deg, var(--linie) 55%, transparent);
}

.istoric-pas::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  margin: -0.375rem 0 0 -0.375rem;
  border-radius: 50%;
  background: var(--aur);
  box-shadow: 0 0 0 0.4rem rgba(214, 176, 106, 0.16);
}

.istoric-continut {
  grid-row: 1;
  align-self: end;
  padding: 0 2rem 2.25rem 0;
}

.istoric-pas:nth-child(even) .istoric-continut {
  grid-row: 2;
  align-self: start;
  padding: 2.25rem 2rem 0 0;
}

.istoric-an {
  margin: 0 0 0.75rem;
  color: var(--aur);
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.istoric-text {
  max-width: 22rem;
  margin: 0;
  color: rgba(243, 235, 226, 0.84);
  line-height: 1.6;
  white-space: pre-line;
}

.js .istoric.activ .istoric-fixat {
  position: sticky;
  top: var(--bara);
  height: calc(100vh - var(--bara));
  height: calc(100svh - var(--bara));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.js .istoric.activ .istoric-pista {
  height: 100%;
  will-change: transform;
}

@media (max-height: 34rem) {
  .istoric-an {
    margin-bottom: 0.4rem;
    font-size: 2rem;
  }

  .istoric-text {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .istoric-continut {
    padding-bottom: 1.25rem;
  }

  .istoric-pas:nth-child(even) .istoric-continut {
    padding-top: 1.25rem;
  }
}

.cronologie {
  --aur: #d6b06a;
  --crem: #f3ebe2;
  --pas: min(78vw, 21rem);
  --eticheta: 5.25rem;
  --punct: 1.25rem;
  position: relative;
  background:
    radial-gradient(48rem 32rem at 100% 0%, rgba(214, 176, 106, 0.14), transparent 70%),
    radial-gradient(56rem 36rem at 0% 100%, rgba(122, 74, 38, 0.5), transparent 70%),
    #2b2019;
  color: var(--crem);
}

.cronologie-fixat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem;
}

.cronologie-antet h2 {
  margin-bottom: 0.5rem;
  color: var(--crem);
}

.cronologie-intro {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  color: rgba(243, 235, 226, 0.78);
}

.cronologie-derulare {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: rgba(214, 176, 106, 0.4) transparent;
}

.cronologie-pista {
  position: relative;
  width: max-content;
  padding: 0 max(1rem, (100vw - 72rem) / 2) 1rem;
}

.cronologie-linie {
  position: absolute;
  top: calc(var(--eticheta) + 1.25rem - 1px);
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(214, 176, 106, 0.22);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
}

.cronologie-umplere {
  position: absolute;
  inset: 0;
  background: var(--aur);
  transform-origin: 0 50%;
}

.cronologie-pasi {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cronologie-pas {
  position: relative;
  flex: 0 0 var(--pas);
  width: var(--pas);
}

.cronologie-pas::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--eticheta) + 1.25rem);
  left: var(--punct);
  width: 0.875rem;
  height: 0.875rem;
  margin: -0.4375rem 0 0 -0.4375rem;
  border-radius: 50%;
  background: var(--aur);
  box-shadow: 0 0 0 0.4rem rgba(214, 176, 106, 0.16);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cronologie.activ .cronologie-pas:not(.atins)::before {
  background: #2b2019;
  box-shadow: inset 0 0 0 2px rgba(214, 176, 106, 0.55);
}

.cronologie-eticheta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: var(--eticheta);
}

.cronologie-deasupra {
  margin: 0 0 0.4rem;
  color: rgba(243, 235, 226, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cronologie-anotimp {
  margin: 0;
  color: var(--aur);
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cronologie-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2.5rem 0 0;
  padding: 1.25rem;
  border-radius: var(--raza);
  background: var(--suprafata);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cronologie-text {
  margin: 0;
}

.cronologie-text p {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.cronologie-autor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--linie);
}

.cronologie-produs {
  display: flex;
  flex: 1 0 100%;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
  color: var(--text-slab);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

a.cronologie-produs:hover {
  color: var(--accent);
}

a.cronologie-produs:hover span {
  text-decoration: underline;
}

.cronologie-produs .card-produs-poza {
  width: 3rem;
  height: 3rem;
}

.cronologie-azi .cronologie-card {
  align-items: flex-start;
  gap: 1rem;
}

.cronologie-total {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.cronologie-numar {
  display: block;
  color: var(--accent);
  font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cronologie-cinci {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text-slab);
  font-weight: 600;
}

.js .cronologie.activ .cronologie-fixat {
  position: sticky;
  top: var(--bara);
  height: calc(100vh - var(--bara));
  height: calc(100svh - var(--bara));
  overflow: hidden;
  padding-block: 1.5rem;
}

.js .cronologie.activ .cronologie-derulare {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.js .cronologie.activ .cronologie-pista {
  will-change: transform;
}

@media (max-height: 46rem) {
  .cronologie {
    --eticheta: 4.25rem;
  }

  .cronologie-intro {
    margin-bottom: 1rem;
  }

  .cronologie-anotimp {
    font-size: 1.6rem;
  }

  .cronologie-card {
    gap: 0.6rem;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.925rem;
    line-height: 1.5;
  }
}

.harta {
  width: min(100% - 2rem, 58rem);
  margin: 3rem auto 0;
}

.harta-cadru {
  position: relative;
}

.harta-fundal {
  display: block;
  width: 100%;
  height: auto;
}

.harta-puncte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.harta-semn {
  transform-box: fill-box;
  transform-origin: center;
}

.harta-punct {
  fill: var(--accent);
  stroke: var(--suprafata);
  stroke-width: 2.5;
}

.harta-unda {
  fill: var(--accent);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.harta-linie {
  stroke: var(--text);
  stroke-width: 1.5;
}

.harta-eticheta {
  fill: var(--text);
  stroke: var(--fundal);
  stroke-width: 5px;
  stroke-linejoin: round;
  paint-order: stroke;
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 47.99em) {
  .harta {
    width: calc(100% - 1rem);
  }

  .harta-semn {
    transform: scale(2);
  }

  .harta-linie {
    stroke-width: 2.5;
  }

  .harta-eticheta {
    font-size: 36px;
  }
}

@keyframes harta-unda {
  0% {
    opacity: 0.45;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(3.4);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .harta-unda {
    animation: harta-unda 2.6s ease-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Actualizare solicitată: logo și text alăturate pe desktop, unul sub altul pe telefon. */
.antet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  width: min(100% - 1rem, 90rem);
  margin-inline: auto;
  padding-block: clamp(0.5rem, 1.5vw, 1.25rem);
  background: transparent;
}

.antet-logo {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.antet-logo img {
  display: block;
  width: 100%;
  max-width: 46rem;
  height: auto;
  object-fit: contain;
}

.antet > .container {
  width: 100%;
  margin: 0;
}

.antet h1 {
  margin-top: 0;
}

@media (max-width: 47.99em) {
  .antet {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    width: min(100% - 1rem, 38rem);
    padding-block: 0.5rem 1rem;
  }

  .antet-logo img {
    width: min(100%, 25rem);
    max-height: 24rem;
    object-fit: contain;
  }

  .antet > .container {
    text-align: center;
  }

  .antet-text {
    margin-inline: auto;
    font-size: 1rem;
  }
}
