/* Pârtia Cârlibaba – Contact și program, 404 (completează stil.css) */

/* butoanele din prima imagine, pe telefon: pe toată lățimea, ca pe prima pagină */
@media (max-width: 640px) {
  .phero__row .btn-row { width: 100%; }
  .phero__row .btn { flex: 1 1 auto; }
}

/* ---------- telefoanele ---------- */

.ct-tels { border-top: 1px solid var(--ink); }
.ct-tel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  grid-template-areas: "who num";
  align-items: center;
  column-gap: clamp(32px, 6vw, 120px);
  padding-block: clamp(26px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line-2);
}
.ct-tel--wa { grid-template-areas: "who num" "wa num"; row-gap: 20px; }
.ct-tel--wa .ct-tel__who { align-self: end; }
.ct-tel__who { grid-area: who; display: grid; gap: 4px; }
.ct-tel__who b { font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.12; letter-spacing: -.022em; font-weight: 600; }
.ct-tel__who span { font-size: 15px; color: var(--muted); }
.ct-tel__num {
  grid-area: num;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  text-decoration: none;
}
.ct-tel__num b {
  font-size: clamp(2.8rem, 8.4vw, 8rem);
  line-height: .9;
  letter-spacing: -.05em;
  font-weight: 600;
  font-stretch: 86%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.ct-tel__num i {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(52px, 5.2vw, 80px);
  height: clamp(52px, 5.2vw, 80px);
  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);
}
.ct-tel__num i svg { width: 24px; height: 24px; }
.ct-tel__num:hover b { color: var(--rust); }
.ct-tel__num:hover i { background: var(--rust); color: #fff; box-shadow: none; }
.ct-tel__wa { grid-area: wa; justify-self: start; align-self: start; }

@media (max-width: 760px) {
  .ct-tel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "num"; row-gap: 14px; }
  .ct-tel--wa { grid-template-areas: "who" "num" "wa"; }
  .ct-tel__wa { justify-self: stretch; margin-top: 6px; }
}

/* ---------- programul ---------- */

.ct-week {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}
.ct-today { display: grid; justify-items: start; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .7); }
.ct-today__label { font-size: 14px; color: rgba(255, 255, 255, .62); }
.ct-today__day { margin-top: clamp(22px, 3.4vw, 48px); font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.12; letter-spacing: -.022em; font-weight: 600; }
.ct-today__hours {
  max-width: 4.4em;
  margin-top: 10px;
  font-size: clamp(3.8rem, 8.6vw, 8.6rem);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 600;
  font-stretch: 84%;
  font-variant-numeric: tabular-nums;
}
.ct-today__note { max-width: 38ch; margin: clamp(24px, 3vw, 40px) 0 22px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

.ct-days { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.ct-days li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
}
.ct-days li span { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.ct-days li b { font-weight: 600; letter-spacing: -.01em; color: rgba(255, 255, 255, .86); }
.ct-days li[data-day="6"] { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .7); }
.ct-days li.is-today span { color: #fff; font-weight: 600; }
.ct-days li.is-today b { color: #fff; }
.ct-days li.is-today span::after {
  content: "Azi";
  padding: 3px 10px 4px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 900px) { .ct-week { grid-template-columns: minmax(0, 1fr); } }

/* ---------- online și lista de linkuri (contact, 404) ---------- */

.ct-online {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: start;
}
.ct-online__head p { max-width: 36ch; margin-top: 22px; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 900px) { .ct-online { grid-template-columns: minmax(0, 1fr); } }

.ct-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ct-links li { border-bottom: 1px solid var(--line-2); }
.ct-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.2vw, 30px) 0;
  text-decoration: none;
}
.ct-links__txt { display: grid; gap: 6px; min-width: 0; }
.ct-links small { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--muted); }
.ct-links small svg { width: 17px; height: 17px; }
.ct-links b {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  font-stretch: 88%;
  overflow-wrap: anywhere;
}
.ct-links__txt > span { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.ct-links i {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  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);
}
.ct-links i svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.ct-links a[target] i svg { transform: rotate(-45deg); }
.ct-links a:hover i { background: var(--ink); color: #fff; box-shadow: none; }
.ct-links a:hover i svg { transform: translateX(3px); }
.ct-links a[target]:hover i svg { transform: rotate(-45deg) translateX(3px); }

.ct-links--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); border-top: 0; }
.ct-links--2 li:nth-child(-n+2) { border-top: 1px solid var(--ink); }
@media (max-width: 760px) {
  .ct-links--2 { grid-template-columns: minmax(0, 1fr); }
  .ct-links--2 li:nth-child(2) { border-top: 0; }
}

/* ---------- termeni ---------- */

.ct-terms { padding-top: 0; }
.ct-terms__in { padding-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-2); }
.ct-terms h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.ct-terms .sec__head { margin-bottom: clamp(32px, 4vw, 56px); }
