/* Online payments page (/online-payments/) and the base of the prices page (css/prices.css).
   Header and footer: css/site-header.css, css/site-footer.css. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.op-page { overflow-x: hidden; }
.op-page h1, .op-page h2, .op-page h3, .op-page p, .op-page ul, .op-page ol { margin: 0; padding: 0; }
.op-page ul, .op-page ol { list-style: none; }
.op-page a { color: inherit; }
.op-page .op-inline-link { color: var(--purple-accent, #7272ec); text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.op-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.op-container-narrow { max-width: 900px; }

.op-section { padding: 56px 0; }

.op-title {
  font-family: var(--h2-font-family, "Nunito", sans-serif);
  font-size: var(--h2-font-size, 43px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark-purple, #4a4a8d);
  text-align: center;
}
.op-subtitle {
  margin-top: 12px !important;
  font-family: var(--body-2-font-family, "Comfortaa", sans-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--dark-purple, #4a4a8d);
  text-align: center;
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.op-title-light, .op-subtitle-light { color: #fff; }

/* Buttons */
.op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 36px;
  border-radius: 40px;
  border: 1px solid var(--purple-accent, #7272ec);
  font-family: var(--button-large-font-family, "Nunito", sans-serif);
  font-size: var(--button-large-font-size, 18px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--duration-ui, 200ms) ease, background-color var(--duration-ui, 200ms) ease, transform var(--duration-press, 160ms) var(--ease-out, ease);
}
.op-btn:active { transform: scale(0.97); }
.op-btn-primary { background: var(--purple-accent, #7272ec); color: #fff !important; }
.op-btn-primary:hover { opacity: 0.9; }
.op-btn-outline { background: transparent; color: var(--purple-accent, #7272ec) !important; }
.op-btn-outline:hover { background: rgba(114, 114, 236, 0.1); }
.op-btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .op-btn:active { transform: none; }
}

.op-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.op-actions-center { justify-content: center; margin-top: 40px; }

/* Hero */
.op-hero { padding: 24px 0; }
.op-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 48px;
}
.op-eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 40px;
  background: var(--light-purple, #cfd5f6);
  color: var(--purple-accent, #7272ec);
  font-family: var(--button-font-family, "Nunito", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.op-hero-title {
  margin-top: 20px !important;
  font-family: var(--h1-font-family, "Nunito", sans-serif);
  font-size: var(--h1-font-size, 54px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--extra-dark-purple, #2c2c62);
}
.op-hero-subtitle {
  margin-top: 20px !important;
  font-size: var(--body-2-font-size, 20px);
  line-height: 1.5;
  color: var(--dark-purple, #4a4a8d);
  max-width: 640px;
}
.op-logos-label {
  margin-top: 40px !important;
  font-family: var(--button-font-family, "Nunito", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-purple, #4a4a8d);
  opacity: 0.8;
}
.op-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.op-logos img {
  display: block;
  height: 24px;
  width: auto;
  box-sizing: content-box;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
}
.op-hero-media { display: flex; justify-content: center; }
.op-hero-media img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(44, 44, 98, 0.18));
}

/* Steps */
.op-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px !important;
  counter-reset: none;
}
.op-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.op-step {
  position: relative;
  background: #fff;
  border-radius: 25px;
  padding: 28px;
}
.op-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple-accent, #7272ec);
  color: #fff;
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Cards */
.op-grid { display: grid; gap: 20px; margin-top: 40px !important; }
.op-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.op-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px !important; }
.op-grid-pay { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.op-card {
  background: #fff;
  border-radius: 25px;
  padding: 28px;
}
.op-card-accent { background: var(--light-purple, #cfd5f6); }
.op-card-plain { background: transparent; padding: 0; border-radius: 0; }
.op-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--extra-light-purple, #ebe9fe);
  color: var(--purple-accent, #7272ec);
  margin-bottom: 18px;
}
.op-card-accent .op-icon-badge { background: #fff; }
.op-icon { width: 26px; height: 26px; }
.op-card-title {
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--extra-dark-purple, #2c2c62);
}
.op-card-text {
  margin-top: 8px !important;
  font-size: var(--body-3-font-size, 16px);
  line-height: 1.5;
  color: var(--dark-purple, #4a4a8d);
}

/* Clients panel */
.op-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: 48px;
  background: #fff;
  border-radius: 40px;
  padding: 56px;
}
.op-panel .op-title, .op-panel .op-subtitle { text-align: left; margin-left: 0 !important; }
.op-panel-media { display: flex; justify-content: center; }
.op-panel-media img { display: block; width: 100%; max-width: 300px; height: auto; }
.op-download-title {
  margin-top: 36px !important;
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--extra-dark-purple, #2c2c62);
}
.op-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.op-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--extra-dark-purple, #2c2c62);
  color: #fff !important;
  text-decoration: none;
  font-family: var(--button-font-family, "Nunito", sans-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  transition: opacity var(--duration-ui, 200ms) ease;
}
.op-store:hover { opacity: 0.9; }
.op-store img { width: 24px; height: 24px; }
.op-store span { display: flex; flex-direction: column; }
.op-store small { font-size: 11px; font-weight: 400; opacity: 0.8; }

/* Providers */
.op-providers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.op-provider {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 25px;
  padding: 36px;
  border: 2px solid transparent;
  transition: border-color var(--duration-ui, 200ms) ease;
}
.op-provider:hover { border-color: var(--light-purple, #cfd5f6); }
.op-provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: auto;
  padding-top: 20px;
}
.op-provider .op-provider-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  color: var(--purple-accent, #7272ec);
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.op-provider-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.op-provider-link:focus-visible,
.op-provider-small-logo:focus-visible { outline: 2px solid var(--purple-accent, #7272ec); outline-offset: 3px; }
.op-external-icon { flex-shrink: 0; width: 14px; height: 14px; }
.op-provider-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  margin-bottom: 24px;
}
.op-provider-logos img { display: block; height: 36px; width: auto; }
.op-country {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--extra-light-purple, #ebe9fe);
  color: var(--dark-purple, #4a4a8d);
  font-family: var(--button-font-family, "Nunito", sans-serif);
  font-size: 12px;
  font-weight: 700;
}
.op-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.op-tags li {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--light-purple, #cfd5f6);
  color: var(--extra-dark-purple, #2c2c62);
  font-family: var(--button-font-family, "Nunito", sans-serif);
  font-size: 14px;
  font-weight: 700;
}
.op-providers-other-title {
  margin-top: 40px !important;
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-purple, #4a4a8d);
  text-align: center;
}
.op-providers-other {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 16px auto 0;
}
.op-provider-small {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
}
.op-provider-small .op-card-text { margin-top: 4px !important; font-size: 14px; }
.op-provider-small-title {
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--extra-dark-purple, #2c2c62);
}
.op-provider-small-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 56px;
  position: relative;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--duration-ui, 200ms) ease, box-shadow var(--duration-ui, 200ms) ease;
}
.op-provider-small-logo:hover {
  border-color: var(--light-purple, #cfd5f6);
  box-shadow: 0 6px 16px rgba(44, 44, 98, 0.08);
}
.op-provider-small-logo img { display: block; width: auto; height: 26px; max-width: 108px; }
.op-provider-small-logo .op-external-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  color: var(--purple-accent, #7272ec);
  opacity: 0.6;
  transition: opacity var(--duration-ui, 200ms) ease;
}
.op-provider-small-logo:hover .op-external-icon { opacity: 1; }

/* Security */
.op-security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  background: var(--bgdark, #2c2c62);
  border-radius: 40px;
  padding: 56px;
  color: #fff;
}
.op-security .op-title, .op-security .op-subtitle { text-align: left; margin-left: 0 !important; }
.op-security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--purple-accent, #7272ec);
  color: #fff;
  margin-bottom: 24px;
}
.op-security-icon .op-icon { width: 32px; height: 32px; }
.op-security-list { display: flex; flex-direction: column; gap: 16px; }
.op-security-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  line-height: 1.5;
}
.op-tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(114, 114, 236, 0.35);
  color: #fff;
  stroke-width: 2.5;
}

/* FAQ */
.op-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.op-faq-item {
  background: #fff;
  border-radius: 20px;
  padding: 0 28px;
}
.op-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--extra-dark-purple, #2c2c62);
}
.op-faq-item summary::-webkit-details-marker { display: none; }
.op-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  color: var(--purple-accent, #7272ec);
  transition: transform var(--duration-ui, 200ms) ease;
}
.op-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.op-faq-item p {
  padding-bottom: 22px !important;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-purple, #4a4a8d);
}

/* Contact form */
.op-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.op-form-intro .op-title, .op-form-intro .op-subtitle { text-align: left; margin-left: 0 !important; }
.op-contact-line {
  margin-top: 16px !important;
  font-size: 17px;
  color: var(--dark-purple, #4a4a8d);
}
.op-form-intro .op-subtitle + .op-contact-line { margin-top: 32px !important; }
.op-contact-line a { color: var(--purple-accent, #7272ec); text-decoration: none; }
.op-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--light-purple, #cfd5f6);
  border-radius: 30px;
  padding: 40px;
}
.op-field { display: flex; flex-direction: column; gap: 8px; }
.op-field label {
  font-size: 16px;
  color: var(--textdark, #2c2c62);
}
.op-input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(44, 44, 98, 0.5);
  border-radius: 12px;
  background: transparent;
  color: var(--textdark, #2c2c62);
  font-family: var(--body-2-font-family, "Comfortaa", sans-serif);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color var(--duration-ui, 200ms) ease, box-shadow var(--duration-ui, 200ms) ease;
}
.op-input:focus { border-color: var(--purple-accent, #7272ec); box-shadow: 0 0 0 3px rgba(114, 114, 236, 0.2); }
.op-input::placeholder { color: rgba(44, 44, 98, 0.5); opacity: 1; }
select.op-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c2c62' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
}
select.op-input option { color: var(--textdark, #2c2c62); background: #fff; }
.op-textarea { min-height: 120px; resize: vertical; }
.op-input.input-error { border-color: #ff3e3e; box-shadow: 0 0 0 1px rgba(255, 62, 62, 0.5); }
.op-privacy { display: flex; align-items: flex-start; gap: 12px; }
.op-checkbox { position: relative; flex-shrink: 0; cursor: pointer; }
.op-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.op-checkbox-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--textdark, #2c2c62);
  border-radius: 7px;
  color: #fff;
  transition: background-color var(--duration-ui, 200ms) ease, border-color var(--duration-ui, 200ms) ease;
}
.op-checkbox-tick { width: 18px; height: 18px; opacity: 0; stroke-width: 3; }
.op-checkbox input:checked + .op-checkbox-box { background: var(--purple-accent, #7272ec); border-color: var(--purple-accent, #7272ec); }
.op-checkbox input:checked + .op-checkbox-box .op-checkbox-tick { opacity: 1; }
.op-checkbox input:focus-visible + .op-checkbox-box { box-shadow: 0 0 0 3px rgba(114, 114, 236, 0.3); }
.privacy-text-dark { font-family: var(--text-font-family, "Nunito", sans-serif); font-size: 15px; line-height: 1.4; color: var(--textdark, #2c2c62); padding-top: 3px; }
.privacy-text-dark a { color: inherit; text-decoration: underline; }
.privacy-text-error, .privacy-text-error a { color: #ff3e3e !important; }
.op-form .button-sent-message { border: none; margin-top: 4px; }
.button-sent-message.loading { opacity: 0.7; pointer-events: none; }
.op-form .error-message { color: #ff3e3e; font-size: 14px; display: none; }

/* Responsive */
@media screen and (max-width: 1100px) {
  .op-grid-pay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .op-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 960px) {
  .op-hero-title { font-size: 42px; }
  .op-title { font-size: 34px; }
  .op-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-panel, .op-security, .op-form-wrap { grid-template-columns: 1fr; }
  .op-panel { padding: 40px; }
  .op-panel-media { display: none; }
  .op-security { padding: 40px; gap: 32px; }
  .op-steps-3 { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  .op-section { padding: 40px 0; }
  .op-container { padding: 0 16px; }
  .op-hero { padding-top: 8px; }
  .op-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .op-hero-title { font-size: 34px; }
  .op-hero-subtitle { font-size: 17px; }
  .op-hero-media img { max-width: 260px; }
  .op-title { font-size: 28px; }
  .op-subtitle { font-size: 16px; }
  .op-actions .op-btn { width: 100%; }
  .op-grid-pay, .op-grid-3, .op-grid-2, .op-steps, .op-providers, .op-providers-other { grid-template-columns: 1fr; }
  .op-card, .op-step { padding: 24px; border-radius: 20px; }
  .op-card-plain { padding: 0; }
  .op-panel, .op-security { padding: 28px 20px; border-radius: 28px; }
  .op-provider { padding: 24px; }
  .op-faq-item { padding: 0 20px; }
  .op-faq-item summary { font-size: 16px; }
  .op-form { padding: 24px 18px; border-radius: 24px; }
  .op-logos img { height: 20px; padding: 10px 12px; }
}
