/* Přátelský klid — jednorázová nabídka homepage */

:is(.ws-sale-header, .ws-sale-hero, .ws-sale-benefits, .ws-sale-examples, .ws-sale-system, .ws-sale-faq, .ws-sale-offer, .ws-sale-demo) {
  --sale-ink: #13233f;
  --sale-muted: #5a6b84;
  --sale-blue: var(--w-accent, #0655f8);
  --sale-on-blue: var(--w-on-accent, #fff);
  --sale-mist: #f4f6fa;
  --sale-paper: #ffffff;
  --sale-tint: color-mix(in srgb, var(--sale-blue) 8%, white);
  --sale-line: color-mix(in srgb, var(--sale-blue) 14%, #e6ebf3);
  --sale-soft: color-mix(in srgb, var(--sale-blue) 22%, #8fa4c8);
  --sale-radius: 18px;
  --sale-font: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
  color: var(--sale-ink);
  font-family: var(--sale-font);
}

.ws-sale-wrap {
  width: min(1160px, calc(100% - 7.5vw));
  margin-inline: auto;
  min-width: 0;
}

:is(.ws-sale-hero, .ws-sale-examples, .ws-sale-system, .ws-sale-faq, .ws-sale-offer, .ws-sale-demo) :is(h1, h2, h3) {
  margin: 0;
  color: inherit;
  font-family: var(--sale-font);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

:is(.ws-sale-examples, .ws-sale-system, .ws-sale-faq, .ws-sale-offer, .ws-sale-demo) h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

:is(.ws-sale-header, .ws-sale-hero, .ws-sale-examples, .ws-sale-system, .ws-sale-faq, .ws-sale-offer, .ws-sale-demo) :focus-visible {
  outline: 3px solid var(--sale-blue);
  outline-offset: 3px;
}

/* —— Buttons —— */
.ws-sale-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .55em;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: .72em 1.45em;
  font-family: inherit;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.ws-sale-button-primary {
  background: var(--sale-blue);
  color: var(--sale-on-blue);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--sale-blue) 28%, transparent);
}

.ws-sale-button-outline {
  border-color: color-mix(in srgb, var(--sale-blue) 35%, var(--sale-line));
  background: var(--sale-paper);
  color: var(--sale-ink);
}

.ws-sale-button-white {
  background: var(--sale-paper);
  color: var(--sale-ink);
}

.ws-sale-button:hover {
  transform: translateY(-2px);
}

.ws-sale-button-primary:hover {
  box-shadow: 0 14px 32px color-mix(in srgb, var(--sale-blue) 34%, transparent);
}

.ws-sale-button-outline:hover {
  border-color: var(--sale-blue);
  background: var(--sale-tint);
}

.ws-sale-arrow::after {
  content: "→";
  font-size: 1.15em;
  line-height: 1;
  transition: transform .22s ease;
}

.ws-sale-button:hover.ws-sale-arrow::after {
  transform: translateX(3px);
}

.ws-sale-play::before {
  content: "▶";
  display: inline-grid;
  width: 1.65em;
  aspect-ratio: 1;
  place-items: center;
  border: 1.5px solid var(--sale-blue);
  border-radius: 50%;
  color: var(--sale-blue);
  font-size: .72em;
}

/* —— Header —— */
.ws-sale-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0 0;
  margin-bottom: -74px;
  background: transparent;
  border: 0;
}

.ws-sale-nav-wrap {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  padding: 8px 14px 8px 16px;
  border: 1px solid #ffffff1f;
  border-radius: 18px;
  background: linear-gradient(180deg, #1a2436e6, #121a28d9);
  box-shadow: 0 14px 36px #0a101c33;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.ws-sale-brand {
  display: flex;
  flex: 0 0 clamp(112px, 11vw, 168px);
  align-items: center;
}

.ws-sale-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: left;
  filter: brightness(0) invert(1);
}

.ws-sale-desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.1vw, 8px);
}

.ws-sale-header nav a,
.ws-sale-header summary {
  color: #e8eef8;
  font-size: clamp(13px, 1vw, 14.5px);
  font-weight: 600;
  text-decoration: none;
}

.ws-sale-desktop-nav > a,
.ws-sale-desktop-nav > .ws-sale-dropdown > summary {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.ws-sale-header nav a:hover,
.ws-sale-dropdown summary:hover {
  color: #fff;
  background: #ffffff14;
}

.ws-sale-header summary {
  cursor: pointer;
  list-style: none;
}

.ws-sale-header summary::-webkit-details-marker {
  display: none;
}

.ws-sale-dropdown {
  position: relative;
}

.ws-sale-dropdown summary {
  white-space: nowrap;
}

.ws-sale-dropdown summary::after {
  content: "";
  display: inline-block;
  width: .45em;
  height: .45em;
  margin-left: .45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.12em) rotate(45deg);
  opacity: .7;
}

.ws-sale-dropdown > div,
.ws-sale-mobile-nav nav {
  position: absolute;
  top: calc(100% + 12px);
  min-width: max-content;
  padding: 8px;
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  background: #172033f5;
  box-shadow: 0 18px 40px #0a101c55;
}

