/* Scoped pricing component; can be included on product and home pages. */
.form-pricing {
  --pricing-bg: #0d1317;
  --pricing-rule: #526066;
  --pricing-muted: #c1c8cb;
  --pricing-accent: #ff5b23;
  background: var(--pricing-bg);
  color: #f5f5f1;
  padding: clamp(56px, 6vw, 88px) clamp(24px, 5vw, 84px);
  font-family: var(--body, 'Roboto Condensed', Arial, sans-serif);
}
.form-pricing *, .form-pricing *::before, .form-pricing *::after { box-sizing: border-box; }
.form-pricing ::selection { background: var(--pricing-accent); color: #0d1317; }
.form-pricing__inner { max-width: 1200px; margin-inline: auto; }
.form-pricing__heading { margin-bottom: 32px; }
.form-pricing__heading h2 { max-width: 1100px; margin: 0; font-family: var(--heading, 'Oswald', sans-serif); font-size: clamp(34px, 4vw, 58px); font-weight: 700; line-height: 1.14; letter-spacing: -.025em; text-transform: uppercase; text-wrap: balance; }
.form-pricing__heading > p { max-width: 850px; margin: 23px 0 0; color: var(--pricing-muted); font-size: clamp(18px, 1.8vw, 23px); line-height: 1.45; }
.form-pricing__options { border-top: 1px solid var(--pricing-rule); }
.form-pricing__option { position: relative; display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 38px; align-items: center; margin: 0; padding: 28px 14px 28px 0; border-bottom: 1px solid var(--pricing-rule); isolation: isolate; }
.form-pricing__option--recommended { background: #ffffff05; }
.form-pricing__option--recommended::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--pricing-accent); transform-origin: center; }
.form-pricing__option--recommended::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #ffffff04; opacity: 0; }
.form-pricing__price { margin: 0; padding-inline: 18px; font-family: var(--heading, 'Oswald', sans-serif); font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.form-pricing__description { border-left: 1px solid var(--pricing-rule); padding-left: 30px; }
.form-pricing__description h3 { margin: 0 0 8px; font-family: var(--heading, 'Oswald', sans-serif); font-size: clamp(21px, 2vw, 28px); font-weight: 600; line-height: 1.22; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.form-pricing__description > p:not(.form-pricing__recommendation) { max-width: 680px; margin: 0; color: var(--pricing-muted); font-size: 20px; line-height: 1.4; text-wrap: pretty; }
.form-pricing__recommendation { margin: 0 0 7px; color: var(--pricing-accent); font-size: 16px; line-height: 1.25; font-weight: 600; text-transform: uppercase; }
.form-pricing__bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 27px 32px; margin-top: 28px; align-items: center; }
.form-pricing__explanation p { margin: 0; font-size: 19px; line-height: 1.45; color: var(--pricing-muted); }
.form-pricing__explanation p + p { margin-top: 5px; }
.form-pricing__explanation strong { font-weight: 500; color: #f5f5f1; }
.form-pricing__formula { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--heading, 'Oswald', sans-serif); font-size: 19px; line-height: 1.3; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.form-pricing__formula > span:nth-child(even) { color: #8f9a9f; font-size: 16px; }
.form-pricing__formula strong { color: var(--pricing-accent); font-weight: 500; }
.form-pricing__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.13fr 1fr 1.12fr; gap: 14px; }
.form-pricing__button { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 64px; padding: 17px 20px; border: 1px solid #6c777d; background: transparent; color: #f5f5f1; font-family: var(--body, 'Roboto Condensed', Arial, sans-serif); font-size: 21px; font-weight: 500; line-height: 1.25; text-decoration: none; transition: transform 220ms cubic-bezier(.16,1,.3,1); }
.form-pricing__button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #ffffff09; opacity: 0; transition: opacity 220ms ease-out; }
.form-pricing__button--primary { border-color: var(--pricing-accent); background: var(--pricing-accent); color: #fff; font-weight: 600; }
.form-pricing__button--primary::before { background: #00000012; }
.form-pricing__button > svg { width: 22px; height: 22px; margin-left: auto; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms cubic-bezier(.16,1,.3,1); }
.form-pricing__messenger { display: block; flex: 0 0 25px; width: 25px; height: 25px; background: currentColor; mask: var(--messenger) center / contain no-repeat; -webkit-mask: var(--messenger) center / contain no-repeat; }
.form-pricing__messenger--max { --messenger: url('assets/contact-max-outline.svg'); }
.form-pricing__messenger--telegram { --messenger: url('assets/contact-telegram-outline.svg'); }
.form-pricing__button:focus-visible { outline: 2px solid var(--pricing-accent); outline-offset: 5px; }
.form-pricing__button--primary:focus-visible { outline-color: #f5f5f1; }
.form-pricing__button:active { transform: scale(.985); }
@media (hover: hover) {
  .form-pricing__button:hover { transform: translateY(-2px); }
  .form-pricing__button:hover::before { opacity: 1; }
  .form-pricing__button:hover > svg { transform: translateX(3px); }
}
@media (max-width: 1050px) {
  .form-pricing__option { grid-template-columns: 230px minmax(0,1fr); gap: 18px; }
  .form-pricing__description { padding-left: 24px; }
  .form-pricing__bottom { grid-template-columns: 1fr; gap: 22px; }
  .form-pricing__button { font-size: 18px; padding-inline: 16px; gap: 10px; }
  .form-pricing__formula { font-size: 18px; }
}
@media (max-width: 700px) {
  .form-pricing { padding: 45px 24px; }
  .form-pricing__heading { margin-bottom: 25px; }
  .form-pricing__heading h2 { font-size: clamp(29px, 7.4vw, 43px); line-height: 1.18; letter-spacing: -.02em; text-wrap: initial; }
  .form-pricing__heading > p { margin-top: 18px; font-size: 17px; line-height: 1.45; }
  .form-pricing__option { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .form-pricing__option--recommended { padding-inline: 14px; }
  .form-pricing__price { padding-inline: 0; font-size: 31px; }
  .form-pricing__description { border: 0; padding: 0; }
  .form-pricing__description h3 { font-size: 21px; line-height: 1.27; text-wrap: initial; margin-bottom: 8px; }
  .form-pricing__description > p:not(.form-pricing__recommendation) { font-size: 17px; line-height: 1.45; }
  .form-pricing__recommendation { font-size: 14px; margin-bottom: 6px; }
  .form-pricing__bottom { gap: 22px; margin-top: 24px; }
  .form-pricing__explanation p { font-size: 17px; }
  .form-pricing__formula { gap: 11px; font-size: 18px; }
  .form-pricing__actions { grid-template-columns: 1fr; gap: 10px; }
  .form-pricing__button { min-height: 58px; font-size: 19px; padding: 15px 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .form-pricing [data-price-reveal].price-enter { animation: price-enter 460ms cubic-bezier(.16,1,.3,1) both; }
  .form-pricing__option--recommended.price-enter::before { animation: price-mark 650ms cubic-bezier(.16,1,.3,1) both; }
  .form-pricing__option--recommended.price-enter::after { animation: price-emphasis 1800ms ease-out 250ms both; }
  .form-pricing__option--recommended.price-enter .form-pricing__price { animation: price-number 1400ms ease-out 200ms both; }
  @keyframes price-enter { from { opacity: .45; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes price-mark { from { transform: scaleY(.12); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
  @keyframes price-emphasis { 0%,100% { opacity: 0; } 25%,55% { opacity: 1; } }
  @keyframes price-number { 0%,100% { filter: brightness(1); } 35% { filter: brightness(1.25); } }
}
@media (prefers-reduced-motion: reduce) {
  .form-pricing *, .form-pricing *::before, .form-pricing *::after { animation: none !important; transition: opacity 100ms ease-out !important; }
  .form-pricing__button:hover, .form-pricing__button:active, .form-pricing__button:hover > svg { transform: none; }
}
.pricing-preview { background: #0d1317; }
.pricing-preview .header { border-bottom-color: #ffffff14; }
.pricing-preview > .floating-contacts { display: none; }
/* Second motion pass: light travels through the comparison, then settles. */
.form-pricing__option { overflow: hidden; }
.form-pricing__row-wash, .form-pricing__scan, .form-pricing__rule { position: absolute; pointer-events: none; z-index: -1; }
.form-pricing__row-wash { inset: 0; background: #ffffff06; opacity: 0; transition: opacity 420ms ease-out; }
.form-pricing__scan { inset: 0; background: linear-gradient(105deg, transparent 28%, #ff5b2311 48%, #ffffff08 52%, transparent 72%); opacity: 0; transform: translateX(-110%); }
.form-pricing__rule { z-index: 1; inset: auto 0 -1px; height: 2px; background: linear-gradient(90deg, transparent, #ff5b23 30%, #ff9d65 70%, transparent); opacity: 0; transform: scaleX(0); transform-origin: left; }
.form-pricing__price { position: relative; width: fit-content; transition: transform 480ms cubic-bezier(.16,1,.3,1); transform-origin: left center; }
.form-pricing__price-light { position: absolute; inset: 0; padding-inline: inherit; color: var(--pricing-accent); opacity: 0; transition: opacity 480ms ease-out; pointer-events: none; }
.form-pricing__option--recommended::after { display: none; }
.form-pricing__button { overflow: hidden; transition: transform 350ms cubic-bezier(.16,1,.3,1); }
.form-pricing__button::before { background: #ff5b2317; border: 1px solid var(--pricing-accent); transition: opacity 300ms ease-out; }
.form-pricing__button--primary::before { background: #ffffff10; border-color: #ffbd9f; }
.form-pricing__button::after { content: ''; position: absolute; inset: -60% -30%; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 35%, #ffffff1f 49%, transparent 63%); opacity: 0; transform: translateX(-100%); }
.form-pricing__messenger { transition: transform 350ms cubic-bezier(.16,1,.3,1); }
.form-pricing__button:focus-visible::before { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .form-pricing__option.is-price-active .form-pricing__row-wash { opacity: 1; }
  .form-pricing__option.is-price-active .form-pricing__price { transform: translateX(3px) scale(1.025); }
  .form-pricing__option.is-price-active .form-pricing__price-light { opacity: 1; }
  .form-pricing__option.is-price-sweeping .form-pricing__scan { animation: price-scan 1250ms cubic-bezier(.25,.7,.2,1) both; }
  .form-pricing__option.is-price-sweeping .form-pricing__rule { animation: price-rule 1250ms cubic-bezier(.16,1,.3,1) both; }
  .form-pricing__button:focus-visible::after, .form-pricing__button.is-price-tapped::after { animation: price-button-sheen 800ms cubic-bezier(.16,1,.3,1) both; }
  .form-pricing__bottom.price-enter .form-pricing__formula > * { animation: price-equation 650ms ease-out both; }
  .form-pricing__bottom.price-enter .form-pricing__formula > :nth-child(2) { animation-delay: 160ms; }
  .form-pricing__bottom.price-enter .form-pricing__formula > :nth-child(3) { animation-delay: 320ms; }
  .form-pricing__bottom.price-enter .form-pricing__formula > :nth-child(4) { animation-delay: 480ms; }
  .form-pricing__bottom.price-enter .form-pricing__formula > :nth-child(5) { animation-delay: 640ms; }
  @keyframes price-scan { 0% { opacity: 0; transform: translateX(-110%); } 15%,70% { opacity: 1; } 100% { opacity: 0; transform: translateX(110%); } }
  @keyframes price-rule { 0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; } 75% { opacity: .8; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
  @keyframes price-button-sheen { 0% { opacity: 0; transform: translateX(-100%); } 15%,65% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }
  @keyframes price-equation { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .form-pricing__button:hover { transform: translateY(-3px); }
  .form-pricing__button:hover::after { animation: price-button-sheen 800ms cubic-bezier(.16,1,.3,1) both; }
  .form-pricing__button:hover .form-pricing__messenger { transform: scale(1.1) rotate(-4deg); }
  .form-pricing__button:hover > svg { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .form-pricing__scan, .form-pricing__rule { display: none; }
  .form-pricing__option.is-price-active .form-pricing__row-wash { opacity: 1; }
  .form-pricing__option.is-price-active .form-pricing__price-light { opacity: 1; }
  .form-pricing__button:hover .form-pricing__messenger { transform: none; }
}
