600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

.apzk-license-section,
.apzk-license-section * {
  box-sizing: border-box;
}

.apzk-license-section {
  --apzk-menu: #ffb077;
  --apzk-primary: #f4b27f;
  --apzk-primary-hover: #e99e68;
  --apzk-peach-soft: #fde8d8;
  --apzk-peach-pale: #fff3e9;
  --apzk-cream: #fffaf5;
  --apzk-card: #ffffff;
  --apzk-border: #f5cdb0;
  --apzk-title: #2A211C;
  --apzk-text: #4a2b2f;
  --apzk-muted: #765b5d;
  --apzk-success: #22734e;

  position: relative;
  overflow: hidden;

  /* Убираем визуальный стык с меню */
  margin-top: -1px;
  padding: 116px 24px 100px;

  color: var(--apzk-text);

  /*
   * Верх блока начинается точным цветом меню #FFB077,
   * затем мягко переходит в кремово-персиковый фон.
   */
  background:
    radial-gradient(circle at 8% 19%, rgba(255,255,255,.34), transparent 28%),
    radial-gradient(circle at 96% 70%, rgba(244,178,127,.18), transparent 31%),
    linear-gradient(
      180deg,
      #ffb077 0px,
      #ffb077 30px,
      #ffc397 92px,
      #ffd9bb 175px,
      #ffead9 275px,
      #fff7f0 390px,
      #ffffff 58%,
      #fff3e9 100%
    );

  font-family: "Manrope", Arial, sans-serif;
}

.apzk-license-section::before,
.apzk-license-section::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

/* Тонкая полоса точно в цвет меню */
.apzk-license-section .apzk-license-shell::before {
  position: absolute;
  top: -116px;
  right: -100vw;
  left: -100vw;
  z-index: -1;
  height: 34px;
  background: #ffb077;
  content: "";
}

.apzk-license-section::before {
  top: 60px;
  right: -150px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(110,30,42,.10);
}

.apzk-license-section::after {
  bottom: -170px;
  left: -170px;
  width: 410px;
  height: 410px;
  border: 65px solid rgba(244,178,127,.13);
}

.apzk-license-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

.apzk-license-header {
  max-width: 980px;
  margin: 0 auto 50px;
  text-align: center;
}

.apzk-license-eyebrow {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 10px 23px;
  border: 1px solid rgba(110,30,42,.18);
  border-radius: 50px;
  color: #D97732;
  background: rgba(255,250,245,.78);
  box-shadow: 0 10px 30px rgba(110,30,42,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.apzk-license-header h2 {
  margin: 0 0 22px;
  color: #2A211C;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(45px, 5.5vw, 72px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.025em;
}

.apzk-license-header p {
  max-width: 870px;
  margin: 0 auto;
  color: var(--apzk-muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
}

.apzk-license-layout {
  display: grid;
  grid-template-columns: minmax(370px, .82fr) minmax(600px, 1.55fr);
  min-height: 860px;
  overflow: hidden;
  border: 1px solid rgba(185,111,79,.28);
  border-radius: 38px;
  background: rgba(255,255,255,.97);
  box-shadow:
    0 38px 95px rgba(91,26,36,.10),
    0 10px 28px rgba(91,26,36,.06);
}

.apzk-license-info {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 52px 44px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.58), transparent 35%),
    linear-gradient(145deg, #fff0e4 0%, #f9d8bf 52%, #f4c39e 100%);
}

.apzk-license-info::before,
.apzk-license-info::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.apzk-license-info::before {
  top: -130px;
  right: -130px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(255,255,255,.19);
}

.apzk-license-info::after {
  bottom: -120px;
  left: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.46);
}

.apzk-license-info > * {
  position: relative;
  z-index: 2;
}

.apzk-license-symbol {
  display: flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 25px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 18px 45px rgba(91,26,36,.10);
  backdrop-filter: blur(10px);
}

.apzk-license-symbol svg {
  width: 47px;
  height: 47px;
  fill: none;
  stroke: #D97732;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apzk-license-active {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  align-self: flex-start;
  gap: 11px;
  margin-bottom: 24px;
  padding: 9px 17px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50px;
  color: var(--apzk-title);
  background: rgba(255,255,255,.58);
  box-shadow: 0 8px 25px rgba(91,26,36,.06);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  backdrop-filter: blur(10px);
}

.apzk-license-active-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--apzk-success);
  box-shadow: 0 0 0 6px rgba(34,115,78,.13);
}

