/* ═══════════════════════════════════════════
   ПОСЛУГИ
═══════════════════════════════════════════ */
.services-section { background: var(--soil); padding: 110px 56px; }
.services-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-bottom: 72px; align-items: end;
}
.services-desc {
  font-size: 16px; font-weight: 400; line-height: 1.85;
  color: rgba(242,232,214,.72);
}
.svcs { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.svc {
  padding: 48px 36px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.032);
  border-top: 1px solid rgba(242,232,214,.08);
  cursor: none;
}
.svc::before {
  content:''; position:absolute; inset:0;
  background: var(--moss2);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .48s cubic-bezier(.76,0,.24,1);
}
.svc:hover::before { transform: scaleY(1); }
.svc > * { position: relative; z-index: 1; }
.svc-n {
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: var(--terra); margin-bottom: 24px; display: block;
  transition: color .3s;
}
.svc:hover .svc-n { color: rgba(242,232,214,.4); }
.svc-ico { width: 44px; margin-bottom: 24px; opacity: .5; transition: opacity .3s; }
.svc:hover .svc-ico { opacity: 1; }
.svc-name {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--cream); line-height: 1.25; margin-bottom: 12px;
}
.svc-txt {
  font-size: 14px; font-weight: 400; line-height: 1.82;
  color: rgba(242,232,214,.62);
  transition: color .3s;
}
.svc:hover .svc-txt { color: rgba(242,232,214,.88); }
.svc-price {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(242,232,214,.08);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  transition: color .3s, border-color .3s;
}
.svc:hover .svc-price { color: var(--cream); border-top-color: rgba(242,232,214,.2); }

/* Кнопка "Детальніше" */
.svc-more {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(242,232,214,.45);
  background: none; border: none; cursor: none; padding: 0;
  transition: color .3s;
}
.svc-more:hover { color: var(--cream); }
.svc-more .arr {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid rgba(242,232,214,.2);
  transition: border-color .3s, transform .4s;
}
.svc-more:hover .arr { border-color: rgba(242,232,214,.7); }
.svc-more.open .arr { transform: rotate(45deg); }
.svc:hover .svc-more { color: rgba(242,232,214,.7); }

/* Панель деталей — повна ширина під рядком */
.svc-panel {
  grid-column: 1 / -1;
  max-height: 0; overflow: hidden;
  transition: max-height .65s cubic-bezier(.76,0,.24,1);
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(242,232,214,.06);
}
.svc-panel.open { max-height: 620px; }
.svc-panel-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 0; padding: 0 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s ease .2s, transform .4s ease .2s;
}
.svc-panel.open .svc-panel-inner {
  opacity: 1; transform: translateY(0);
}
.svc-panel-left {
  padding: 40px 36px;
  border-right: 1px solid rgba(242,232,214,.07);
}
.svc-panel-title {
  font-family: var(--serif); font-size: 32px; font-weight: 500;
  color: var(--cream); line-height: 1.15; margin-bottom: 16px;
}
.svc-panel-price-big {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.svc-panel-left .btn-solid { margin-top: 8px; }
.svc-panel-right { padding: 40px 38px; }
.svc-panel-desc {
  font-size: 14px; font-weight: 400; line-height: 1.8;
  color: rgba(242,232,214,.72); margin-bottom: 20px;
}
.svc-panel-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px;
  list-style: none;
}
.svc-panel-list li {
  font-size: 13px; font-weight: 400; line-height: 1.6;
  color: rgba(242,232,214,.58);
  display: flex; align-items: flex-start; gap: 10px;
}
.svc-panel-list li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 18px; height: 1px; background: var(--moss); opacity: .7;
}
.svc-panel-close {
  display: flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(242,232,214,.3); background: none; border: none;
  cursor: none; transition: color .3s;
}
.svc-panel-close:hover { color: rgba(242,232,214,.7); }

