:root {
  --sky-50: #f0f7fc;
  --sky-100: #e3f0fa;
  --sky-200: #c5e0f5;
  --sky-300: #9ecae8;
  --sky-500: #6baed6;
  --sky-600: #4a96c4;
  --sky-700: #3d8bbe;
  --sky-900: #1e4d6b;

  --rose-100: #fdf0f6;
  --rose-200: #f9d5e5;
  --rose-400: #e8a4c4;
  --rose-500: #d97aaa;

  --mint-100: #edf9f3;
  --mint-200: #d4f0e4;
  --mint-400: #8fd4b5;
  --mint-500: #7bc4a8;

  --text: #2c3e50;
  --text-muted: #6b7c8f;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(61, 139, 190, 0.1);
  --shadow-hover: 0 16px 40px rgba(232, 164, 196, 0.22);

  --shell-header-h: 128px;
  --sticky-offset: var(--shell-header-h);
  --header-h: 72px;
  --filter-w: clamp(260px, 22vw, 320px);
  --gap: clamp(16px, 2vw, 28px);
  --pad-x: clamp(16px, 3vw, 48px);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
  cursor: pointer;
}

button {
  border: none;
  background: none;
}

/* ── Chifu-style header layout ── */
.shell-container {
  width: 100%;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.site-shell-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.top-bar {
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
}

.top-bar__inner {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
}

.top-bar__menu-toggle {
  display: none;
}

.top-bar__links {
  display: none;
  align-items: center;
  gap: 16px;
  color: #6b7280;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.top-bar__link svg {
  width: 16px;
  height: 16px;
  color: var(--sky-500, #3b6fd9);
  flex-shrink: 0;
}

.top-bar__link:hover {
  color: var(--sky-600, #3b6fd9);
}

.top-bar__nav {
  display: none;
}

.top-bar__nav-link {
  display: none;
}

.top-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
}

.top-bar__brand strong {
  font-weight: 700;
  color: #4b5563;
}

.top-bar__brand-change {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--sky-600, #3b6fd9);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.top-bar__brand-change:hover {
  color: var(--sky-700, #2a5f8c);
}

.top-bar__demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  max-width: min(420px, 58vw);
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d9de8 0%, #3dcc9f 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(45, 157, 232, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.top-bar__demo-cta:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 157, 232, 0.48);
}

.top-bar__center-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.top-bar__center-link:hover {
  color: var(--sky-600, #3b6fd9);
}

.top-bar__sep {
  opacity: 0.35;
  color: #9ca3af;
  user-select: none;
}

.site-header {
  width: 100%;
  position: relative;
  overflow: visible;
}

.header-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding-top: 12px;
  padding-bottom: 12px;
  overflow: visible;
}

.header-main-left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  min-width: min-content;
  flex-shrink: 0;
  overflow: visible;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: #4b5563;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.site-nav__link:hover {
  color: var(--sky-700, #2a5f8c);
}

.site-nav__link.is-active {
  color: var(--sky-700, #2a5f8c);
}

.site-nav__more {
  display: none;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.site-nav__more:hover {
  color: var(--sky-700, #2a5f8c);
  background: rgba(74, 159, 212, 0.08);
}

.site-nav__overflow {
  position: fixed;
  z-index: 250;
  min-width: 200px;
  display: none;
}

.site-nav__overflow.is-open {
  display: block;
}

.site-nav__more[aria-expanded="true"] {
  color: var(--sky-700, #2a5f8c);
  background: rgba(74, 159, 212, 0.08);
}

.site-nav__overflow-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.site-nav__overflow-panel .site-nav__link {
  width: 100%;
  justify-content: flex-start;
}

.site-nav__link--overflowed {
  display: none !important;
}

.site-nav__extras {
  display: none;
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1200;
  transform: translateX(-50%) translateY(12px);
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(26, 46, 61, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.logo-lockup {
  display: flex;
  gap: clamp(4px, 0.45vw, 7px);
  align-items: center;
  flex-shrink: 0;
}

.logo__brand {
  --logo-rule-gradient: linear-gradient(
    90deg,
    rgba(74, 159, 212, 0),
    rgba(94, 201, 168, 0.55) 42%,
    rgba(232, 142, 184, 0.65) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 1px;
  width: fit-content;
}

.logo__svg:not(.logo__svg--partner) {
  display: block;
  width: clamp(132px, 16vw, 188px);
  height: auto;
  aspect-ratio: 304 / 105;
}

.logo__partner-mark {
  --partner-logo-ratio: 1371 / 606;
  display: block;
  flex-shrink: 0;
  height: clamp(36px, 5vw, 48px);
  width: calc(clamp(36px, 5vw, 48px) * 1371 / 606);
  background: linear-gradient(90deg, #4a9fd4 0%, #5ec9a8 52%, #e88eb8 100%);
  -webkit-mask-image: var(--partner-mask);
  mask-image: var(--partner-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.logo-lockup:has(.logo__partner-mark) {
  gap: clamp(4px, 0.5vw, 6px);
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
}

.logo-lockup:has(.logo__partner-mark) .logo-lockup__specialist {
  align-self: center;
}

.logo-lockup:has(.logo__partner-mark) .logo-lockup__plus {
  align-self: center;
  flex-shrink: 0;
  line-height: 1;
}

.logo-lockup:has(.logo__partner-mark) .logo__brand--partner {
  padding-bottom: 0;
  align-self: center;
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  transform: translateY(-7px);
  overflow: visible;
}

.logo__tagline {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: -7px;
  padding: 0 0 5px;
  font-family: var(--font-display);
  font-size: clamp(8.5px, 0.95vw, 10.5px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
  background: linear-gradient(92deg, #4a9fd4 0%, #5ec9a8 52%, #e88eb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  box-sizing: border-box;
}

.logo__tagline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18%;
  right: 0;
  height: 1px;
  border-radius: 1px;
  background: var(--logo-rule-gradient);
  pointer-events: none;
}

.logo-lockup__specialist {
  display: flex;
  align-items: center;
  gap: clamp(7px, 0.8vw, 11px);
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  padding: 4px clamp(10px, 1.1vw, 14px) 4px 4px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(240, 249, 255, 0.88) 55%,
    rgba(255, 248, 252, 0.9) 100%
  );
  border: 1px solid rgba(91, 174, 212, 0.28);
  box-shadow:
    0 1px 2px rgba(42, 95, 140, 0.06),
    0 4px 14px rgba(74, 159, 212, 0.1);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.logo-lockup__specialist:hover {
  border-color: rgba(74, 159, 212, 0.45);
  box-shadow:
    0 2px 4px rgba(42, 95, 140, 0.08),
    0 6px 18px rgba(74, 159, 212, 0.16);
  transform: translateY(-1px);
}

.logo-lockup__specialist:hover .logo-lockup__specialist-name {
  color: #3d8eb8;
}

.logo-lockup__specialist-avatar {
  display: flex;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4a9fd4 0%, #5ec9a8 48%, #e88eb8 100%);
  box-shadow: 0 2px 8px rgba(74, 159, 212, 0.22);
}

.logo-lockup__specialist-photo {
  display: block;
  width: clamp(46px, 5.3vw, 62px);
  height: clamp(46px, 5.3vw, 62px);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  background: #f0f9ff;
}

.logo-lockup__specialist-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
  padding-right: 2px;
}

.logo-lockup__specialist-name {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.44vw, 18px);
  font-weight: 700;
  color: #2a5f8c;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.logo-lockup__specialist-title {
  font-size: clamp(9px, 0.85vw, 11px);
  font-weight: 600;
  color: #5a7f96;
  line-height: 1.25;
  max-width: 14em;
}

.logo-lockup__specialist-rating {
  display: block;
  margin-top: 1px;
}

.logo-lockup__specialist-rating .rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.logo-lockup__specialist-rating .rating-stars__star {
  font-size: 0.62rem;
  color: #e5e7eb;
}

.logo-lockup__specialist-rating .rating-stars__star.is-filled {
  color: #ff9f0a;
}

.logo-lockup__specialist-rating .rating-stars__star.is-half {
  background: linear-gradient(90deg, #ff9f0a 50%, #e5e7eb 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-lockup__specialist-rating .rating-stars__value {
  font-size: 0.68rem;
  font-weight: 700;
  color: #2a5f8c;
  line-height: 1;
}

.logo-lockup__specialist-rating .rating-stars__count--compact {
  font-size: 0.62rem;
  font-weight: 600;
  color: #6b8296;
  line-height: 1;
}

.logo-lockup__brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.logo-lockup__brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.logo-lockup__brand-wrap--factology {
  gap: 0;
  margin-left: -6px;
}

.logo-lockup__brand-wrap--factology .logo-lockup__brand-switch {
  width: 24px;
  height: 24px;
  margin-left: -4px;
  border-radius: 6px;
  align-self: center;
}

.logo-lockup__brand-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(75, 162, 184, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #3b8fae;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.logo-lockup__brand-switch:hover {
  border-color: rgba(45, 157, 232, 0.55);
  background: #fff;
  color: #2d9de8;
  box-shadow: 0 4px 12px rgba(45, 157, 232, 0.16);
}

.logo-lockup__brand-switch svg {
  display: block;
  width: 14px;
  height: 14px;
}

.logo-lockup__brand-wrap--factology .logo-lockup__brand-switch svg {
  width: 12px;
  height: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .logo-lockup__brand-switch[data-tooltip] {
    position: relative;
  }

  .logo-lockup__brand-switch[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 200;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(26, 46, 61, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .logo-lockup__brand-switch[data-tooltip]:hover::after,
  .logo-lockup__brand-switch[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
  }
}

.logo-lockup__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: auto;
  margin: 0 2px;
  padding: 0;
  user-select: none;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.logo-lockup__plus-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(145deg, #e88eb8 0%, #5ec9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(-1px);
}

.brand-switcher-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.brand-switcher-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.brand-switcher-modal[hidden] {
  display: none !important;
}

.brand-switcher-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
}

.brand-switcher-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 22px 22px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(197, 224, 245, 0.9);
  box-shadow: 0 24px 64px rgba(26, 46, 61, 0.18);
}

.brand-switcher-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(227, 240, 250, 0.95);
  color: #4a7a9a;
  cursor: pointer;
  transition: background 0.15s ease;
}

.brand-switcher-modal__close:hover {
  background: rgba(210, 232, 248, 0.98);
}

.brand-switcher-modal__head {
  padding-right: 40px;
  margin-bottom: 14px;
}

.brand-switcher-modal__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: #1e4d6b;
}

.brand-switcher-modal__intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

.brand-switcher-modal__grid {
  display: grid;
  gap: 8px;
}

.brand-switcher-modal__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(197, 224, 245, 0.85);
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.brand-switcher-modal__item:hover {
  border-color: rgba(94, 201, 168, 0.55);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.98));
  box-shadow: 0 6px 18px rgba(74, 159, 212, 0.1);
}

.brand-switcher-modal__item.is-current {
  border-color: rgba(74, 159, 212, 0.55);
  background: linear-gradient(90deg, rgba(227, 240, 250, 0.95), rgba(240, 252, 248, 0.95));
  box-shadow: inset 3px 0 0 #4a9fd4;
}

.brand-switcher-modal__mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 42px;
  flex-shrink: 0;
}

.logo__partner-mark--modal {
  height: 38px;
  width: calc(38px * 1371 / 606);
}

.brand-switcher-modal__mark-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 38px;
}

.brand-switcher-modal__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-switcher-modal__name {
  font-weight: 700;
  font-size: 15px;
  color: #1e4d6b;
}

.brand-switcher-modal__hint {
  font-size: 12px;
  color: #64748b;
}

.brand-switcher-modal__arrow {
  font-size: 18px;
  font-weight: 600;
  color: #4a9fd4;
  opacity: 0.85;
}

.header-main-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #4a9fd4;
  text-decoration: none;
  flex-shrink: 0;
}

.header-cart:hover {
  background: rgba(74, 159, 212, 0.08);
}

.header-cart svg {
  width: 22px;
  height: 22px;
}

.header-cart__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e88eb8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.header-cart__badge[hidden] {
  display: none;
}

.header-booking-compact {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-shrink: 0;
  height: 34px;
  min-width: 0;
  padding: 0 12px 0 9px;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #2d9de8 0%, #3dcc9f 100%);
  box-shadow: 0 4px 12px rgba(45, 157, 232, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-booking-compact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.95;
}

.header-booking-compact__icon svg {
  width: 18px;
  height: 18px;
}

.header-booking-compact__label {
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  .header-booking-compact[data-tooltip] {
    position: relative;
  }

  .header-booking-compact[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 200;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(26, 46, 61, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    box-shadow: 0 8px 20px rgba(26, 46, 61, 0.18);
  }

  .header-booking-compact[data-tooltip]:hover::after,
  .header-booking-compact[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
  }
}

.header-booking-compact:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45, 157, 232, 0.3);
}

.header-booking-compact:active {
  transform: translateY(0);
}

.header-contact {
  display: none;
  align-items: center;
  gap: 14px;
}

.header-contact__main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.header-contact__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header-contact__icon svg {
  width: 18px;
  height: 18px;
}

.header-contact__phone {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.header-contact__email {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.header-partner-chip {
  display: none;
}

.header-partner-strip {
  display: none;
}

@media (max-width: 899px) {
  .header-partner-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 24px;
    padding: 4px var(--pad-x);
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #e8a4c4, #e04590);
    border-top: 1px solid rgba(224, 69, 144, 0.28);
    box-shadow: 0 2px 8px rgba(217, 122, 170, 0.22);
    box-sizing: border-box;
  }

  .header-partner-strip__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 0 0 0.4px rgba(255, 255, 255, 0.4);
  }

  .header-partner-strip__icon svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .header-partner-strip__text {
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    -webkit-text-stroke: 0.35px rgba(130, 28, 82, 0.62);
    paint-order: stroke fill;
    text-shadow:
      0 0 1px rgba(110, 18, 68, 0.9),
      0 1px 1px rgba(95, 14, 58, 0.75),
      0 1px 3px rgba(80, 10, 50, 0.45),
      0 2px 8px rgba(70, 8, 45, 0.28);
  }

  .header-partner-strip__pct {
    font-size: 11.5px;
    font-weight: 900;
    font-style: normal;
    letter-spacing: 0.02em;
    color: #fff;
    -webkit-text-stroke: 0.45px rgba(115, 22, 72, 0.75);
    text-shadow:
      0 0 1px rgba(100, 15, 62, 0.95),
      0 1px 2px rgba(90, 12, 55, 0.85),
      0 2px 6px rgba(75, 8, 48, 0.55);
  }

  .header-partner-strip__more {
    font-size: 8.5px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.78);
    text-underline-offset: 1.5px;
    -webkit-text-stroke: 0.3px rgba(130, 28, 82, 0.55);
    text-shadow:
      0 0 1px rgba(110, 18, 68, 0.85),
      0 1px 2px rgba(90, 12, 55, 0.65);
  }
}

@media (min-width: 900px) {
  .header-partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    max-width: clamp(240px, 26vw, 320px);
    padding: 6px 14px 6px 7px;
    border-radius: 14px;
    text-decoration: none;
    color: #5c3d52;
    background: linear-gradient(135deg, #fff5fa 0%, #fce4f0 42%, #f6d0e6 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
      0 2px 10px rgba(224, 69, 144, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    flex-shrink: 1;
    min-width: 0;
  }

  .header-partner-chip:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fff0f7 0%, #fbdceb 42%, #f3c6de 100%);
    box-shadow:
      0 5px 16px rgba(224, 69, 144, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .header-partner-chip__icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 4px rgba(194, 24, 91, 0.12);
  }

  .header-partner-chip__icon svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  .header-partner-chip__text {
    min-width: 0;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-partner-chip__pct {
    font-style: normal;
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    color: #c2185b;
  }

  .header-partner-chip__cta {
    margin-left: 0.25em;
    font-weight: 700;
    font-style: italic;
    color: #9e1a5e;
    text-decoration: underline;
    text-decoration-color: rgba(158, 26, 94, 0.42);
    text-underline-offset: 2px;
    transition: color 0.18s ease;
  }

  .header-partner-chip:hover .header-partner-chip__cta {
    color: #7d1249;
    text-decoration-color: rgba(125, 18, 73, 0.62);
  }
}

@media (min-width: 769px) {
  .header-main-left {
    flex: 1 1 auto;
    min-width: 0;
    gap: clamp(8px, 1.1vw, 14px);
  }

  .header-main-left .logo-lockup {
    flex-shrink: 0;
  }

  .logo-lockup__specialist-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .logo__svg:not(.logo__svg--partner) {
    width: clamp(148px, 13.5vw, 196px);
  }

  .site-nav__links {
    gap: 4px;
  }

  .site-nav__link {
    padding: 7px 9px;
    font-size: 13px;
  }

  .site-nav__more:not([hidden]) {
    padding: 7px 9px;
    font-size: 13px;
  }

  .top-bar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: stretch;
  }

  .top-bar__demo-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    max-width: min(420px, 36vw);
  }

  .top-bar__links {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .site-nav-backdrop,
  .site-nav__head,
  .site-nav__section-label,
  .site-nav__close {
    display: none !important;
  }

  .site-nav {
    display: flex;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .site-nav__panel {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .site-nav__section {
    padding: 0;
    border: none !important;
    background: none !important;
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-nav__section--main {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-nav__section--account {
    display: none !important;
  }

  .site-nav__section--brands {
    display: none !important;
  }

  .site-nav__bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .site-nav__links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }

  .site-nav__link {
    display: inline-flex;
    gap: 0;
    padding: 8px 14px;
    border: none;
    box-shadow: none !important;
  }

  .site-nav__link-icon {
    display: none;
  }

  .site-nav__more:not([hidden]) {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav-toggle {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .header-contact {
    display: flex;
  }

  .header-contact__email {
    display: none;
  }
}

@media (min-width: 1400px) {
  .header-contact__email {
    display: block;
  }

  .header-partner-chip {
    max-width: clamp(260px, 24vw, 360px);
  }
}

@media (min-width: 769px) and (max-width: 1279px) {
  .site-nav__link,
  .site-nav__more {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
  }
}

@media (min-width: 900px) {
  .header-cart {
    width: 44px;
    height: 44px;
  }
}

/* Desktop compact header — all site pages except /platform (see header-scroll.js) */
@media (min-width: 769px) {
  body:not(.platform-offer-layout) {
    overflow-anchor: none;
  }

  .site-shell-header.is-compact .top-bar {
    display: none;
  }

  .site-shell-header.is-compact .header-main-row {
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 12px;
  }

  .site-shell-header.is-compact .header-main-left {
    gap: 10px;
  }

  .site-shell-header.is-compact .logo-lockup__specialist-title,
  .site-shell-header.is-compact .logo-lockup__specialist-rating {
    display: none !important;
  }

  .site-shell-header.is-compact .logo-lockup__specialist {
    padding: 2px 10px 2px 2px;
    gap: 8px;
  }

  .site-shell-header.is-compact .logo-lockup__specialist-photo {
    width: 32px;
    height: 32px;
  }

  .site-shell-header.is-compact .logo-lockup__specialist-name {
    font-size: 13px;
  }

  .site-shell-header.is-compact .logo__svg:not(.logo__svg--partner) {
    width: clamp(118px, 10.5vw, 156px);
  }

  .site-shell-header.is-compact .header-partner-chip,
  .site-shell-header.is-compact .header-partner-strip {
    display: none !important;
  }

  .site-shell-header.is-compact .header-contact {
    display: none !important;
  }

  .site-shell-header.is-compact .header-booking-compact {
    display: inline-flex;
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    .site-shell-header.is-compact .header-booking-compact {
      font-size: 10px;
      padding: 0 10px 0 8px;
      gap: 5px;
    }

    .site-shell-header.is-compact .header-booking-compact__icon,
    .site-shell-header.is-compact .header-booking-compact__icon svg {
      width: 16px;
      height: 16px;
    }
  }

  @media (min-width: 1280px) {
    .site-shell-header.is-compact .header-booking-compact {
      font-size: 12px;
      padding: 0 13px 0 9px;
    }

    .site-shell-header.is-compact .header-booking-compact__icon,
    .site-shell-header.is-compact .header-booking-compact__icon svg {
      width: 18px;
      height: 18px;
    }
  }

  .site-shell-header.is-compact .header-contact__body {
    display: none;
  }

  .site-shell-header.is-compact .header-contact__main {
    align-items: center;
  }

  .site-shell-header.is-compact .header-contact__icon {
    width: 34px;
    height: 34px;
  }

  .site-shell-header.is-compact .site-nav__link,
  .site-shell-header.is-compact .site-nav__more {
    padding: 5px 8px;
    font-size: 12px;
  }

  .site-shell-header.is-compact .header-cart {
    width: 38px;
    height: 38px;
  }
}

.catalog-page {
  width: 100%;
  min-height: calc(100vh - var(--shell-header-h));
}

.catalog-hero {
  width: 100%;
  position: relative;
}

.catalog-hero__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.catalog-hero__sub {
  margin: 0;
  max-width: 58ch;
  font-family: var(--font);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.catalog-hero__sub + .catalog-hero__sub {
  margin-top: 1.7rem;
}

.catalog-hero__crosslink {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.catalog-hero__crosslink a {
  color: #2a7ab8;
  font-weight: 600;
  text-decoration: none;
}

.catalog-hero__crosslink a:hover {
  text-decoration: underline;
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.catalog-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #4ba2b8 0%, #3dcc9f 100%);
  box-shadow: 0 8px 24px rgba(75, 162, 184, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.catalog-hero__cta:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 28px rgba(75, 162, 184, 0.34);
}

.catalog-hero__cta:active {
  transform: scale(0.98);
}

.catalog-quick-problems {
  margin-top: 24px;
}

.catalog-quick-problems__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 46, 61, 0.55);
}

.catalog-quick-problems__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-quick-problems__chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: #1a2e3d;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(197, 224, 245, 0.95);
  box-shadow: 0 4px 14px rgba(45, 157, 232, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.catalog-quick-problems__chip:hover {
  background: #fff;
  border-color: rgba(75, 162, 184, 0.45);
}

.catalog-quick-problems__chip:active {
  transform: scale(0.98);
}

.catalog-page .catalog-hero__inner--head .catalog-hero__sub {
  max-width: none;
}

.catalog-page .catalog-quick-problems--wide {
  width: 100%;
  box-sizing: border-box;
  padding: 4px var(--pad-x) clamp(18px, 2.5vw, 28px);
}

.catalog-page .catalog-quick-problems--wide .catalog-quick-problems__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 8px;
}

.catalog-page .catalog-quick-problems--wide .catalog-quick-problems__chip {
  justify-content: center;
  text-align: center;
  min-height: 40px;
  height: 100%;
}

.catalog-section + .catalog-section {
  margin-top: clamp(28px, 4vw, 44px);
}

.catalog-section__head {
  margin-bottom: 18px;
}

.catalog-section__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1a2e3d;
}

.catalog-section__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(26, 46, 61, 0.62);
}

.products-empty--inline {
  grid-column: 1 / -1;
  padding: 24px 0 8px;
}

.catalog-hero__decor {
  display: none;
}

.catalog-toolbar {
  width: 100%;
  padding: 0 var(--pad-x) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-toolbar__count {
  font-size: 14px;
}

.catalog-toolbar__count strong {
  font-weight: 700;
}

.filter-open-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.filter-open-btn svg {
  width: 18px;
  height: 18px;
}

.catalog-layout {
  width: 100%;
  display: grid;
  grid-template-columns: var(--filter-w) 1fr;
  gap: 0;
  align-items: start;
}

/* ── Filter ── */
.filter-panel {
  position: sticky;
  top: calc(var(--sticky-offset) + 12px);
  max-height: calc(100vh - var(--sticky-offset) - 24px);
  overflow-y: auto;
  padding: 0 var(--gap) clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
  scrollbar-width: thin;
}

.filter-panel__inner {
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 11px;
  gap: 8px;
}

.filter-panel__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.filter-reset {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.2s;
  margin-left: auto;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-options.is-collapsed .filter-option:nth-child(n + 7) {
  display: none;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.filter-option input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.15s;
  position: relative;
}

.filter-option input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-option span {
  font-size: 14px;
  line-height: 1.3;
}

.filter-show-more {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.filter-close {
  display: none;
}

/* ── Products ── */
.products-area {
  width: 100%;
  padding: 0 var(--pad-x) clamp(32px, 5vw, 64px) var(--gap);
  min-width: 0;
}

.products-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--gap);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card__link:hover .product-card__name-text {
  color: #4ba2b8;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 2vw, 20px);
  transition: transform 0.35s;
}

.product-card--bundle .product-card__media {
  aspect-ratio: 1;
  background: #f4f9ff;
}

.product-card--bundle .product-card__media img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  width: 100%;
  height: 100%;
}

.product-card--bundle .product-card__head {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  background: #fff;
}

.product-card--bundle .product-card__head-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  display: inline-block;
  background: linear-gradient(135deg, #2d9de8, #3dcc9f);
  color: #fff;
}

.product-card--bundle .product-card__bundle-count {
  margin: 0;
  padding: 4px clamp(14px, 1.8vw, 18px) 0;
  font-size: 11px;
  font-weight: 700;
  color: #2a6f9c;
}

.product-card--bundle .product-card__meta-slot {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.product-card--bundle .product-card__meta-placeholder {
  min-height: 22px;
}

.product-card--bundle .product-card__footer {
  border-top: 1px solid rgba(197, 224, 245, 0.6);
  padding-top: 12px;
  margin-top: 4px;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 1;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(14px, 1.8vw, 18px);
  gap: 6px;
  min-height: 0;
}

.product-card__name {
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(14px, 1.5vw, 15px);
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.product-card__name-text {
  display: block;
}

.product-card__skin {
  display: inline-block;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  background: rgba(75, 162, 184, 0.12);
  color: #2f7f96;
  border: 1px solid rgba(75, 162, 184, 0.22);
}

.product-card__skin--dry {
  background: rgba(94, 179, 228, 0.14);
  color: #1e6f8f;
  border-color: rgba(94, 179, 228, 0.28);
}

.product-card__skin--oily {
  background: rgba(123, 196, 168, 0.14);
  color: #3d7a6a;
  border-color: rgba(123, 196, 168, 0.28);
}

.product-card__article {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.product-card__subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  flex: 0 0 auto;
}

.product-card__footer {
  display: grid;
  gap: 8px;
  padding: 0 clamp(14px, 1.8vw, 18px) clamp(14px, 1.8vw, 18px);
  margin-top: auto;
}

.product-card__price {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #4ba2b8;
}

.product-card__buy {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2d9de8, #3dcc9f);
  box-shadow: 0 4px 14px rgba(45, 157, 232, 0.24);
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.product-card__buy:hover {
  filter: brightness(1.04);
}

.product-card__buy.is-added {
  background: linear-gradient(135deg, #5ec9a8, #4a9fd4);
}

.product-card__buy--price {
  background: linear-gradient(135deg, #e8a4c4, #e04590);
  box-shadow: 0 4px 14px rgba(217, 122, 170, 0.28);
}

.product-card__buy--price:hover {
  filter: brightness(1.04);
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
}

.products-empty__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.products-empty__text {
  margin: 0;
}

/* ── CTA ── */
.cta-section {
  width: 100%;
  padding: clamp(40px, 6vw, 80px) var(--pad-x);
  margin-top: clamp(16px, 3vw, 32px);
}

.cta-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: calc(var(--radius) + 4px);
}

.cta-card__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.cta-card__contacts {
  margin-top: 20px;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
}

.cta-card__contacts a {
  font-weight: 600;
  color: inherit;
}

.cta-card__contacts p {
  margin: 4px 0 0;
  opacity: 0.85;
}

.cta-form {
  display: grid;
  gap: 12px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-form textarea {
  min-height: 80px;
  resize: vertical;
}

.cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-form__submit {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-form__submit:hover {
  transform: translateY(-1px);
}

.cta-form__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  padding: 40px 0 36px;
  font-size: 14px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto minmax(0, 1.5fr);
  align-items: start;
  gap: 24px clamp(28px, 4vw, 56px);
}

.site-footer__col--meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.site-footer__legal {
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s, color 0.2s;
}

.site-footer__legal:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.45;
}

.site-footer__nav a {
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.site-footer__nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.5;
  text-align: right;
}

.site-footer__contacts a {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__contacts span {
  opacity: 0.9;
}

.site-footer a {
  transition: color 0.2s;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .site-footer__col--meta {
    grid-column: 1 / -1;
  }

  .site-footer__contacts {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 32px 0 28px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer__contacts {
    border-top: none;
    padding-top: 0;
  }
}

/* ── Overlay ── */
.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  backdrop-filter: blur(4px);
}

.filter-backdrop.is-open {
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 88vw);
    z-index: 210;
    max-height: 100vh;
    padding: 0;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
  }

  .filter-panel.is-open {
    transform: translateX(0);
  }

  .filter-panel__inner {
    border-radius: 0;
    min-height: 100%;
    padding-top: 16px;
  }

  .filter-close {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .filter-open-btn {
    display: inline-flex;
  }

  .products-area {
    padding-left: var(--pad-x);
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
  }

  .site-shell-header {
    position: relative;
    top: auto;
  }

  .site-shell-header.is-top-bar-hidden .top-bar {
    display: none;
  }

  .top-bar__demo-cta {
    max-width: min(280px, 72vw);
    padding: 5px 12px;
    font-size: 11px;
    white-space: normal;
    text-align: left;
  }

  .top-bar__inner {
    justify-content: flex-start;
    gap: 10px;
  }

  .logo-lockup__brand-switch {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .site-nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 122;
    margin-left: auto;
  }

  .site-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 118;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .site-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav-backdrop[hidden] {
    display: block !important;
  }

  .site-nav {
    display: block;
    position: fixed;
    top: calc(var(--shell-header-h, 94px) + 8px);
    left: var(--pad-x);
    right: var(--pad-x);
    z-index: 120;
    max-height: calc(100dvh - var(--shell-header-h, 94px) - 16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav__panel {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100dvh - var(--shell-header-h, 94px) - 16px);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(197, 224, 245, 0.9);
    box-shadow:
      0 18px 40px rgba(45, 157, 232, 0.14),
      0 4px 14px rgba(15, 23, 42, 0.08);
  }

  .site-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(244, 249, 255, 0.95), rgba(255, 255, 255, 0.9));
  }

  .site-nav__head-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2a5f8c;
  }

  .site-nav__close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
  }

  .site-nav__section {
    padding: 12px 12px 10px;
  }

  .site-nav__section + .site-nav__section {
    padding-top: 4px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.7), rgba(255, 255, 255, 0));
  }

  .site-nav__section-label {
    margin: 0 0 8px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
  }

  .site-nav__links {
    display: grid;
    gap: 4px;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
  }

  .site-nav__link-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(227, 240, 250, 0.9);
    color: #4a9fd4;
    overflow: hidden;
  }

  .site-nav__link-icon svg {
    width: 18px;
    height: 18px;
  }

  .site-nav__link-icon--brand {
    background: rgba(227, 240, 250, 0.95);
  }

  .site-nav__brand-mini,
  .logo__partner-mark--nav {
    display: block;
    height: 18px;
    width: calc(18px * 1371 / 606);
    max-width: 100%;
  }

  .site-nav__link-text {
    flex: 1;
    min-width: 0;
  }

  .site-nav__link.is-active {
    background: linear-gradient(90deg, rgba(74, 159, 212, 0.12), rgba(94, 201, 168, 0.08));
    border-color: rgba(74, 159, 212, 0.18);
    color: #1e4d6b;
    box-shadow: inset 3px 0 0 #4a9fd4;
  }

  .site-nav__link.is-active .site-nav__link-icon {
    background: linear-gradient(135deg, #4a9fd4, #5ec9a8);
    color: #fff;
  }

  .site-nav__extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: none;
  }

  .site-nav__extra-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  .site-nav__extra-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .site-nav__extra-link--ghost {
    color: #2a5f8c;
    background: #fff;
    border: 1px solid rgba(197, 224, 245, 0.95);
  }

  .site-nav__extra-link--accent {
    color: #fff;
    background: linear-gradient(135deg, #4a9fd4, #5ec9a8);
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(74, 159, 212, 0.24);
  }

  .site-nav__extra-link--full {
    grid-column: 1 / -1;
    color: #2a5f8c;
    background: rgba(227, 240, 250, 0.75);
    border: 1px solid rgba(197, 224, 245, 0.9);
  }

  .site-nav__extra-link--ghost:hover,
  .site-nav__extra-link--full:hover {
    background: rgba(227, 240, 250, 0.95);
  }

  .site-nav__extra-link--accent:hover {
    filter: brightness(1.04);
  }

  .header-main-left {
    display: grid;
    grid-template-columns: 1fr 44px;
    grid-column: 1 / -1;
    align-items: center;
    gap: 8px;
    position: relative;
    min-width: 0;
    flex-shrink: 1;
    overflow: visible;
  }

  .header-main-left .logo-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .logo-lockup__specialist {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(40%, 148px);
    padding: 3px 8px 3px 3px;
    border-radius: 999px;
    align-self: center;
    margin-right: 2px;
  }

  .logo-lockup__specialist-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    line-height: 1.15;
  }

  .logo-lockup__specialist-name {
    font-size: clamp(10px, 2.7vw, 12px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-lockup__specialist-title {
    font-size: clamp(7.5px, 2vw, 9px);
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
  }

  .logo-lockup__specialist-rating {
    display: none;
  }

  .logo-lockup__plus {
    display: none;
  }

  .logo-lockup__brand-link {
    flex: 0 0 auto;
    min-width: 0;
  }

  .logo-lockup__brand-wrap {
    min-width: 0;
    flex-shrink: 1;
    gap: 8px;
    margin-left: 0;
  }

  .logo-lockup__brand-wrap--factology {
    gap: 6px;
    margin-left: 0;
  }

  .logo-lockup__brand-wrap--factology .logo-lockup__brand-switch {
    margin-left: 0;
    flex-shrink: 0;
  }

  .site-nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    flex-shrink: 0;
    align-self: center;
  }

  .header-main-right {
    display: none;
  }

  .header-main-row {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-form__row {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card__body {
    padding: 12px;
  }

  .product-card__name {
    font-size: 13px;
  }
}

/* ── Price list modal ── */
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.price-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.price-modal[hidden] {
  display: none !important;
}

.price-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.price-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: min(92vh, 640px);
  overflow: auto;
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.price-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
}

.price-modal__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #1e3a5f;
}

.price-modal__product {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #d97aaa;
}

.price-modal__disclaimer {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #5a7082;
}

.price-modal__form {
  display: grid;
  gap: 12px;
}

.price-modal__field {
  display: grid;
  gap: 5px;
}

.price-modal__label {
  font-size: 12px;
  font-weight: 700;
  color: #4b6478;
}

.price-modal__field input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: #1e3a5f;
  box-sizing: border-box;
}

.price-modal__field input:focus {
  outline: 2px solid rgba(75, 162, 184, 0.35);
  border-color: #4ba2b8;
}

.price-modal__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #4b6478;
  cursor: pointer;
}

.price-modal__check input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #e04590;
}

.price-modal__error {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
}

.price-modal__success {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
  font-size: 13px;
  font-weight: 600;
}

.price-modal__submit {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #e8a4c4, #e04590);
  box-shadow: 0 4px 14px rgba(217, 122, 170, 0.3);
  transition: filter 0.2s;
}

.price-modal__submit:hover {
  filter: brightness(1.04);
}

.price-modal__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.price-modal__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
  text-align: center;
}

.price-modal__label-hint {
  font-weight: 500;
  color: #94a3b8;
}

.consultation-modal__photo-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.consultation-modal__file {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  font: inherit;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
}

.consultation-modal__file::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.consultation-modal__file-count {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}

.consultation-modal__file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.consultation-modal__file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.consultation-modal__file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #334155;
}

.consultation-modal__file-remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.consultation-modal__file-remove:hover {
  color: #ef4444;
  background: #fef2f2;
}

/* Consultation modals — палитра сайта (сине-бирюзовая) */
.consultation-modal .price-modal__dialog,
.consultation-success-modal__dialog {
  border: 1px solid rgba(197, 224, 245, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fcff 52%, #f4fbf8 100%);
  box-shadow:
    0 20px 50px rgba(45, 157, 232, 0.14),
    0 8px 24px rgba(15, 35, 50, 0.08);
}

.consultation-modal .price-modal__title {
  color: #1a2e3d;
}

.consultation-modal .price-modal__product {
  color: #d97aaa;
}

.consultation-modal .price-modal__disclaimer {
  color: rgba(26, 46, 61, 0.72);
}

.consultation-modal .price-modal__submit {
  background: linear-gradient(135deg, #f973b6 0%, #ec4899 100%);
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.consultation-modal .price-modal__submit:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(45, 157, 232, 0.34);
}

.consultation-modal .price-modal__submit:active {
  transform: translateY(0);
}

.consultation-success-modal__btn {
  min-height: 48px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #f973b6 0%, #ec4899 100%);
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.consultation-success-modal__btn:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(45, 157, 232, 0.34);
}

.consultation-success-modal__btn:active {
  transform: translateY(0);
}

.consultation-modal .consultation-modal__file::file-selector-button {
  background: linear-gradient(135deg, #e8a4c4, #e04590);
  box-shadow: 0 4px 12px rgba(217, 122, 170, 0.25);
}

.consultation-panel[hidden] {
  display: none !important;
}

.consultation-modal .price-modal__dialog:has(.consultation-panel--choice:not([hidden])) {
  width: min(100%, 480px);
  padding: clamp(28px, 4vw, 38px) clamp(24px, 3.2vw, 36px) clamp(24px, 3vw, 32px);
  border-radius: clamp(20px, 2.8vw, 28px);
}

.consultation-modal:has(.consultation-panel--choice:not([hidden])) .price-modal__close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #edf2f7;
  color: #718096;
}

.consultation-choice__heading {
  margin: 0 0 8px;
  padding-right: 36px;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  color: #2d3748;
}

.consultation-choice__subtitle {
  margin: 0 0 clamp(20px, 2.8vw, 28px);
  font-size: clamp(14px, 1.44vw, 16px);
  line-height: 1.5;
  color: #718096;
}

.consultation-choice {
  display: grid;
  gap: clamp(12px, 1.6vw, 16px);
  margin-top: 0;
}

.consultation-choice__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2.2vw, 22px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.consultation-choice__card:hover {
  border-color: rgba(45, 157, 232, 0.45);
  box-shadow: 0 10px 28px rgba(45, 157, 232, 0.1);
  transform: translateY(-2px);
}

.consultation-choice__card-title {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(15px, 1.52vw, 17px);
  font-weight: 700;
  color: #2d3748;
  line-height: 1.35;
}

.consultation-choice__card-text {
  font-size: clamp(13px, 1.28vw, 14px);
  line-height: 1.5;
  color: #718096;
}

.consultation-choice__card--in-person .consultation-choice__card-title {
  color: #00685f;
}

.consultation-panel__switch {
  display: inline;
}

.consultation-panel__switch--center {
  display: block;
  margin: 0 0 4px;
  text-align: center;
  font-size: 13px;
  color: rgba(26, 46, 61, 0.72);
}

.consultation-panel__switch-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: #2d9de8;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.consultation-panel__switch-link:hover {
  color: #0f766e;
}

.consultation-panel__footnote {
  margin-top: 0;
  margin-bottom: 8px;
  text-align: center;
  color: rgba(26, 46, 61, 0.78);
}

.consultation-panel textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid rgba(197, 224, 245, 0.95);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: #1a2e3d;
  resize: vertical;
  box-sizing: border-box;
}

.consultation-panel textarea:focus {
  outline: none;
  border-color: rgba(45, 157, 232, 0.65);
  box-shadow: 0 0 0 3px rgba(45, 157, 232, 0.12);
}

.consultation-success-modal__dialog {
  position: relative;
  width: min(100%, 400px);
  text-align: center;
  padding: 32px 28px 24px;
  overflow: hidden;
}

.consultation-success-modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d9de8, #3dcc9f);
}

.consultation-success-modal__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #2d9de8;
  background: linear-gradient(145deg, rgba(45, 157, 232, 0.14), rgba(61, 204, 159, 0.18));
  border: 1px solid rgba(45, 157, 232, 0.22);
  box-shadow: 0 8px 22px rgba(45, 157, 232, 0.14);
}

.consultation-success-modal__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  color: #4ba2b8;
  letter-spacing: -0.02em;
}

.consultation-success-modal__text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(26, 46, 61, 0.82);
}