.ws-sale-dropdown a,
.ws-sale-mobile-nav nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #e8eef8;
}

.ws-sale-dropdown a:hover,
.ws-sale-mobile-nav nav a:hover {
  background: #ffffff14;
  color: #fff;
}

.ws-sale-nav-phone,
.ws-sale-nav-cta {
  min-height: 40px;
  white-space: nowrap;
}

.ws-sale-nav-phone {
  color: #d7e4ff;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding-inline: .75em;
}

.ws-sale-nav-phone:hover {
  color: #fff;
  background: #ffffff12;
  transform: none;
}

.ws-sale-nav-cta {
  min-height: 40px;
  padding-block: .4em;
  padding-inline: 1.05em;
  font-size: 13.5px;
  border-radius: 999px;
  box-shadow: 0 8px 20px #0655f855;
}

.ws-sale-mobile-nav {
  display: none;
  position: relative;
}

.ws-sale-mobile-nav nav {
  right: 0;
  z-index: 5;
}

.ws-sale-mobile-nav summary {
  display: grid;
  width: 40px;
  height: 40px;
  align-content: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  background: #ffffff10;
  color: #fff;
}

.ws-sale-mobile-nav summary span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
}

/* —— Hero: full-bleed photo + soft wave —— */
.ws-sale-hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: min(86vh, 720px);
  display: grid;
  align-items: end;
  background: #1a2438;
}

.ws-sale-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0 0 0 0;
}

.ws-sale-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 1.5s ease;
}

.ws-sale-hero:hover .ws-sale-hero-photo {
  transform: scale(1.06);
}

.ws-sale-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, #121a28e8 0%, #121a28b8 28%, #121a2866 48%, transparent 68%),
    linear-gradient(to top, #121a28cc 0%, #121a2840 42%, transparent 68%);
  pointer-events: none;
}

.ws-sale-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(88px, 11vw, 128px) clamp(88px, 10vw, 128px);
}

.ws-sale-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(48px, 6vw, 88px);
  line-height: 0;
  pointer-events: none;
}

.ws-sale-hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ws-sale-hero-copy {
  max-width: 36rem;
  min-width: 0;
  color: #f7f9fc;
}

.ws-sale-hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -.045em;
  color: #fff;
  text-shadow: 0 1px 18px #121a2840;
}

.ws-sale-hero h1 > span {
  display: block;
}

.ws-sale-accent {
  color: #9ec0ff;
}

.ws-sale-hero-copy .ws-sale-lead {
  max-width: 34ch;
  margin: 1em 0 1.4em;
  color: #d7deea;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.ws-sale-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.ws-sale-hero .ws-sale-button-outline {
  border-color: #ffffff6b;
  background: #ffffff1a;
  color: #fff;
  backdrop-filter: blur(8px);
}

.ws-sale-hero .ws-sale-button-outline:hover {
  border-color: #fff;
  background: #ffffff2e;
}

.ws-sale-hero .ws-sale-play::before {
  border-color: currentColor;
  color: currentColor;
}

.ws-sale-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 1.5em 0 0;
  padding: 0;
  list-style: none;
  color: #c5cedc;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
}

.ws-sale-reassurance li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-sale-reassurance li::before {
  content: "";
  width: .45em;
  height: .45em;
  border-radius: 50%;
  background: #9ec0ff;
  flex: 0 0 auto;
}

/* —— Benefits: open strip under wave —— */
.ws-sale-benefits {
  position: relative;
  z-index: 3;
  margin-top: clamp(-18px, -2vw, -8px);
  padding-block: 8px clamp(40px, 5.5vw, 64px);
  background: #fff;
  border: 0;
}

.ws-sale-benefits .ws-sale-wrap.ws-sale-benefit-grid,
ul.ws-sale-benefit-grid {
  width: min(1080px, calc(100% - 7.5vw)) !important;
  max-width: 1080px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  margin-inline: auto;
  padding: 8px 0 0;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ws-sale-benefit-grid > li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px clamp(16px, 1.8vw, 28px);
  box-sizing: border-box;
  border: 0;
  border-inline-end: 1px solid color-mix(in srgb, var(--sale-line) 80%, transparent);
  border-radius: 0;
  background: transparent;
  text-align: left;
  transition: opacity .45s ease, transform .45s ease;
}

.ws-sale-benefit-grid > li:last-child {
  border-inline-end: 0;
}

.ws-sale-benefit-grid > li:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--sale-line) 80%, transparent);
  box-shadow: none;
}

.ws-sale-benefit-grid > li:last-child:hover {
  border-inline-end: 0;
}

.ws-sale-benefit-grid strong {
  display: block;
  margin: 0 0 6px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.25;
  letter-spacing: -.03em;
}

.ws-sale-benefit-grid p {
  margin: 0;
  max-width: 22ch;
  color: var(--sale-muted);
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.5;
}