.apzk-license-info h3 {
  margin: 0 0 21px;
  color: var(--apzk-title);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3vw, 45px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.apzk-license-intro {
  margin: 0 0 31px;
  color: #5f4447;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
}

.apzk-license-fields {
  display: grid;
  gap: 13px;
}

.apzk-license-field {
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 7px 20px rgba(91,26,36,.05);
  backdrop-filter: blur(10px);
}

.apzk-field-name {
  display: block;
  margin-bottom: 7px;
  color: #7c5c5e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.apzk-license-field strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--apzk-title);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.apzk-license-field .apzk-status-text {
  color: var(--apzk-success);
}

.apzk-license-signature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: auto;
  padding-top: 29px;
}

.apzk-license-signature p {
  margin: 0;
  color: #725456;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.58;
}

.apzk-signature-check {
  display: flex;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  color: var(--apzk-success);
  background: rgba(255,255,255,.62);
  font-size: 16px;
  font-weight: 900;
}

.apzk-license-viewer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 37px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
}

.apzk-viewer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
}

.apzk-viewer-heading > div {
  min-width: 0;
}

.apzk-viewer-caption {
  display: block;
  margin-bottom: 6px;
  color: #D97732;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.apzk-viewer-heading h3 {
  margin: 0;
  color: var(--apzk-title);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.08;
}

.apzk-pdf-label {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 1px solid #f8d9c1;
  border-radius: 12px;
  color: #D97732;
  background: var(--apzk-peach-pale);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}

.apzk-document-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 22px;
}

.apzk-document-switch {
  display: flex;
  min-width: 0;
  min-height: 87px;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 2px solid var(--apzk-border);
  border-radius: 18px;
  outline: none;
  color: var(--apzk-title);
  background: #fff5ed;
  box-shadow: 0 8px 20px rgba(91,26,36,.05);
  font-family: "Manrope", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: .22s ease;
}

