/* Documents & compliance page — restrained Russian B2B depth treatment.
   Facts, FAQ answers and schema remain in sertifikaty/index.html. */
.certificates-depth-page {
  --cert-ink: #0c1a24;
  --cert-ink-2: #17313a;
  --cert-copper: #c9682d;
  --cert-copper-dark: #a94e20;
  --cert-teal: #2f756b;
  --cert-paper: #f7f3ed;
  --cert-white: #fffdf9;
  --cert-line: #ded7cd;
  --cert-muted: #64717a;
  background: var(--cert-paper);
  color: var(--cert-ink);
}

.certificates-depth-page .breadcrumb-wrap {
  background: rgba(255, 253, 249, .9);
  border-bottom: 1px solid rgba(222, 215, 205, .78);
}

.certificates-depth-page main { background: var(--cert-paper); }

/* Hero: the page is a verification entry point, so the dark surface reads as
   a document-control panel rather than a generic marketing banner. */
.certificates-depth-page .compliance-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 408px;
  padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 7vw, 90px);
  background:
    radial-gradient(circle at 83% 17%, rgba(47, 117, 107, .3), transparent 29%),
    linear-gradient(122deg, var(--cert-ink) 0%, var(--cert-ink-2) 65%, #214b50 100%);
  border-bottom: 3px solid var(--cert-copper);
}
.certificates-depth-page .compliance-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.46) 68%, transparent 100%);
}
.certificates-depth-page .compliance-hero::after {
  content: 'DOCS';
  position: absolute;
  right: 3vw;
  bottom: -8vw;
  z-index: -1;
  color: transparent;
  font-size: clamp(160px, 25vw, 340px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255,255,255,.1);
}
.certificates-depth-page .compliance-hero .container { position: relative; }
.certificates-depth-page .compliance-hero .container::after {
  content: '';
  position: absolute;
  right: 3%;
  top: 50%;
  width: 160px;
  height: 210px;
  border: 1px solid rgba(215, 232, 228, .22);
  border-left: 3px solid rgba(201, 104, 45, .8);
  border-radius: 4px;
  transform: translateY(-45%) rotate(6deg);
  box-shadow: 14px 14px 0 -1px rgba(215, 232, 228, .1), 28px 28px 0 -2px rgba(215, 232, 228, .06);
  opacity: .8;
  pointer-events: none;
}
.certificates-depth-page .compliance-hero .hero-content { position: relative; z-index: 1; }
.certificates-depth-page .compliance-hero .hero-badges { margin-bottom: 21px !important; gap: 10px; }
.certificates-depth-page .compliance-hero .hero-badge {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  color: #e4f0ed;
  letter-spacing: .04em;
}
.certificates-depth-page .compliance-hero h1 {
  max-width: 960px;
  margin-bottom: 17px;
  color: #fff;
  font-size: clamp(2.35rem, 5.1vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.certificates-depth-page .compliance-hero p {
  max-width: 760px;
  margin-bottom: 25px;
  color: #c2d1d3;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.7;
}
.certificates-depth-page .compliance-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.certificates-depth-page .compliance-hero .btn-primary-jbss {
  background: var(--cert-copper);
  box-shadow: 0 10px 22px rgba(201,104,45,.25);
}
.certificates-depth-page .compliance-hero .btn-primary-jbss:hover { background: #dc7a3d; }
.certificates-depth-page .compliance-hero .btn-secondary-jbss {
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.96);
  color: var(--cert-copper-dark);
}
.certificates-depth-page .compliance-hero .btn-secondary-jbss:hover { background: #fff3ea; color: var(--cert-copper-dark); }

/* The middle sections use one paper surface, one warm surface and one white
   reading surface. This keeps elevation meaningful instead of turning every
   block into a floating card. */
.certificates-depth-page .section-pad {
  position: relative;
  padding: clamp(64px, 7vw, 96px) 0;
}
.certificates-depth-page .section-head { max-width: 830px; margin-bottom: 34px; }
.certificates-depth-page .section-title {
  color: var(--cert-ink);
  font-size: clamp(1.8rem, 3.25vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.certificates-depth-page .section-sub { max-width: 700px; color: var(--cert-muted); line-height: 1.72; }
.certificates-depth-page .label-tag {
  margin-bottom: 14px;
  border: 1px solid rgba(201,104,45,.18);
  background: #fff1e8;
  color: var(--cert-copper-dark);
  letter-spacing: .1em;
}

.certificates-depth-page .compliance-inputs-section {
  background: var(--cert-white);
  border-bottom: 1px solid var(--cert-line);
}
.certificates-depth-page .compliance-inputs-section .table-responsive {
  overflow-x: auto;
  padding: 4px 24px;
  border: 1px solid var(--cert-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 15px 30px rgba(12,26,36,.07), 0 2px 0 rgba(12,26,36,.03);
}
.certificates-depth-page .compliance-inputs-section .spec-table { min-width: 620px; }
.certificates-depth-page .compliance-inputs-section .spec-table tr { border-bottom-color: #e6e0d8; }
.certificates-depth-page .compliance-inputs-section .spec-table tr:last-child { border-bottom: 0; }
.certificates-depth-page .compliance-inputs-section .spec-table th,
.certificates-depth-page .compliance-inputs-section .spec-table td { padding: 17px 14px; line-height: 1.55; }
.certificates-depth-page .compliance-inputs-section .spec-table th {
  position: relative;
  width: 31%;
  padding-left: 17px;
  color: #44525b;
  font-size: 13px;
  font-weight: 800;
}
.certificates-depth-page .compliance-inputs-section .spec-table th::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  bottom: 19px;
  width: 3px;
  border-radius: 3px;
  background: var(--cert-copper);
}
.certificates-depth-page .compliance-inputs-section .spec-table td {
  color: var(--cert-muted);
  font-size: 14px;
  font-weight: 500;
}
.certificates-depth-page .compliance-inputs-section .spec-table tr:nth-child(even) { background: #fcfaf7; }

/* Archive material is deliberately distinct from a public certificate.
   Applicability is confirmed by model, market and delivery configuration. */
.certificates-depth-page .certificate-material-preview {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 14px;
  background: var(--cert-white);
  box-shadow: 0 16px 32px rgba(12,26,36,.09), 0 2px 0 rgba(12,26,36,.03);
}
.certificates-depth-page .certificate-material-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--cert-paper);
}
.certificates-depth-page .certificate-material-preview--panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fbfaf7;
}
.certificates-depth-page .certificate-material-preview figcaption {
  padding: 11px 14px 12px;
  border-top: 1px solid var(--cert-line);
  color: var(--cert-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* The global spec-table intentionally starts cells flush. In this rounded,
   clipped record table that would cut into the first glyph of column one. */
.certificates-depth-page .compliance-register-section .spec-table thead th:first-child,
.certificates-depth-page .compliance-register-section .spec-table tbody th:first-child {
  padding-left: 24px;
}
.certificates-depth-page .compliance-register-section .spec-table thead th:last-child,
.certificates-depth-page .compliance-register-section .spec-table tbody td:last-child {
  padding-right: 24px;
}
@media (max-width: 991.98px) {
  .certificates-depth-page .certificate-material-preview { max-width: 430px; }
}

.certificates-depth-page .compliance-responsibility-section {
  overflow: hidden;
  background: linear-gradient(135deg, #f5f0e9 0%, #fbfaf7 58%, #f2f0eb 100%);
  border-bottom: 1px solid var(--cert-line);
}
.certificates-depth-page .compliance-responsibility-section::before {
  content: '02';
  position: absolute;
  right: 5vw;
  bottom: -38px;
  color: rgba(12,26,36,.06);
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}
.certificates-depth-page .compliance-responsibility-section > .container { position: relative; z-index: 1; }
.certificates-depth-page .compliance-responsibility-section .row { align-items: stretch; }
.certificates-depth-page .compliance-responsibility-section .row > [class*="col-"] { display: flex; flex-direction: column; }
.certificates-depth-page .compliance-responsibility-section .col-lg-7 > p { max-width: 760px; color: #586872; line-height: 1.72; }
.certificates-depth-page .compliance-responsibility-section .card-jbss {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 30px 28px 27px;
  border: 1px solid #e1d9cf;
  border-left: 3px solid var(--cert-copper);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 34px rgba(12,26,36,.09), inset 0 1px 0 #fff;
}
.certificates-depth-page .compliance-responsibility-section .card-jbss h3 { margin-bottom: 10px; color: var(--cert-ink); font-size: 1.1rem !important; letter-spacing: -.02em; }
.certificates-depth-page .compliance-responsibility-section .checklist { margin-bottom: 24px; }
.certificates-depth-page .compliance-responsibility-section .checklist li {
  padding: 11px 0 11px 30px;
  border-bottom-color: #e9e1d8;
  color: #52616a;
  font-size: 14px;
  line-height: 1.5;
}
.certificates-depth-page .compliance-responsibility-section .checklist li::before { background: var(--cert-copper); }
.certificates-depth-page .compliance-responsibility-section .card-jbss .btn-primary-jbss { align-self: flex-start; margin-top: auto; background: var(--cert-copper); box-shadow: 0 8px 18px rgba(201,104,45,.2); }
.certificates-depth-page .compliance-responsibility-section .card-jbss .btn-primary-jbss:hover { background: #dc7a3d; }

.certificates-depth-page .compliance-faq-section { background: #fff; }
.certificates-depth-page .compliance-faq-section .section-head { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.certificates-depth-page .compliance-faq-section .faq-list { display: grid; gap: 10px; max-width: 1040px; margin: 0 auto; border: 0; border-radius: 0; overflow: visible; }
.certificates-depth-page .compliance-faq-section details.faq-item {
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 12px;
  background: var(--cert-white);
  box-shadow: 0 2px 0 rgba(12,26,36,.02), 0 9px 20px rgba(12,26,36,.045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.certificates-depth-page .compliance-faq-section details.faq-item:hover { border-color: #d0a58e; transform: translateY(-1px); box-shadow: 0 11px 24px rgba(12,26,36,.08); }
.certificates-depth-page .compliance-faq-section details.faq-item[open] { border-color: var(--cert-copper); background: #fffaf5; box-shadow: 0 14px 28px rgba(12,26,36,.1); transform: none; }
.certificates-depth-page .compliance-faq-section details.faq-item > summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 18px 62px 18px 22px;
  color: var(--cert-ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  list-style: none;
}
.certificates-depth-page .compliance-faq-section details.faq-item > summary::-webkit-details-marker { display: none; }
.certificates-depth-page .compliance-faq-section details.faq-item > summary::after {
  content: '+';
  position: absolute;
  right: 19px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #dfbba7;
  border-radius: 50%;
  color: var(--cert-copper-dark);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.certificates-depth-page .compliance-faq-section details.faq-item[open] > summary { color: var(--cert-copper-dark); }
.certificates-depth-page .compliance-faq-section details.faq-item[open] > summary::after { content: '−'; border-color: var(--cert-copper); background: var(--cert-copper); color: #fff; }
.certificates-depth-page .compliance-faq-section details.faq-item > .faq-answer { max-height: none; padding: 0 22px 20px; background: transparent; overflow: visible; }
.certificates-depth-page .compliance-faq-section details.faq-item > .faq-answer p { margin: 0; padding: 15px 0 0; border-top: 1px solid #ead8cd; color: var(--cert-muted); font-size: 14px; line-height: 1.7; }

.certificates-depth-page .compliance-cta-section { background: var(--cert-paper); }
.certificates-depth-page .compliance-cta-section .cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 5vw, 58px);
  border-radius: 18px;
  background: linear-gradient(125deg, var(--cert-ink) 0%, var(--cert-ink-2) 72%, #214f54 100%);
  box-shadow: 0 24px 50px rgba(12,26,36,.18);
}
.certificates-depth-page .compliance-cta-section .cta-section::after { content: ''; position: absolute; right: -58px; bottom: -110px; z-index: -1; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.04), 0 0 0 52px rgba(255,255,255,.025); }
.certificates-depth-page .compliance-cta-section .cta-section h2 { color: #fff; font-size: clamp(1.75rem, 3.1vw, 2.6rem); letter-spacing: -.035em; }
.certificates-depth-page .compliance-cta-section .cta-section p { max-width: 720px; margin-right: auto; margin-left: auto; color: #c4d2d4; font-size: 15px; line-height: 1.7; }
.certificates-depth-page .compliance-cta-section .cta-section .btn-primary-jbss { background: var(--cert-copper); box-shadow: 0 10px 22px rgba(201,104,45,.3); }
.certificates-depth-page .compliance-cta-section .cta-section .btn-primary-jbss:hover { background: #dc7a3d; transform: translateY(-2px); }
.certificates-depth-page :focus-visible { outline: 3px solid rgba(47,117,107,.55); outline-offset: 3px; }

@media (max-width: 991px) {
  .certificates-depth-page .compliance-hero .container::after { right: 1%; opacity: .42; }
  .certificates-depth-page .compliance-responsibility-section .row { row-gap: 28px; }
}

@media (max-width: 767px) {
  .certificates-depth-page .compliance-hero { min-height: 0; padding: 62px 0 58px; }
  .certificates-depth-page .compliance-hero h1 { max-width: 100%; font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .certificates-depth-page .compliance-hero p { font-size: 15px; }
  .certificates-depth-page .compliance-hero .container::after { display: none; }
  .certificates-depth-page .compliance-hero .hero-actions > a { flex: 1 1 100%; justify-content: center; }
  .certificates-depth-page .section-pad { padding: 58px 0; }
  .certificates-depth-page .compliance-inputs-section .table-responsive { padding: 3px 14px; border-radius: 12px; }
  .certificates-depth-page .compliance-inputs-section .spec-table { min-width: 560px; }
  .certificates-depth-page .compliance-inputs-section .spec-table th,
  .certificates-depth-page .compliance-inputs-section .spec-table td { padding-top: 14px; padding-bottom: 14px; }
  .certificates-depth-page .compliance-responsibility-section::before { right: -18px; bottom: -20px; font-size: 7rem; }
  .certificates-depth-page .compliance-responsibility-section .card-jbss { padding: 24px 20px 22px; }
  .certificates-depth-page .compliance-faq-section details.faq-item > summary { min-height: 60px; padding: 16px 54px 16px 17px; font-size: 14px; }
  .certificates-depth-page .compliance-faq-section details.faq-item > summary::after { right: 15px; }
  .certificates-depth-page .compliance-faq-section details.faq-item > .faq-answer { padding: 0 17px 18px; }
  .certificates-depth-page .compliance-cta-section .cta-section { padding: 38px 22px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .certificates-depth-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