.ws-sale-benefit-grid .ws-sale-icon {
  width: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sale-blue) 8%, #f3f6fb);
  color: var(--sale-blue);
  box-shadow: none;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}

.ws-sale-benefit-grid > li:hover .ws-sale-icon {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--sale-blue) 14%, #f3f6fb);
}

.ws-sale-icon {
  display: inline-grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 12px;
  background: var(--sale-tint);
  color: var(--sale-blue);
}

.ws-sale-icon svg {
  width: 52%;
  height: 52%;
  stroke-width: 1.7;
}

/* —— Examples —— */
.ws-sale-examples {
  padding-block: clamp(48px, 6.5vw, 88px) clamp(36px, 5vw, 64px);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--sale-blue) 7%, transparent), transparent 55%),
    var(--sale-mist);
}

.ws-sale-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 36px);
  text-align: center;
}

.ws-sale-text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: var(--sale-blue);
  font-weight: 700;
  font-size: clamp(14px, 1.15vw, 16px);
  text-decoration: none;
  transition: color .22s ease, transform .22s ease, gap .22s ease;
}

.ws-sale-text-link:hover {
  gap: .65em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ws-sale-examples:has(.ws-template-carousel) .ws-sale-projects-fallback {
  display: none;
}

.ws-sale-projects {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  justify-content: safe center;
  gap: 16px;
  width: min(980px, 100%);
  margin-inline: auto;
  padding-inline: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--sale-blue) 35%, #c5d0e0) transparent;
}

.ws-sale-projects::-webkit-scrollbar {
  height: 6px;
}

.ws-sale-projects::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--sale-blue) 35%, #c5d0e0);
}

.ws-sale-project {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.55;
  border-radius: var(--sale-radius);
  background: var(--sale-tint);
  scroll-snap-align: start;
  transition: transform .35s ease, box-shadow .35s ease;
}

.ws-sale-project:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px #13233f1a;
}

.ws-sale-project > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .55s ease;
}

.ws-sale-project:hover > img {
  transform: scale(1.06);
}

.ws-sale-project-actions {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 14px 14px;
  background: linear-gradient(to top, #13233fe6 0%, #13233f66 55%, transparent);
  font-size: clamp(13px, 1.1vw, 15px);
  transition: padding .3s ease;
}

.ws-sale-project:hover .ws-sale-project-actions {
  padding-bottom: 18px;
}

.ws-sale-project-link {
  position: relative;
  z-index: 1;
  padding: .4em .1em;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
}

.ws-sale-project-link::after {
  content: "";
  position: absolute;
  inset: -40% -8% -40% -8%;
}

.ws-sale-project-actions::after {
  content: "→";
  display: grid;
  flex: 0 0 2em;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, white 92%, transparent);
  color: var(--sale-ink);
  font-size: 1.1em;
  pointer-events: none;
  transition: transform .25s ease;
}

.ws-sale-project:hover .ws-sale-project-actions::after {
  transform: translateX(3px);
}

/* —— Public catalog carousel inside sale examples —— */
.ws-sale-examples .ws-template-carousel {
  position: relative;
  min-width: 0;
  margin-top: 0;
  padding-inline: 44px;
}

.ws-sale-examples .ws-template-carousel .ws-catalog-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  margin: 0;
  padding: 4px 0 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ws-sale-examples .ws-template-carousel .ws-catalog-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.ws-sale-examples .ws-template-carousel .ws-example-card {
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: start;
  transition: transform .35s ease, box-shadow .35s ease;
}

.ws-sale-examples .ws-template-carousel .ws-example-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  background: transparent;
}

.ws-sale-examples .ws-template-carousel .ws-template-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.55;
  padding: 0;
  border: 0;
  border-radius: var(--sale-radius);
  background: var(--sale-tint);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 30px #13233f12;
  transition: box-shadow .35s ease;
}

.ws-sale-examples .ws-template-carousel .ws-example-card:hover .ws-template-card {
  box-shadow: 0 20px 40px #13233f1f;
}

.ws-sale-examples .ws-template-carousel .ws-example-preview {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: var(--sale-tint);
}

.ws-sale-examples .ws-template-carousel .ws-example-preview img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top;
  transition: transform .55s ease;
}

.ws-sale-examples .ws-template-carousel .ws-example-card:hover .ws-example-preview img {
  transform: scale(1.06);
}

.ws-sale-examples .ws-template-carousel .ws-template-card-name {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block;
  padding: 22px 3.4em 14px 14px;
  border: 0;
  background: linear-gradient(to top, #13233fe6 0%, #13233f66 55%, transparent);
  color: #fff;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
  text-wrap: balance;
}

.ws-sale-examples .ws-template-carousel .ws-template-card-name::after {
  content: "→";
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: grid;
  width: 2em;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, white 92%, transparent);
  color: var(--sale-ink);
  font-size: 1.05em;
  font-weight: 700;
  transition: transform .25s ease;
}

.ws-sale-examples .ws-template-carousel .ws-example-card:hover .ws-template-card-name::after {
  transform: translateX(3px);
}

