

.treatments__head { max-width: 620px; margin-bottom: 72px; }
.treatments__head--second { margin-top: 104px; margin-bottom: 56px; }

.treatments__subtitle {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}


.tx-row-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.tx-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--shell);
  border: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 160ms ease;
}
.tx-row:hover { background: #E9DCCC; }

.tx-row__media { position: relative; overflow: hidden; min-height: 220px; background: var(--stone); display: block; }
.tx-row__media .slot { position: absolute; inset: 0; }

.tx-row__body { padding: 40px 36px; display: block; }

.tx-row__name {
  display: block;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
}

.tx-row__desc {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
  text-wrap: pretty;
}

.tx-row__more {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}


.aw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.aw-row {
  background: var(--cream);
  border: none;
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease;
}
.aw-row:hover { background: var(--shell); }

.aw-row__name { font-family: var(--display); font-size: 24px; color: var(--ink); }
.aw-row__arrow { font-size: 18px; color: var(--sand); }


.tx-modal {
  position: fixed;
  inset: 0;
  background: rgba(38, 24, 16, 0.55);
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 48px 24px;
}
.tx-modal[hidden] { display: none; }

.tx-modal__panel { background: var(--cream); max-width: 820px; width: 100%; padding: 0 0 56px; }

.tx-modal__media { position: relative; height: 260px; background: var(--shell); }
.tx-modal__media .slot { position: absolute; inset: 0; }

.tx-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: var(--cream);
  color: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

.tx-modal__body { padding: 52px 60px 0; }

.tx-modal__category {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}

.tx-modal__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.14;
  color: var(--ink);
  margin: 0 0 20px;
}

.tx-modal__desc { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 44px; text-wrap: pretty; }
.tx-modal__desc:empty { margin: 0 0 24px; }

.tx-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  margin-bottom: 44px;
}

.tx-modal__field { background: var(--cream); padding: 26px 28px; }

.tx-modal__field-label {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

@media (max-width: 1000px) {
  .tx-row-grid { grid-template-columns: 1fr; }
  .aw-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .tx-row { grid-template-columns: 1fr; }
  .tx-row__media { min-height: 200px; }
  .aw-grid { grid-template-columns: 1fr; }
  .tx-modal { padding: 0; }
  .tx-modal__body { padding: 36px 28px 0; }
  .tx-modal__fields { grid-template-columns: 1fr; }
}


.tx-section + .tx-section { margin-top: 104px; }
.tx-section .treatments__head { margin-bottom: 56px; }

.tx-row { transition: background 200ms ease, transform 260ms ease; }
.tx-row:hover { transform: translateY(-2px); }
.tx-row__media .slot img { transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.tx-row:hover .slot img { transform: scale(1.04); }

.aw-row { transition: background 200ms ease, padding-left 200ms ease; }
.aw-row:hover { padding-left: 46px; }
.aw-row__arrow { transition: transform 220ms ease; }
.aw-row:hover .aw-row__arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .tx-row:hover, .aw-row:hover { transform: none; padding-left: 40px; }
  .tx-row:hover .slot img { transform: none; }
}
