.oc-purpose-page {
  --purpose-navy: #092f50;
  --purpose-blue: #087bea;
  --purpose-blue-dark: #075fae;
  --purpose-gold: #ffc928;
  --purpose-soft: #f1f8fd;
  --purpose-line: #d6e5f0;
  --purpose-muted: #60758a;
  color: var(--purpose-navy);
  background: #fff;
}

.oc-purpose-page h1,
.oc-purpose-page h2,
.oc-purpose-page h3,
.oc-purpose-page p { margin-top: 0; }

.oc-purpose-page h1,
.oc-purpose-page h2,
.oc-purpose-page h3 { color: var(--purpose-navy); }

.oc-purpose-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none !important;
}

.oc-purpose-button.is-primary { color: #102d47 !important; background: var(--purpose-gold); box-shadow: 0 8px 20px rgba(218,157,0,.18); }
.oc-purpose-button.is-primary:hover { color: #102d47 !important; background: #ffd655; }
.oc-purpose-button.is-secondary { border-color: #8cbde2; color: var(--purpose-navy); background: #fff; }
.oc-purpose-button.is-secondary:hover { border-color: var(--purpose-blue); background: #f4faff; }

.oc-purpose-hero { padding: 18px 0 32px; }
.oc-purpose-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 15px; color: #8294a5; font-size: 11px; }
.oc-purpose-breadcrumbs a { color: #52728c; text-decoration: none; }

.oc-purpose-hero-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.13fr) minmax(350px,.87fr);
  gap: 38px;
  overflow: hidden;
  padding: 50px 54px;
  border: 1px solid #cfe5f5;
  border-radius: 20px;
  background: radial-gradient(circle at 92% 10%,rgba(255,255,255,.98),transparent 24%),linear-gradient(118deg,#fbfdff,#edf8ff 56%,#dcefff);
  box-shadow: 0 16px 45px rgba(38,107,157,.08);
}

.oc-purpose-hero-box::after { position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle,rgba(255,255,255,.95) 0 2px,transparent 3px); background-size: 125px 105px; content: ""; pointer-events: none; }
.oc-purpose-hero-copy,
.oc-purpose-hero-card { position: relative; z-index: 1; }
.oc-purpose-eyebrow,
.oc-purpose-section-head > p,
.oc-purpose-kicker { color: var(--purpose-blue-dark) !important; font-size: 11px !important; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.oc-purpose-eyebrow { display: inline-flex; margin: 0 0 20px !important; padding: 8px 13px; border: 1px solid #c6e5fa; border-radius: 999px; background: #eaf7ff; letter-spacing: 0; text-transform: none; }
.oc-purpose-hero h1 { max-width: 720px; margin: 0 0 19px; font-size: clamp(40px,4.8vw,60px); font-weight: 950; letter-spacing: -.045em; line-height: 1.01; }
.oc-purpose-lead { max-width: 690px; margin-bottom: 24px; color: #405d76; font-size: 17px; line-height: 1.58; }
.oc-purpose-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oc-purpose-trust { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 22px 0 0; padding: 0; color: #48657e; font-size: 12px; font-weight: 750; list-style: none; }
.oc-purpose-trust li::before { margin-right: 6px; color: #1db66d; content: "✓"; font-weight: 950; }

.oc-purpose-hero-card { align-self: center; padding: 25px; border: 1px solid rgba(157,198,227,.75); border-radius: 17px; background: rgba(255,255,255,.8); box-shadow: 0 12px 30px rgba(25,87,133,.08); backdrop-filter: blur(5px); }
.oc-purpose-hero-card > img { width: 82px; height: 82px; margin-bottom: 15px; object-fit: contain; }
.oc-purpose-hero-card > div > p { margin: 0 0 6px; color: var(--purpose-navy); font-size: 21px; font-weight: 900; line-height: 1.15; }
.oc-purpose-hero-card > div > span { display: block; color: var(--purpose-muted); font-size: 12px; line-height: 1.5; }
.oc-purpose-hero-card ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; color: #456178; font-size: 12px; list-style: none; }
.oc-purpose-hero-card li::before { margin-right: 7px; color: var(--purpose-blue); content: "✓"; font-weight: 900; }

.oc-purpose-jump { position: sticky; top: 91px; z-index: 20; border-top: 1px solid #e0ebf2; border-bottom: 1px solid #d6e5ef; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.oc-purpose-jump .oc-container { display: flex; gap: 8px; overflow-x: auto; padding-top: 9px; padding-bottom: 9px; scrollbar-width: none; }
.oc-purpose-jump .oc-container::-webkit-scrollbar { display: none; }
.oc-purpose-jump a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; color: #41627d; background: #f1f8fd; font-size: 11px; font-weight: 800; text-decoration: none; }
.oc-purpose-jump a:hover { color: #fff; background: var(--purpose-blue); }

.oc-purpose-section,
.oc-purpose-local { padding: 56px 0; scroll-margin-top: 145px; }
.oc-purpose-section.is-soft { border-top: 1px solid #e3edf4; border-bottom: 1px solid #e3edf4; background: var(--purpose-soft); }
.oc-purpose-section-head { max-width: 870px; margin-bottom: 27px; }
.oc-purpose-section-head.is-centered { margin-right: auto; margin-left: auto; text-align: center; }
.oc-purpose-section-head > p { margin: 0 0 6px !important; }
.oc-purpose-section-head h2,
.oc-purpose-law h2 { margin: 0; font-size: clamp(30px,3.5vw,42px); font-weight: 950; letter-spacing: -.035em; line-height: 1.06; }
.oc-purpose-section-head > span { display: block; margin-top: 9px; color: var(--purpose-muted); font-size: 15px; line-height: 1.55; }

.oc-purpose-catalog { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.oc-purpose-service-card { display: flex; min-height: 328px; flex-direction: column; margin: 0; padding: 23px; border: 1px solid var(--purpose-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(18,71,111,.055); }
.oc-purpose-service-card > div { display: grid; grid-template-columns: 55px minmax(0,1fr); align-items: center; gap: 13px; }
.oc-purpose-service-card img { width: 55px; height: 55px; object-fit: contain; }
.oc-purpose-service-card h3 { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.17; }
.oc-purpose-service-card > p { margin: 15px 0; color: var(--purpose-muted); font-size: 12px; line-height: 1.5; }
.oc-purpose-service-card ul { display: grid; gap: 6px; margin: 0 0 18px; padding: 0; color: #456178; font-size: 11px; line-height: 1.4; list-style: none; }
.oc-purpose-service-card li::before { margin-right: 7px; color: var(--purpose-blue); content: "✓"; font-weight: 900; }
.oc-purpose-service-card > a { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding: 8px 12px; border: 1px solid #9cc8e7; border-radius: 9px; color: var(--purpose-blue-dark) !important; font-size: 11px; font-weight: 900; text-decoration: none !important; }
.oc-purpose-service-card > a:hover { border-color: var(--purpose-blue); background: #eef8ff; }

.oc-purpose-local-grid { display: grid; grid-template-columns: minmax(0,1.23fr) minmax(340px,.77fr); gap: 18px; }
.oc-purpose-local-main { position: relative; display: flex; min-height: 320px; flex-direction: column; overflow: hidden; padding: 30px 32px; border-radius: 17px; color: #fff; background: radial-gradient(circle at 95% 18%,rgba(51,165,232,.27),transparent 31%),linear-gradient(135deg,#062a48,#073c62 65%,#0a588b); box-shadow: 0 15px 34px rgba(7,48,79,.16); }
.oc-purpose-local-main::after { position: absolute; right: -75px; bottom: -115px; width: 330px; height: 330px; border: 45px solid rgba(255,255,255,.035); border-radius: 50%; content: ""; }
.oc-purpose-local [data-oc-local-status] { position: relative; z-index: 1; display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: 12px; }
.oc-purpose-local [data-oc-local-status] > span { width: 8px; height: 8px; border-radius: 50%; background: #9ebbd0; box-shadow: 0 0 0 4px rgba(158,187,208,.12); }
.oc-purpose-local [data-oc-local-status].is-local > span { background: #42db88; }
.oc-purpose-local [data-oc-local-status].is-nearest > span { background: var(--purpose-gold); }
.oc-purpose-local [data-oc-local-status].is-online > span { background: #70c9ff; }
.oc-purpose-local-main > p[data-oc-local-label] { position: relative; z-index: 1; margin: 21px 0 5px; color: #86cefa; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.oc-purpose-local-main h3 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: clamp(24px,3vw,32px); font-weight: 900; line-height: 1.12; }
.oc-purpose-local-main > p[data-oc-local-description] { position: relative; z-index: 1; max-width: 650px; margin: 12px 0 0; color: rgba(255,255,255,.77); font-size: 13px; line-height: 1.5; }
.oc-purpose-local-details { position: relative; z-index: 1; display: grid; gap: 3px; margin-top: 13px; color: rgba(255,255,255,.88); font-size: 14px; }
.oc-purpose-local-details[hidden] { display: none; }
.oc-purpose-local-details p { margin: 0; }
.oc-purpose-local-details strong { color: #fff; font-size: 16px; }
.oc-purpose-local-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.oc-purpose-local-phone,
.oc-purpose-local-order { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 900; text-decoration: none !important; }
.oc-purpose-local-phone { color: #102d47 !important; background: var(--purpose-gold); }
.oc-purpose-local-phone[hidden] { display: none; }
.oc-purpose-local-order { border: 1px solid rgba(255,255,255,.3); color: #fff !important; background: rgba(255,255,255,.08); }
.oc-purpose-local-main > small { position: relative; z-index: 1; margin-top: 10px; color: rgba(255,255,255,.52); font-size: 10px; }
.oc-purpose-local-side { display: grid; grid-template-rows: repeat(2,1fr) auto; gap: 12px; }
.oc-purpose-local-side article { margin: 0; padding: 21px; border: 1px solid var(--purpose-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(18,71,111,.06); }
.oc-purpose-local-side h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.oc-purpose-local-side p { margin: 0; color: var(--purpose-muted); font-size: 12px; line-height: 1.45; }
.oc-purpose-local-side a { display: inline-flex; margin-top: 10px; color: var(--purpose-blue-dark) !important; font-size: 12px; font-weight: 900; text-decoration: none !important; }
.oc-purpose-local-side > button { min-height: 40px; padding: 9px 13px; border: 1px solid #b8d4e7; border-radius: 10px; color: var(--purpose-navy); background: #f4faff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 850; }

.oc-purpose-important-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.oc-purpose-important-grid article { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: start; gap: 18px; margin: 0; padding: 28px; border: 1px solid #cfdfeb; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(18,71,111,.05); }
.oc-purpose-important-grid img { width: 64px; height: 64px; object-fit: contain; }
.oc-purpose-important-grid h3 { margin: 2px 0 8px; font-size: 21px; font-weight: 900; }
.oc-purpose-important-grid p { margin: 0; color: var(--purpose-muted); font-size: 13px; line-height: 1.55; }

.oc-purpose-case-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.oc-purpose-case-grid article { margin: 0; padding: 22px; border: 1px solid var(--purpose-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 21px rgba(18,71,111,.05); }
.oc-purpose-case-grid img { width: 48px; height: 48px; margin-bottom: 12px; object-fit: contain; }
.oc-purpose-case-grid h3 { margin: 0 0 7px; font-size: 15px; font-weight: 900; line-height: 1.2; }
.oc-purpose-case-grid p { margin: 0; color: var(--purpose-muted); font-size: 11px; line-height: 1.5; }

.oc-purpose-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.oc-purpose-steps li { position: relative; min-height: 205px; margin: 0; padding: 27px 20px 20px; border: 1px solid var(--purpose-line); border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 7px 22px rgba(18,71,111,.05); }
.oc-purpose-steps li:not(:last-child)::after { position: absolute; top: 50%; right: -14px; z-index: 2; color: #75b8e7; content: "→"; transform: translate(50%,-50%); }
.oc-purpose-steps li > span { position: absolute; top: 14px; left: 14px; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#1593f2,#076ad1); font-size: 12px; font-weight: 900; }
.oc-purpose-steps img { width: 48px; height: 48px; margin: 15px auto 10px; object-fit: contain; }
.oc-purpose-steps h3 { margin: 0 0 7px; font-size: 15px; font-weight: 900; }
.oc-purpose-steps p { margin: 0; color: var(--purpose-muted); font-size: 11px; line-height: 1.45; }

.oc-purpose-documents { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.oc-purpose-documents details,
.oc-purpose-faq details { overflow: hidden; border: 1px solid var(--purpose-line); border-radius: 13px; background: #fff; box-shadow: 0 7px 20px rgba(18,71,111,.04); }
.oc-purpose-documents summary,
.oc-purpose-faq summary { position: relative; padding: 17px 48px 17px 19px; color: var(--purpose-navy); cursor: pointer; font-size: 14px; font-weight: 900; list-style: none; }
.oc-purpose-documents summary::-webkit-details-marker,
.oc-purpose-faq summary::-webkit-details-marker { display: none; }
.oc-purpose-documents summary::after,
.oc-purpose-faq summary::after { position: absolute; top: 50%; right: 18px; color: var(--purpose-blue); content: "+"; font-size: 21px; transform: translateY(-50%); }
.oc-purpose-documents details[open] summary::after,
.oc-purpose-faq details[open] summary::after { content: "−"; }
.oc-purpose-documents ul { display: grid; gap: 6px; margin: 0; padding: 0 19px 18px 38px; color: var(--purpose-muted); font-size: 12px; line-height: 1.5; }

.oc-purpose-prices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.oc-purpose-prices article { margin: 0; padding: 23px; border: 1px solid var(--purpose-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(18,71,111,.05); }
.oc-purpose-prices article > span { display: block; min-height: 38px; color: var(--purpose-navy); font-size: 13px; font-weight: 900; line-height: 1.3; }
.oc-purpose-prices strong { display: block; margin: 10px 0 9px; color: var(--purpose-blue-dark); font-size: 24px; font-weight: 950; line-height: 1.1; }
.oc-purpose-prices p { margin: 0; color: var(--purpose-muted); font-size: 11px; line-height: 1.45; }
.oc-purpose-price-note { max-width: 900px; margin: 17px auto 0; color: #74889a; font-size: 11px; line-height: 1.5; text-align: center; }

.oc-purpose-law { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(320px,.6fr); gap: 30px; align-items: center; padding: 31px 34px; border: 1px solid var(--purpose-line); border-radius: 17px; background: linear-gradient(115deg,#fff,#f1f9ff); }
.oc-purpose-kicker { margin: 0 0 7px !important; }
.oc-purpose-law h2 { font-size: clamp(27px,3vw,37px); }
.oc-purpose-law p:not(.oc-purpose-kicker) { max-width: 760px; margin: 13px 0 0; color: var(--purpose-muted); font-size: 13px; line-height: 1.6; }
.oc-purpose-law > div:last-child { display: grid; gap: 10px; }
.oc-purpose-law a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid #b9d7ea; border-radius: 11px; color: var(--purpose-navy) !important; background: #fff; font-size: 12px; font-weight: 850; line-height: 1.35; text-decoration: none !important; }
.oc-purpose-law a:hover { border-color: var(--purpose-blue); background: #f6fbff; }

.oc-purpose-faq-wrap { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: 40px; align-items: start; }
.oc-purpose-faq-wrap .oc-purpose-section-head { margin-bottom: 0; }
.oc-purpose-faq { display: grid; gap: 10px; }
.oc-purpose-faq details { box-shadow: none; }
.oc-purpose-faq p { margin: 0; padding: 0 19px 18px; color: var(--purpose-muted); font-size: 12px; line-height: 1.6; }

.oc-purpose-final { padding: 56px 0 64px; }
.oc-purpose-final-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 30px; padding: 34px 38px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 92% 14%,rgba(52,167,231,.28),transparent 30%),linear-gradient(115deg,#062a48,#07446d 65%,#0870af); box-shadow: 0 15px 35px rgba(7,48,79,.15); }
.oc-purpose-final-card p { margin: 0 0 6px; color: #84cff8; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.oc-purpose-final-card h2 { max-width: 790px; margin: 0 0 9px; color: #fff; font-size: clamp(25px,3vw,34px); font-weight: 950; letter-spacing: -.025em; line-height: 1.1; }
.oc-purpose-final-card span { display: block; max-width: 770px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.5; }
.oc-purpose-final-card .oc-purpose-button { min-width: 190px; }

body.ocenchik-purpose-page .site-footer { margin-top: 0; }

@media (max-width: 1020px) {
  .oc-purpose-hero-box { grid-template-columns: 1fr; }
  .oc-purpose-hero-card { max-width: 720px; }
  .oc-purpose-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .oc-purpose-local-grid { grid-template-columns: 1fr; }
  .oc-purpose-local-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
  .oc-purpose-local-side > button { grid-column: 1/-1; }
  .oc-purpose-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .oc-purpose-prices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .oc-purpose-law { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .oc-purpose-jump { top: 107px; }
}

@media (max-width: 760px) {
  .oc-purpose-hero { padding: 10px 0 22px; }
  .oc-purpose-breadcrumbs { margin-bottom: 10px; }
  .oc-purpose-hero-box { gap: 22px; padding: 32px 22px; border-radius: 17px; }
  .oc-purpose-hero h1 { font-size: clamp(36px,10.5vw,49px); }
  .oc-purpose-lead { font-size: 15px; }
  .oc-purpose-actions { align-items: stretch; flex-direction: column; }
  .oc-purpose-button { width: 100%; }
  .oc-purpose-trust { display: grid; }
  .oc-purpose-hero-card { padding: 20px; }
  .oc-purpose-jump { top: 91px; }

  .oc-purpose-section,
  .oc-purpose-local { padding: 42px 0; }
  .oc-purpose-section-head h2,
  .oc-purpose-law h2 { font-size: 30px; }
  .oc-purpose-section-head > span { font-size: 13px; }
  .oc-purpose-catalog { grid-template-columns: 1fr; }
  .oc-purpose-service-card { min-height: 0; padding: 21px; }
  .oc-purpose-important-grid { grid-template-columns: 1fr; }
  .oc-purpose-important-grid article { grid-template-columns: 58px minmax(0,1fr); padding: 22px; }
  .oc-purpose-important-grid img { width: 56px; height: 56px; }
  .oc-purpose-case-grid { grid-template-columns: 1fr; }

  .oc-purpose-local-main { min-height: 0; padding: 25px 22px; }
  .oc-purpose-local-actions { align-items: stretch; flex-direction: column; margin-top: 20px; }
  .oc-purpose-local-phone,
  .oc-purpose-local-order { width: 100%; }
  .oc-purpose-local-side { grid-template-columns: 1fr; }
  .oc-purpose-local-side > button { grid-column: auto; }

  .oc-purpose-steps { grid-template-columns: 1fr; }
  .oc-purpose-steps li { min-height: 145px; padding: 24px 20px 22px 88px; text-align: left; }
  .oc-purpose-steps li:not(:last-child)::after { top: auto; right: auto; bottom: -17px; left: 47px; content: "↓"; transform: translateX(-50%); }
  .oc-purpose-steps img { position: absolute; top: 61px; left: 18px; margin: 0; }
  .oc-purpose-steps h3 { margin-top: 14px; }
  .oc-purpose-documents { grid-template-columns: 1fr; }
  .oc-purpose-prices { grid-template-columns: 1fr; }
  .oc-purpose-prices article > span { min-height: 0; }
  .oc-purpose-law { padding: 25px 21px; }
  .oc-purpose-faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .oc-purpose-final { padding: 42px 0 52px; }
  .oc-purpose-final-card { grid-template-columns: 1fr; padding: 28px 22px; }
}

@media (max-width: 410px) {
  .oc-purpose-hero-box { padding-right: 17px; padding-left: 17px; }
  .oc-purpose-service-card > div { grid-template-columns: 50px minmax(0,1fr); }
  .oc-purpose-important-grid article { grid-template-columns: 1fr; }
}