.ws-sale-examples .ws-carousel-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  border-color: color-mix(in srgb, var(--sale-blue) 22%, var(--sale-line));
  background: #fff;
  color: var(--sale-blue);
  box-shadow: 0 10px 24px #121a2814;
  transform: translateY(calc(-50% - 8px));
}

.ws-sale-examples .ws-carousel-arrow:hover {
  background: color-mix(in srgb, var(--sale-blue) 8%, #fff);
}

.ws-sale-examples .ws-carousel-controls {
  margin-top: 14px;
}

.ws-sale-examples .ws-carousel-dots button::before {
  background: color-mix(in srgb, var(--sale-blue) 28%, #c5d0e0);
}

.ws-sale-examples .ws-carousel-dots button[aria-current="true"]::before {
  background: var(--sale-blue);
}

/* —— System / Webík —— */
.ws-sale-system {
  position: relative;
  padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5.5vw, 72px);
  background: #fff;
  scroll-margin-top: 88px;
  overflow: clip;
}

.ws-sale-system-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(32px, 4.5vw, 56px) clamp(20px, 3vw, 40px) clamp(28px, 3.5vw, 44px);
  border: 1px solid color-mix(in srgb, var(--sale-line) 85%, transparent);
  border-radius: calc(var(--sale-radius) + 10px);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, color-mix(in srgb, var(--sale-blue) 14%, transparent), transparent 55%),
    radial-gradient(ellipse 55% 70% at 50% 100%, color-mix(in srgb, var(--sale-blue) 8%, transparent), transparent 50%),
    linear-gradient(165deg, #f7f9fd 0%, #fff 42%, #f3f6fb 100%);
  box-shadow: 0 28px 60px #121a280d;
  text-align: center;
}

.ws-sale-system-copy {
  max-width: 38rem;
}

.ws-sale-system-eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sale-blue) 10%, #fff);
  color: var(--sale-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  line-height: 1.3;
}

.ws-sale-system-copy .ws-sale-lead {
  max-width: 42ch;
  margin: .85em auto 0;
  color: var(--sale-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.ws-sale-system-media {
  position: relative;
  width: min(1080px, calc(100% + 24px));
  margin: 0;
  isolation: isolate;
}

.ws-sale-system-media-glow {
  position: absolute;
  inset: 18% -6% -8%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--sale-blue) 26%, transparent), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.ws-sale-system-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid color-mix(in srgb, var(--sale-line) 75%, transparent);
  border-radius: calc(var(--sale-radius) + 6px);
  background: #fff;
  box-shadow:
    0 1px 0 #ffffffa6 inset,
    0 28px 56px #121a2818;
  transition: transform .55s ease, box-shadow .55s ease;
}

.ws-sale-system-media:hover img {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 #ffffffa6 inset,
    0 34px 64px #121a281f;
}

.ws-sale-system-action {
  display: flex;
  justify-content: center;
}

.ws-sale-system-action .ws-sale-button {
  min-height: 46px;
}

/* —— FAQ —— */
.ws-sale-faq {
  padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6.5vw, 88px);
  background:
    linear-gradient(180deg, #fff 0%, var(--sale-mist) 42%, #fff 100%);
  scroll-margin-top: 88px;
}

.ws-sale-faq-intro {
  max-width: 36rem;
  margin: 0 auto clamp(22px, 3vw, 36px);
  text-align: center;
}

.ws-sale-faq-intro p {
  max-width: 36ch;
  margin: .7em auto 0;
  color: var(--sale-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
}

.ws-sale-faq-list {
  width: min(760px, 100%);
  margin-inline: auto;
}

.ws-sale-faq details {
  margin: 0 0 10px;
  border: 1px solid color-mix(in srgb, var(--sale-line) 85%, transparent);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px #121a2808;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .35s ease, opacity .45s ease;
}

.ws-sale-faq details:hover {
  border-color: color-mix(in srgb, var(--sale-blue) 24%, var(--sale-line));
  box-shadow: 0 14px 32px #121a280e;
}

.ws-sale-faq details[open] {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sale-blue) 5%, #fff), #fff);
  border-color: color-mix(in srgb, var(--sale-blue) 22%, var(--sale-line));
}

.ws-sale-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 20px;
  list-style: none;
  cursor: pointer;
  color: var(--sale-ink);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
  transition: color .2s ease;
}

.ws-sale-faq details[open] summary {
  color: color-mix(in srgb, var(--sale-blue) 55%, var(--sale-ink));
}

.ws-sale-faq details::details-content {
  transition: content-visibility .28s allow-discrete, block-size .28s ease, opacity .28s ease;
  block-size: 0;
  opacity: 0;
  overflow: hidden;
}

.ws-sale-faq details[open]::details-content {
  block-size: auto;
  opacity: 1;
}

@supports (interpolate-size: allow-keywords) {
  .ws-sale-faq {
    interpolate-size: allow-keywords;
  }
}

.ws-sale-faq summary::-webkit-details-marker {
  display: none;
}

