/* Services catalog (UZI) — hero + quick-pick + filters + grouped list */
.svc-catalog {
  padding: 50px 0 70px;
  background: #f7f9fb;
  font-family: 'Poppins', system-ui, sans-serif;
}


/* Anatomy icon via mask — color via currentColor */
.anatomy-icon {
  display: inline-block;
  width: 1em; height: 1em;
  background-color: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Hero */
.svc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  background: #163E40;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 28px;
}
.svc-hero__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
  color: #ffffff !important;
  font-family: 'Poppins', system-ui, sans-serif;
}
.svc-hero__lead {
  font-size: 14.5px;
  color: rgba(255,255,255,.85) !important;
  margin: 0;
  line-height: 1.5;
}
.svc-hero__search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s;
}
.svc-hero__search:focus-within {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}
.svc-hero__search > i {
  color: rgba(255,255,255,.6);
  font-size: 20px;
  margin-right: 10px;
}
.svc-hero__search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  padding: 13px 8px;
  outline: none;
  min-width: 0;
}
.svc-hero__search input::placeholder { color: rgba(255,255,255,.55); }
#svc-search-clear {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background .2s;
}
.svc-hero__search.has-value #svc-search-clear { display: inline-flex; }
#svc-search-clear:hover { background: rgba(255,255,255,.28); }

/* Quick-pick cards */
.qp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.qp-card {
  display: grid;
  grid-template-areas:
    "icon arrow"
    "label label"
    "count count";
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  text-decoration: none;
  color: #163E40;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
}
.qp-card:hover {
  border-color: #226468;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22,62,64,.08);
}
.qp-card__icon {
  grid-area: icon;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,100,104,.08);
  border-radius: 12px;
  color: #154F58;
  font-size: 32px;
}
.qp-card__icon .anatomy-icon { width: 1em; height: 1em; }
.qp-card:hover .qp-card__icon {
  background: #226468;
  color: #fff;
}
.qp-card__arrow {
  grid-area: arrow;
  align-self: start;
  color: #c5cdd8;
  font-size: 22px;
  transition: color .2s, transform .15s;
}
.qp-card:hover .qp-card__arrow {
  color: #226468;
  transform: translateX(3px);
}
.qp-card__label {
  grid-area: label;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.3;
  margin-top: 8px;
}
.qp-card__count {
  grid-area: count;
  color: #6b7a8c;
  font-size: 12.5px;
  font-weight: 500;
}
.qp-card.is-active {
  border-color: #226468;
  background: #fff;
}

