/* PR.WEB unified compatibility layer — deploy 343 */
:root {
  --pr-accent: #f6364d;
  --pr-accent-dark: #d92d43;
  --pr-text: #202020;
  --pr-muted: #68645f;
  --pr-bg: #f9f9f9;
  --pr-surface: #fff;
  --pr-soft: #f3f1ef;
  --pr-line: #e4e0dc;
  --pr-radius: 12px;
  --pr-radius-lg: 20px;
  --pr-max: 1192px;
  --pr-shadow: 0 18px 48px rgb(32 32 32 / 8%);
}

html { scroll-padding-top: 92px; }
body.prweb-unified {
  overflow-x: clip;
  background: var(--pr-bg) !important;
  color: var(--pr-text);
  font-family: "Wix Madefor Display", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.prweb-unified :where(h1, h2, h3, h4, h5, h6, .logo, .brand) {
  font-family: "Onest", sans-serif;
}
.prweb-unified :where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgb(246 54 77 / 28%) !important;
  outline-offset: 3px;
}

/* Header: the same visual language for legacy and component-kit markup. */
.prweb-unified > nav,
.prweb-unified > header,
.prweb-unified .site-header {
  border-bottom: 1px solid rgb(228 224 220 / 88%) !important;
  background: rgb(249 249 249 / 94%) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}