.ws-sale-faq-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--sale-blue) 10%, #fff);
  color: var(--sale-blue);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}

.ws-sale-faq-icon::after {
  content: "+";
}

.ws-sale-faq details[open] .ws-sale-faq-icon {
  background: color-mix(in srgb, var(--sale-blue) 16%, #fff);
  transform: rotate(180deg);
}

.ws-sale-faq details[open] .ws-sale-faq-icon::after {
  content: "−";
}

.ws-sale-faq details p {
  margin: 0;
  padding: 0 52px 18px 20px;
  color: var(--sale-muted);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  transform-origin: top;
}

.ws-sale-faq summary:focus-visible {
  outline: 3px solid var(--sale-blue);
  outline-offset: 3px;
  border-radius: 12px;
}

/* —— Offer / one comparison table —— */
.ws-sale-offer {
  padding-block: clamp(40px, 5.5vw, 72px) clamp(24px, 3.5vw, 40px);
  background: var(--sale-paper);
  scroll-margin-top: 80px;
}

.ws-sale-offer-intro {
  max-width: 40rem;
  margin: 0 auto clamp(18px, 2.5vw, 28px);
  text-align: center;
}

.ws-sale-offer-intro p {
  max-width: 42ch;
  margin: .7em auto 0;
  color: var(--sale-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
}

.ws-sale-compare {
  width: min(860px, 100%);
  margin-inline: auto;
}

.ws-sale-compare-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ws-sale-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--sale-line);
  border-radius: calc(var(--sale-radius) + 2px);
  overflow: hidden;
  background: #fff;
  font-size: clamp(13px, 1.05vw, 15px);
}

.ws-sale-compare-table th,
.ws-sale-compare-table td {
  padding: .72em 1em;
  border-top: 1px solid var(--sale-line);
  text-align: center;
  vertical-align: middle;
}

.ws-sale-compare-table thead th {
  border-top: 0;
  background: var(--sale-mist);
  font-weight: 700;
  text-align: center;
}

.ws-sale-compare-table thead .ws-sale-compare-feature-col {
  width: 28%;
  background: var(--sale-mist);
}

.ws-sale-compare-table thead .ws-sale-plan-head-custom {
  background: color-mix(in srgb, var(--sale-blue) 8%, white);
}

.ws-sale-plan-head {
  display: grid;
  gap: 6px;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.ws-sale-plan-head h3 {
  margin: 0;
  font-size: clamp(17px, 1.55vw, 20px);
  color: var(--sale-ink);
}

.ws-sale-plan-head p {
  margin: 0;
  max-width: 22ch;
  color: var(--sale-muted);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  line-height: 1.35;
}

.ws-sale-price {
  color: var(--sale-blue);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.ws-sale-compare-table tbody th {
  width: 28%;
  color: var(--sale-ink);
  font-weight: 650;
  text-align: left;
  background: #fff;
}

.ws-sale-compare-table tbody td {
  color: var(--sale-ink);
}

.ws-sale-compare-table tbody tr:nth-child(even) th,
.ws-sale-compare-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--sale-mist) 65%, white);
}

