/* /soprovozhdenie — modern service-page UI. */

.sop-page {
  padding-bottom: 48px;
}

.sop-eyebrow {
  margin: 0 0 10px;
  color: var(--brand-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  margin: 28px 0 34px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 55%, #f8fafc 100%);
  overflow: hidden;
}

.sop-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  pointer-events: none;
}

.sop-hero-copy,
.sop-hero-panel {
  position: relative;
  z-index: 1;
}

.sop-hero h1 {
  max-width: 850px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 1.18rem + 3.2vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.sop-hero-lead {
  max-width: 740px;
  margin: 0;
  color: #475569;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem);
  line-height: 1.65;
}

.sop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.sop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.sop-btn:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.sop-btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.22);
}

.sop-btn-primary:hover {
  background: var(--brand-700);
}

.sop-btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(37, 99, 235, 0.18);
  color: var(--brand-700);
}

.sop-btn-ghost:hover {
  border-color: var(--brand-500);
  background: #fff;
}

.sop-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.sop-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  background: rgba(240, 253, 244, 0.82);
  color: #166534;
  font-size: 0.86rem;
  font-weight: 750;
}

.sop-trust-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-600);
}

.sop-hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.sop-panel-top {
  display: grid;
  gap: 6px;
}

.sop-panel-top strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.sop-panel-badge,
.sop-card-label {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 800;
}

.sop-check-list,
.sop-card-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sop-check-list {
  display: grid;
  gap: 12px;
}

.sop-check-list li,
.sop-card-bullets li {
  position: relative;
  padding-left: 26px;
  color: #334155;
  line-height: 1.5;
}

.sop-check-list li::before,
.sop-card-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-100);
  box-shadow: inset 0 0 0 4px var(--accent-600);
}

.sop-hero-price-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
}

.sop-hero-price-card span,
.sop-hero-price-card small {
  color: #cbd5e1;
}

.sop-hero-price-card strong {
  font-size: 2rem;
  line-height: 1;
}

.sop-section {
  margin: 42px 0;
}

.sop-section-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.sop-section-head-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.sop-section-head h2,
.sop-experts h2,
.sop-payee-section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.sop-section-head p:not(.sop-eyebrow) {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sop-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sop-scenarios article,
.sop-service-card,
.sop-faq-item,
.sop-payee-section,
.sop-experts {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.sop-scenarios article {
  padding: 20px;
  min-height: 100%;
}

.sop-scenarios span {
  color: var(--brand-600);
  font-size: 0.82rem;
  font-weight: 900;
}

.sop-scenarios h3 {
  margin: 12px 0 8px;
  font-size: 1.05rem;
}

.sop-scenarios p,
.sop-service-result,
.sop-card-note,
.sop-faq-item p,
.sop-payee-intro,
.sop-experts p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.sop-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.sop-service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2.5vw, 28px);
  border-color: rgba(226, 232, 240, 0.95);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.sop-service-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 14px 36px rgba(29, 78, 216, 0.07);
  background: #ffffff;
}

.sop-service-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.sop-service-card.is-featured {
  border-color: rgba(37, 99, 235, 0.25);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.sop-price {
  display: grid;
  gap: 3px;
  padding: 14px 0 4px;
}

.sop-price strong {
  color: var(--brand-700);
  font-size: 2rem;
  line-height: 1;
}

.sop-price span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.sop-card-bullets {
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
}

.sop-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sop-service-card > .sop-btn {
  margin-top: auto;
}

.sop-meeting-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sop-meeting-options > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.sop-meeting-options span,
.sop-meeting-options small {
  color: var(--muted);
  font-size: 0.84rem;
}

.sop-meeting-options strong {
  color: var(--brand-700);
  font-size: 1.25rem;
}

.sop-mini-cta {
  min-height: 38px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-700);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.sop-mini-cta:hover {
  background: var(--brand-50);
}

.sop-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sop-timeline li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fafc;
}

.sop-timeline span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 900;
}

.sop-timeline strong {
  display: block;
  margin-bottom: 6px;
}

.sop-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sop-experts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, #effdf4 0%, #fff 52%, #eef6ff 100%);
}

.sop-experts-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 10px;
}

.sop-experts-stats div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.sop-experts-stats strong {
  color: var(--brand-700);
  font-size: 1.15rem;
}

.sop-experts-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.sop-faq {
  display: grid;
  gap: 10px;
}

.sop-faq-item {
  padding: 0;
  overflow: hidden;
}

.sop-faq-item summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.sop-faq-item summary::-webkit-details-marker {
  display: none;
}

