/* Cazare (cazare.html) – peste stil.css */

/* ---------- filtrele: pastile cu numărul în dreapta ---------- */

.cz-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 4.4vw, 64px); }
.cz-filters button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 9px 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.cz-filters button span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--snow);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  transition: background-color .25s var(--ease);
}
.cz-filters button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cz-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.cz-filters button[aria-pressed="true"] span { background: rgba(255, 255, 255, .16); }

/* ---------- gazdele ---------- */

.cz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 76px) clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cz { display: flex; flex-direction: column; min-width: 0; }
.cz__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--snow);
}
.cz__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cz:has(.cz__call:hover) .cz__media img { transform: scale(1.04); }
.cz__txt { padding: clamp(18px, 1.8vw, 24px) 0 18px; }
.cz h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
  font-stretch: 88%;
  text-wrap: balance;
}
.cz__txt p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* rândul cu telefonul, ca la instructori */
.cz__call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.cz__call span { transition: color .25s var(--ease); }
.cz__call i {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.cz__call i svg { width: 19px; height: 19px; }
.cz__call:hover span { color: var(--rust); }
.cz__call:hover i { background: var(--rust); color: #fff; box-shadow: none; }

/* gazdele fără fotografie: rânduri de registru, sub grilă */
.cz-list { margin: clamp(64px, 7vw, 112px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.cz-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px clamp(24px, 3vw, 48px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
}
.cz-row h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
  font-stretch: 88%;
}
.cz-row p { font-size: 15.5px; color: var(--muted); }
.cz-row .cz__call { margin: 0; padding: 0; border: 0; gap: 18px; }

@media (max-width: 1019px) {
  .cz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cz-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cz-row p { grid-row: 2; }
  .cz-row .cz__call { grid-row: 1 / span 2; grid-column: 2; }
}

/* telefon: rânduri compacte, poza în stânga */
@media (max-width: 599px) {
  .cz-filters { gap: 8px; }
  .cz-filters button { min-height: 46px; padding: 0 7px 0 16px; gap: 10px; font-size: 14.5px; }
  .cz-filters button span { min-width: 30px; height: 30px; font-size: 13px; }
  .cz-grid { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--line); }
  .cz {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .cz__media { grid-row: 1 / span 2; align-self: start; border-radius: var(--r-sm); }
  .cz__txt { padding: 2px 0 12px; }
  .cz h3 { font-size: 1.25rem; line-height: 1.1; }
  .cz__txt p { margin-top: 4px; font-size: 14px; line-height: 1.35; }
  .cz__call { align-self: end; padding-top: 0; border-top: 0; font-size: 15.5px; gap: 8px; justify-content: flex-start; }
  .cz__call i { order: -1; width: 36px; height: 36px; background: var(--ink); color: #fff; box-shadow: none; }
  .cz__call i svg { width: 16px; height: 16px; }
  .cz-list { margin-top: 0; border-top: 0; }
  .cz-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .cz-row p { margin-top: 4px; font-size: 14px; }
  .cz-row .cz__call { align-self: flex-start; margin-top: 12px; gap: 8px; }
}

/* ---------- sfaturile ---------- */

.cz-tips {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px clamp(32px, 6vw, 120px);
  align-items: start;
}
.cz-tips__head { position: sticky; top: calc(var(--hdr) + 32px); }
.cz-tips__head p { max-width: 38ch; margin-top: 26px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.cz-notes { grid-template-columns: 1fr; border-bottom: 1px solid var(--line-2); }
.cz-notes li { padding: 26px 0 28px 64px; font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--muted); }
.cz-notes li::before { top: 33px; font-size: 14px; }
.cz-notes li b {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-stretch: 88%;
}
.cz-notes li:first-child { border-top-color: var(--ink); }
@media (max-width: 900px) {
  .cz-tips { grid-template-columns: 1fr; }
  .cz-tips__head { position: static; }
}
@media (max-width: 560px) {
  .cz-notes li { padding-left: 44px; }
}