.ws-sale-compare-table tbody tr:nth-child(even) td:last-child {
  background: color-mix(in srgb, var(--sale-blue) 5%, #f7f9fc);
}

.ws-sale-compare-yes {
  color: var(--sale-blue);
  font-size: 1.2em;
  font-weight: 800;
}

.ws-sale-compare-no {
  color: #9aa6b8;
}

.ws-sale-compare-table tfoot td {
  border-top: 1px solid var(--sale-line);
  background: var(--sale-mist);
  padding: 14px 12px;
}

.ws-sale-compare-table tfoot td:last-child {
  background: color-mix(in srgb, var(--sale-blue) 7%, white);
}

.ws-sale-compare-table tfoot .ws-sale-button {
  width: min(100%, 220px);
  min-height: 44px;
  padding-block: .55em;
  font-size: 14px;
}

.ws-sale-offer .ws-sale-terms {
  width: min(860px, 100%);
  margin: 14px auto 0;
  text-align: center;
  color: var(--sale-muted);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.45;
}

.ws-sale-form {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 2.8vw, 32px);
  align-items: stretch;
  width: min(1080px, 100%);
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid color-mix(in srgb, var(--sale-blue) 18%, var(--sale-line));
  border-radius: calc(var(--sale-radius) + 10px);
  background:
    radial-gradient(ellipse 68% 90% at 12% 18%, color-mix(in srgb, var(--sale-blue) 22%, transparent), transparent 58%),
    radial-gradient(ellipse 55% 70% at 92% 88%, color-mix(in srgb, var(--sale-blue) 12%, transparent), transparent 52%),
    linear-gradient(145deg, #eaf0ff 0%, #f4f7fd 46%, #eef3fb 100%);
  box-shadow: 0 24px 56px #121a2810;
  scroll-margin-top: 88px;
}

.ws-sale-form-aside {
  display: grid;
  align-content: center;
  gap: 14px;
  justify-items: start;
  min-width: 0;
  padding: clamp(8px, 1.4vw, 18px) clamp(4px, 1vw, 12px);
}

.ws-sale-form-aside h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.ws-sale-form-aside .ws-sale-lead {
  margin: 0;
  max-width: 32ch;
  color: var(--sale-muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
}

.ws-sale-form-call {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.ws-sale-form-call-label {
  margin: 0;
  color: var(--sale-muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}

.ws-sale-form-phone-row {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px 12px 12px;
  border: 1px solid color-mix(in srgb, var(--sale-blue) 16%, #fff);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 78%, transparent);
  box-shadow: 0 10px 28px #121a280a;
  backdrop-filter: blur(8px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ws-sale-form-phone {
  color: var(--sale-ink);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-decoration: none;
  transition: color .22s ease;
}

.ws-sale-form-phone-row:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--sale-blue) 32%, #fff);
  box-shadow: 0 14px 32px #121a2812;
}

.ws-sale-form-phone-row:hover .ws-sale-form-phone,
.ws-sale-form-phone:hover {
  color: var(--sale-blue);
}

.ws-sale-form-phone-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--sale-blue);
  color: var(--sale-on-blue);
  font-size: 1rem;
}

.ws-sale-form-card {
  min-width: 0;
  height: 100%;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid color-mix(in srgb, var(--sale-blue) 10%, #fff);
  border-radius: calc(var(--sale-radius) + 4px);
  background: #fff;
  box-shadow: 0 18px 40px #121a2812;
}

.ws-sale-form-card .webik-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px !important;
  margin: 0;
  max-width: none;
  padding: 0;
  border: 0;
}

.ws-sale-form-card .webik-form > input[name="form_id"],
.ws-sale-form-card .webik-form .webik-form-field--short_text,
.ws-sale-form-card .webik-form .webik-form-field--select,
.ws-sale-form-card .webik-form .webik-form-field--long_text,
.ws-sale-form-card .webik-form .webik-form-field--consent,
.ws-sale-form-card .webik-form .webik-form-field--checkbox,
.ws-sale-form-card .webik-form .webik-form-honeypot,
.ws-sale-form-card .webik-form .webik-form-submit,
.ws-sale-form-card .webik-form .webik-form-status {
  grid-column: 1 / -1;
}

.ws-sale-form-card .webik-form-field--select .webik-form-control {
  cursor: pointer;
}

.ws-sale-form-card .webik-form .webik-form-field--email,
.ws-sale-form-card .webik-form .webik-form-field--phone {
  grid-column: span 1;
}

.ws-sale-form-card .webik-form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: inherit;
  font: inherit;
}

.ws-sale-form-card .webik-form-label {
  display: block;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.45;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--sale-ink) !important;
}

.ws-sale-form-card .webik-form-required {
  margin-left: .2em;
  color: var(--sale-muted);
  font-size: 12px;
  font-weight: 500;
}

.ws-sale-form-card .webik-form-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--sale-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sale-ink);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ws-sale-form-card .webik-form-control:hover {
  border-color: color-mix(in srgb, var(--sale-blue) 28%, var(--sale-line));
}

.ws-sale-form-card .webik-form-control:focus {
  border-color: var(--sale-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sale-blue) 18%, transparent);
  outline: none;
}

.ws-sale-form-card textarea.webik-form-control {
  min-height: 120px;
  resize: vertical;
}

.ws-sale-form-card .webik-form-field--consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ws-sale-form-card .webik-form-checkbox {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--sale-blue);
}

.ws-sale-form-card .webik-form-field--consent .webik-form-label {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--sale-muted);
}

.ws-sale-form-card .webik-form-submit {
  justify-self: stretch;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--sale-blue);
  color: var(--sale-on-blue);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

/* —— Demo page —— */
.ws-sale-demo {
  padding-block: clamp(36px, 5vw, 72px);
  background: var(--sale-mist);
}

.ws-sale-demo h1 {
  font-size: clamp(34px, 4.5vw, 52px);
}

.ws-sale-demo > .ws-sale-wrap > p {
  max-width: 58ch;
  margin: 1em 0 1.45em;
  color: var(--sale-muted);
}

.ws-demo-sandbox {
  margin-bottom: 20px;
  border: 1px solid var(--sale-line);
  border-radius: calc(var(--sale-radius) + 2px);
  overflow: hidden;
  background: var(--sale-paper);
}

.ws-demo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 18px 20px;
  background: var(--sale-tint);
}

.ws-demo-tools fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ws-demo-tools legend {
  margin-bottom: 6px;
  font-weight: 700;
}

.ws-demo-tools label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--sale-line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.ws-demo-tools label:has(:checked) {
  border-color: var(--sale-blue);
}

.ws-demo-tools input {
  margin: 0;
  accent-color: var(--sale-blue);
}

.ws-demo-preview {
  --sandbox-color: #163e94;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sandbox-color);
  color: white;
}

.ws-demo-sandbox:has([name="ws-demo-color"][value="green"]:checked) .ws-demo-preview {
  --sandbox-color: #224f3d;
}