.sop-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-600);
  font-size: 1.5rem;
  font-weight: 600;
}

.sop-faq-item[open] summary::after {
  content: "−";
}

.sop-faq-item p {
  padding: 0 20px 18px;
}

.sop-payee-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.sop-payee-popover {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.sop-payee-loading,
.sop-payee-error {
  margin: 0;
  color: var(--muted);
}

.sop-payee-error {
  color: #991b1b;
}

.sop-payee-dl {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 10px 16px;
  margin: 0;
}

.sop-payee-dl dt {
  color: var(--muted);
  font-weight: 800;
}

.sop-payee-dl dd {
  margin: 0;
  color: var(--text);
}

.sop-status {
  display: none;
  margin-top: 18px;
  padding: 13px 16px;
  border: 1px solid var(--accent-500);
  border-radius: 16px;
  background: var(--accent-50);
  color: #065f46;
  font-weight: 750;
}

.sop-status.is-visible {
  display: block;
}

.sop-status.is-error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}

.sop-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
}

.sop-modal.is-open {
  display: flex;
}

.sop-modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.35);
}

.sop-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.sop-modal-close:hover {
  background: #e2e8f0;
}

.sop-modal-kicker {
  margin: 0 0 6px;
  color: var(--brand-600);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sop-modal h3 {
  margin: 0 42px 6px 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.sop-modal-price {
  margin: 0 0 20px;
  color: var(--muted);
}

.sop-modal-price strong {
  color: var(--brand-700);
  font-size: 1.15rem;
}

.sop-form {
  display: grid;
  gap: 14px;
}

.sop-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sop-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.sop-required {
  color: #dc2626;
}

.sop-form input,
.sop-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.sop-form input:focus,
.sop-form textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.sop-form input[type="file"] {
  background: #f8fafc;
}

.sop-form textarea {
  min-height: 92px;
  resize: vertical;
}

.sop-form-hint,
.sop-file-selected {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.sop-file-selected:not(:empty) {
  color: #166534;
}

.sop-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sop-form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.sop-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-600);
}

.sop-form-consent a {
  color: var(--brand-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sop-form-error {
  display: none;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #fca5a5;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.92rem;
  font-weight: 650;
}

.sop-form-error.is-visible {
  display: block;
}

.sop-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.sop-form-submit,
.sop-form-cancel {
  min-height: 50px;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.sop-form-submit {
  flex: 1;
  border: 0;
  background: var(--brand-600);
  color: #fff;
}

.sop-form-submit:hover:not(:disabled) {
  background: var(--brand-700);
}

.sop-form-submit:disabled {
  background: #94a3b8;
  cursor: progress;
}

.sop-form-cancel {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.sop-form-success {
  padding: 18px 0 4px;
  text-align: center;
}

.sop-form-success h3 {
  margin: 0 0 10px;
}

.sop-form-success p {
  margin: 0 0 20px;
  color: var(--muted);
}

.sop-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(14px);
}

.sop-sticky-cta span,
.sop-sticky-cta strong {
  display: block;
}

.sop-sticky-cta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.sop-sticky-cta strong {
  color: var(--text);
  line-height: 1.1;
}

.sop-sticky-cta .sop-btn {
  min-height: 44px;
  padding-inline: 16px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .sop-hero,
  .sop-services,
  .sop-experts {
    grid-template-columns: 1fr;
  }

  .sop-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sop-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sop-page {
    padding-bottom: 98px;
  }

  .sop-hero {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 22px;
    border-radius: 24px;
  }

  .sop-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
  }

  .sop-hero-actions,
  .sop-section-head-row,
  .sop-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sop-btn,
  .sop-form-submit,
  .sop-form-cancel {
    width: 100%;
  }

  .sop-scenarios,
  .sop-meeting-options,
  .sop-timeline,
  .sop-experts-stats,
  .sop-form-grid,
  .sop-columns,
  .sop-payee-section {
    grid-template-columns: 1fr;
  }

  .sop-section {
    margin: 34px 0;
  }

  .sop-service-card:hover {
    transform: none;
  }

  .sop-modal {
    align-items: flex-end;
    padding: 0;
  }

  .sop-modal-card {
    width: 100%;
    max-height: 92dvh;
    border-radius: 26px 26px 0 0;
  }

  .sop-sticky-cta {
    display: flex;
  }
}

@media (max-width: 420px) {
  .sop-trust-row span {
    width: 100%;
  }

  .sop-payee-dl {
    grid-template-columns: 1fr;
  }
}
