/* Opsevia — стили внутренних лендингов. Создано: 18.08.2026 15:17 (Ташкент)
   Подключается ПОСЛЕ /styles.css и использует те же CSS-переменные. */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px max(32px, calc((100vw - 1240px) / 2)) 72px;
  background: linear-gradient(180deg, var(--ice-2), var(--white));
}

.page-hero__halo {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 131, 188, 0.16), transparent 65%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  column-gap: clamp(42px, 6vw, 90px);
  align-items: center;
}

.page-hero__inner > :not(.page-hero__visual) {
  grid-column: 1;
}

.page-hero__visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 6;
  min-width: 0;
  padding: 18px 0 32px;
}

.camera-frame--page {
  height: clamp(290px, 29vw, 390px);
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  transform: perspective(1100px) rotateY(-2deg) rotateX(0.7deg);
  box-shadow: 0 34px 78px rgba(5, 31, 58, 0.22);
}

.page-hero__notification {
  position: absolute;
  z-index: 4;
  right: -14px;
  bottom: 0;
  display: grid;
  gap: 4px;
  width: min(310px, calc(100% - 22px));
  padding: 16px 18px;
  color: var(--navy);
  border: 1px solid rgba(77, 131, 188, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(6, 35, 65, 0.18);
  backdrop-filter: blur(14px);
}

.page-hero__notification small {
  color: var(--muted);
  font-size: 11px;
}

.page-hero__notification strong {
  font-size: 14px;
  line-height: 1.35;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a:hover {
  color: var(--navy);
}

.crumbs span[aria-hidden] {
  opacity: 0.5;
}

.crumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.1;
}

.page-hero__lead {
  margin: 20px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

.page-hero .hero__actions {
  margin-top: 30px;
}

.section--sub {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section--sub .section-heading {
  margin-bottom: 30px;
}

.section--sub h2 {
  min-height: auto;
  font-size: clamp(28px, 3vw, 42px);
}

.section--brand-ring {
  position: relative;
  overflow: hidden;
}

.section--brand-ring::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  opacity: 0.62;
  background: conic-gradient(from 40deg, transparent 0 14%, rgba(77, 131, 188, 0.13) 14% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 54%, #000 55% 100%);
  mask: radial-gradient(circle, transparent 0 54%, #000 55% 100%);
  pointer-events: none;
}

.section--brand-ring-right::after {
  top: 18px;
  right: -125px;
  transform: rotate(14deg);
}

.section--brand-ring-left::after {
  bottom: -110px;
  left: -145px;
  transform: rotate(-34deg) scale(0.82);
}

.visual-story {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  width: min(1240px, calc(100% - 64px));
  margin: 4px auto 28px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #071a33, #0d3868 64%, #174f83);
  box-shadow: 0 28px 70px rgba(7, 35, 66, 0.16);
}

.visual-story__card {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(2, 18, 35, 0.2);
}

.visual-story__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.visual-story__card--wide .visual-story__media {
  height: 260px;
}

.visual-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 34, 0.04), transparent 56%, rgba(4, 18, 34, 0.36));
  pointer-events: none;
}

.visual-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.visual-story__card:hover img {
  transform: scale(1.03);
}

.visual-story__media span {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 7px 9px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 25, 47, 0.68);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.visual-story figcaption {
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.visual-story__ring {
  position: absolute;
  border-radius: 50%;
  background: conic-gradient(from 35deg, transparent 0 14%, rgba(153, 191, 227, 0.16) 14% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 55%, #000 56% 100%);
  mask: radial-gradient(circle, transparent 0 55%, #000 56% 100%);
  pointer-events: none;
}

.visual-story__ring--one {
  top: -210px;
  right: 22%;
  width: 430px;
  height: 430px;
  transform: rotate(28deg);
}

.visual-story__ring--two {
  bottom: -210px;
  left: -120px;
  width: 360px;
  height: 360px;
  transform: rotate(-38deg);
}

.prose {
  max-width: 780px;
  color: #33475e;
  font-size: 17px;
  line-height: 1.65;
}

.prose p {
  margin: 22px 0 0;
}

.prose a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(77, 131, 188, 0.45);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--navy);
}

.case-note--plain {
  grid-template-columns: 1fr;
  padding: 18px 22px;
  min-height: 0;
}

.section--faq {
  padding-top: 40px;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ice-2);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 750;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > p {
  margin: 0;
  padding: 0 22px 18px;
  color: #33475e;
  font-size: 15px;
  line-height: 1.6;
}

.faq details > p a {
  color: var(--navy);
  font-weight: 700;
}

.footer--pages {
  display: block;
  min-height: 0;
  padding: 38px 0 44px;
}

.footer--pages .footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-links strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--navy);
}

@media (max-width: 920px) {
  .page-hero__inner {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .page-hero__inner > :not(.page-hero__visual),
  .page-hero__visual {
    grid-column: 1;
  }

  .page-hero__visual {
    grid-row: auto;
    width: min(680px, 100%);
    margin-top: 34px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .visual-story {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 44px);
  }

  .visual-story__card--wide {
    grid-column: 1 / -1;
  }

  .visual-story__card--wide .visual-story__media {
    height: 350px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-top: 128px;
    padding-bottom: 52px;
  }

  .page-hero__visual {
    margin-top: 26px;
    padding-bottom: 28px;
  }

  .camera-frame--page {
    height: 265px;
    border-width: 5px;
    border-radius: 21px;
    transform: none;
  }

  .page-hero__notification {
    right: 0;
    padding: 13px 15px;
  }

  .section--sub {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section--brand-ring::after {
    width: 230px;
    height: 230px;
    opacity: 0.5;
  }

  .visual-story {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 28px);
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .visual-story__card--wide {
    grid-column: auto;
  }

  .visual-story__media,
  .visual-story__card--wide .visual-story__media {
    height: 210px;
  }

  .visual-story figcaption {
    min-height: 54px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