.ws-demo-sandbox:has([name="ws-demo-color"][value="rose"]:checked) .ws-demo-preview {
  --sandbox-color: #833554;
}

.ws-demo-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(18px, 4vw, 58px);
  overflow-wrap: anywhere;
}

.ws-demo-copy > p:first-child {
  margin: 0 0 1em;
  font-weight: 700;
}

.ws-demo-copy [contenteditable] {
  min-height: 1.35em;
  padding: .14em;
  border: 1px dashed #ffffff8c;
  border-radius: 5px;
  cursor: text;
  white-space: pre-wrap;
}

.ws-demo-copy [contenteditable]:focus-visible {
  outline-color: white;
}

.ws-demo-images img {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.ws-demo-sandbox:has([value="coffee"]:checked) [data-demo-photo="coffee"],
.ws-demo-sandbox:has([value="flowers"]:checked) [data-demo-photo="flowers"],
.ws-demo-sandbox:has([value="house"]:checked) [data-demo-photo="house"] {
  display: block;
}

/* —— Motion —— */
.ws-sale-nav-wrap {
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.ws-sale-compare-table tbody tr {
  transition: background .22s ease;
}

.ws-sale-compare-table tbody tr:hover td,
.ws-sale-compare-table tbody tr:hover th {
  background: color-mix(in srgb, var(--sale-blue) 4%, transparent);
}

.ws-sale-form {
  transition: box-shadow .35s ease;
}

.ws-sale-form-card {
  transition: box-shadow .35s ease, transform .35s ease;
}

.ws-sale-form-card:focus-within {
  box-shadow: 0 22px 48px #121a2818;
}

.ws-sale-terms,
.ws-sale-offer .ws-sale-terms {
  transition: opacity .4s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .ws-sale-nav-wrap {
    animation: ws-sale-fade .7s cubic-bezier(.2, .7, .25, 1) both;
  }

  .ws-sale-hero-copy {
    animation: ws-sale-rise .85s cubic-bezier(.2, .7, .25, 1) .08s both;
  }

  .ws-sale-hero-wave {
    animation: ws-sale-fade 1s ease .2s both;
  }

  .ws-sale-section-head,
  .ws-sale-system-panel,
  .ws-sale-faq-intro,
  .ws-sale-offer-intro,
  .ws-sale-compare,
  .ws-sale-terms,
  .ws-sale-form {
    animation: ws-sale-rise .75s cubic-bezier(.2, .7, .25, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }

  .ws-sale-benefit-grid > li,
  .ws-sale-project,
  .ws-sale-faq details {
    animation: ws-sale-rise .7s cubic-bezier(.2, .7, .25, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }

  .ws-sale-benefit-grid > li:nth-child(2),
  .ws-sale-project:nth-child(2),
  .ws-sale-faq details:nth-child(2) {
    animation-delay: .06s;
  }

  .ws-sale-benefit-grid > li:nth-child(3),
  .ws-sale-project:nth-child(3),
  .ws-sale-faq details:nth-child(3) {
    animation-delay: .12s;
  }

  .ws-sale-benefit-grid > li:nth-child(4),
  .ws-sale-faq details:nth-child(4) {
    animation-delay: .18s;
  }

  .ws-sale-faq details:nth-child(5) {
    animation-delay: .24s;
  }

  .ws-sale-system-media {
    animation: ws-sale-scale .85s cubic-bezier(.2, .7, .25, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 32%;
  }
}

@keyframes ws-sale-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ws-sale-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ws-sale-scale {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-sale-button,
  .ws-sale-project,
  .ws-sale-project > img,
  .ws-sale-hero-photo,
  .ws-sale-text-link,
  .ws-sale-benefit-grid .ws-sale-icon,
  .ws-sale-system-media img,
  .ws-sale-faq details,
  .ws-sale-faq-icon,
  .ws-sale-form,
  .ws-sale-form-card,
  .ws-sale-form-card .webik-form-control,
  .ws-sale-form-phone-row,
  .ws-sale-form-phone,
  .ws-sale-nav-wrap,
  .ws-sale-compare-table tbody tr {
    transition: none !important;
  }

  .ws-sale-nav-wrap,
  .ws-sale-hero-copy,
  .ws-sale-hero-wave,
  .ws-sale-section-head,
  .ws-sale-system-panel,
  .ws-sale-system-media,
  .ws-sale-faq-intro,
  .ws-sale-faq details,
  .ws-sale-offer-intro,
  .ws-sale-compare,
  .ws-sale-terms,
  .ws-sale-form,
  .ws-sale-benefit-grid > li,
  .ws-sale-project {
    animation: none !important;
  }

  .ws-sale-faq details::details-content {
    transition: none !important;
  }

  .ws-sale-hero:hover .ws-sale-hero-photo,
  .ws-sale-project:hover,
  .ws-sale-project:hover > img,
  .ws-sale-project:hover .ws-sale-project-actions::after,
  .ws-sale-benefit-grid > li:hover,
  .ws-sale-benefit-grid > li:hover .ws-sale-icon,
  .ws-sale-system-media:hover img,
  .ws-sale-button:hover,
  .ws-sale-text-link:hover {
    transform: none;
  }
}

/* —— Responsive —— */
@media (max-width: 1000px) {
  .ws-sale-desktop-nav {
    display: none;
  }

  .ws-sale-mobile-nav {
    display: block;
  }

  .ws-sale-nav-phone {
    margin-inline-start: auto;
  }

  .ws-sale-header {
    padding-top: 10px;
  }

  .ws-sale-benefits .ws-sale-wrap.ws-sale-benefit-grid,
  ul.ws-sale-benefit-grid {
    width: min(960px, calc(100% - 36px)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .ws-sale-benefit-grid > li {
    padding: 18px 16px;
    border-inline-end: 0;
    border-block-end: 1px solid color-mix(in srgb, var(--sale-line) 80%, transparent);
  }

  .ws-sale-benefit-grid > li:nth-child(odd) {
    border-inline-end: 1px solid color-mix(in srgb, var(--sale-line) 80%, transparent);
  }

  .ws-sale-benefit-grid > li:nth-child(n + 3) {
    border-block-end: 0;
  }

  .ws-sale-benefit-grid > li:hover {
    border-color: color-mix(in srgb, var(--sale-line) 80%, transparent);
  }

}

@media (max-width: 780px) {
  .ws-sale-wrap {
    width: calc(100% - 36px);
  }

  .ws-sale-hero {
    min-height: min(92vh, 680px);
    align-items: end;
  }

  .ws-sale-hero-photo {
    object-position: center;
  }

  .ws-sale-hero-media::after {
    background:
      linear-gradient(to top, #121a28f2 0%, #121a28a6 42%, #121a2833 70%, transparent 100%);
  }

  .ws-sale-hero-grid {
    padding-block: 36px 96px;
  }

  .ws-sale-hero-copy {
    max-width: none;
  }

  .ws-sale-hero-copy .ws-sale-lead {
    max-width: 36ch;
  }

  .ws-sale-system-panel {
    padding: 26px 16px 22px;
    gap: 20px;
  }

  .ws-sale-system-copy .ws-sale-lead {
    max-width: none;
  }

  .ws-sale-benefits {
    margin-top: -10px;
    padding-block-start: 4px;
  }

  .ws-sale-projects {
    grid-auto-columns: minmax(240px, 78vw);
    width: 100%;
  }

  .ws-sale-project {
    aspect-ratio: 1.55;
  }

  .ws-sale-examples .ws-template-carousel {
    padding-inline: 0;
  }

  .ws-sale-examples .ws-template-carousel .ws-catalog-grid {
    grid-auto-columns: minmax(240px, 82%);
    gap: 12px;
  }

  .ws-sale-examples .ws-carousel-arrow {
    display: none;
  }

  .ws-sale-examples .ws-carousel-controls {
    justify-content: flex-end;
    margin-top: 6px;
  }

  .ws-sale-examples .ws-carousel-dots {
    display: none;
  }

  .ws-sale-compare-table tfoot .ws-sale-button {
    width: 100%;
  }

  .ws-sale-form {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .ws-sale-form-aside {
    padding: 4px 2px 0;
  }

  .ws-sale-form-aside .ws-sale-lead {
    max-width: none;
  }

  .ws-sale-form-phone-row {
    width: 100%;
    justify-content: flex-start;
  }

  .ws-sale-form-card .webik-form {
    grid-template-columns: 1fr;
  }

  .ws-sale-form-card .webik-form .webik-form-field--email,
  .ws-sale-form-card .webik-form .webik-form-field--phone {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .ws-sale-nav-wrap {
    min-height: 60px;
  }

  .ws-sale-nav-cta {
    display: none;
  }

  .ws-sale-nav-phone {
    min-height: 40px;
    padding-inline: .55em;
    font-size: 12px;
  }

  .ws-sale-actions .ws-sale-button {
    flex: 1 1 auto;
    padding-inline: .95em;
  }

  .ws-sale-compare-table .ws-sale-plan-head p {
    display: none;
  }

  .ws-sale-compare-table th,
  .ws-sale-compare-table td {
    padding: .65em .55em;
  }

  .ws-sale-benefit-grid,
  .ws-sale-benefits .ws-sale-wrap.ws-sale-benefit-grid {
    width: calc(100% - 28px) !important;
    grid-template-columns: 1fr;
  }

  .ws-sale-benefit-grid > li,
  .ws-sale-benefit-grid > li:nth-child(odd) {
    padding: 16px 4px;
    border-inline-end: 0;
    border-block-end: 1px solid color-mix(in srgb, var(--sale-line) 80%, transparent);
  }

  .ws-sale-benefit-grid > li:last-child {
    border-block-end: 0;
  }

  .ws-sale-benefit-grid p {
    max-width: none;
  }

  .ws-demo-preview {
    grid-template-columns: 1fr;
  }

  .ws-demo-images img {
    height: 220px;
    min-height: 0;
  }
}