.consultation-success-modal__warn {
  margin: -6px 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fdba74;
  text-align: left;
}

.consultation-success-modal__btn {
  width: 100%;
}

.scroll-top {
  display: block;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 95;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s,
    bottom 0.25s ease;
  pointer-events: none;
}

.scroll-top__glass {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #2d9de8 0%, #3dcc9f 100%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 28px rgba(45, 157, 232, 0.38),
    0 0 0 1px rgba(45, 157, 232, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top__glass svg {
  display: block;
  width: 22px;
  height: 22px;
}

.scroll-top__glass svg path {
  stroke: #fff;
}

.scroll-top:hover .scroll-top__glass {
  filter: brightness(1.06);
  box-shadow:
    0 12px 32px rgba(45, 157, 232, 0.45),
    0 0 0 1px rgba(45, 157, 232, 0.24);
}

.scroll-top:active .scroll-top__glass {
  transform: scale(0.94);
  filter: brightness(0.98);
}

@media (max-width: 899px) {
  html.has-scheme-sticky-bar .scroll-top,
  html:has(.scheme-calc__sticky:not([hidden])) .scroll-top {
    bottom: calc(var(--scheme-sticky-h, 64px) + 12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 900px) {
  .scroll-top {
    right: max(24px, env(safe-area-inset-right));
    bottom: max(28px, env(safe-area-inset-bottom));
  }
}

body[data-theme="chifu"] .scroll-top__glass,
body[data-theme="aurora"] .scroll-top__glass {
  background: linear-gradient(145deg, #2d9de8 0%, #3dcc9f 100%);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 28px rgba(45, 157, 232, 0.38),
    0 0 0 1px rgba(45, 157, 232, 0.18);
}