.apzk-document-switch:hover {
  border-color: var(--apzk-primary-hover);
  background: var(--apzk-peach-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(110,30,42,.12);
}

.apzk-document-switch.is-active {
  border-color:#F4B27F;
  color:#2A211C;
  background:linear-gradient(135deg,#FFF8F2 0%,#FCE5D2 55%,#F4B27F 100%);
  box-shadow:0 14px 30px rgba(244,178,127,.22);
}

.apzk-switch-icon {
  display: flex;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f4c39e;
  border-radius: 13px;
  color: #D97732;
  background: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.apzk-document-switch.is-active .apzk-switch-icon {
  border-color: rgba(255,255,255,.58);
  color: #ffffff;
  background: rgba(255,255,255,.18);
}

.apzk-switch-content {
  display: block;
  min-width: 0;
}

.apzk-switch-content strong {
  display: block;
  margin-bottom: 4px;
  color: #D97732;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.apzk-document-switch.is-active .apzk-switch-content strong {
  color: #ffffff;
}

.apzk-switch-content small {
  display: block;
  color: var(--apzk-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.apzk-document-switch.is-active .apzk-switch-content small {
  color: rgba(255,255,255,.90);
}

.apzk-document-frame {
  position: relative;
  flex: 1;
  min-height: 590px;
  overflow: hidden;
  border: 2px solid var(--apzk-peach-soft);
  border-radius: 22px;
  background: #f2ebe6;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.72),
    0 13px 35px rgba(91,26,36,.08);
}

.apzk-document-frame iframe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 590px;
  border: 0;
  background: #ffffff;
}

.apzk-document-loading {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #D97732;
  background: rgba(255,250,245,.96);
  font-size: 17px;
  font-weight: 700;
}

.apzk-document-loading.is-visible {
  display: flex;
}

.apzk-loading-circle {
  width: 25px;
  height: 25px;
  border: 3px solid #f8d9c1;
  border-top-color: #D97732;
  border-radius: 50%;
  animation: apzkLicenseSpin .8s linear infinite;
}

@keyframes apzkLicenseSpin {
  to { transform: rotate(360deg); }
}

.apzk-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 22px;
}

.apzk-viewer-footer p {
  max-width: 500px;
  margin: 0;
  color: var(--apzk-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.apzk-open-document {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 21px;
  border: 2px solid var(--apzk-primary);
  border-radius: 15px;
  color: var(--apzk-text) !important;
  background: var(--apzk-primary);
  box-shadow: 0 12px 25px rgba(244,178,127,.32);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none !important;
  transition: .22s ease;
}

.apzk-open-document:hover {
  border-color: var(--apzk-primary-hover);
  color: var(--apzk-text) !important;
  background: var(--apzk-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(185,111,79,.28);
}

.apzk-button-arrow {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .apzk-license-layout {
    grid-template-columns: 1fr;
  }

  .apzk-license-info {
    padding: 48px 40px;
  }

  .apzk-license-signature {
    margin-top: 15px;
  }

  .apzk-license-viewer {
    min-height: 820px;
  }
}

@media (max-width: 767px) {
  .apzk-license-section {
    margin-top: -1px;
    padding: 84px 14px 66px;
    background:
      radial-gradient(circle at 8% 16%, rgba(255,255,255,.30), transparent 24%),
      linear-gradient(
        180deg,
        #ffb077 0px,
        #ffb077 24px,
        #ffc397 72px,
        #ffddc3 145px,
        #fff0e4 235px,
        #fffaf5 360px,
        #ffffff 68%,
        #fff3e9 100%
      );
  }

  .apzk-license-header {
    margin-bottom: 34px;
  }

  .apzk-license-eyebrow {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 12px;
    letter-spacing: .05em;
  }

  .apzk-license-header h2 {
    font-size: 41px;
    line-height: .99;
  }

  .apzk-license-header p {
    font-size: 17px;
    line-height: 1.65;
  }

  .apzk-license-layout {
    border-radius: 27px;
  }

  .apzk-license-info {
    padding: 34px 23px;
  }

  .apzk-license-info h3 {
    font-size: 35px;
  }

  .apzk-license-intro {
    font-size: 17px;
  }

  .apzk-license-field {
    padding: 16px;
  }

  .apzk-license-field strong {
    font-size: 16px;
  }

  .apzk-license-viewer {
    min-height: auto;
    padding: 29px 16px 23px;
  }

  .apzk-viewer-heading {
    align-items: flex-start;
  }

  .apzk-viewer-heading h3 {
    font-size: 31px;
  }

  .apzk-document-switcher {
    grid-template-columns: 1fr;
  }

  .apzk-document-switch {
    min-height: 82px;
  }

  .apzk-document-frame,
  .apzk-document-frame iframe {
    min-height: 590px;
  }

  .apzk-viewer-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .apzk-open-document {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .apzk-license-header h2 {
    font-size: 36px;
  }

  .apzk-license-info h3 {
    font-size: 31px;
  }

  .apzk-license-active {
    font-size: 14px;
  }

  .apzk-license-field strong {
    font-size: 15px;
  }

  .apzk-viewer-heading h3 {
    font-size: 28px;
  }

  .apzk-document-frame,
  .apzk-document-frame iframe {
    min-height: 530px;
  }
}



.apzk-document-switch.is-active .apzk-switch-icon{
background:#fff!important;
color:#D97732!important;
border-color:#F4B27F!important;
}
.apzk-document-switch.is-active .apzk-switch-content strong,
.apzk-document-switch.is-active .apzk-switch-content small{
color:#2A211C!important;
}
.apzk-license-symbol svg,
.apzk-license-eyebrow,
.apzk-viewer-caption,
.apzk-pdf-label{
color:#D97732!important;
stroke:#D97732;
}


  


/* =========================================================
   ТЕЛЕФОН — БЕЗ ВСТРОЕННОГО PDF И БЕЗ ЛИШНИХ ПОЛЕЙ
   Компьютер и планшет не меняем.
   ========================================================= */
@media (max-width:767px){

  /* Компактнее обрезаем пространство вокруг раздела */
  .apzk-license-section{
    padding:34px 10px 38px!important;
  }

  .apzk-license-header{
    margin-bottom:22px!important;
  }

  .apzk-license-eyebrow{
    min-height:36px!important;
    margin-bottom:12px!important;
    padding:8px 14px!important;
    font-size:11px!important;
  }

  .apzk-license-header h2{
    margin-bottom:12px!important;
    font-size:39px!important;
  }

  .apzk-license-header p{
    font-size:16px!important;
    line-height:1.55!important;
  }

  .apzk-license-layout{
    min-height:0!important;
    border-radius:22px!important;
  }

  .apzk-license-info{
    padding:24px 16px!important;
  }

  /* Убираем верхнее поле с иконкой документа */
  .apzk-license-symbol{
    display:none!important;
  }

  .apzk-license-active{
    margin-top:0!important;
    margin-bottom:16px!important;
  }

  .apzk-license-info h3{
    margin-bottom:14px!important;
    font-size:33px!important;
  }

  .apzk-license-intro{
    margin-bottom:20px!important;
    font-size:16px!important;
  }

  .apzk-license-field{
    padding:13px 14px!important;
  }

  .apzk-license-signature{
    padding-top:18px!important;
  }

  .apzk-license-viewer{
    min-height:0!important;
    padding:16px 12px 14px!important;
  }

  /* Убираем второе поле:
     "Документ лицензирующего органа / название / PDF" */
  .apzk-viewer-heading{
    display:none!important;
  }

  .apzk-document-switcher{
    grid-template-columns:1fr!important;
    gap:9px!important;
    margin:0 0 12px!important;
  }

  .apzk-document-switch{
    min-height:70px!important;
    gap:11px!important;
    padding:10px 12px!important;
    border-radius:15px!important;
  }

  .apzk-switch-icon{
    flex-basis:40px!important;
    width:40px!important;
    height:40px!important;
  }

  /* На телефоне встроенный PDF полностью скрыт */
  .apzk-document-frame{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  /* Убираем пояснение под PDF */
  .apzk-viewer-footer{
    display:block!important;
    padding-top:0!important;
  }

  .apzk-viewer-footer p{
    display:none!important;
  }

  /* Оставляем только кнопку открытия документа */
  .apzk-open-document{
    width:100%!important;
    min-height:54px!important;
    padding:0 16px!important;
    border-radius:13px!important;
    font-size:16px!important;
  }

  /* На телефоне меняем подпись кнопки */
  .apzk-open-document > span:first-child{
    font-size:0!important;
  }

  .apzk-open-document > span:first-child::after{
    content:"Открыть документ";
    font-size:16px!important;
    font-weight:800!important;
  }
}


/* =========================================================
   v1.1.1
   1) Верх страницы — светлый градиент с переходом вниз
      в более насыщенный персиковый.
   2) Небольшой отступ от меню.
   3) Акционная/ценовая всплывающая плашка на этой странице скрыта.
   ========================================================= */
body.apzk-fast-license-page .apzk-license-section{
  margin-top:0 !important;
  padding-top:42px !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.72), transparent 28%),
    radial-gradient(circle at 92% 28%, rgba(255,255,255,.30), transparent 30%),
    linear-gradient(
      180deg,
      #fffaf7 0%,
      #fff1e5 28%,
      #fbdcc5 56%,
      #f6c39d 78%,
      #efa46b 100%
    ) !important;
}

/* Убираем старую верхнюю полоску в цвет меню */
body.apzk-fast-license-page .apzk-license-section .apzk-license-shell::before{
  display:none !important;
  content:none !important;
}

/* На этой странице не показываем нижнюю/всплывающую акционную цену */
body.apzk-fast-license-page #apzk-sale-bar,
body.apzk-fast-license-page .apzk-sale-bar,
body.apzk-fast-license-page [id*="sale-bar"],
body.apzk-fast-license-page [class*="price-popup"],
body.apzk-fast-license-page [class*="sale-popup"]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Если модальное окно цены уже было создано скриптом — тоже не показываем */
body.apzk-fast-license-page .apzk-price-popup,
body.apzk-fast-license-page .apzk-price-modal,
body.apzk-fast-license-page .apzk-sale-popup,
body.apzk-fast-license-page .apzk-sale-modal{
  display:none !important;
}

@media (max-width:767px){
  body.apzk-fast-license-page .apzk-license-section{
    padding-top:28px !important;
    background:
      radial-gradient(circle at 12% 8%, rgba(255,255,255,.66), transparent 26%),
      linear-gradient(
        180deg,
        #fffaf7 0%,
        #fff0e3 30%,
        #fbd9c0 58%,
        #f5bd94 80%,
        #efa46b 100%
      ) !important;
  }
}