.prweb-unified :where(.nav-inner, .header__inner, .header-inner) {
  width: min(calc(100% - 40px), var(--pr-max));
  min-height: 76px;
  margin-inline: auto;
  gap: 24px;
}
.prweb-unified :where(.nav-links, .header__nav ul) { gap: 26px !important; }
.prweb-unified :where(.nav-links a, .header__nav a) {
  color: var(--pr-text) !important;
  font-size: 14px !important;
  font-weight: 600;
}
.prweb-unified .service-tabs {
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.prweb-unified .service-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.prweb-unified :where(.logo, .brand, .header__logo) {
  color: var(--pr-text);
  font-weight: 800 !important;
  letter-spacing: -.04em;
}
.prweb-unified .lang-switcher {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px !important;
  margin-left: 0 !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ece9e7 !important;
}
.prweb-unified .lang-switcher .lang-pill {
  display: grid;
  min-width: 31px;
  min-height: 28px;
  place-items: center;
  padding: 5px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--pr-muted) !important;
  font: 700 10px/1 "Onest", sans-serif !important;
  text-decoration: none;
}
.prweb-unified .lang-switcher .lang-pill.active,
.prweb-unified .lang-switcher [aria-current="page"] {
  background: var(--pr-text) !important;
  color: #fff !important;
}
.prweb-mobile-languages { display: flex; gap: 8px; margin-top: 18px; }
.prweb-mobile-languages a,
.prweb-mobile-languages span {
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: #fff;
  font: 700 11px/1 "Onest", sans-serif;
  text-decoration: none;
}
.prweb-mobile-languages [aria-current="page"] { background: var(--pr-accent); border-color: var(--pr-accent); }
.prweb-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--pr-line);
  border-radius: 50%;
  background: #fff;
}
.prweb-menu-button span { width: 18px; height: 2px; border-radius: 2px; background: var(--pr-text); transition: transform .2s ease, opacity .2s ease; }
.prweb-menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.prweb-menu-button.open span:nth-child(2) { opacity: 0; }
.prweb-menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared controls. */
.prweb-unified :where(.btn, .button, button[type="submit"], input[type="submit"]) {
  position: relative;
  z-index: 2;
  min-height: 50px;
  border-radius: 999px !important;
  font-family: "Onest", sans-serif !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.prweb-unified :where(.btn-pink, .btn-primary, .button--accent, button[type="submit"]) {
  border-color: var(--pr-accent) !important;
  background: var(--pr-accent) !important;
  color: #fff !important;
}
.prweb-unified :where(.btn-pink, .btn-primary, .button--accent, button[type="submit"]):hover {
  background: var(--pr-accent-dark) !important;
  box-shadow: 0 12px 28px rgb(246 54 77 / 24%);
  transform: translateY(-2px);
}
.prweb-unified :where(.btn-dark, .button--dark) { background: var(--pr-text) !important; color: #fff !important; }
.prweb-unified :where(.btn-white, .button--light) { background: #fff !important; color: var(--pr-text) !important; }

/* Repeated cards, sections and footer. */
.prweb-unified :where(.srv, .srv-card, .niche-card, .blog-card, .post-card, .step-card, .why-card, .price-card, .team-card, .trust-stat, .content-card, .related-card) {
  border-color: var(--pr-line) !important;
  border-radius: var(--pr-radius-lg) !important;
  background: var(--pr-surface) !important;
  color: var(--pr-text) !important;
  box-shadow: none !important;
}
.prweb-unified :where(.srv, .srv-card, .niche-card, .blog-card, .post-card, .content-card, .related-card):hover {
  border-color: #d1cbc6 !important;
  box-shadow: var(--pr-shadow) !important;
  transform: translateY(-4px);
}
.prweb-unified :where(.sec-sub, .page-sub, .hero-sub, .section-heading > p, .content-card > p, .related-card p) {
  color: var(--pr-muted) !important;
}
.prweb-unified :where(footer, .site-footer) {
  overflow: hidden;
  background: var(--pr-text) !important;
  color: #fff !important;
}
.prweb-unified :is(footer, .site-footer) :where(a, .footer-col a, .f-col a) {
  color: #fff !important;
}
.prweb-unified :is(footer, .site-footer) :where(a:hover, a:focus-visible) {
  color: #ff7182 !important;
}
.prweb-unified :is(footer, .site-footer) :where(.footer-logo, .f-logo, .brand, .brand--light) {
  color: #fff !important;
}
.prweb-unified :is(footer, .site-footer) :where(p, .footer-desc, .footer-col p, .f-col p) {
  color: #b8b3af !important;
}
.prweb-unified :is(footer, .site-footer) :where(h2, h3, .label, .lbl, .footer-col .label, .f-col .lbl) {
  color: #9d9894 !important;
}
.prweb-unified :is(footer, .site-footer) :where(.footer-copy, .f-copy, .footer__bottom) {
  border-color: #3e3b39 !important;
  color: #aaa5a1 !important;
}
.prweb-unified :where(.footer-inner, .footer__grid, .footer__bottom) {
  width: min(calc(100% - 40px), var(--pr-max));
  margin-inline: auto;
}

/* Universal form safety and alignment. */
.prweb-unified :where(#contact-form, #contact, .contact-section) { scroll-margin-top: 90px; }
.prweb-unified :where(#contact-form, #contact, .contact-section, .main-cta) {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}
.prweb-unified :where(form, .form-card, .lead-form),
.prweb-unified :where(form, .form-card, .lead-form) * { box-sizing: border-box; min-width: 0; }
.prweb-unified :where(form, .form-card, .lead-form)::before,
.prweb-unified :where(form, .form-card, .lead-form)::after { pointer-events: none !important; }
.prweb-unified :where(.form-card, .lead-form, #contact-form form) {
  width: 100%;
  border: 1px solid var(--pr-line) !important;
  border-radius: var(--pr-radius-lg) !important;
  background: #fff !important;
  box-shadow: 0 14px 38px rgb(32 32 32 / 6%) !important;
}
.prweb-unified form :where(input:not([type="hidden"]), textarea, select) {
  width: 100% !important;
  max-width: 100% !important;
  color: var(--pr-text) !important;
}
.prweb-unified form button[type="submit"] { width: 100%; isolation: isolate; }
.prweb-unified form button[type="submit"],
.prweb-unified form input[type="submit"] { color: #fff !important; }
.prweb-unified form button[type="submit"]:disabled { cursor: wait !important; opacity: .65; transform: none; }
.prweb-form-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--pr-muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.prweb-form-status[data-state="success"] { color: #16723a; }
.prweb-form-status[data-state="error"] { color: #a51f31; }

/* Central case-cover component: photo, interface and mixed templates. */
.prweb-unified .case-card { overflow: hidden; isolation: isolate; }
.prweb-case-cover {
  --cover-accent: var(--pr-accent);
  position: relative;
  width: 100%;
  height: 188px;
  margin: 18px 0 22px;
  overflow: hidden;
  border: 1px solid rgb(32 32 32 / 9%);
  border-radius: 14px;
  background: #f7ecee;
  isolation: isolate;
}
.prweb-case-cover--blue { --cover-accent: #3468a8; background: #e9f0f7; }
.prweb-case-cover--sand { --cover-accent: #a66a31; background: #f3ede4; }
.prweb-case-cover--mint { --cover-accent: #197968; background: #e5f1ed; }
.prweb-case-cover--rose { --cover-accent: #ad5475; background: #f5e9ee; }
.prweb-case-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prweb-case-cover--mixed > img { width: 58%; margin-left: 42%; }
.prweb-case-cover--photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgb(15 19 24 / 76%));
  content: "";
}
.prweb-case-cover--mixed::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cover-accent), white 82%) 0 47%, transparent 73%);
  content: "";
}
.prweb-case-cover__badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 5;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  color: var(--pr-text) !important;
  font: 700 9px/1 "Onest", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.prweb-case-cover__caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 3;
  color: #fff !important;
  font: 700 14px/1.25 "Onest", sans-serif;
}
.prweb-case-cover__browser {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgb(32 32 32 / 10%);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 35px rgb(32 32 32 / 15%);
}
.prweb-case-cover--interface .prweb-case-cover__browser { inset: 38px 26px 20px; transform: rotate(-2deg); }
.prweb-case-cover--mixed .prweb-case-cover__browser { top: 43px; left: 18px; width: 54%; height: 122px; transform: rotate(-3deg); }
.prweb-case-cover__bar { display: flex; height: 22px; align-items: center; gap: 4px; padding: 0 9px; border-bottom: 1px solid #ece8e5; }
.prweb-case-cover__bar i { width: 5px; height: 5px; border-radius: 50%; background: #d1cdca; }
.prweb-case-cover__body { padding: 12px; }
.prweb-case-cover__line { display: block; width: 100%; height: 6px; margin-top: 7px; border-radius: 4px; background: #e7e3e0; }
.prweb-case-cover__line:first-child { width: 38%; margin-top: 0; background: var(--cover-accent); opacity: .72; }
.prweb-case-cover__line:nth-child(3) { width: 66%; }
.prweb-case-cover__chart { display: flex; height: 42px; align-items: end; gap: 6px; margin-top: 10px; border-top: 1px solid #eeeae7; }
.prweb-case-cover__chart i { width: 16%; border-radius: 4px 4px 1px 1px; background: color-mix(in srgb, var(--cover-accent), white 22%); }
.prweb-case-cover__chart i:nth-child(1) { height: 28%; }
.prweb-case-cover__chart i:nth-child(2) { height: 42%; }
.prweb-case-cover__chart i:nth-child(3) { height: 38%; }
.prweb-case-cover__chart i:nth-child(4) { height: 68%; }
.prweb-case-cover__chart i:nth-child(5) { height: 92%; }
.prweb-case-cover__search {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  width: 49%;
  padding: 10px;
  border: 1px solid rgb(32 32 32 / 10%);
  border-radius: 9px;
  background: rgb(255 255 255 / 92%);
  color: var(--pr-text) !important;
  box-shadow: 0 8px 22px rgb(32 32 32 / 12%);
  font: 700 10px/1.2 "Onest", sans-serif;
}
.prweb-case-cover__search small { display: block; margin-top: 4px; color: var(--pr-muted); font: 500 8px/1.2 "Wix Madefor Display", sans-serif; }
.prweb-unified :where(.case-card, .home-case-card, .mcc, .casc, .more-case-card):hover .prweb-case-cover > img { transform: scale(1.035); }
.prweb-unified.page-cases .case-card { min-height: 500px; }
.prweb-unified.page-cases .case-card > .cc-niche { order: 0; }
.prweb-unified.page-cases .case-card > h3 { order: 1; }
.prweb-unified.page-cases .case-card > .prweb-case-cover { order: 2; }
.prweb-unified.page-cases .case-card > .cc-metrics { order: 3; margin-top: 0; padding-top: 0; }
.prweb-unified.page-cases .case-card > .cc-divider { order: 4; margin-top: auto; }

@media (max-width: 1100px) {
  .prweb-unified :where(.nav-inner, .header__inner) { gap: 16px; }
  .prweb-unified :where(.nav-links, .header__nav ul) { gap: 18px !important; }
}
@media (max-width: 768px) {
  .prweb-unified :where(.nav-inner, .header__inner, .header-inner) { width: calc(100% - 32px); min-height: 68px; }
  .prweb-unified .lang-switcher { display: none !important; }
  .prweb-unified .prweb-menu-button { display: flex; }
  .prweb-unified :where(#contact-form, #contact, .contact-section, .main-cta) { padding-inline: 16px !important; }
  .prweb-unified :where(#contact-form, #contact, .contact-section) > div { width: 100% !important; grid-template-columns: minmax(0, 1fr) !important; }
  .prweb-unified :where(.form-card, .lead-form, #contact-form form) { padding: 24px !important; }
  .prweb-unified .prweb-case-cover { height: 176px; }
  .prweb-unified.page-cases .case-card { min-height: 470px; }
  .prweb-unified :where(.footer-inner, .footer__grid, .footer__bottom) { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  .prweb-unified *, .prweb-unified *::before, .prweb-unified *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