/* Filters (sticky) */
.svc-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  margin-bottom: 18px;
  position: sticky;
  top: 84px;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(22,62,64,.04);
}
.svc-filters__label {
  color: #6b7a8c;
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}
.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f3f6fa;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: #4A6577;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.svc-chip i { font-size: 15px; }
.svc-chip:hover { background: #e8edf3; color: #163E40; }
.svc-chip.is-active {
  background: #22646820;
  color: #154F58;
  border-color: #22646855;
}
.svc-chip__count {
  background: rgba(0,0,0,.06);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.svc-chip.is-active .svc-chip__count {
  background: #226468;
  color: #fff;
}
.svc-filters__results {
  margin-left: auto;
  color: #6b7a8c;
  font-size: 12.5px;
  font-weight: 500;
}

/* Sections */
.svc-sections { display: flex; flex-direction: column; gap: 22px; }
.svc-section {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 22px 26px 18px;
  transition: opacity .25s;
}
.svc-section[hidden] { display: none; }
.svc-section.is-dimmed { opacity: .35; }
.svc-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f5;
}
.svc-section__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: #163E40;
  margin: 0;
}
.svc-section__title .anatomy-icon {
  width: 38px; height: 38px;
  color: #154F58;
  flex-shrink: 0;
}
.svc-section__title {
  background: linear-gradient(135deg, rgba(34,100,104,.12), transparent);
  padding: 8px 12px;
  margin: -8px -12px 0;
  border-radius: 10px;
}
.svc-section__count {
  color: #6b7a8c;
  font-size: 13px;
  font-weight: 500;
  background: #f3f6fa;
  padding: 4px 10px;
  border-radius: 999px;
}

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid #f0f3f7;
  transition: background .15s;
}
.svc-row:last-child { border-bottom: 0; }
.svc-row[hidden] { display: none; }
.svc-row:hover { background: #fafcfd; }
.svc-row__main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}
.svc-row__title {
  color: #163E40;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}
.svc-row__tags {
  display: inline-flex;
  gap: 4px;
  flex-shrink: 0;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: lowercase;
}
.svc-tag i { font-size: 12px; }
.svc-tag--child { background: rgba(244,159,87,.12); color: #d96f3c; }
.svc-tag--home { background: rgba(20,160,228,.12); color: #1380c2; }
.svc-row__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.svc-row__duration {
  display: inline-flex; align-items: center; gap: 4px;
  color: #6b7a8c;
  font-size: 13px;
  font-weight: 500;
}
.svc-row__duration i { color: #226468; font-size: 14px; }
.svc-row__price {
  font-weight: 700;
  font-size: 14.5px;
  color: #154F58;
  background: rgba(34,100,104,.12);
  padding: 5px 12px;
  border-radius: 999px;
  min-width: 90px;
  text-align: center;
}
.svc-row__price--ask {
  background: rgba(74,101,119,.08);
  color: #6b7a8c;
  font-style: italic;
  font-weight: 500;
}
.svc-row__actions { display: inline-flex; gap: 6px; align-items: center; }
.svc-row__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, transform .12s;
  text-decoration: none;
}
.svc-row__btn i { font-size: 15px; }
.svc-row__btn--info {
  background: transparent;
  color: #4A6577;
  padding: 8px 10px;
}
.svc-row__btn--info:hover { background: rgba(74,101,119,.1); color: #163E40; }
.svc-row__btn--book { background: #226468; color: #fff; }
.svc-row__btn--book:hover { background: #163E40; transform: translateY(-1px); }

.svc-row__detail {
  display: none;
  flex-basis: 100%;
  margin-top: 12px;
  padding: 14px 16px;
  background: #f5faf2;
  border-left: 3px solid #226468;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #2e3a4e;
}
.svc-row.is-expanded { flex-wrap: wrap; }
.svc-row.is-expanded .svc-row__detail { display: block; }
.svc-row__detail p { margin: 0 0 8px; }
.svc-row__detail p:last-child { margin-bottom: 0; }
.svc-row__detail h2, .svc-row__detail h3 { font-size: 14.5px; margin: 12px 0 6px; color: #163E40; }
.svc-row__detail ul { padding-left: 20px; margin: 6px 0; }
.svc-row__detail li { margin-bottom: 4px; }

/* Empty state */
.svc-empty {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
  border: 1px dashed #d8dde5;
  border-radius: 14px;
  color: #6b7a8c;
}
.svc-empty > i { font-size: 48px; color: #c5cdd8; display: block; margin-bottom: 12px; }
.svc-empty h3 { color: #163E40; font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.svc-empty p { font-size: 14px; margin: 0 0 16px; }
.svc-empty__call {
  display: inline-flex; align-items: center; gap: 8px;
  background: #22646820; color: #154F58;
  padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.svc-empty__call i { color: #154F58; font-size: 17px; }

/* Help CTA */
.svc-help {
  margin-top: 28px;
  padding: 22px 26px;
  background: #fff;
  border: 1.5px solid #22646855;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.svc-help__icon {
  width: 56px; height: 56px;
  background: rgba(34,100,104,.18);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #154F58;
  flex-shrink: 0;
}
.svc-help__copy { flex: 1; min-width: 200px; }
.svc-help__copy h3 { margin: 0 0 4px; font-size: 17px; color: #163E40; font-weight: 700; }
.svc-help__copy p { margin: 0; color: #4A6577; font-size: 14px; }
.svc-help__actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.svc-help__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .12s;
}
.svc-help__btn i { font-size: 16px; }
.svc-help__btn--phone {
  background: #fff;
  color: #163E40;
  border: 1px solid #ececec;
}
.svc-help__btn--phone i { color: #226468; }
.svc-help__btn--phone:hover { border-color: #226468; }
.svc-help__btn--book { background: #226468; color: #fff; }
.svc-help__btn--book:hover { background: #163E40; transform: translateY(-1px); }

/* Tablet */
@media (max-width: 991px) {
  .svc-catalog { padding: 30px 0 50px; }
  .svc-hero { grid-template-columns: 1fr; gap: 18px; padding: 22px 22px; }
  .svc-hero__title { font-size: 24px; }
  .qp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .qp-card { padding: 14px 14px 12px; }
  .qp-card__icon { width: 38px; height: 38px; font-size: 22px; }
  .qp-card__label { font-size: 13.5px; }
  .svc-filters { padding: 10px 14px; top: 68px; }
  .svc-section { padding: 18px 18px 14px; }
  .svc-section__title { font-size: 16.5px; gap: 10px; }
  .svc-section__title .anatomy-icon { width: 24px; height: 24px; }
}

/* Mobile */
@media (max-width: 575px) {
  .svc-catalog .container { padding: 0 12px; }
  .svc-hero { padding: 18px 16px; border-radius: 12px; }
  .svc-hero__title { font-size: 21px; }
  .svc-hero__lead { font-size: 13px; }
  .svc-hero__search > i { font-size: 17px; margin-right: 6px; }
  .svc-hero__search input { font-size: 14px; padding: 11px 6px; }

  .qp-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qp-card {
    grid-template-areas:
      "icon arrow"
      "label label"
      "count count";
    padding: 12px 12px 10px;
  }
  .qp-card__icon { width: 34px; height: 34px; font-size: 19px; border-radius: 10px; }
  .qp-card__label { font-size: 12.5px; line-height: 1.25; margin-top: 6px; }
  .qp-card__count { font-size: 11.5px; }

  .svc-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px 12px;
    -webkit-overflow-scrolling: touch;
    top: 60px;
  }
  .svc-filters__label, .svc-filters__results { display: none; }
  .svc-chip { padding: 7px 12px; font-size: 12.5px; flex-shrink: 0; }

  .svc-section { padding: 14px 14px 10px; border-radius: 12px; }
  .svc-section__header { flex-wrap: wrap; gap: 6px; padding-bottom: 10px; margin-bottom: 10px; }
  .svc-section__title { font-size: 15px; }

  .svc-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 4px;
  }
  .svc-row__main { gap: 6px; }
  .svc-row__title { font-size: 14px; }
  .svc-row__meta { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .svc-row__price { min-width: 80px; font-size: 13.5px; padding: 4px 10px; }
  .svc-row__book { padding: 7px 12px; font-size: 12.5px; }
  .svc-row__book span { display: none; }

  .svc-help { padding: 16px; gap: 12px; }
  .svc-help__icon { width: 44px; height: 44px; font-size: 22px; }
  .svc-help__copy h3 { font-size: 15px; }
  .svc-help__copy p { font-size: 13px; }
  .svc-help__btn { padding: 9px 14px; font-size: 12.5px; }
}

/* === Cat-grid for /services root (category cards) === */
.svc-catalog--root .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.cat-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon body arrow";
  gap: 18px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  text-decoration: none;
  color: #163E40;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  align-items: center;
}
.cat-card:hover {
  border-color: #226468;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(22,62,64,.1);
}
.cat-card__icon {
  grid-area: icon;
  width: 56px; height: 56px;
  background: rgba(34,100,104,.08);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #154F58;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.cat-card:hover .cat-card__icon {
  background: #226468;
  color: #fff;
}
.cat-card__body { grid-area: body; min-width: 0; }
.cat-card__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #163E40;
  margin-bottom: 4px;
  line-height: 1.2;
}
.cat-card__desc {
  display: block;
  font-size: 12.5px;
  color: #6b7a8c;
  line-height: 1.4;
  margin-bottom: 10px;
}
.cat-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-card__count {
  font-size: 12.5px;
  color: #4A6577;
  background: #f3f6fa;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.cat-card__price {
  font-size: 13px;
  font-weight: 700;
  color: #154F58;
}
.cat-card__arrow {
  grid-area: arrow;
  color: #c5cdd8;
  font-size: 26px;
  transition: color .2s, transform .15s;
  align-self: center;
}
.cat-card:hover .cat-card__arrow {
  color: #226468;
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .svc-catalog--root .cat-grid { grid-template-columns: 1fr; gap: 10px; }
  .cat-card { padding: 16px; gap: 14px; }
  .cat-card__icon { width: 48px; height: 48px; font-size: 26px; }
  .cat-card__title { font-size: 15px; }
  .cat-card__desc { font-size: 12px; }
}

/* Collapsible svc-row sublist */
.svc-row__includes { display: none; padding-top: 6px; }
.svc-row.is-open > .svc-row__main .svc-row__includes { display: block; }
.svc-row__main { display: flex; align-items: flex-start; gap: 10px; flex-direction: column; }
.svc-row__title-line { display: flex; align-items: center; gap: 10px; width: 100%; }
.svc-row__toggle {
  background: rgba(34,100,104,0.10); color: #226468; border: none; border-radius: 50%;
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; flex-shrink: 0; transition: background .15s, transform .2s;
}
.svc-row__toggle:hover { background: #226468; color: #fff; }
.svc-row.is-open .svc-row__toggle { transform: rotate(180deg); background: #226468; color: #fff; }
.svc-row__toggle--hidden { visibility: hidden; }

/* svc-row sublist on new line below title (not inline) */
.svc-row__main { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 6px; }
.svc-row__title-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-row__includes {
  display: none; margin: 0; padding-left: 36px;
  list-style: disc; color: #6B7280; font-size: 13px; line-height: 1.5;
}
.svc-row__includes li { margin-bottom: 2px; }
.svc-row.is-open .svc-row__includes { display: block !important; }
.svc-row__toggle {
  background: rgba(34,100,104,0.12); color: #226468; border: none; border-radius: 50%;
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; flex-shrink: 0; transition: background .15s, transform .25s;
  padding: 0;
}
.svc-row__toggle:hover { background: #226468; color: #fff; }
.svc-row.is-open .svc-row__toggle { transform: rotate(180deg); background: #226468; color: #fff; }

/* Fallback grid for promo cards if container class missing */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
@media (max-width: 575px){ .promo-grid { grid-template-columns: 1fr; } }