/* Таблиця цін у панелі */
.price-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.price-table thead tr {
  border-bottom: 1px solid rgba(242,232,214,.15);
}
.price-table th {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(242,232,214,.4); text-align: left;
  padding: 0 16px 14px 0;
}
.price-table th:last-child { text-align: right; padding-right: 0; }
.price-table tbody tr {
  border-bottom: 1px solid rgba(242,232,214,.06);
  transition: background .2s;
}
.price-table tbody tr:hover { background: rgba(255,255,255,.03); }
.price-table td {
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  color: rgba(242,232,214,.72); padding: 14px 16px 14px 0;
  vertical-align: middle;
}
.price-table td:first-child { color: rgba(242,232,214,.9); font-weight: 500; }
.price-table td:last-child { text-align: right; padding-right: 0; color: var(--gold); font-weight: 500; }
.price-table .price-indiv { color: var(--sage); font-style: italic; }
.price-table-note {
  margin-top: 16px; font-size: 12px; font-weight: 400;
  color: rgba(242,232,214,.35); font-style: italic; line-height: 1.6;
}

/* Прайс-таблиці з категоріями */
.price-cat { margin-bottom: 18px; }
.price-cat:last-child { margin-bottom: 0; }
.price-cat-title {
  font-family: var(--sans); font-size: 9px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.price-cat-title::after {
  content: ''; flex: 1; height: 1px; background: rgba(242,232,214,.07);
}
.price-mini { width: 100%; border-collapse: collapse; }
.price-mini tr { border-bottom: 1px solid rgba(242,232,214,.04); }
.price-mini tr:last-child { border-bottom: none; }
.price-mini td {
  font-size: 13px; font-weight: 400; line-height: 1.4;
  padding: 6px 0; vertical-align: middle;
}
.price-mini td:first-child {
  color: rgba(242,232,214,.78); padding-right: 10px; width: 42%;
}
.price-mini td:nth-child(2) {
  color: var(--gold); font-weight: 500; white-space: nowrap;
  padding-right: 10px; width: 26%;
}
.price-mini td:last-child {
  color: rgba(242,232,214,.3); font-size: 11px; font-style: italic;
}
.price-min-note {
  margin-bottom: 14px; padding: 10px 14px;
  background: rgba(184,135,46,.08); border-left: 2px solid var(--gold);
  font-size: 12px; font-weight: 400; color: rgba(242,232,214,.6); line-height: 1.5;
}
.price-min-note strong { color: var(--gold); font-weight: 600; }

/* Скрол у правій колонці для довгих прайсів */
.svc-panel-right.scrollable {
  overflow-y: auto; max-height: 520px;
  scrollbar-width: thin; scrollbar-color: rgba(74,100,56,.5) transparent;
}
.svc-panel-right.scrollable::-webkit-scrollbar { width: 3px; }
.svc-panel-right.scrollable::-webkit-scrollbar-thumb { background: rgba(74,100,56,.5); }

/* Пакети реалізації */
.pkg-list { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; }
.pkg {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(242,232,214,.07);
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.pkg:hover { background: rgba(255,255,255,.07); border-color: rgba(242,232,214,.16); }
.pkg::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.pkg-base::before  { background: var(--sage); }
.pkg-std::before   { background: var(--gold); }
.pkg-max::before   { background: var(--terra); }
.pkg-label {
  font-family: var(--sans); font-size: 9px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap;
}
.pkg-base  .pkg-label { color: var(--sage); }
.pkg-std   .pkg-label { color: var(--gold); }
.pkg-max   .pkg-label { color: var(--terra); }
.pkg-name {
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  color: var(--cream); white-space: nowrap;
}
.pkg-left { display: flex; flex-direction: column; gap: 3px; }
.pkg-includes {
  font-size: 11px; font-weight: 400; color: rgba(242,232,214,.45);
  display: flex; flex-wrap: wrap; gap: 3px 14px;
}
.pkg-includes span { display: flex; align-items: center; gap: 5px; }
.pkg-includes span::before {
  content: ''; display: block; width: 10px; height: 1px;
  background: rgba(242,232,214,.22); flex-shrink: 0;
}
.pkg-price {
  font-family: var(--serif); font-size: 20px; font-weight: 400;
  color: var(--cream); white-space: nowrap; text-align: right;
}
.pkg-price small {
  display: block; font-family: var(--sans); font-size: 9px;
  font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(242,232,214,.3); margin-top: 1px;
}
.svc-last {
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,100,56,.08); border-top-color: rgba(74,100,56,.28);
}
.svc-last::before { display: none; }
.svc-last-inner { text-align: center; }
.svc-last-inner p {
  font-family: var(--serif); font-size: 18px; font-style: italic;
  color: rgba(242,232,214,.5); margin-bottom: 20px;
}
