  :root{
    --ink:#1E2E3A;
    --navy:#3E7299;
    --navy-deep:#2E5876;
    --steel:#4E7B9C;
    --amber:#D9A233;
    --amber-deep:#B3821F;
    --paper:#F1F5F8;
    --paper-alt:#E4EBF0;
    --line:#CFDBE3;
    --white:#FFFFFF;
    --shadow: 0 12px 32px -18px rgba(13,35,56,.35);
    --serif: 'Lora', Georgia, serif;
    --sans: 'Golos Text', 'Segoe UI', sans-serif;
    --mono: 'PT Mono', 'Courier New', monospace;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0; font-family:var(--sans); color:var(--ink); background:var(--paper);
    -webkit-font-smoothing:antialiased; overflow-x:hidden;
  }
  img,svg{max-width:100%; display:block;}
  a{color:inherit;}
  h1,h2,h3,h4{font-family:var(--serif); margin:0; color:var(--navy-deep); line-height:1.15;}
  p{line-height:1.6; margin:0 0 1em;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
  .eyebrow{
    font-family:var(--mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
    color:var(--amber-deep); display:inline-flex; align-items:center; gap:.5em; margin-bottom:.9em;
  }
  .eyebrow::before{content:''; width:22px; height:1px; background:var(--amber-deep); display:inline-block;}
  section{padding:76px 0;}
  .btn{
    font-family:var(--sans); font-weight:700; font-size:.95rem; border-radius:3px; border:1px solid transparent;
    padding:14px 26px; cursor:pointer; display:inline-flex; align-items:center; gap:.6em; text-decoration:none;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary{background:var(--amber); color:var(--navy-deep);}
  .btn-primary:hover{background:var(--amber-deep); color:#fff; transform:translateY(-1px);}
  .btn-ghost{background:transparent; border-color:rgba(255,255,255,.4); color:#fff;}
  .btn-ghost:hover{background:rgba(255,255,255,.12);}
  .btn-line{background:transparent; border-color:var(--navy); color:var(--navy);}
  .btn-line:hover{background:var(--navy); color:#fff;}

  /* ===== Topbar ===== */
  .topbar{background:var(--navy-deep); color:#DDE9F0; font-family:var(--mono); font-size:.76rem;}
  .topbar .wrap{display:flex; justify-content:space-between; align-items:center; padding:8px 24px; flex-wrap:wrap; gap:6px;}
  .topbar a{text-decoration:none; color:#DDE9F0;}
  .topbar a:hover{color:#fff;}
  .topbar .note{color:#7FA3BE;}

  /* ===== Header ===== */
  header.site{position:sticky; top:0; z-index:50; background:var(--navy); box-shadow:var(--shadow);}
  header.site .wrap{display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px;}
  .logo{display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none;}
  .logo .mark{width:42px; height:42px; flex:none;}
  .logo .name{font-family:var(--serif); font-weight:700; font-size:1.18rem; line-height:1.1;}
  .logo .sub{display:block; font-family:var(--mono); font-size:.62rem; letter-spacing:.08em; color:#CBDDE9; text-transform:uppercase; margin-top:2px;}
  nav.main{display:flex; align-items:center; gap:22px; flex-wrap:nowrap;}
  nav.main a{color:#E6EFF4; text-decoration:none; font-size:.9rem; font-weight:700; white-space:nowrap;}
  nav.main a:hover{color:var(--amber);}
  nav.main a.active{color:var(--amber); position:relative;}
  nav.main a.active::after{content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--amber); border-radius:2px;}
  .nav-cta{display:flex; align-items:center; gap:14px;}
  .burger{display:none; background:none; border:1px solid rgba(255,255,255,.4); border-radius:3px; width:42px; height:42px; color:#fff; font-size:1.2rem; cursor:pointer;}

  @media (max-width:920px){
    nav.main{
      position:fixed; inset:70px 0 auto 0; background:var(--navy); flex-direction:column; align-items:flex-start;
      padding:18px 24px 26px; gap:16px; transform:translateY(-130%); transition:transform .25s ease; box-shadow:var(--shadow);
    }
    nav.main.open{transform:translateY(0);}
    .burger{display:block;}
    .nav-cta .btn-line{display:none;}
  }

  /* ===== Simple page header (secondary pages) ===== */
  .page-header{
    background:radial-gradient(900px 380px at 82% -10%, rgba(217,138,43,.18), transparent 60%), var(--navy-deep);
    color:#fff; padding:64px 0 56px;
  }
  .page-header h1{color:#fff; font-size:clamp(1.9rem, 3vw, 2.6rem); margin-bottom:.3em;}
  .page-header p{color:#D6E5EE; max-width:60ch; margin:0;}

  /* ===== Hero ===== */
  .hero{
    background:radial-gradient(1100px 480px at 82% -10%, rgba(217,138,43,.20), transparent 60%), var(--navy-deep);
    color:#fff; padding:90px 0 70px; position:relative;
  }
  .hero .wrap{display:grid; grid-template-columns:1.25fr .95fr; gap:56px; align-items:center;}
  .hero h1{color:#fff; font-size:clamp(2.1rem, 3.6vw, 3.05rem); margin-bottom:.5em;}
  .hero h1 em{font-style:normal; color:var(--amber);}
  .hero .lead{color:#D6E5EE; font-size:1.08rem; max-width:52ch;}
  .hero .cta-row{display:flex; gap:14px; margin:30px 0 34px; flex-wrap:wrap;}
  .trust-row{display:flex; gap:22px; flex-wrap:wrap; font-family:var(--mono); font-size:.78rem; color:#CBDDE9; margin-top:20px;}
  .hero-video-link{
    display:inline-flex; align-items:center; gap:9px; margin-top:22px; color:#fff; text-decoration:none;
    font-size:.92rem; font-weight:700;
  }
  .hero-video-link .play-dot{
    width:28px; height:28px; border-radius:50%; background:var(--amber); display:flex; align-items:center; justify-content:center; flex:none;
    transition:transform .15s ease, background .15s ease;
  }
  .hero-video-link:hover .play-dot{background:var(--amber-deep); transform:scale(1.08);}
  .hero-video-link svg{margin-left:2px;}

  /* ===== Audience switcher (B2B/B2C) ===== */
  .audience-switch{display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap;}
  .audience-btn{
    font-family:var(--sans); font-size:.85rem; font-weight:700; padding:9px 16px; border-radius:20px;
    border:1px solid rgba(255,255,255,.3); background:transparent; color:#D6E5EE; cursor:pointer;
    transition:background .15s ease, color .15s ease, border-color .15s ease;
  }
  .audience-btn.active{background:var(--amber); color:var(--navy-deep); border-color:var(--amber);}
  .audience-btn:not(.active):hover{border-color:rgba(255,255,255,.6); color:#fff;}
  .audience-panel{display:none;}
  .audience-panel.active{display:block;}
  .audience-list{list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:8px;}
  .audience-list li{display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color:#D6E5EE; line-height:1.5;}
  .audience-list li::before{content:'✓'; color:var(--amber); flex:none; font-weight:700;}

  /* ===== Guarantees ===== */
  .guarantees-section{padding:76px 0;}
  .guarantee-ticket{
    position:relative; overflow:hidden; border-radius:14px;
    background:radial-gradient(700px 320px at 90% 0%, rgba(217,162,51,.22), transparent 60%), var(--navy-deep);
    display:grid; grid-template-columns:.85fr 1.15fr; gap:0;
    box-shadow:var(--shadow);
  }
  .guarantee-ticket::after{
    content:''; position:absolute; top:0; bottom:0; left:38%; width:0;
    border-left:2px dashed rgba(255,255,255,.16);
  }
  .guarantee-ticket::before{
    content:''; position:absolute; left:calc(38% - 11px); top:-11px; width:22px; height:22px; border-radius:50%; background:var(--paper);
  }
  .g-notch-bottom{
    position:absolute; left:calc(38% - 11px); bottom:-11px; width:22px; height:22px; border-radius:50%; background:var(--paper);
  }
  .g-intro{padding:44px 34px 44px 40px; display:flex; flex-direction:column; justify-content:center; gap:14px;}
  .g-badge{
    display:inline-flex; align-self:flex-start; font-family:var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
    color:var(--navy-deep); background:var(--amber); padding:6px 14px; border-radius:20px; font-weight:700;
  }
  .g-intro h2{color:#fff; font-size:1.5rem; margin:0;}
  .g-intro p{color:#C3D8E5; margin:0; font-size:.94rem; line-height:1.6;}
  .g-checklist{list-style:none; margin:0; padding:38px 40px 38px 56px; display:flex; flex-direction:column; gap:20px;}
  .g-checklist li{position:relative; padding-left:30px;}
  .g-checklist li::before{
    content:'✓'; position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%;
    background:rgba(217,162,51,.16); border:1px solid var(--amber); color:var(--amber);
    display:flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:700;
  }
  .g-checklist strong{display:block; color:#fff; font-size:.98rem; margin-bottom:3px;}
  .g-checklist span{color:#C3D8E5; font-size:.87rem; line-height:1.5;}
  @media (max-width:820px){
    .guarantee-ticket{grid-template-columns:1fr;}
    .guarantee-ticket::after, .guarantee-ticket::before, .g-notch-bottom{display:none;}
    .g-intro{padding:36px 30px 24px; border-bottom:1px dashed rgba(255,255,255,.16);}
    .g-checklist{padding:28px 30px 36px 46px;}
  }

  /* ===== Package offer ===== */
  .package-offer{
    background:linear-gradient(135deg, var(--navy-deep), var(--navy)); color:#fff; border-radius:10px;
    padding:40px; display:grid; grid-template-columns:1.3fr .7fr; gap:36px; align-items:center; position:relative; overflow:hidden;
  }
  .package-offer::before{
    content:''; position:absolute; inset:0; pointer-events:none;
    background:radial-gradient(500px 240px at 90% 0%, rgba(217,162,51,.20), transparent 65%);
  }
  .package-offer > *{position:relative; z-index:1;}
  .package-badge{
    font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber);
    background:rgba(217,162,51,.14); border:1px solid rgba(217,162,51,.4); border-radius:20px; padding:5px 13px; display:inline-block; margin-bottom:14px;
  }
  .package-offer h2{color:#fff; margin-bottom:.4em;}
  .package-offer p{color:#D6E5EE; max-width:56ch;}
  .package-list{list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:9px;}
  .package-list li{display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color:#EAF1F5;}
  .package-list li::before{content:'✓'; color:var(--amber); flex:none; font-weight:700;}
  .package-price-card{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); border-radius:8px; padding:26px; text-align:center;}
  .package-price-card .old-price{font-family:var(--mono); font-size:.85rem; color:#9FC2D9; text-decoration:line-through;}
  .package-price-card .new-price{font-family:var(--serif); font-size:1.9rem; color:var(--amber); font-weight:700; margin:4px 0 14px;}
  @media (max-width:860px){ .package-offer{grid-template-columns:1fr;} }

  /* ===== Lead magnet ===== */
  .magnet-section{background:var(--paper-alt);}
  .magnet-box{
    display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center; background:var(--white);
    border:1px solid var(--line); border-radius:10px; padding:36px;
  }
  @media (max-width:860px){ .magnet-box{grid-template-columns:1fr;} }
  .magnet-box .tag{font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber-deep); display:block; margin-bottom:10px;}
  .magnet-box h3{font-size:1.3rem; margin-bottom:.4em;}
  .magnet-form{display:flex; gap:10px; flex-wrap:wrap;}
  .magnet-form input{
    flex:1; min-width:200px; padding:12px 14px; border:1px solid var(--line); border-radius:4px; font-family:var(--sans); font-size:.94rem;
  }
  .magnet-form input:focus{outline:2px solid var(--amber); outline-offset:1px;}
  .magnet-thanks{display:none; margin-top:12px; background:#EAF3EA; border:1px solid #B9DAB9; border-radius:4px; padding:12px 14px; font-size:.88rem; color:#255A25;}
  .magnet-thanks.show{display:block;}

  /* ===== Case study ===== */
  .case-section{background:var(--white);}
  .case-card{
    background:var(--paper); border:1px solid var(--line); border-radius:10px; padding:36px; display:grid;
    grid-template-columns:repeat(3,1fr); gap:28px;
  }
  @media (max-width:760px){ .case-card{grid-template-columns:1fr;} }
  .case-text{grid-column:1 / -1;}
  .case-text .tag{font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber-deep); display:block; margin-bottom:10px;}
  .case-text h3{font-size:1.2rem; margin-bottom:.5em;}
  .case-stat{text-align:center; border-top:2px solid var(--amber); padding-top:14px;}
  .case-stat b{display:block; font-family:var(--serif); font-size:1.8rem; color:var(--navy-deep);}
  .case-stat span{font-family:var(--mono); font-size:.72rem; color:var(--steel); text-transform:uppercase; letter-spacing:.03em;}

  /* ===== Direction cards (home) ===== */
  .directions-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
  @media (max-width:760px){ .directions-grid{grid-template-columns:1fr;} }
  .direction-card{
    background:var(--white); border:1px solid var(--line); border-radius:10px; padding:34px; display:flex; flex-direction:column; gap:14px;
    text-decoration:none; color:inherit; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .direction-card:hover{transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--amber);}
  .direction-card h3{font-size:1.2rem; margin-bottom:2px;}
  .direction-card p{color:#38566B; font-size:.92rem; margin:0;}
  .direction-card .d-cta{margin-top:auto; font-family:var(--mono); font-size:.78rem; font-weight:700; color:var(--amber-deep); text-transform:uppercase; letter-spacing:.03em;}

  /* ===== Requisites ===== */
  .requisites-cards{display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px;}
  @media (max-width:820px){ .requisites-cards{grid-template-columns:1fr;} }
  .requisites-card{
    background:var(--white); border:1px solid var(--line); border-radius:8px; padding:30px 32px;
    border-top:3px solid var(--amber); position:relative;
  }
  .requisites-card::before{content:''; position:absolute; inset:8px; border:1px solid var(--paper-alt); border-radius:4px; pointer-events:none;}
  .requisites-card .req-heading{
    font-family:var(--mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber-deep);
    display:block; margin-bottom:18px;
  }
  .requisites-full{background:var(--white); border:1px solid var(--line); border-radius:8px; padding:26px 32px; margin-top:20px;}
  .req-row{display:flex; justify-content:space-between; gap:14px; padding:11px 0; border-bottom:1px dashed var(--line); font-size:.9rem;}
  .req-row:last-child{border-bottom:none;}
  .req-row span:first-child{color:var(--steel); font-family:var(--mono); font-size:.74rem; text-transform:uppercase; letter-spacing:.02em; flex:none;}
  .req-row span:last-child{color:var(--ink); text-align:right; font-weight:700;}
  .trust-row span{display:flex; align-items:center; gap:8px;}
  .trust-row .dot{width:6px; height:6px; border-radius:50%; background:var(--amber); flex:none;}

  .stamp-wrap{display:flex; align-items:center; justify-content:center; position:relative;}
  .stamp{width:min(320px,90%); aspect-ratio:1/1; position:relative;}
  .stamp .ring{animation:spin 34s linear infinite;}
  @keyframes spin{to{transform:rotate(360deg);}}
  @media (prefers-reduced-motion: reduce){ .stamp .ring{animation:none;} }
  .stamp .core{
    position:absolute; inset:26%; border-radius:50%; border:1px solid rgba(217,138,43,.6);
    display:flex; align-items:center; justify-content:center; text-align:center; flex-direction:column;
    background:rgba(255,255,255,.03);
  }
  .stamp .core b{font-family:var(--serif); font-size:1.5rem; color:#fff; display:block;}
  .stamp .core small{font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; color:var(--amber); text-transform:uppercase; margin-top:6px;}

  /* ===== Hero cabinet preview ===== */
  .hero-cabinet-wrap{position:relative; width:100%; max-width:440px; margin:0 auto;}
  .hero-cabinet-wrap::before{
    content:''; position:absolute; inset:-34px; z-index:0; pointer-events:none;
    background:radial-gradient(240px 240px at 28% 18%, rgba(217,162,51,.22), transparent 70%);
  }
  .hero-cabinet{position:relative; z-index:1; transform:rotate(-1.4deg); transition:transform .3s ease;}
  .hero-cabinet-wrap:hover .hero-cabinet{transform:rotate(0deg);}
  @media (prefers-reduced-motion: reduce){ .hero-cabinet, .hero-cabinet-wrap:hover .hero-cabinet{transform:none;} }
  .hero-badge{
    position:absolute; top:-20px; right:-14px; z-index:2; display:inline-flex; align-items:center; gap:9px;
    background:var(--amber); color:var(--navy-deep); font-family:var(--mono); font-size:.78rem; font-weight:700;
    letter-spacing:.05em; text-transform:uppercase; padding:11px 18px; border-radius:24px; box-shadow:var(--shadow);
    white-space:nowrap;
  }
  .hero-badge svg{flex:none;}
  @media (max-width:1100px){ .hero-cabinet-wrap{max-width:400px;} }
  @media (max-width:920px){
    .hero .wrap{grid-template-columns:1fr; gap:40px;}
    .hero-cabinet-wrap{max-width:460px; margin:0 auto;}
  }

  /* ===== Stats strip ===== */
  .stats{background:var(--navy); border-top:1px solid rgba(255,255,255,.08);}
  .stats .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:0;}
  .stat{padding:26px 20px; text-align:center; border-left:1px solid rgba(255,255,255,.1);}
  .stat:first-child{border-left:none;}
  .stat b{display:block; font-family:var(--serif); font-size:2rem; color:var(--amber);}
  .stat span{font-family:var(--mono); font-size:.72rem; letter-spacing:.05em; color:#C3D8E5; text-transform:uppercase;}
  @media (max-width:760px){ .stats .wrap{grid-template-columns:repeat(2,1fr);} .stat:nth-child(3){border-left:none;} }

  /* ===== About / partner ===== */
  .about .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:start;}
  .story-section{background:var(--paper-alt);}
  .story-text{max-width:74ch; font-family:var(--serif); font-size:1.15rem; line-height:1.75; color:var(--navy-deep);}
  .story-text p{margin-bottom:1em;}
  .story-text em{font-style:normal; color:var(--amber-deep); font-weight:700;}
  .about h2{font-size:clamp(1.6rem,2.6vw,2.15rem); margin-bottom:.5em;}
  .partner-card{
    background:var(--white); border:1px solid var(--line); border-radius:6px; padding:30px; box-shadow:var(--shadow);
    border-top:4px solid var(--amber);
  }
  .partner-card h3{font-size:1.15rem; margin-bottom:.6em;}
  .partner-card .tag{font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; color:var(--steel); text-transform:uppercase; margin-bottom:.8em; display:block;}

  /* ===== Advantages ===== */
  .advantages{background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .adv-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .adv-item{background:var(--white); padding:30px 26px;}
  .adv-item .num{font-family:var(--mono); color:var(--amber-deep); font-size:.78rem; letter-spacing:.08em;}
  .adv-item h4{font-size:1.05rem; margin:.5em 0 .4em;}
  .adv-item p{margin:0; color:#38566B; font-size:.94rem;}
  @media (max-width:760px){ .adv-grid{grid-template-columns:1fr;} }

  /* ===== Reviews (Yandex) ===== */
  .reviews-section{background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .reviews-head{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:26px;}
  .reviews-rating{display:flex; align-items:center; gap:14px;}
  .ya-badge{
    width:44px; height:44px; border-radius:10px; background:#FC3F1D; color:#fff; font-family:var(--sans); font-weight:700;
    font-size:1.1rem; display:flex; align-items:center; justify-content:center; flex:none;
  }
  .reviews-rating .stars{color:var(--amber); font-size:1.05rem; letter-spacing:2px;}
  .reviews-rating .rating-meta{font-family:var(--mono); font-size:.72rem; color:var(--steel); text-transform:uppercase; letter-spacing:.04em;}
  .reviews-widget-frame{
    border:1px solid var(--line); border-radius:8px; background:var(--paper); min-height:220px;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
  }
  .reviews-widget-frame iframe{width:100%; border:0; min-height:340px;}
  .reviews-placeholder{
    text-align:center; padding:40px 24px; max-width:480px; display:flex; flex-direction:column; align-items:center; gap:14px;
  }
  .reviews-placeholder .ya-badge{margin-bottom:4px;}
  .reviews-placeholder p{color:#38566B; font-size:.92rem; margin:0;}
  .reviews-note{font-family:var(--mono); font-size:.74rem; color:var(--steel); margin-top:16px;}

  /* ===== Programs ===== */
  .programs .head-row{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:30px;}
  .search-box{position:relative; width:340px; max-width:100%;}
  .search-box input{
    width:100%; padding:12px 14px 12px 40px; border:1px solid var(--line); border-radius:4px; font-family:var(--sans);
    font-size:.94rem; background:var(--white); color:var(--ink);
  }
  .search-box input:focus{outline:2px solid var(--amber); outline-offset:1px;}
  .search-box::before{content:'⌕'; position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--steel); font-size:1.1rem;}
  #resultNote{font-family:var(--mono); font-size:.75rem; color:var(--steel); margin-top:6px;}

  details.category{
    background:var(--white); border:1px solid var(--line); border-radius:6px; margin-bottom:14px; overflow:hidden;
  }
  details.category[open] summary{border-bottom:1px solid var(--line);}
  details.category summary{
    list-style:none; cursor:pointer; padding:20px 24px; display:flex; align-items:center; justify-content:space-between;
    gap:16px; font-family:var(--serif); font-size:1.18rem; color:var(--navy-deep);
  }
  details.category summary::-webkit-details-marker{display:none;}
  .summary-left{display:flex; align-items:center; gap:14px;}
  .cat-count{
    font-family:var(--mono); font-size:.72rem; background:var(--paper-alt); color:var(--navy); border-radius:20px;
    padding:3px 11px; letter-spacing:.03em;
  }
  .chev{transition:transform .2s ease; color:var(--amber); font-size:1.1rem;}
  details.category[open] .chev{transform:rotate(45deg);}
  .cat-intro{padding:0 24px 4px; color:#38566B; font-size:.92rem; max-width:80ch;}
  .prog-list{padding:6px 0 10px;}
  .prog-row{
    position:relative;
    display:grid; grid-template-columns:88px 1fr 100px 128px; gap:16px; align-items:center;
    padding:13px 24px; border-top:1px solid var(--paper-alt); font-size:.94rem;
  }
  .prog-row:hover{background:var(--paper);}
  .prog-code{font-family:var(--mono); font-size:.78rem; color:var(--steel); white-space:nowrap;}
  .prog-title{color:var(--ink);}
  .badge-popular{
    display:inline-flex; align-items:center; gap:4px; font-family:var(--mono); font-size:.66rem; letter-spacing:.04em;
    text-transform:uppercase; color:var(--amber-deep); background:rgba(217,138,43,.14); border:1px solid rgba(217,138,43,.35);
    border-radius:20px; padding:2px 9px; margin-left:10px; vertical-align:middle; white-space:nowrap;
  }
  .prog-price{font-family:var(--mono); font-size:.86rem; color:var(--navy-deep); text-align:right; font-weight:700;}
  .prog-order{
    justify-self:end; opacity:0; transform:translateX(8px); pointer-events:none;
    transition:opacity .16s ease, transform .16s ease;
    font-family:var(--sans); font-weight:700; font-size:.8rem; white-space:nowrap;
    background:var(--amber); color:var(--navy-deep); border:none; border-radius:20px;
    padding:8px 16px; cursor:pointer;
  }
  .prog-order:hover{background:var(--amber-deep); color:#fff;}
  .prog-row:hover .prog-order, .prog-row:focus-within .prog-order{opacity:1; transform:translateX(0); pointer-events:auto;}
  @media (max-width:640px){
    .prog-row{grid-template-columns:1fr; row-gap:6px;}
    .prog-price{text-align:left;}
    .prog-order{
      justify-self:start; opacity:1; transform:none; pointer-events:auto; margin-top:4px;
    }
  }
  .prog-row.hide{display:none;}
  details.category.hide{display:none;}

  /* ===== Order modal ===== */
  .modal-overlay{
    position:fixed; inset:0; background:rgba(13,35,56,.6); display:none; align-items:center; justify-content:center;
    padding:20px; z-index:300;
  }
  .modal-overlay.open{display:flex;}
  .modal{
    background:var(--white); border-radius:8px; width:100%; max-width:440px; padding:34px 30px 30px;
    position:relative; box-shadow:var(--shadow); max-height:88vh; overflow-y:auto; border-top:4px solid var(--amber);
  }
  .modal-close{
    position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
    background:var(--white); color:var(--steel); font-size:1.15rem; line-height:1; cursor:pointer;
  }
  .modal-close:hover{background:var(--paper); color:var(--navy-deep);}
  .modal h3{font-size:1.28rem; margin-bottom:.4em;}
  .modal-program{
    font-family:var(--mono); font-size:.78rem; color:var(--amber-deep); background:var(--paper);
    border-radius:4px; padding:9px 12px; margin-bottom:1.3em; word-break:break-word;
  }

  /* ===== Formats (remote-only showcase) ===== */
  .formats{background:var(--navy-deep); color:#fff;}
  .format-hero{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
  .format-hero h2{color:#fff; margin-bottom:.5em;}
  .format-hero .lead{color:#D6E5EE; max-width:52ch;}
  .format-benefits{display:flex; flex-direction:column; gap:18px; margin-top:28px;}
  .format-benefit{display:flex; gap:14px; align-items:flex-start;}
  .format-benefit .ic{
    width:34px; height:34px; border-radius:50%; background:rgba(217,138,43,.15); border:1px solid rgba(217,138,43,.4);
    display:flex; align-items:center; justify-content:center; color:var(--amber); font-family:var(--mono); font-size:.82rem; flex:none;
  }
  .format-benefit strong{display:block; color:#fff; font-size:.96rem; margin-bottom:2px;}
  .format-benefit p{margin:0; color:#C3D8E5; font-size:.88rem;}

  .cabinet-mock{background:#1F3A50; border:1px solid rgba(255,255,255,.14); border-radius:8px; overflow:hidden; box-shadow:var(--shadow);}
  .cabinet-mock .bar{display:flex; align-items:center; gap:8px; padding:12px 16px; background:rgba(255,255,255,.04); border-bottom:1px solid rgba(255,255,255,.1);}
  .cabinet-mock .bar span{width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.18);}
  .cabinet-mock .bar .label{margin-left:auto; font-family:var(--mono); font-size:.68rem; letter-spacing:.06em; color:#7FA3BE; text-transform:uppercase;}
  .cabinet-mock .body{padding:22px 22px 8px;}
  .cabinet-mock .cab-title{font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:#7FA3BE; margin-bottom:14px;}
  .cabinet-mock .row{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:.86rem; color:#E6EFF4;}
  .cabinet-mock .row:last-child{border-bottom:none;}
  .cabinet-mock .row-right{display:flex; align-items:center; gap:10px; flex:none;}
  .cabinet-mock .progress{width:60px; height:5px; border-radius:3px; background:rgba(255,255,255,.12); overflow:hidden; flex:none;}
  .cabinet-mock .progress i{display:block; height:100%; background:var(--amber);}
  .cabinet-mock .status{font-family:var(--mono); font-size:.66rem; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap;}
  .status-done{color:#7FCB86;}
  .status-progress{color:var(--amber);}
  .cabinet-mock .foot{padding:16px 22px; border-top:1px solid rgba(255,255,255,.1); font-family:var(--mono); font-size:.7rem; color:#7FA3BE;}
  @media (max-width:900px){ .format-hero{grid-template-columns:1fr;} }

  /* ===== Document samples ===== */
  .doc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .doc-card{background:var(--white); border:1px solid var(--line); border-radius:6px; overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column;}
  .doc-head{background:var(--navy-deep); color:#fff; padding:14px 20px; display:flex; justify-content:space-between; align-items:center; gap:10px;}
  .doc-head .doc-tag{font-family:var(--mono); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber);}
  .doc-head .doc-kind{font-family:var(--serif); font-size:1rem;}
  .doc-body{position:relative; padding:24px 22px 18px; flex:1;}
  .doc-body::before{content:''; position:absolute; inset:9px; border:1px solid var(--paper-alt); border-radius:4px; pointer-events:none;}
  .doc-line{border-bottom:1px dashed var(--line); padding:9px 0; font-family:var(--mono); font-size:.7rem; letter-spacing:.03em; color:#6E97B4; text-transform:uppercase;}
  .doc-line:last-of-type{border-bottom:none;}
  .doc-line b{display:block; font-family:var(--sans); font-size:.92rem; font-weight:400; color:var(--ink); text-transform:none; letter-spacing:0; margin-top:3px;}
  .doc-seal{
    width:64px; height:64px; border-radius:50%; border:1.5px solid var(--amber); margin:16px 0 2px auto;
    display:flex; align-items:center; justify-content:center; text-align:center;
  }
  .doc-seal span{font-family:var(--mono); font-size:.5rem; line-height:1.25; color:var(--amber-deep); letter-spacing:.03em;}
  .doc-foot{padding:12px 22px; background:var(--paper); border-top:1px solid var(--line); font-family:var(--mono); font-size:.68rem; color:var(--steel);}
  .doc-note{color:#38566B; font-size:.86rem; max-width:70ch; margin-top:24px;}
  @media (max-width:900px){ .doc-grid{grid-template-columns:1fr;} }

  /* ===== Video ===== */
  .video-section{background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .video-frame{
    position:relative; margin-top:28px; aspect-ratio:16/9; max-width:820px; border-radius:8px; overflow:hidden;
    background:
      linear-gradient(90deg, rgba(21,35,43,.28), rgba(21,35,43,.08) 56%, rgba(21,35,43,.18)),
      url('assets/academy-training-poster-20261026.jpg') center/cover no-repeat;
    display:block; width:100%; box-shadow:var(--shadow);
  }
  .video-frame-trigger{
    position:absolute; inset:0; width:100%; height:100%; z-index:1; background:none; border:none; padding:0; margin:0;
    cursor:pointer;
  }
  .video-frame::after{
    content:''; position:absolute; inset:0; pointer-events:none;
    background-image:repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 34px);
  }
  .video-frame iframe, .video-frame video{position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:cover; z-index:0;}
  .video-caption{
    position:absolute; left:24px; bottom:20px; right:24px; z-index:2; color:#fff; text-align:left;
  }
  .video-caption .tag{font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber); display:block; margin-bottom:6px;}
  .video-caption h4{color:#fff; font-size:1.15rem; margin:0;}
  .video-play{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2;
    width:74px; height:74px; border-radius:50%; background:var(--amber); display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 26px -8px rgba(217,138,43,.6); transition:transform .18s ease, background .18s ease;
  }
  .video-frame:hover .video-play{transform:translate(-50%,-50%) scale(1.06); background:var(--amber-deep);}
  .video-play svg{margin-left:4px;}
  .video-duration{
    position:absolute; top:20px; right:20px; z-index:2; font-family:var(--mono); font-size:.72rem; color:#fff;
    background:rgba(13,35,56,.55); border:1px solid rgba(255,255,255,.25); border-radius:20px; padding:4px 11px;
  }
.video-frame.playing .video-play, .video-frame.playing .video-caption, .video-frame.playing .video-duration, .video-frame.playing::after{display:none;}

/* Real learning portal links replace the illustrative course progress panel. */
body .cabinet-mock .portal-preview-text{
  margin:0 0 18px;
  color:#526269;
  font-size:.9rem;
  line-height:1.55;
}
body .cabinet-mock .portal-preview-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding-bottom:14px;
}
body .cabinet-mock .portal-preview-actions a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 12px;
  border:1px solid #981f2b;
  color:#981f2b;
  font-size:.77rem;
  font-weight:700;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
}
body .cabinet-mock .portal-preview-actions a:first-child{background:#981f2b;color:#fff;}
body .cabinet-mock .portal-preview-actions a:hover{background:#7c1823;color:#fff;border-color:#7c1823;}
@media (max-width:520px){body .cabinet-mock .portal-preview-actions{grid-template-columns:1fr;}}

  /* ===== Payment & delivery ===== */
  .pd-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}
  @media (max-width:820px){ .pd-grid{grid-template-columns:1fr;} }
  .pd-card{background:var(--white); border:1px solid var(--line); border-radius:6px; padding:30px; display:flex; flex-direction:column; gap:12px;}
  .pd-card .icon{
    width:46px; height:46px; border-radius:50%; background:var(--paper-alt); display:flex; align-items:center; justify-content:center;
    color:var(--amber-deep); font-family:var(--serif); font-weight:700;
  }
  .pd-card h3{font-size:1.12rem;}
  .pd-list{list-style:none; margin:4px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;}
  .pd-list li{display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color:#38566B; line-height:1.5;}
  .pd-list li::before{content:'—'; color:var(--amber-deep); flex:none; font-family:var(--mono);}
  .pd-note{font-family:var(--mono); font-size:.76rem; color:var(--steel); margin-top:auto; padding-top:6px;}

  /* ===== Contacts ===== */
  .contacts-section{background:var(--white); border-top:1px solid var(--line);}
  .contact-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:8px;}
  @media (max-width:980px){ .contact-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:560px){ .contact-grid{grid-template-columns:1fr;} }
  .contact-card{background:var(--white); border:1px solid var(--line); border-radius:6px; padding:26px 24px; transition:border-color .15s ease, transform .15s ease;}
  .contact-card:hover{border-color:var(--amber); transform:translateY(-2px);}
  .contact-card .icon{
    width:42px; height:42px; border-radius:50%; background:var(--paper-alt); display:flex; align-items:center; justify-content:center;
    color:var(--amber-deep); font-family:var(--serif); font-weight:700; margin-bottom:16px; font-size:1rem;
  }
  .contact-card .label{font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--steel); display:block; margin-bottom:8px;}
  .contact-card .value{font-size:.98rem; color:var(--navy-deep); line-height:1.55;}
  .contact-card a{color:var(--navy-deep); text-decoration:none; font-weight:700;}
  .contact-card a:hover{color:var(--amber-deep);}
  .contact-card .value small{display:block; font-family:var(--sans); font-size:.82rem; color:#38566B; font-weight:400; margin-top:2px;}
  .contacts-cta{
    margin-top:32px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    background:var(--paper); border:1px solid var(--line); border-radius:6px; padding:22px 28px;
  }
  .contacts-cta p{margin:0; color:#38566B; font-size:.94rem; max-width:52ch;}

  /* ===== Licenses ===== */
  .licenses-section{background:var(--paper-alt);}
  .license-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:8px;}
  @media (max-width:820px){ .license-grid{grid-template-columns:1fr;} }
  .license-card{
    background:var(--white); border:1px solid var(--line); border-radius:6px; padding:28px; position:relative;
    display:flex; flex-direction:column; gap:14px;
  }
  .license-card::before{content:''; position:absolute; inset:8px; border:1px solid var(--paper-alt); border-radius:4px; pointer-events:none;}
  .license-head{display:flex; align-items:center; justify-content:space-between; gap:12px;}
  .license-icon{
    width:44px; height:44px; border-radius:50%; background:var(--paper-alt); display:flex; align-items:center; justify-content:center;
    color:var(--amber-deep); font-family:var(--serif); font-weight:700;
  }
  .license-tag{font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--amber-deep); background:rgba(217,138,43,.14); border:1px solid rgba(217,138,43,.3); border-radius:20px; padding:4px 12px;}
  .license-card h3{font-size:1.08rem; margin-bottom:2px;}
  .license-meta{display:flex; flex-direction:column;}
  .license-line{border-bottom:1px dashed var(--line); padding:9px 0; font-family:var(--mono); font-size:.7rem; letter-spacing:.03em; color:#6E97B4; text-transform:uppercase;}
  .license-line:last-child{border-bottom:none;}
  .license-line b{display:block; font-family:var(--sans); font-size:.9rem; font-weight:400; color:var(--ink); text-transform:none; letter-spacing:0; margin-top:3px;}

  /* ===== Services ===== */
  .services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .service-card{
    background:var(--white); border:1px solid var(--line); border-radius:6px; padding:30px; display:flex; flex-direction:column; gap:12px;
  }
  .service-card .icon{
    width:46px; height:46px; border-radius:50%; background:var(--paper-alt); display:flex; align-items:center; justify-content:center;
    color:var(--amber-deep); font-family:var(--serif); font-weight:700;
  }
  .service-card h3{font-size:1.12rem;}
  .service-card p{color:#38566B; font-size:.92rem; margin:0;}
  .service-card .price{font-family:var(--mono); font-size:.85rem; color:var(--navy-deep); margin-top:auto;}
  @media (max-width:820px){ .services-grid{grid-template-columns:1fr;} }

  /* ===== Process ===== */
  .process{background:var(--paper-alt);}
  .process-track{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step;}
  .step{position:relative; padding-top:6px;}
  .step .idx{
    font-family:var(--mono); font-size:.85rem; color:var(--amber-deep); display:block; margin-bottom:.6em;
  }
  .step h4{font-size:1rem; margin-bottom:.4em;}
  .step p{font-size:.88rem; color:#38566B; margin:0;}
  .step::after{content:''; position:absolute; top:0; left:-10px; width:1px; height:22px; background:var(--line);}
  .step:first-child::after{display:none;}
  @media (max-width:900px){ .process-track{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:560px){ .process-track{grid-template-columns:1fr;} }

  /* ===== FAQ ===== */
  .faq-item{border-bottom:1px solid var(--line); padding:18px 0;}
  .faq-item summary{cursor:pointer; font-weight:700; color:var(--navy-deep); list-style:none; display:flex; justify-content:space-between; gap:16px;}
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary::after{content:'+'; color:var(--amber-deep); font-family:var(--mono); font-size:1.2rem;}
  .faq-item[open] summary::after{content:'–';}
  .faq-item p{margin-top:12px; color:#38566B;}

  /* ===== CTA form ===== */
  .cta-section{background:var(--navy); color:#fff;}
  .cta-section .wrap{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
  .cta-section h2{color:#fff;}
  .cta-section .lead{color:#D6E5EE;}
  .app-form{background:var(--white); border-radius:6px; padding:30px; color:var(--ink); box-shadow:var(--shadow);}
  .app-form .field{margin-bottom:16px;}
  .app-form label{display:block; font-size:.82rem; font-weight:700; margin-bottom:6px; color:var(--navy-deep);}
  .app-form input, .app-form select, .app-form textarea{
    width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:4px; font-family:var(--sans); font-size:.94rem;
  }
  .app-form input:focus, .app-form select:focus, .app-form textarea:focus{outline:2px solid var(--amber); outline-offset:1px;}
  .modal .app-form{box-shadow:none; padding:0;}
  .consent{display:flex; align-items:flex-start; gap:10px; font-size:.8rem; color:#40607A; margin-bottom:18px;}
  .consent input{width:auto; margin-top:3px;}
  #thanks, #modalThanks{display:none; background:#EAF3EA; border:1px solid #B9DAB9; border-radius:4px; padding:14px 16px; font-size:.9rem; color:#255A25; margin-top:14px;}
  #thanks.show, #modalThanks.show{display:block;}

  /* ===== Footer ===== */
  footer{background:var(--navy-deep); color:#C3D8E5; padding:56px 0 24px; font-size:.9rem;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px;}
  footer h5{color:#fff; font-family:var(--serif); font-size:1rem; margin-bottom:14px;}
  footer ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px;}
  footer a{text-decoration:none; color:#C3D8E5;}
  footer a:hover{color:var(--amber);}
  .foot-bottom{border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.78rem; color:#7FA3BE;}
  @media (max-width:900px){ .foot-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .foot-grid{grid-template-columns:1fr;} }

.skip-link{position:absolute; left:-999px; top:auto;}
.skip-link:focus{left:16px; top:16px; z-index:999; background:#fff; padding:10px 16px; border-radius:4px;}
:focus-visible{outline:2px solid var(--amber); outline-offset:2px;}

/* ===== 2026 redesign overrides ===== */
:root{
  --ink:#10212B;
  --navy:#244A66;
  --navy-deep:#0E2433;
  --steel:#5E778A;
  --amber:#D4A24A;
  --amber-deep:#B97B28;
  --paper:#F7F3EB;
  --paper-alt:#EFE7DA;
  --line:#D8D3C8;
  --white:#FFFDF8;
  --shadow:0 26px 64px -34px rgba(9,28,40,.45);
  --shadow-soft:0 18px 40px -28px rgba(16,33,43,.35);
}

/* ===== 2027 brand refresh ===== */
:root{
  --ink:#13222A;
  --navy:#21404A;
  --navy-deep:#10252F;
  --steel:#6E7E85;
  --amber:#E8B36B;
  --amber-deep:#D56C49;
  --paper:#F7F0E7;
  --paper-alt:#FFF9F3;
  --line:#E5D5C5;
  --white:#FFFCF8;
  --shadow:0 28px 70px -36px rgba(16,37,47,.34);
  --shadow-soft:0 22px 46px -32px rgba(19,34,42,.26);
}

html{
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(232,179,107,.20), transparent 56%),
    radial-gradient(900px 560px at 100% 0%, rgba(33,64,74,.12), transparent 52%),
    linear-gradient(180deg, #fbf7f1 0%, var(--paper) 100%);
}

body{
  background:
    radial-gradient(1200px 700px at 120% 0%, rgba(213,108,73,.08), transparent 44%),
    linear-gradient(180deg, #fcf8f3 0%, #f8f1e8 38%, #f6eee4 100%);
  color:var(--ink);
}

h1,h2,h3,h4{
  font-family:var(--sans);
  font-weight:800;
  letter-spacing:-.05em;
  color:var(--ink);
}

p{
  color:#465962;
}

.wrap{
  max-width:1260px;
}

.eyebrow{
  font-size:.75rem;
  letter-spacing:.22em;
  color:var(--amber-deep);
}

.eyebrow::before{
  width:26px;
  background:linear-gradient(90deg, var(--amber) 0%, var(--amber-deep) 100%);
}

section{
  padding:clamp(64px, 7vw, 96px) 0;
}

.btn{
  min-height:52px;
  padding:14px 24px;
  border-radius:18px;
  font-weight:700;
  box-shadow:none;
}

.btn-primary{
  background:linear-gradient(135deg, var(--amber) 0%, #F3C688 100%);
  color:var(--ink);
  border:1px solid rgba(213,108,73,.08);
}

.btn-primary:hover{
  background:linear-gradient(135deg, #efb86f 0%, var(--amber-deep) 100%);
  color:#fff7f2;
  transform:translateY(-1px);
}

.btn-line,
.btn-ghost{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(19,34,42,.12);
  color:var(--ink);
  backdrop-filter:blur(12px);
}

.btn-line:hover,
.btn-ghost:hover{
  background:var(--white);
  color:var(--ink);
  border-color:rgba(19,34,42,.2);
}

.topbar{
  background:#172B33;
  border-bottom:none;
}

header.site{
  position:sticky;
  top:12px;
  margin:0 auto;
  width:min(1240px, calc(100% - 28px));
  border:1px solid rgba(255,255,255,.65);
  border-radius:24px;
  background:rgba(255,251,246,.84);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-soft);
}

header.site .wrap{
  min-height:82px;
  padding-left:18px;
  padding-right:18px;
}

.logo{
  gap:14px;
}

.logo .mark{
  width:52px;
  height:52px;
  filter:none;
}

.logo .name{
  font-family:var(--sans);
  font-size:1.18rem;
  font-weight:800;
  letter-spacing:-.04em;
  color:var(--ink);
}

.logo .sub{
  color:#65777E;
  font-size:.62rem;
  letter-spacing:.16em;
}

nav.main{
  gap:8px;
}

nav.main a{
  color:#31464F;
  padding:11px 14px;
  font-size:.88rem;
}

nav.main a:hover{
  background:rgba(213,108,73,.08);
}

nav.main a.active{
  background:rgba(232,179,107,.26);
  color:var(--ink);
}

.nav-cta{
  gap:10px;
}

.burger{
  background:rgba(19,34,42,.04);
  color:var(--ink);
  border-color:rgba(19,34,42,.08);
}

.page-header,
.hero{
  background:transparent;
  overflow:visible;
}

.page-header::before,
.hero::before{
  display:none;
}

.page-header{
  padding:56px 0 30px;
}

.page-header .wrap{
  max-width:1260px;
}

.page-header h1{
  max-width:11ch;
  font-size:clamp(2.5rem, 5vw, 4.6rem);
  line-height:.94;
}

.page-header p{
  color:#596C74;
  font-size:1.05rem;
  max-width:48rem;
}

.hero{
  padding:48px 0 28px;
}

.hero .wrap{
  grid-template-columns:minmax(0, 1.1fr) minmax(300px, .78fr);
  gap:26px;
  align-items:stretch;
}

.hero .wrap > :first-child{
  position:relative;
  padding:clamp(26px, 3vw, 42px);
  border-radius:38px;
  border:1px solid rgba(19,34,42,.08);
  background:
    radial-gradient(460px 220px at 0% 0%, rgba(232,179,107,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,253,249,.97), rgba(248,238,227,.94));
  box-shadow:var(--shadow);
}

.hero .wrap > :first-child::after{
  content:'';
  position:absolute;
  inset:16px;
  border-radius:28px;
  border:1px solid rgba(19,34,42,.05);
  pointer-events:none;
}

.hero h1{
  max-width:13ch;
  font-size:clamp(2.5rem, 5vw, 5rem);
  line-height:.92;
  color:var(--ink);
  margin-bottom:.32em;
}

.hero h1 em{
  color:var(--amber-deep);
}

.hero .lead{
  color:#4F6169;
  font-size:1.06rem;
  max-width:36rem;
}

.hero-proof-grid{
  gap:12px;
  max-width:100%;
}

.hero-proof-card{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(19,34,42,.08);
  backdrop-filter:none;
  box-shadow:none;
}

.hero-proof-card strong{
  color:var(--ink);
}

.hero-proof-card span{
  color:#5D7078;
}

.audience-list{
  max-width:100%;
}

.audience-list li{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(19,34,42,.08);
  color:#42555E;
}

.audience-list li::before{
  color:var(--amber-deep);
}

.hero .cta-row{
  margin:20px 0 0;
}

.trust-row{
  display:flex;
  gap:10px;
  margin-top:18px;
}

.trust-row span{
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(19,34,42,.08);
  color:#5B6B74;
}

.trust-row .dot{
  background:var(--amber-deep);
}

.hero-cabinet-wrap{
  align-self:center;
  max-width:420px;
  padding:28px 14px 0 0;
}

.hero-cabinet-wrap::before{
  inset:-20px -12px 10px 24px;
  border-radius:34px;
  background:
    radial-gradient(200px 200px at 0% 0%, rgba(232,179,107,.22), transparent 66%),
    linear-gradient(160deg, rgba(255,255,255,.58), rgba(255,255,255,0));
}

.hero-badge{
  background:linear-gradient(135deg, #F1C27D 0%, #E29A6D 100%);
  color:var(--navy-deep);
  box-shadow:0 18px 32px -22px rgba(213,108,73,.6);
}

.hero-cabinet{
  background:#17313A;
  border-radius:28px;
  box-shadow:0 32px 60px -34px rgba(16,37,47,.7);
}

.stats{
  margin-top:-6px;
  background:transparent;
}

.stats .wrap{
  gap:16px;
}

.stat{
  position:relative;
  padding:26px 18px 22px;
  border:none;
  border-radius:24px;
  background:rgba(255,252,248,.92);
  box-shadow:var(--shadow-soft);
}

.stat::after{
  content:'';
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--amber) 0%, var(--amber-deep) 100%);
}

.stat b{
  color:var(--ink);
}

.stat span{
  color:#667981;
}

.story-section,
.process,
.licenses-section,
.magnet-section,
.contacts-section{
  background:transparent;
}

.direction-card,
.partner-card,
.adv-item,
.contact-card,
.requisites-card,
.requisites-full,
.license-card,
.service-card,
.pd-card,
.doc-card,
.case-card,
.contacts-cta,
.app-form,
.magnet-box,
.package-offer,
.guarantee-ticket,
details.category,
.reviews-widget-frame,
.portal-panel{
  border-radius:30px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.9);
  box-shadow:var(--shadow-soft);
}

.direction-card{
  min-height:290px;
  padding:30px;
  justify-content:flex-end;
  border-top:4px solid transparent;
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(232,179,107,.22), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,240,231,.94));
}

.direction-card:nth-child(2){
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(213,108,73,.16), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,239,235,.94));
}

.direction-card:hover{
  transform:translateY(-5px);
}

.card-kicker{
  background:rgba(19,34,42,.05);
  color:var(--amber-deep);
}

.about .wrap,
.portal-layout,
.cta-section .wrap{
  gap:28px;
}

.partner-card{
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(232,179,107,.16), transparent 64%),
    rgba(255,252,248,.94);
}

.adv-grid{
  gap:16px;
}

.adv-item{
  padding:28px 24px;
}

.advantages{
  background:transparent;
  border:none;
}

.guarantee-ticket{
  display:grid;
  grid-template-columns:.84fr 1.16fr;
  gap:0;
  overflow:hidden;
  background:rgba(255,252,248,.95);
}

.guarantee-ticket::after,
.guarantee-ticket::before,
.g-notch-bottom{
  display:none;
}

.g-intro{
  padding:34px;
  background:linear-gradient(160deg, #18313A 0%, #244751 100%);
}

.g-badge{
  background:#F3C889;
}

.g-intro h2,
.g-intro p{
  color:#FFF8F1;
}

.g-checklist{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  padding:22px;
}

.g-checklist li{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,240,231,.94));
  border:1px solid rgba(19,34,42,.06);
}

.g-checklist strong{
  color:var(--ink);
}

.g-checklist span{
  color:#586B73;
}

.programs .head-row{
  margin-bottom:22px;
}

details.category{
  overflow:hidden;
}

details.category summary{
  padding:22px 24px;
  font-size:1.06rem;
}

.prog-list{
  padding:14px;
}

.prog-row{
  background:rgba(255,255,255,.84);
}

.prog-row:hover{
  background:#FFF9F2;
}

.formats{
  background:
    radial-gradient(660px 320px at 0% 0%, rgba(232,179,107,.18), transparent 56%),
    linear-gradient(180deg, #16303A 0%, #11242D 100%);
}

.video-frame,
.package-offer{
  border-radius:34px;
}

.video-section,
.case-section,
.reviews-section{
  background:transparent;
  border:none;
}

.process-track{
  gap:16px;
}

.step{
  background:rgba(255,252,248,.88);
}

.contacts-cta{
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(232,179,107,.14), transparent 66%),
    rgba(255,252,248,.92);
}

.cta-section{
  background:
    radial-gradient(700px 340px at 100% 0%, rgba(232,179,107,.18), transparent 56%),
    linear-gradient(180deg, #17313A 0%, #10252F 100%);
}

.cta-section h2,
.cta-section .lead,
.cta-section .trust-row span{
  color:#FFF8F1;
}

.cta-section .trust-row span{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.12);
}

footer{
  background:#0C1E26;
  border-top:1px solid rgba(255,255,255,.08);
}

.portal-panel h2,
.legal-copy h2{
  font-size:clamp(1.9rem, 4vw, 3.4rem);
  line-height:.95;
  margin-bottom:.38em;
}

.portal-points li,
.legal-copy p,
.legal-copy li{
  color:#4D6068;
}

.portal-page .page-header,
.legal-page .page-header{
  padding-top:52px;
}

@media (max-width:1100px){
  header.site{
    top:0;
    width:100%;
    border-radius:0;
    border-left:none;
    border-right:none;
  }

  nav.main{
    background:rgba(255,249,242,.97);
    border-color:rgba(19,34,42,.08);
  }

  nav.main a{
    background:rgba(19,34,42,.03);
  }

  .hero .wrap,
  .about .wrap,
  .format-hero,
  .portal-layout,
  .cta-section .wrap{
    grid-template-columns:1fr;
  }

  .hero-cabinet-wrap{
    max-width:520px;
    margin:0 auto;
    padding-right:0;
  }

  .trust-row{
    flex-wrap:wrap;
  }
}

@media (max-width:840px){
  .hero{
    padding-top:24px;
  }

  .hero .wrap > :first-child{
    border-radius:30px;
    padding:24px 20px;
  }

  .hero h1,
  .page-header h1{
    max-width:none;
    font-size:clamp(2.1rem, 9vw, 3.8rem);
  }

  .hero-cabinet-wrap{
    max-width:400px;
    padding-top:8px;
  }

  .g-checklist{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  header.site{
    margin:0;
  }

  header.site .wrap{
    min-height:76px;
  }

  .logo .mark{
    width:46px;
    height:46px;
  }

  .logo .name{
    font-size:1.04rem;
  }

  .hero,
  .page-header{
    padding-top:18px;
  }

  .hero .wrap > :first-child{
    padding:20px 18px;
    border-radius:26px;
  }

  .hero h1{
    font-size:clamp(2rem, 10vw, 3rem);
  }

  .hero .lead,
  .page-header p{
    font-size:.96rem;
  }

  .hero-cabinet-wrap{
    max-width:100%;
  }

  .hero-badge{
    right:0;
  }

  .stat,
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .package-offer,
  .guarantee-ticket,
  details.category,
  .portal-panel{
    border-radius:24px;
  }

  .g-intro,
  .g-checklist{
    padding:20px;
  }
}

/* ===== 2026 editorial refresh ===== */
:root{
  --ink:#17282b;
  --navy:#21484a;
  --navy-deep:#143538;
  --steel:#607477;
  --amber:#df7041;
  --amber-deep:#bd542d;
  --paper:#f7f3eb;
  --paper-alt:#ebe5d9;
  --line:#d9d2c5;
  --shadow:0 20px 50px -30px rgba(20,53,56,.35);
}

body{background:var(--paper); color:var(--ink); font-size:16px;}
body::before{content:''; position:fixed; inset:0; pointer-events:none; opacity:.42; background-image:radial-gradient(rgba(24,47,45,.09) .5px,transparent .6px); background-size:7px 7px; z-index:-1;}
h1,h2,h3,h4{color:var(--navy-deep); letter-spacing:-.035em;}
h2{font-size:clamp(1.85rem,3vw,3.05rem);}
p{line-height:1.72;}
.wrap{max-width:1240px; padding-left:32px; padding-right:32px;}
section{padding:100px 0;}
.eyebrow{color:var(--amber-deep); font-weight:700; letter-spacing:.12em;}
.eyebrow::before{width:34px; background:currentColor;}

.topbar{background:#10282a; font-size:.69rem; letter-spacing:.035em;}
.topbar .wrap{padding-top:9px; padding-bottom:9px;}
.topbar .note{color:#bed0cc;}
header.site{background:rgba(247,243,235,.94); backdrop-filter:blur(16px); border-bottom:1px solid rgba(23,40,43,.1); box-shadow:none;}
header.site .wrap{min-height:76px; padding-top:11px; padding-bottom:11px;}
.logo{color:var(--navy-deep);}
.logo .name{font-size:1.34rem; letter-spacing:-.04em;}
.logo .sub{color:var(--steel); font-size:.58rem;}
nav.main{gap:24px;}
nav.main a{color:#294144; font-size:.82rem; font-weight:600;}
nav.main a:hover,nav.main a.active{color:var(--amber-deep);}
nav.main a.active::after{background:var(--amber); bottom:-8px;}
.btn{border-radius:0; padding:13px 21px; font-size:.84rem; letter-spacing:.01em;}
.btn-primary{background:var(--amber); color:#fff; box-shadow:0 8px 20px -14px rgba(104,35,16,.7);}
.btn-primary:hover{background:var(--amber-deep);}
.btn-line{color:var(--navy-deep); border-color:rgba(20,53,56,.35);}
.btn-line:hover{background:var(--navy-deep);}
.nav-cta{gap:10px;}

.hero,.page-header{background:linear-gradient(118deg,#123337 0%,#204d4c 58%,#295b58 100%); padding:clamp(54px,8vw,112px) 0 74px; overflow:hidden;}
.hero::after,.page-header::after{content:''; position:absolute; width:42vw; height:42vw; right:-12vw; bottom:-27vw; border:1px solid rgba(244,231,204,.25); border-radius:50%; pointer-events:none;}
.hero .wrap{grid-template-columns:minmax(0,1.13fr) minmax(390px,.87fr); gap:clamp(34px,5vw,76px);}
.hero h1{font-size:clamp(2.35rem,4.7vw,4.7rem); max-width:12ch; line-height:1.02; letter-spacing:-.055em;}
.hero h1 em{color:#f6be6c;}
.hero .lead{font-size:1rem; color:#e0eae3; max-width:61ch;}
.hero .cta-row{margin:32px 0 28px;}
.btn-ghost{border-color:rgba(255,255,255,.5); color:#fff;}
.hero-proof-grid{gap:10px; margin:26px 0 0;}
.hero-proof-card{background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:0; padding:15px; backdrop-filter:blur(5px);}
.hero-proof-card strong{color:#fff7e8; font-size:.98rem;}
.hero-proof-card span{color:#d8e3dc; font-size:.78rem; line-height:1.45;}
.audience-list li{color:#e9f1e9;}
.trust-row{color:#d5e2da; font-size:.69rem; gap:14px 20px;}
.hero-cabinet-wrap{max-width:510px; justify-self:end; width:100%;}
.hero-badge{background:#f5c46b; color:#173437; border-radius:0; box-shadow:none; font-size:.67rem; padding:8px 12px;}
.cabinet-mock{border-radius:2px; box-shadow:0 26px 56px -30px rgba(0,0,0,.75); border:1px solid rgba(255,255,255,.7);}
.cabinet-mock .bar{background:#f2ede3;}
.cabinet-mock .bar .label{color:#244448;}
.cabinet-mock .body{background:#fffdf8;}
.cabinet-mock .row{color:#233a3c; font-size:.78rem;}
.cabinet-mock .foot{background:#1d4143; color:#d6e4db;}

.stats{background:#f0e8dc; border-top:1px solid #ddd3c4; border-bottom:1px solid #ddd3c4;}
.stats .wrap{min-height:128px;}
.stat{border-color:#d7ccbc;}
.stat b{color:var(--navy-deep); font-size:clamp(1.55rem,2.5vw,2.25rem);}
.stat span{color:#677477;}

.directions-grid{grid-template-columns:repeat(3,1fr); gap:16px;}
.direction-card{padding:0 0 27px; border:1px solid #d8d0c4; border-radius:0; background:#fffdf8; overflow:hidden; gap:13px;}
.direction-card > :not(.direction-media){margin-left:24px; margin-right:24px;}
.direction-card:hover{transform:translateY(-7px); border-color:#bf663d; box-shadow:var(--shadow);}
.direction-media{display:block; height:168px; overflow:hidden; background:#244a4a; margin:0 !important; position:relative;}
.direction-media::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,rgba(16,43,42,.48));}
.direction-media img{width:100%; height:100%; object-fit:cover; filter:saturate(.68) contrast(1.05); transition:transform .45s ease;}
.direction-card:hover .direction-media img{transform:scale(1.05);}
.direction-media--trade img{object-position:center;}
.card-kicker{color:var(--amber-deep); font-size:.64rem; letter-spacing:.12em; padding-top:8px;}
.direction-card h3{font-size:1.48rem;}
.direction-card p{color:#526365; font-size:.88rem;}
.mini-points{color:#3c5355; font-size:.83rem;}
.direction-card .d-cta{color:var(--amber-deep); font-size:.7rem;}

.guarantees-section{padding:72px 0;}
.guarantee-ticket{border-radius:0; background:#173d3e; grid-template-columns:.78fr 1.22fr; box-shadow:var(--shadow);}
.guarantee-ticket::after{left:37%; border-color:rgba(245,235,214,.25);}
.guarantee-ticket::before,.g-notch-bottom{background:var(--paper);}
.g-intro{padding:50px 40px;}
.g-intro h2{font-size:clamp(1.7rem,2.5vw,2.45rem);}
.g-intro p,.g-checklist span{color:#cbd9d0;}
.g-badge{background:#f2b55b; color:#163b3c; border-radius:0;}
.g-checklist{padding:45px 42px 45px 66px; gap:23px;}
.g-checklist strong{font-family:var(--serif); font-size:1.06rem; color:#fffaf0;}

.story-section{background:#fffdf8;}
.story-layout{display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(34px,7vw,100px); align-items:center;}
.story-text{max-width:65ch; color:#344c4d;}
.story-text p:first-child{font-family:var(--serif); color:#1c393a; font-size:1.35rem; line-height:1.5;}
.story-photo{margin:0; position:relative;}
.story-photo img{width:100%; min-height:360px; object-fit:cover; filter:saturate(.7) contrast(1.04);}
.story-photo figcaption{position:absolute; left:0; bottom:0; background:#183d3d; color:#fff8eb; padding:16px 20px; font-family:var(--mono); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase;}

.about{background:var(--paper-alt);}
.about .wrap{gap:clamp(30px,6vw,90px);}
.partner-card,.license-card,.contact-card,.service-card,.pd-card,.doc-card,.tier-card,.case-card{background:#fffdf8; border-color:#d8d0c4; border-radius:0; box-shadow:none;}
.partner-card{border-top:3px solid var(--amber);}
.partner-card h3{font-size:1.45rem;}
.advantages{background:#173d3e; color:#e7eee9;}
.advantages h2{color:#fff9ed;}
.adv-grid{background:#173d3e;}
.adv-item{border-color:rgba(244,237,221,.16); padding:31px;}
.adv-item .num{color:#f0b55f;}
.adv-item h4{color:#fff8ee;}
.adv-item p{color:#cad9d1;}

.package-offer,.installment-card,.contacts-cta{border-radius:0; background:#183e40;}
.package-offer h2,.installment-card h2,.contacts-cta h2{color:#fff9ef;}
.package-offer p,.installment-card p,.contacts-cta p{color:#d5e2db;}
details.category{border-radius:0; background:#fffdf8; border-color:#d8d0c4;}
details.category summary{color:#1d3d3e;}
.trade-card{border-radius:0; background:#fffdf8; border-color:#d8d0c4;}
.trade-card:hover{border-color:var(--amber); box-shadow:var(--shadow);}
.trade-card h4{font-size:1.13rem;}
.search-box input{border-radius:0; background:#fffdf8;}
footer{background:#102d30;}

@media (max-width:1020px){
  .hero .wrap{grid-template-columns:1fr;}
  .hero h1{max-width:15ch;}
  .hero-cabinet-wrap{justify-self:start; max-width:620px;}
  .directions-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:760px){
  .wrap{padding-left:20px; padding-right:20px;}
  section{padding:64px 0;}
  header.site .wrap{min-height:66px;}
  nav.main{top:66px; background:#f7f3eb; border-bottom:1px solid #d8d0c4; box-shadow:0 20px 30px -25px rgba(20,53,56,.6);}
  nav.main a{color:#183b3c; font-size:1rem;}
  .burger{border-color:#315557; color:#173f40; border-radius:0;}
  .nav-cta .btn-primary{display:none;}
  .hero,.page-header{padding:48px 0 52px;}
  .hero h1{font-size:clamp(2.22rem,10vw,3.45rem); max-width:none;}
  .hero .lead{font-size:.94rem;}
  .hero-proof-grid{grid-template-columns:1fr;}
  .hero-proof-card{padding:13px 14px;}
  .cabinet-mock .body{padding:10px;}
  .cabinet-mock .row{padding:10px 7px;}
  .directions-grid,.story-layout{grid-template-columns:1fr;}
  .direction-media{height:185px;}
  .story-photo img{min-height:240px;}
  .guarantee-ticket{grid-template-columns:1fr;}
  .g-intro,.g-checklist{padding:30px 22px;}
  .g-checklist{gap:18px;}
  .stat{padding:18px 0;}
}

/* ===== Contrast safety pass ===== */
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row,
  .stat
) h2,
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row,
  .stat
) h3,
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row,
  .stat
) h4,
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row,
  .stat
) p,
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row,
  .stat
) li,
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row,
  .stat
) span{
  color:inherit;
}

body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category,
  .prog-row
){
  color:#20323A;
}

body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category
) p,
body :where(
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .portal-panel,
  details.category
) li,
body .cat-intro,
body .doc-note,
body .section-subtitle,
body .portal-points li,
body .legal-copy p,
body .legal-copy li{
  color:#4C5F68;
}

body .hero .wrap > :first-child{
  color:#20323A;
}

body .hero .wrap > :first-child .eyebrow{
  color:#C16A4C;
}

body .hero .wrap > :first-child h1{
  color:#14242C;
}

body .hero .wrap > :first-child .lead,
body .hero .wrap > :first-child p,
body .hero .wrap > :first-child li{
  color:#4D6068;
}

body .hero .wrap > :first-child .btn-line,
body .hero .wrap > :first-child .btn-ghost{
  color:#1B2C34;
}

body .trust-row span{
  color:#5A6B73;
}

body .summary-left,
body .prog-title,
body .prog-price,
body .req-row span:last-child,
body .contact-card .value,
body .license-line b,
body .doc-line b,
body .case-stat b{
  color:#1E3139;
}

body .contact-card .label,
body .req-row span:first-child,
body .license-line,
body .doc-line,
body #resultNote,
body .reviews-note{
  color:#76878E;
}

body .page-header h1,
body .page-header p,
body .page-header .eyebrow,
body .formats h2,
body .formats .lead,
body .format-benefit strong,
body .format-benefit p,
body .g-intro h2,
body .g-intro p,
body .cta-section h2,
body .cta-section .lead{
  color:#FFF8F1;
}

body .guarantee-ticket{
  background:rgba(255,252,248,.96);
  border:1px solid rgba(19,34,42,.08);
}

body .g-intro{
  background:linear-gradient(160deg, #18313A 0%, #244751 100%);
}

body .g-intro h2{
  color:#FFF8F1;
}

body .g-intro p{
  color:#DCE7ED;
}

body .g-checklist li{
  background:linear-gradient(180deg, #fffdfa 0%, #f8efe5 100%);
  border:1px solid rgba(19,34,42,.08);
}

body .g-checklist strong{
  color:#162830;
}

body .g-checklist span{
  color:#556770;
}

body .package-offer{
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(232,179,107,.22), transparent 62%),
    linear-gradient(160deg, #18313A 0%, #244751 100%);
  color:#FFF8F1;
}

body .package-badge{
  color:#18313A;
  background:#F3C889;
  border-color:rgba(255,255,255,.14);
}

body .package-offer h2{
  color:#FFF8F1;
}

body .package-offer p{
  color:#DCE7ED;
}

body .package-list li{
  color:#F4F8FA;
}

body .package-list li::before{
  color:#F3C889;
}

body .package-price-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
}

body .package-price-card .old-price{
  color:#C9D8E0;
}

body .package-price-card .new-price{
  color:#FFF4D8;
}

html{
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212,162,74,.18), transparent 60%),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 100%);
}

body{
  color:var(--ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(36,74,102,.08), transparent 55%),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 46%, #f4efe7 100%);
}

body.menu-open{overflow:hidden;}

a{
  transition:color .18s ease, opacity .18s ease, border-color .18s ease, background-color .18s ease;
}

h1,h2,h3,h4{
  letter-spacing:-.03em;
}

h2{
  font-size:clamp(1.75rem, 3vw, 2.75rem);
}

p{
  color:#415868;
}

section{
  padding:clamp(56px, 7vw, 88px) 0;
}

.wrap{
  max-width:1240px;
  padding:0 clamp(18px, 4vw, 32px);
}

.eyebrow{
  font-size:.76rem;
  letter-spacing:.16em;
  color:var(--amber-deep);
}

.btn{
  min-height:48px;
  padding:13px 24px;
  border-radius:999px;
  box-shadow:var(--shadow-soft);
}

.btn-primary{
  background:linear-gradient(135deg, #e2b65e 0%, var(--amber) 100%);
  color:var(--navy-deep);
}

.btn-primary:hover{
  background:linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  box-shadow:0 22px 40px -30px rgba(185,123,40,.9);
}

.btn-line{
  background:rgba(255,255,255,.72);
  border-color:rgba(36,74,102,.22);
  color:var(--navy-deep);
  box-shadow:none;
}

.btn-line:hover{
  background:var(--navy);
  border-color:var(--navy);
}

.btn-ghost{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.24);
  backdrop-filter:blur(8px);
}

.topbar{
  background:rgba(10,27,39,.94);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.topbar .wrap{
  gap:10px 18px;
  padding-top:10px;
  padding-bottom:10px;
}

.topbar .note{
  color:#8ea9bb;
}

header.site{
  background:rgba(36,74,102,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

header.site .wrap{
  position:relative;
  gap:24px;
  min-height:78px;
}

.logo{
  min-width:0;
  gap:14px;
}

.logo .mark{
  width:48px;
  height:48px;
  filter:drop-shadow(0 10px 22px rgba(9,28,40,.28));
}

.logo .name{
  font-size:clamp(1.2rem, 2vw, 1.55rem);
}

.logo .sub{
  color:#d8e4ed;
  font-size:.67rem;
  letter-spacing:.12em;
}

nav.main{
  gap:12px;
}

nav.main a{
  padding:10px 14px;
  border-radius:999px;
  color:rgba(244,248,251,.86);
}

nav.main a:hover{
  background:rgba(255,255,255,.08);
}

nav.main a.active{
  background:rgba(212,162,74,.18);
  color:#fff2d6;
}

nav.main a.active::after{
  display:none;
}

.nav-cta{
  gap:12px;
  margin-left:auto;
}

.burger{
  width:46px;
  height:46px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.2);
}

.page-header,
.hero{
  overflow:hidden;
  background:
    radial-gradient(920px 520px at 100% -10%, rgba(212,162,74,.22), transparent 60%),
    radial-gradient(720px 380px at 0% 10%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, #17354b 0%, var(--navy-deep) 100%);
}

.page-header::before,
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:repeating-linear-gradient(125deg, rgba(255,255,255,.035) 0 2px, transparent 2px 38px);
  opacity:.55;
}

.page-header .wrap,
.hero .wrap{
  position:relative;
  z-index:1;
}

.page-header{
  padding:clamp(48px, 6vw, 78px) 0 clamp(34px, 5vw, 52px);
}

.page-header h1{
  max-width:12ch;
}

.page-header p{
  color:#d7e3eb;
}

.hero{
  padding:clamp(32px, 5vw, 68px) 0 42px;
}

.hero .wrap{
  grid-template-columns:minmax(0, 1.16fr) minmax(280px, .84fr);
  gap:clamp(22px, 3vw, 36px);
  align-items:start;
}

.hero h1{
  max-width:15ch;
  font-size:clamp(1.8rem, 3.2vw, 3.2rem);
  line-height:1.01;
  margin-bottom:.32em;
}

.hero .lead{
  color:#dde7ee;
  font-size:clamp(.92rem, 1vw, 1rem);
  line-height:1.56;
  max-width:34rem;
}

.hero-proof-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  max-width:52rem;
  margin:20px 0 0;
}

.hero-proof-card{
  position:relative;
  overflow:hidden;
  padding:12px 14px 13px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(12px);
}

.hero-proof-card::before{
  content:'';
  position:absolute;
  inset:auto 16px 0;
  height:1px;
  background:linear-gradient(90deg, rgba(212,162,74,0), rgba(212,162,74,.8), rgba(212,162,74,0));
}

.hero-proof-card strong{
  display:block;
  color:#fff8e9;
  font-family:var(--serif);
  font-size:.92rem;
  margin-bottom:4px;
}

.hero-proof-card span{
  display:block;
  color:#cfdae3;
  font-size:.76rem;
  line-height:1.45;
}

.audience-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 10px;
  max-width:40rem;
}

.audience-list li{
  min-height:100%;
  padding:10px 12px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08);
  color:#e3edf3;
  font-size:.84rem;
  line-height:1.42;
}

.hero .cta-row{
  gap:10px;
  margin:16px 0 14px;
}

.hero-video-link{
  color:#f9fafb;
}

.hero-cabinet-wrap{
  max-width:420px;
  padding-top:18px;
}

.hero-badge{
  top:0;
  right:12px;
  border:1px solid rgba(255,255,255,.14);
  padding:10px 14px;
  font-size:.7rem;
}

.hero-cabinet{
  transform:none;
  border-radius:24px;
  overflow:hidden;
  margin-top:10px;
}

.cabinet-mock .bar{
  padding:10px 14px;
  justify-content:flex-start;
}

.cabinet-mock .bar .label{
  width:auto;
  height:auto;
  min-width:0;
  margin-left:8px;
  font-size:.62rem;
  line-height:1.3;
  color:#a8bfce;
}

.cabinet-mock .body{
  padding:16px 16px 8px;
}

.cabinet-mock .cab-title{
  margin-bottom:10px;
}

.cabinet-mock .row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  align-items:center;
  padding:10px 0;
  font-size:.79rem;
}

.cabinet-mock .row > span:first-child{
  min-width:0;
  color:#edf3f7;
  line-height:1.34;
}

.cabinet-mock .row-right{
  justify-content:flex-end;
  gap:8px;
  min-width:94px;
}

.cabinet-mock .progress{
  width:46px;
  height:6px;
}

.cabinet-mock .status{
  padding:4px 8px;
  border-radius:999px;
  border:1px solid transparent;
  background:rgba(255,255,255,.06);
}

.cabinet-mock .status-done{
  color:#8be19d;
  background:rgba(127,203,134,.12);
  border-color:rgba(127,203,134,.26);
}

.cabinet-mock .status-progress{
  color:#f0c46a;
  background:rgba(212,162,74,.12);
  border-color:rgba(212,162,74,.24);
}

.cabinet-mock .foot{
  padding:12px 16px;
  font-size:.62rem;
  line-height:1.35;
}

.stats{
  background:transparent;
  border-top:none;
  margin-top:-18px;
  position:relative;
  z-index:2;
}

.stats .wrap{
  gap:14px;
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.stat{
  border:none;
  border-radius:22px;
  background:rgba(84,123,155,.92);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
  overflow:hidden;
  isolation:isolate;
  padding:20px 16px;
}

.stat::before{
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:54%;
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  z-index:-1;
}

.stat span{
  color:#edf3f7;
}

.story-section,
.process,
.licenses-section,
.magnet-section{
  background:transparent;
}

.story-text{
  font-size:clamp(1rem, 1.3vw, 1.12rem);
  line-height:1.72;
}

.direction-card,
.partner-card,
.adv-item,
.contact-card,
.requisites-card,
.requisites-full,
.license-card,
.service-card,
.pd-card,
.doc-card,
.case-card,
.contacts-cta,
.app-form,
.magnet-box,
.package-offer,
.guarantee-ticket,
details.category,
.reviews-widget-frame{
  border-radius:26px;
  border-color:rgba(94,119,138,.16);
  box-shadow:var(--shadow-soft);
}

.direction-card,
.partner-card,
.contact-card,
.requisites-card,
.requisites-full,
.license-card,
.service-card,
.pd-card,
.doc-card,
.case-card,
.magnet-box,
details.category{
  background:rgba(255,253,248,.92);
  backdrop-filter:blur(10px);
}

.direction-card{
  position:relative;
  overflow:hidden;
  padding:28px;
  gap:14px;
  min-height:260px;
  justify-content:flex-end;
}

.direction-card::before{
  content:'';
  position:absolute;
  inset:-20% auto auto -10%;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(212,162,74,.22) 0%, rgba(212,162,74,0) 72%);
  pointer-events:none;
}

.direction-card::after{
  content:'';
  position:absolute;
  inset:auto -34px -38px auto;
  width:180px;
  height:180px;
  border-radius:36px;
  border:1px solid rgba(36,74,102,.08);
  background:
    linear-gradient(180deg, rgba(36,74,102,.08), rgba(36,74,102,.02)),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(255,255,255,0) 58%);
  transform:rotate(18deg);
  pointer-events:none;
}

.direction-card > *{
  position:relative;
  z-index:1;
}

.direction-card:nth-child(1){
  background:
    linear-gradient(180deg, rgba(255,250,240,.98), rgba(250,245,237,.96)),
    rgba(255,253,248,.94);
}

.direction-card:nth-child(2){
  background:
    linear-gradient(180deg, rgba(245,249,252,.98), rgba(248,244,237,.96)),
    rgba(255,253,248,.94);
}

.card-kicker{
  display:inline-flex;
  align-self:flex-start;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(16,33,43,.06);
  color:var(--amber-deep);
  font-family:var(--mono);
  font-size:.64rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.mini-points{
  list-style:none;
  margin:2px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mini-points li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#3c5260;
  font-size:.84rem;
  line-height:1.45;
}

.mini-points li::before{
  content:'';
  width:18px;
  height:18px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(212,162,74,.95) 0 28%, transparent 30%),
    rgba(212,162,74,.12);
  border:1px solid rgba(212,162,74,.34);
  flex:none;
  margin-top:1px;
}

.direction-card p,
.partner-card p,
.adv-item p,
.contact-card .value,
.service-card p,
.pd-list li,
.doc-note,
.contacts-cta p{
  color:#425a6a;
}

.adv-grid{
  gap:18px;
  background:none;
  border:none;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.adv-item{
  border:1px solid rgba(94,119,138,.14);
  padding:24px 22px;
}

.guarantee-ticket{
  background:
    radial-gradient(720px 320px at 100% 0%, rgba(212,162,74,.32), transparent 58%),
    radial-gradient(680px 320px at 0% 100%, rgba(255,255,255,.06), transparent 52%),
    linear-gradient(145deg, #17364d 0%, #0d2231 100%);
  border:1px solid rgba(255,255,255,.08);
}

.g-checklist{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  padding:24px 24px 24px 30px;
}

.g-checklist li{
  padding:14px 14px 14px 40px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
}

.g-intro h2,
.package-offer h2,
.cta-section h2{
  letter-spacing:-.04em;
}

.search-box input,
.magnet-form input,
.app-form input,
.app-form select,
.app-form textarea{
  border-radius:16px;
  border-color:rgba(94,119,138,.22);
  background:rgba(255,255,255,.88);
}

.prog-list{
  padding:14px;
  display:grid;
  gap:10px;
}

details.category{
  position:relative;
}

details.category::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(240px 160px at 100% 0%, rgba(212,162,74,.10), transparent 70%);
  pointer-events:none;
}

details.category summary{
  position:relative;
}

.summary-left::before{
  content:var(--category-order);
  width:42px;
  height:42px;
  border-radius:15px;
  background:linear-gradient(135deg, rgba(212,162,74,.22), rgba(212,162,74,.08));
  border:1px solid rgba(212,162,74,.28);
  color:var(--amber-deep);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:var(--mono);
  font-size:.75rem;
  letter-spacing:.06em;
  flex:none;
}

details.category:nth-of-type(1){--category-order:"01";}
details.category:nth-of-type(2){--category-order:"02";}
details.category:nth-of-type(3){--category-order:"03";}
details.category:nth-of-type(4){--category-order:"04";}

.prog-row{
  grid-template-columns:84px minmax(0, 1fr) 96px 122px;
  padding:14px 16px;
  border:1px solid rgba(94,119,138,.14);
  border-radius:16px;
  background:rgba(247,243,235,.7);
}

.prog-row:hover{
  background:#fffaf2;
}

.prog-row[data-course]{
  cursor:pointer;
}

.prog-row[data-course] .prog-title::after{
  content:' →';
  color:var(--amber-deep);
  font-weight:700;
  opacity:0;
  transition:opacity .18s ease, margin-left .18s ease;
}

.prog-row[data-course]:hover .prog-title::after,
.prog-row[data-course]:focus-visible .prog-title::after{
  opacity:1;
  margin-left:5px;
}

.prog-row[data-course]:focus-visible{
  outline:3px solid rgba(212,162,74,.45);
  outline-offset:2px;
}

.prog-title{
  line-height:1.45;
}

.prog-order{
  opacity:1;
  transform:none;
  pointer-events:auto;
  color:#fff;
  background:linear-gradient(135deg,#1d6652 0%,#2f866b 100%);
  box-shadow:0 10px 24px -16px rgba(29,102,82,.9);
}

.prog-order:hover{
  color:#fff;
  background:linear-gradient(135deg,#174f40 0%,#28765f 100%);
  box-shadow:0 12px 26px -14px rgba(29,102,82,.95);
}

.prog-order:focus-visible{
  outline:3px solid rgba(47,134,107,.28);
  outline-offset:3px;
}

.formats{
  background:
    radial-gradient(720px 320px at 0% 0%, rgba(212,162,74,.22), transparent 52%),
    linear-gradient(180deg, #17354b 0%, #102838 100%);
}

.video-frame{
  border-radius:30px;
}

.pd-card .icon,
.contact-card .icon,
.service-card .icon,
.license-icon{
  position:relative;
  width:52px;
  height:52px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(212,162,74,.22), rgba(212,162,74,.08));
  color:var(--amber-deep);
  border:1px solid rgba(212,162,74,.28);
  box-shadow:none;
  font-size:0;
}

.pd-card .icon::before,
.contact-card .icon::before,
.service-card .icon::before,
.license-icon::before{
  content:'';
  width:22px;
  height:22px;
  background:currentColor;
  -webkit-mask:var(--icon) center/contain no-repeat;
  mask:var(--icon) center/contain no-repeat;
}

.contact-grid .contact-card:nth-child(1) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.053 15.053 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.1.37 2.28.57 3.48.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.85 21 3 13.15 3 3.5a1 1 0 0 1 1-1H7.5a1 1 0 0 1 1 1c0 1.2.2 2.38.57 3.48a1 1 0 0 1-.24 1.01l-2.2 2.2Z'/%3E%3C/svg%3E");}
.contact-grid .contact-card:nth-child(2) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v.4l-9 6.35-9-6.35V5Zm18 3.85V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8.85l8.42 5.94a1 1 0 0 0 1.16 0L21 8.85Z'/%3E%3C/svg%3E");}
.contact-grid .contact-card:nth-child(3) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.75A10.25 10.25 0 1 0 22.25 12 10.26 10.26 0 0 0 12 1.75Zm.75 5.5v4.44l3.12 1.87-.77 1.29-3.85-2.31V7.25Z'/%3E%3C/svg%3E");}
.contact-grid .contact-card:nth-child(4) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.25a6.75 6.75 0 0 1 6.75 6.75c0 4.95-5.17 10.93-6.08 11.96a.88.88 0 0 1-1.34 0C10.42 19.93 5.25 13.95 5.25 9A6.75 6.75 0 0 1 12 2.25Zm0 3a3.75 3.75 0 1 0 3.75 3.75A3.75 3.75 0 0 0 12 5.25Z'/%3E%3C/svg%3E");}
.license-grid .license-card:nth-child(1) .license-icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.25 4 5.25v6.21c0 4.47 3.06 8.64 8 10.29 4.94-1.65 8-5.82 8-10.29V5.25l-8-3Zm3.78 7.77-4.24 4.24a1 1 0 0 1-1.41 0l-1.91-1.91 1.41-1.42 1.21 1.21 3.53-3.53 1.41 1.41Z'/%3E%3C/svg%3E");}
.license-grid .license-card:nth-child(2) .license-icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5a2 2 0 0 1 2-2h9l5 5v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5Zm10 0v4h4'/%3E%3Cpath fill='black' d='M7 14h10v2H7zm0-4h6v2H7z'/%3E%3C/svg%3E");}
.pd-grid .pd-card:nth-child(1) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c3.13 0 5.5 1.34 5.5 3.12 0 1.26-1.22 2.3-3 2.82v1.73c2.66.56 4.5 1.96 4.5 4.08 0 2.62-2.8 4.5-7 4.5s-7-1.88-7-4.5h2c0 1.32 1.86 2.5 5 2.5s5-1.18 5-2.5c0-1.19-1.55-2.16-4-2.42V14h-2v-1.67C7.66 12.05 6 10.7 6 8.62 6 5.88 8.43 3 12 3Zm0 2C9.73 5 8 6.13 8 7.62c0 1.28 1.34 2.2 3.5 2.36V8h2v1.98C15.93 9.74 17 8.92 17 7.62 17 6.18 15.22 5 12 5Z'/%3E%3C/svg%3E");}
.pd-grid .pd-card:nth-child(2) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5v-9Zm9 2.25L6.75 7.12v7.01L12 16.88l5.25-2.75V7.12L12 9.75Z'/%3E%3C/svg%3E");}
.payment-delivery .pd-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:340px;
  justify-content:center;
  background-color:#fffdf8;
  background-repeat:no-repeat;
  background-position:center right;
  background-size:cover;
}
.payment-delivery .pd-card:nth-child(1){
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.99) 0%,rgba(255,253,248,.94) 48%,rgba(255,253,248,.56) 100%),
    url('assets/payment-card-bg.webp');
}
.payment-delivery .pd-card:nth-child(2){
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.99) 0%,rgba(255,253,248,.94) 48%,rgba(255,253,248,.54) 100%),
    url('assets/delivery-card-bg.webp');
}
.payment-delivery .pd-card > *{
  position:relative;
  z-index:1;
}
.payment-delivery .pd-card h3,
.payment-delivery .pd-card .pd-list,
.payment-delivery .pd-card .pd-note{
  max-width:72%;
}
@media (max-width:620px){
  .payment-delivery .pd-card{
    min-height:0;
    background-position:center;
  }
  .payment-delivery .pd-card:nth-child(1){
    background-image:linear-gradient(90deg,rgba(255,253,248,.97),rgba(255,253,248,.78)),url('assets/payment-card-bg.webp');
  }
  .payment-delivery .pd-card:nth-child(2){
    background-image:linear-gradient(90deg,rgba(255,253,248,.97),rgba(255,253,248,.78)),url('assets/delivery-card-bg.webp');
  }
  .payment-delivery .pd-card h3,
  .payment-delivery .pd-card .pd-list,
  .payment-delivery .pd-card .pd-note{
    max-width:none;
  }
}
.services-grid .service-card:nth-child(1) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v4H4zm0 6h10v10H4zm12 0h4v4h-4zm0 6h4v4h-4z'/%3E%3C/svg%3E");}
.services-grid .service-card:nth-child(2) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a8 8 0 1 0 8 8h-2a6 6 0 1 1-1.76-4.24L13 10h8V2l-2.35 2.35A9.95 9.95 0 0 0 12 3Z'/%3E%3C/svg%3E");}
.services-grid .service-card:nth-child(3) .icon{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 4h14v16H5zm2 3v2h10V7Zm0 4v2h10v-2Zm0 4v2h6v-2Z'/%3E%3C/svg%3E");}

.contact-card .label,
.license-tag,
.requisites-card .req-heading,
.package-badge{
  color:var(--amber-deep);
}

.contacts-cta,
.requisites-full{
  background:rgba(255,251,244,.92);
}

.process-track{
  gap:14px;
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.step{
  padding:18px 18px 0 20px;
  background:rgba(255,253,248,.84);
  border-radius:18px;
  border:1px solid rgba(94,119,138,.14);
}

.step::after{
  display:none;
}

.cta-section{
  background:
    radial-gradient(740px 340px at 100% 0%, rgba(212,162,74,.2), transparent 55%),
    linear-gradient(180deg, #18384f 0%, var(--navy-deep) 100%);
}

.cta-section .wrap{
  grid-template-columns:minmax(0, .92fr) minmax(320px, .88fr);
  gap:clamp(28px, 4vw, 56px);
}

.app-form{
  padding:28px;
}

footer{
  background:#0b1f2d;
}

.foot-grid{
  gap:32px;
}

.section-heading{
  margin-bottom:.5em;
}

.section-subtitle{
  color:#38566B;
  max-width:68ch;
  margin-bottom:28px;
}

.inline-link{
  color:var(--amber-deep);
  font-weight:700;
}

.portal-preview{
  padding:48px 0 24px;
}

.portal-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, .9fr);
  gap:36px;
  align-items:start;
}

.portal-panel{
  background:rgba(255,253,248,.92);
  border:1px solid rgba(94,119,138,.16);
  border-radius:26px;
  padding:28px;
  box-shadow:var(--shadow-soft);
}

.portal-panel h2{
  margin-bottom:.45em;
}

.portal-points{
  list-style:none;
  margin:20px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}

.portal-points li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#425a6a;
  font-size:.92rem;
  line-height:1.5;
}

.portal-points li::before{
  content:'✓';
  color:var(--amber-deep);
  font-weight:700;
  flex:none;
}

.legal-copy{
  display:grid;
  gap:18px;
}

.legal-copy p,
.legal-copy li{
  color:#425a6a;
}

.legal-copy ul{
  margin:0;
  padding-left:20px;
}

.legal-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  align-items:start;
}

@media (max-width:900px){
  .portal-layout,
  .legal-grid{
    grid-template-columns:1fr;
  }
}

main,
.story-section,
.about,
.advantages,
.licenses-section,
.reviews-section,
.programs,
.formats,
.video-section,
.documents,
.payment-delivery,
.services,
.process,
.faq,
.case-section,
.magnet-section,
.contacts-section,
.cta-section{
  content-visibility:auto;
  contain-intrinsic-size:900px;
}

.home-page #directions .wrap,
.ot-page .programs .wrap,
.pb-page .programs .wrap,
.contacts-page .contacts-section .wrap{
  position:relative;
}

.home-page #directions .wrap::before,
.ot-page .programs .wrap::before,
.pb-page .programs .wrap::before,
.contacts-page .contacts-section .wrap::before{
  content:'';
  position:absolute;
  inset:34px auto auto -40px;
  width:120px;
  height:120px;
  border-radius:40px;
  border:1px solid rgba(36,74,102,.06);
  transform:rotate(18deg);
  pointer-events:none;
}

.home-page .hero h1{
  max-width:14ch;
  font-size:clamp(1.85rem, 3vw, 3rem);
}

.home-page .hero .lead{
  max-width:35rem;
}

.ot-page .hero h1,
.pb-page .hero h1{
  max-width:14ch;
  font-size:clamp(1.8rem, 2.8vw, 2.8rem);
}

.ot-page .hero .lead,
.pb-page .hero .lead{
  max-width:31rem;
}

.ot-page .hero-video-link,
.pb-page .hero-video-link{
  display:none;
}

@media (prefers-reduced-motion:no-preference){
  .hero .wrap > :first-child{
    animation:hero-copy-rise .85s cubic-bezier(.22,1,.36,1);
  }

  .hero .wrap > :last-child{
    animation:hero-card-rise 1s cubic-bezier(.22,1,.36,1);
  }

  html.reveal-enabled .reveal-ready{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1);
  }

  html.reveal-enabled .reveal-ready.revealed{
    opacity:1;
    transform:none;
  }
}

@keyframes hero-copy-rise{
  from{opacity:0; transform:translateY(32px);}
  to{opacity:1; transform:none;}
}

@keyframes hero-card-rise{
  from{opacity:0; transform:translateY(42px) rotate(2deg);}
  to{opacity:1; transform:rotate(-1.4deg);}
}

@media (max-width:1100px){
  header.site .wrap{
    min-height:74px;
  }

  .nav-cta .btn-line{
    display:none;
  }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  nav.main{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    padding:16px;
    border-radius:24px;
    background:rgba(10,27,39,.96);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    opacity:0;
    pointer-events:none;
    transform:translateY(-12px) scale(.98);
    transition:opacity .22s ease, transform .22s ease;
    inset:auto 0 auto 0;
  }

  nav.main a{
    justify-content:flex-start;
    padding:14px 16px;
    background:rgba(255,255,255,.04);
  }

  nav.main.open{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0) scale(1);
  }

  .hero .wrap,
  .about .wrap,
  .format-hero,
  .cta-section .wrap{
    grid-template-columns:1fr;
  }

  .hero-cabinet-wrap{
    max-width:520px;
  }

  .hero-proof-grid{
    grid-template-columns:1fr 1fr;
  }

  .g-checklist{
    grid-template-columns:1fr;
  }

  .audience-list{
    grid-template-columns:1fr;
    max-width:32rem;
  }
}

@media (max-width:1280px){
  .hero-proof-grid{
    display:none;
  }

  .hero{
    padding-bottom:40px;
  }

  .hero .lead{
    max-width:28rem;
  }

  .hero h1{
    max-width:15ch;
    font-size:clamp(1.75rem, 2.8vw, 2.75rem);
  }

  .hero-cabinet-wrap{
    max-width:350px;
  }

  .trust-row{
    display:none;
  }
}

@media (max-height:800px) and (min-width:1101px){
  .topbar .wrap{
    padding-top:6px;
    padding-bottom:6px;
    font-size:.68rem;
  }

  header.site .wrap{
    min-height:68px;
    padding-top:10px;
    padding-bottom:10px;
  }

  .logo .mark{
    width:42px;
    height:42px;
  }

  .logo .name{
    font-size:1.18rem;
  }

  .logo .sub{
    font-size:.58rem;
  }

  nav.main a{
    padding:8px 12px;
    font-size:.86rem;
  }

  .nav-cta{
    gap:10px;
  }

  .nav-cta .btn{
    min-height:42px;
    padding:11px 18px;
  }

  .hero{
    padding:24px 0 20px;
  }

  .hero .wrap{
    gap:20px;
    align-items:start;
  }

  .hero h1{
    max-width:16ch;
    font-size:clamp(1.65rem, 2.8vw, 2.6rem);
    line-height:1;
    margin-bottom:.22em;
  }

  .hero .lead{
    font-size:.88rem;
    line-height:1.42;
    max-width:30rem;
  }

  .hero-proof-grid{
    display:none;
  }

  .audience-list{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:7px 8px;
    margin-top:14px;
  }

  .audience-list li{
    padding:8px 10px;
    font-size:.8rem;
    line-height:1.34;
  }

  .hero .cta-row{
    margin:12px 0 8px;
    gap:8px;
  }

  .hero .cta-row .btn{
    min-height:40px;
    padding:10px 18px;
  }

  .trust-row{
    display:none;
    margin-top:12px;
    gap:10px 18px;
    font-size:.7rem;
  }

  .hero-cabinet-wrap{
    max-width:320px;
    padding-top:14px;
  }

  .hero-badge{
    top:0;
    right:8px;
    padding:8px 12px;
    font-size:.64rem;
  }

  .cabinet-mock .body{
    padding:14px 14px 4px;
  }

  .cabinet-mock .row{
    padding:8px 0;
    font-size:.74rem;
  }

  .cabinet-mock .foot{
    padding:10px 14px;
    font-size:.58rem;
  }

  .stats{
    margin-top:-8px;
  }

  .stat{
    padding:16px 14px;
  }

  .stat b{
    font-size:1.6rem;
  }

  .stat span{
    font-size:.66rem;
  }

  .home-page .hero h1{
    max-width:15ch;
    font-size:clamp(1.7rem, 2.8vw, 2.45rem);
  }

  .ot-page .hero h1,
  .pb-page .hero h1{
    max-width:15ch;
    font-size:clamp(1.62rem, 2.6vw, 2.28rem);
  }

  .ot-page .hero .lead,
  .pb-page .hero .lead{
    max-width:28rem;
  }

  .contacts-page .page-header{
    padding:36px 0 30px;
  }

  .contacts-page .contacts-section{
    padding-top:34px;
  }
}

@media (max-width:840px){
  .nav-cta .btn-primary{
    display:none;
  }

  .stats{
    margin-top:18px;
  }

  .stats .wrap,
  .adv-grid,
  .process-track{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .prog-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .prog-price,
  .prog-order{
    justify-self:start;
    text-align:left;
  }

  .hero-proof-grid{
    grid-template-columns:1fr;
  }

  .audience-list{
    grid-template-columns:1fr;
  }
}

@media (max-width:900px){
  .hero-proof-grid{
    display:none;
  }
}

@media (max-width:640px){
  .wrap{
    padding:0 18px;
  }

  .topbar .wrap{
    padding-top:8px;
    padding-bottom:8px;
    font-size:.68rem;
  }

  .logo{
    gap:10px;
  }

  .logo .mark{
    width:42px;
    height:42px;
  }

  .logo .name{
    font-size:1.08rem;
  }

  .logo .sub{
    font-size:.56rem;
    line-height:1.35;
  }

  .hero,
  .page-header{
    padding-top:44px;
  }

  .hero h1{
    max-width:none;
    font-size:clamp(1.95rem, 10vw, 3rem);
  }

  .hero .lead{
    font-size:.92rem;
  }

  .hero .cta-row{
    flex-direction:column;
  }

  .hero .cta-row .btn,
  .contacts-cta .btn{
    width:100%;
    justify-content:center;
  }

  .trust-row{
    flex-direction:column;
    gap:12px;
  }

  .hero-badge{
    position:static;
    margin-bottom:16px;
    align-self:flex-start;
  }

  .hero-cabinet{
    transform:none;
  }

  .cabinet-mock .row{
    grid-template-columns:1fr;
    gap:7px;
  }

  .cabinet-mock .row-right{
    justify-content:flex-start;
    min-width:0;
  }

  .stats .wrap,
  .contact-grid,
  .license-grid,
  .pd-grid,
  .services-grid,
  .doc-grid,
  .directions-grid,
  .requisites-cards,
  .process-track,
  .cta-section .wrap,
  .foot-grid{
    grid-template-columns:1fr;
  }

  .stat,
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .package-offer,
  .guarantee-ticket,
  details.category{
    border-radius:22px;
  }

  .direction-card{
    min-height:auto;
    padding:22px 18px;
  }

  .summary-left{
    align-items:flex-start;
  }

  .summary-left::before{
    width:36px;
    height:36px;
    border-radius:13px;
    -webkit-mask-size:18px 18px;
    mask-size:18px 18px;
  }

  .app-form,
  .package-offer,
  .magnet-box{
    padding:20px;
  }

  .contact-card,
  .requisites-card,
  .license-card,
  .service-card,
  .pd-card{
    padding:24px 22px;
  }

  .req-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .req-row span:last-child{
    text-align:left;
  }

  .modal{
    padding:28px 20px 24px;
    border-radius:24px;
  }
}

/* ===== 2027 final pass ===== */
body .hero,
body .page-header{
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(232,179,107,.10), transparent 48%),
    linear-gradient(180deg, #223946 0%, #162B35 100%);
}

body .hero .wrap{
  grid-template-columns:minmax(0, 1.1fr) minmax(300px, .78fr);
  gap:26px;
  align-items:stretch;
}

body .hero .wrap > :first-child{
  position:relative;
  padding:clamp(26px, 3vw, 42px);
  border-radius:38px;
  border:1px solid rgba(19,34,42,.08);
  background:
    radial-gradient(460px 220px at 0% 0%, rgba(232,179,107,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,253,249,.97), rgba(248,238,227,.95));
  box-shadow:var(--shadow);
}

body .hero .wrap > :first-child::after{
  content:'';
  position:absolute;
  inset:16px;
  border-radius:28px;
  border:1px solid rgba(19,34,42,.05);
  pointer-events:none;
}

body .hero h1{
  color:var(--ink);
}

body .hero h1 em{
  color:var(--amber-deep);
}

body .hero .lead{
  color:#4F6169;
  max-width:36rem;
}

body .hero-proof-card{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(19,34,42,.08);
  box-shadow:none;
}

body .hero-proof-card strong{
  color:var(--ink);
}

body .hero-proof-card span{
  color:#5D7078;
}

body .audience-list li{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(19,34,42,.08);
  color:#42555E;
}

body .audience-list li::before{
  color:var(--amber-deep);
}

body .trust-row{
  display:flex;
  gap:10px;
  margin-top:18px;
}

body .trust-row span{
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(19,34,42,.08);
  color:#5B6B74;
}

body .trust-row .dot{
  background:var(--amber-deep);
}

body .hero-cabinet-wrap{
  align-self:center;
  max-width:420px;
  padding-top:28px;
}

body .hero-cabinet{
  background:#17313A;
  box-shadow:0 32px 60px -34px rgba(16,37,47,.7);
}

body .stats{
  background:transparent;
}

body .stat{
  background:rgba(255,252,248,.92);
}

body .stat b{
  color:var(--ink);
}

body .stat span{
  color:#667981;
}

@media (max-width:1100px){
  body .hero .wrap{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  body .hero .wrap > :first-child{
    padding:20px 18px;
    border-radius:26px;
  }

  body .hero .lead{
    font-size:.96rem;
  }
}

/* ===== Content sync: worker specialties and legal pages ===== */
.audience-list-bold{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.audience-list-bold li{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.9);
  color:#1E3139;
  font-weight:700;
  line-height:1.45;
}

.audience-list-bold li::before{
  content:'✓';
  flex:none;
  width:22px;
  height:22px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.78rem;
}

.installment-section{
  background:transparent;
}

.installment-card{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
  padding:32px;
  border-radius:30px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.92);
  box-shadow:var(--shadow-soft);
}

.installment-card h2{
  margin-bottom:.35em;
}

.installment-card p{
  color:#51656E;
  margin:0;
}

.installment-list{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.installment-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#20323A;
}

.installment-list li::before{
  content:'—';
  color:var(--amber-deep);
  font-family:var(--mono);
  flex:none;
}

.installment-calc{
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(19,34,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,240,231,.94));
  text-align:center;
}

.installment-calc .full-price{
  font-family:var(--mono);
  font-size:.8rem;
  color:#76878E;
}

.installment-calc .split{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:8px;
  margin:10px 0 16px;
}

.installment-calc .split b{
  font-family:var(--sans);
  font-size:2rem;
  font-weight:800;
  color:#162830;
}

.installment-calc .split span{
  font-family:var(--mono);
  font-size:.78rem;
  color:#76878E;
}

.tiers-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.tier-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:100%;
  padding:30px;
  border-radius:30px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.92);
  box-shadow:var(--shadow-soft);
}

.tier-card.tier-featured{
  border-color:rgba(212,162,74,.5);
}

.tier-badge{
  align-self:flex-start;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(232,179,107,.18);
  color:var(--amber-deep);
  font-family:var(--mono);
  font-size:.68rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.tier-card.tier-featured .tier-badge{
  background:linear-gradient(135deg, var(--amber) 0%, #f0c989 100%);
  color:#162830;
}

.tier-card h3{
  margin:0;
  font-size:1.18rem;
}

.tier-document-preview{
  margin:0;
  position:relative;
  overflow:hidden;
  border:1px solid #d7c8ba;
  background:#7e2425;
  box-shadow:0 10px 22px rgba(37,27,20,.14);
  cursor:zoom-in;
  transition:transform .22s ease,box-shadow .22s ease;
}

.tier-document-preview:hover,
.tier-document-preview:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(37,27,20,.2);
  outline:none;
}

.tier-document-preview::after{
  content:'Смотреть шаблоны';
  position:absolute;
  right:10px;
  bottom:10px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(28,25,20,.78);
  color:#fffdf8;
  font:700 .62rem/1 var(--mono);
  letter-spacing:.04em;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .2s ease,transform .2s ease;
}

.tier-document-preview:hover::after,
.tier-document-preview:focus-visible::after{opacity:1;transform:translateY(0);}

.tier-document-preview img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:785 / 266;
  object-fit:cover;
}

/* Keep the direct call action visible without crowding compact navigation. */
.nav-phone{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#294144;
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:-.03em;
  text-decoration:none;
  white-space:nowrap;
}

.nav-phone::before{
  content:'☎';
  color:var(--amber-deep);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1;
}

.nav-phone:hover{color:var(--amber-deep);}

@media (max-width:1500px){
  .nav-phone{
    justify-content:center;
    width:34px;
    height:34px;
    border:1px solid #d8d0c4;
    border-radius:50%;
    background:#fffdf8;
  }
  .nav-phone span{display:none;}
}

.tier-price{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.tier-price b{
  font-family:var(--sans);
  font-size:1.75rem;
  font-weight:800;
  color:#162830;
}

.tier-price span{
  font-family:var(--mono);
  font-size:.78rem;
  color:#76878E;
}

.tier-card p{
  margin:0;
  color:#51656E;
}

.tier-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.tier-list li{
  display:flex;
  gap:9px;
  align-items:flex-start;
  color:#20323A;
}

.tier-list li::before{
  content:'—';
  color:var(--amber-deep);
  font-family:var(--mono);
  flex:none;
}

.tier-card .btn{
  margin-top:auto;
}

.case-carousel{
  position:relative;
}

.case-track{
  overflow:hidden;
}

.case-slides{
  display:flex;
  transition:transform .35s ease;
}

.case-slide{
  flex:0 0 100%;
  min-width:0;
}

.case-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:22px;
}

.case-arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(19,34,42,.12);
  background:rgba(255,252,248,.9);
  color:#162830;
  cursor:pointer;
  font-size:1.1rem;
}

.case-dots{
  display:flex;
  gap:8px;
}

.case-dot{
  width:8px;
  height:8px;
  padding:0;
  border:none;
  border-radius:50%;
  background:rgba(19,34,42,.18);
  cursor:pointer;
}

.case-dot.active{
  width:22px;
  border-radius:999px;
  background:var(--amber-deep);
}

.cat-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0 26px;
}

.cat-chip{
  padding:9px 15px;
  border-radius:999px;
  border:1px solid rgba(19,34,42,.12);
  background:rgba(255,252,248,.92);
  color:#54666F;
  font:700 .82rem var(--sans);
  cursor:pointer;
}

.cat-chip:hover{
  border-color:var(--amber);
}

.cat-chip.active{
  background:linear-gradient(135deg, var(--amber) 0%, #f0c989 100%);
  border-color:rgba(212,162,74,.45);
  color:#162830;
}

body.trades-page .cat-chip{
  transition:transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.trades-page .cat-chip:hover{
  transform:translateY(-1px);
  color:#174c3e;
  background:#edf6f1;
  border-color:#5a9b85;
}

body.trades-page .cat-chip.active,
body.trades-page .cat-chip.active:hover{
  color:#fff;
  background:linear-gradient(135deg,#1d6652 0%,#2f866b 100%);
  border-color:#1d6652;
  box-shadow:0 10px 24px -14px rgba(29,102,82,.9);
}

body.trades-page .cat-chip:focus-visible{
  outline:3px solid rgba(47,134,107,.28);
  outline-offset:3px;
}

body.education-catalog-page .cat-chip{
  transition:transform .2s ease,color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}

body.education-catalog-page .cat-chip:hover{
  transform:translateY(-1px);
  color:#174c3e;
  background:#edf6f1;
  border-color:#5a9b85;
}

body.education-catalog-page .cat-chip.active,
body.education-catalog-page .cat-chip.active:hover{
  color:#fff;
  background:linear-gradient(135deg,#1d6652 0%,#2f866b 100%);
  border-color:#1d6652;
  box-shadow:0 10px 24px -14px rgba(29,102,82,.9);
}

body.education-catalog-page .cat-chip:focus-visible{
  outline:3px solid rgba(47,134,107,.28);
  outline-offset:3px;
}

.trades-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.trade-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.92);
  box-shadow:var(--shadow-soft);
  color:inherit;
  text-decoration:none;
}

.trade-card:hover{
  transform:translateY(-2px);
  border-color:rgba(212,162,74,.45);
}

.trade-card.hide{
  display:none;
}

.trade-card h4{
  margin:0;
  font-size:1rem;
  color:#162830;
}

.trade-card .t-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-family:var(--mono);
  font-size:.72rem;
  color:#76878E;
}

.trade-card .t-price{
  color:var(--amber-deep);
  font-weight:700;
}

#tradeResultNote{
  margin-top:8px;
  font-family:var(--mono);
  font-size:.75rem;
  color:#76878E;
}

.legal-section{
  padding:56px 0 88px;
}

.legal-layout{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:32px;
  align-items:start;
}

.legal-toc{
  position:sticky;
  top:104px;
  padding:22px 20px;
  border-radius:24px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.92);
  box-shadow:var(--shadow-soft);
}

.legal-toc .toc-title{
  display:block;
  margin-bottom:14px;
  font-family:var(--mono);
  font-size:.7rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#76878E;
}

.legal-toc ol{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:toc;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.legal-toc li{
  counter-increment:toc;
}

.legal-toc a{
  display:flex;
  gap:8px;
  color:#20323A;
  text-decoration:none;
  font-size:.88rem;
  line-height:1.45;
}

.legal-toc a::before{
  content:counter(toc) '.';
  flex:none;
  color:var(--amber-deep);
  font-family:var(--mono);
}

.legal-toc a:hover{
  color:var(--amber-deep);
}

.legal-body{
  padding:30px;
  border-radius:30px;
  border:1px solid rgba(19,34,42,.08);
  background:rgba(255,252,248,.92);
  box-shadow:var(--shadow-soft);
}

.legal-updated{
  display:block;
  margin-bottom:24px;
  font-family:var(--mono);
  font-size:.78rem;
  color:#76878E;
}

.legal-body h2{
  margin:1.8em 0 .6em;
  scroll-margin-top:110px;
  font-size:1.28rem;
}

.legal-body h2:first-of-type{
  margin-top:0;
}

.legal-body p,
.legal-body li{
  color:#4C5F68;
  line-height:1.75;
}

.legal-body ul,
.legal-body ol.legal-list{
  margin:0 0 1.1em;
  padding-left:1.35em;
}

.legal-requisites{
  margin-top:1.2em;
  padding:22px 24px;
  border-radius:22px;
  border:1px solid rgba(19,34,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,240,231,.94));
}

.legal-requisites p{
  margin-bottom:.45em;
}

.foot-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  color:#fff;
  font-family:var(--sans);
  font-weight:800;
}

.foot-brand svg{
  width:48px;
  height:48px;
  flex:none;
}

.foot-brand span{
  line-height:1.05;
}

.foot-blurb{
  max-width:34ch;
  color:#C3D8E5;
}

.foot-contacts{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:16px;
}

.foot-contacts a{
  color:#fff;
  font-weight:700;
}

.foot-contacts .addr{
  color:#9DB0BA;
  line-height:1.55;
}

@media (max-width:900px){
  .installment-card,
  .legal-layout{
    grid-template-columns:1fr;
  }

  .legal-toc{
    position:static;
  }

  .trades-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:780px){
  .tiers-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:560px){
  .trades-grid{
    grid-template-columns:1fr;
  }

  .installment-card,
  .tier-card,
  .legal-body,
  .legal-toc{
    padding:22px 18px;
  }

  .trade-card .t-meta{
    flex-direction:column;
  }
}

/* ===== Responsive safety pass ===== */
.foot-grid{
  grid-template-columns:minmax(0, 1.3fr) repeat(auto-fit, minmax(150px, 1fr));
}

@media (max-width:900px){
  main,
  .story-section,
  .about,
  .advantages,
  .licenses-section,
  .reviews-section,
  .programs,
  .formats,
  .video-section,
  .documents,
  .payment-delivery,
  .services,
  .process,
  .faq,
  .case-section,
  .magnet-section,
  .contacts-section,
  .cta-section{
    content-visibility:visible;
    contain-intrinsic-size:auto;
  }

  header.site{
    top:0;
    width:100%;
    border-radius:0;
    border-left:none;
    border-right:none;
  }

  header.site .wrap{
    gap:12px;
    min-height:72px;
    padding-top:12px;
    padding-bottom:12px;
  }

  .topbar .wrap{
    justify-content:flex-start;
    gap:6px 14px;
  }

  .logo{
    max-width:calc(100% - 60px);
  }

  .logo span:last-child{
    min-width:0;
  }

  nav.main{
    max-height:calc(100vh - 110px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }

  body .hero .wrap,
  .hero .wrap,
  .about .wrap,
  .format-hero,
  .cta-section .wrap,
  .portal-layout,
  .legal-layout,
  .installment-card,
  .tiers-grid{
    grid-template-columns:1fr;
  }

  .page-header,
  .hero{
    padding-top:28px;
  }

  .page-header h1{
    max-width:none;
    font-size:clamp(2rem, 10vw, 3.2rem);
  }

  body .hero .wrap > :first-child,
  .hero .wrap > :first-child{
    padding:22px 18px;
    border-radius:26px;
  }

  body .hero h1,
  .hero h1{
    max-width:none;
    font-size:clamp(1.9rem, 9.6vw, 3rem);
    line-height:.98;
  }

  .hero .lead,
  .page-header p{
    max-width:none;
    font-size:.95rem;
  }

  .hero .cta-row{
    flex-direction:column;
  }

  .hero .cta-row .btn,
  .contacts-cta .btn,
  .package-price-card .btn,
  .installment-calc .btn{
    width:100%;
    justify-content:center;
  }

  .hero-cabinet-wrap,
  body .hero-cabinet-wrap{
    max-width:100%;
    padding-top:0;
  }

  .hero-badge{
    position:static;
    margin:0 0 12px;
    align-self:flex-start;
  }

  .audience-list{
    grid-template-columns:1fr;
    max-width:none;
  }

  .cabinet-mock .bar{
    flex-wrap:wrap;
    row-gap:8px;
  }

  .cabinet-mock .bar .label{
    flex-basis:100%;
    margin-left:0;
  }

  .cabinet-mock .row{
    grid-template-columns:1fr;
    align-items:flex-start;
  }

  .cabinet-mock .row-right{
    width:100%;
    min-width:0;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .cabinet-mock .progress{
    width:72px;
  }

  .programs .head-row{
    align-items:stretch;
  }

  .search-box{
    width:100%;
  }

  .contact-grid,
  .license-grid,
  .services-grid,
  .doc-grid,
  .pd-grid,
  .directions-grid,
  .requisites-cards,
  .process-track,
  .stats .wrap,
  .adv-grid,
  .foot-grid,
  .legal-grid{
    grid-template-columns:1fr;
  }

  .stats{
    margin-top:16px;
  }

  .stat,
  .direction-card,
  .partner-card,
  .adv-item,
  .contact-card,
  .requisites-card,
  .requisites-full,
  .license-card,
  .service-card,
  .pd-card,
  .doc-card,
  .case-card,
  .contacts-cta,
  .app-form,
  .magnet-box,
  .package-offer,
  .guarantee-ticket,
  .installment-card,
  .tier-card,
  .legal-body,
  .legal-toc,
  details.category{
    border-radius:22px;
  }

  .g-intro,
  .g-checklist,
  .package-offer,
  .magnet-box,
  .app-form,
  .installment-card,
  .tier-card,
  .legal-body,
  .legal-toc,
  .contacts-cta{
    padding:20px 18px;
  }

  details.category summary{
    padding:18px 16px;
    font-size:1rem;
  }

  .summary-left{
    align-items:flex-start;
    gap:10px;
  }

  .summary-left::before{
    width:34px;
    height:34px;
    border-radius:12px;
    font-size:.68rem;
  }

  .prog-list{
    padding:10px;
  }

  .prog-row{
    grid-template-columns:1fr;
    gap:8px;
    padding:12px 12px;
  }

  .prog-price,
  .prog-order{
    justify-self:start;
    text-align:left;
  }

  .legal-layout{
    gap:18px;
  }

  .legal-toc{
    position:static;
  }

  .legal-body h2{
    font-size:1.12rem;
    scroll-margin-top:88px;
  }

  .legal-body p,
  .legal-body li{
    font-size:.94rem;
    line-height:1.68;
  }

  .req-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .req-row span:last-child{
    text-align:left;
  }
}

@media (max-width:640px){
  html{
    -webkit-text-size-adjust:100%;
  }

  .wrap{
    padding:0 16px;
  }

  .topbar{
    font-size:.66rem;
  }

  .topbar .wrap{
    padding-top:8px;
    padding-bottom:8px;
  }

  .topbar .note{
    width:100%;
  }

  .logo{
    gap:9px;
  }

  .logo .mark{
    width:40px;
    height:40px;
  }

  .logo .name{
    font-size:1rem;
  }

  .logo .sub{
    font-size:.54rem;
    letter-spacing:.1em;
  }

  .hero,
  .page-header{
    padding-top:20px;
  }

  body .hero h1,
  .hero h1{
    font-size:clamp(1.75rem, 11vw, 2.7rem);
  }

  .hero .lead,
  .page-header p{
    font-size:.92rem;
  }

  .page-header h1{
    font-size:clamp(1.8rem, 11vw, 2.9rem);
  }

  .direction-card,
  .contact-card,
  .requisites-card,
  .license-card,
  .service-card,
  .pd-card{
    padding:22px 18px;
  }

  .trade-card{
    padding:18px 16px;
  }

  .trade-card .t-meta{
    flex-direction:column;
  }

  .modal{
    padding:26px 18px 22px;
    border-radius:22px;
  }
}

/* Final cascade: keep the editorial palette above the legacy page-specific skin. */
body{background:#f7f3eb; color:#17282b;}
body h1,body h2,body h3,body h4{color:#143538; letter-spacing:-.035em;}
body header.site{background:rgba(247,243,235,.94); border-bottom:1px solid rgba(23,40,43,.1); box-shadow:none; backdrop-filter:blur(16px);}
body header.site .wrap{min-height:76px; padding-top:11px; padding-bottom:11px;}
body .logo{color:#143538;}
body .logo .sub{color:#607477;}
body nav.main a{color:#294144;}
body nav.main a:hover,body nav.main a.active{color:#bd542d;}
body .btn{border-radius:0;}
body .btn-primary{background:#df7041; color:#fff;}
body .btn-primary:hover{background:#bd542d;}
body .btn-line{color:#143538; border-color:rgba(20,53,56,.35);}

body .hero,body .page-header,body.home-page .hero,body.ot-page .hero,body.pb-page .hero{
  background:linear-gradient(118deg,#123337 0%,#204d4c 58%,#295b58 100%) !important;
  padding:clamp(54px,8vw,112px) 0 74px;
}
body .hero::after,body .page-header::after{content:''; position:absolute; width:42vw; height:42vw; right:-12vw; bottom:-27vw; border:1px solid rgba(244,231,204,.25); border-radius:50%; pointer-events:none;}
body .hero .wrap{grid-template-columns:minmax(0,1.13fr) minmax(390px,.87fr); gap:clamp(34px,5vw,76px);}
body .hero .wrap > :first-child,body .hero .wrap > :first-child .lead,body .hero .wrap > :first-child p,body .hero .wrap > :first-child li{color:#e0eae3;}
body .hero .wrap > :first-child .eyebrow{color:#f6be6c;}
body .hero .wrap > :first-child h1,body.home-page .hero h1,body.ot-page .hero h1,body.pb-page .hero h1{color:#fffaf0; font-size:clamp(2.35rem,4.7vw,4.7rem); max-width:12ch; line-height:1.02; letter-spacing:-.055em;}
body .hero .wrap > :first-child h1 em{color:#f6be6c;}
body .hero .lead{font-size:1rem; max-width:61ch;}
body .hero .wrap > :first-child .btn-line,body .hero .wrap > :first-child .btn-ghost{color:#fff; border-color:rgba(255,255,255,.5);}
body .hero-proof-card{background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:0;}
body .hero-proof-card strong{color:#fff7e8;}
body .hero-proof-card span,body .trust-row span{color:#d5e2da;}
body .hero-cabinet-wrap{max-width:510px; justify-self:end; width:100%;}
body .cabinet-mock{border-radius:2px; border:1px solid rgba(255,255,255,.7); box-shadow:0 26px 56px -30px rgba(0,0,0,.75);}
body .cabinet-mock .bar{background:#f2ede3;}
body .cabinet-mock .body{background:#fffdf8;}
body .cabinet-mock .row{color:#233a3c;}
body .cabinet-mock .foot{background:#1d4143; color:#d6e4db;}

body .stats{background:#f0e8dc; border-color:#ddd3c4;}
body .stat{border-color:#d7ccbc;}
body .stat b{color:#143538;}
body .stat span{color:#677477;}
body .directions-grid{grid-template-columns:repeat(3,1fr); gap:16px;}
body .direction-card{padding:0 0 27px; border:1px solid #d8d0c4; border-radius:0; background:#fffdf8; overflow:hidden; gap:13px;}
body .direction-card > :not(.direction-media){margin-left:24px; margin-right:24px;}
body .direction-card:hover{transform:translateY(-7px); border-color:#bf663d; box-shadow:0 20px 50px -30px rgba(20,53,56,.35);}
body .direction-media{display:block; height:168px; overflow:hidden; background:#244a4a; margin:0 !important; position:relative;}
body .direction-media::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,rgba(16,43,42,.48));}
body .direction-media img{width:100%; height:100%; object-fit:cover; filter:saturate(.68) contrast(1.05); transition:transform .45s ease;}
body .direction-card:hover .direction-media img{transform:scale(1.05);}
body .card-kicker,body .direction-card .d-cta{color:#bd542d;}
body .direction-card p{color:#526365;}

body .guarantee-ticket,body .package-offer,body .installment-card,body .contacts-cta{border-radius:0; background:#173d3e;}
body .guarantee-ticket::after{border-color:rgba(245,235,214,.25);}
body .g-intro h2,body .package-offer h2,body .installment-card h2,body .contacts-cta h2{color:#fff9ef;}
body .g-intro p,body .g-checklist span,body .package-offer p,body .installment-card p,body .contacts-cta p{color:#d5e2db;}
body .g-badge{background:#f2b55b; color:#163b3c; border-radius:0;}
body .g-checklist strong{color:#fffaf0;}
body .story-section{background:#fffdf8;}
body .story-layout{display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(34px,7vw,100px); align-items:center;}
body .story-text{max-width:65ch; color:#344c4d;}
body .story-text p:first-child{font-family:var(--serif); color:#1c393a; font-size:1.35rem; line-height:1.5;}
body .story-photo{margin:0; position:relative;}
body .story-photo img{width:100%; min-height:360px; object-fit:cover; filter:saturate(.7) contrast(1.04);}
body .story-photo figcaption{position:absolute; left:0; bottom:0; background:#183d3d; color:#fff8eb; padding:16px 20px; font-family:var(--mono); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase;}
body .about{background:#ebe5d9;}
body .partner-card,body .license-card,body .contact-card,body .service-card,body .pd-card,body .doc-card,body .tier-card,body .case-card,body .trade-card,body details.category{background:#fffdf8; border-color:#d8d0c4; border-radius:0;}
body .advantages,body .adv-grid,body footer{background:#173d3e;}
body .advantages h2,body .adv-item h4{color:#fff9ed;}
body .adv-item p{color:#cad9d1;}
body .adv-item{border-color:rgba(244,237,221,.16);}
body .adv-item .num{color:#f0b55f;}

@media (max-width:1020px){body .hero .wrap{grid-template-columns:1fr;}body .hero-cabinet-wrap{justify-self:start;max-width:620px;}body .directions-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:760px){
  body header.site .wrap{min-height:66px;}
  body nav.main{top:66px; background:#f7f3eb; border-bottom:1px solid #d8d0c4;}
  body nav.main a{color:#183b3c;}
  body .burger{border-color:#315557; color:#173f40; border-radius:0;}
  body .hero,body .page-header{padding:48px 0 52px;}
  body .hero .wrap > :first-child h1,body.home-page .hero h1,body.ot-page .hero h1,body.pb-page .hero h1{font-size:clamp(2.22rem,10vw,3.45rem); max-width:none;}
  body .hero .lead{font-size:.94rem;}
  body .directions-grid,body .story-layout{grid-template-columns:1fr;}
  body .direction-media{height:185px;}
  body .story-photo img{min-height:240px;}
}

body .hero .wrap > :first-child{
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none;
}

body .hero .wrap > :first-child h1,
body.home-page .hero h1,
body.ot-page .hero h1,
body.pb-page .hero h1{
  font-size:clamp(2.25rem,4vw,4rem);
  max-width:14ch;
}
body .hero .audience-list li{
  background:rgba(8,35,35,.38);
  border:1px solid rgba(255,255,255,.18);
  color:#fffaf0;
  padding:12px 14px;
}
body .hero .audience-list li::before{color:#f6be6c;}

@media (max-width:760px){
  body .hero .wrap > :first-child h1,
  body.home-page .hero h1,
  body.ot-page .hero h1,
  body.pb-page .hero h1{font-size:clamp(2.15rem,9.5vw,3.25rem); max-width:none;}
}

/* Bellardo-inspired monochrome palette. */
:root{--ink:#1b1922;--navy:#1b1922;--navy-deep:#1b1922;--steel:#7b7b7b;--amber:#1b1922;--amber-deep:#333;--paper:#f8f7f6;--paper-alt:#f0efed;--line:#d9d9d9;}
body{background:#f8f7f6;color:#1b1922;}
body h1,body h2,body h3,body h4,body .logo{color:#1b1922;}
body .logo .sub,body .stat span{color:#7b7b7b;}
body header.site{background:rgba(248,247,246,.95);border-color:rgba(27,25,34,.12);}
body nav.main a,body nav.main a:hover,body nav.main a.active{color:#1b1922;}
body nav.main a.active{background:#ececec;}
body .btn-primary{background:#1b1922;color:#f8f7f6;}
body .btn-primary:hover{background:#333;color:#fff;}
body .btn-line{color:#1b1922;border-color:rgba(27,25,34,.45);}
body .btn-line:hover{background:#1b1922;color:#fff;}
body .hero,body .page-header,body.home-page .hero,body.ot-page .hero,body.pb-page .hero{background:#1b1922 !important;}
body .hero::after,body .page-header::after{border-color:rgba(248,247,246,.2);}
body .hero .wrap > :first-child,body .hero .wrap > :first-child .lead,body .hero .wrap > :first-child p,body .hero .wrap > :first-child li,body .hero .wrap > :first-child h1,body.home-page .hero h1,body.ot-page .hero h1,body.pb-page .hero h1{color:#f8f7f6;}
body .hero .wrap > :first-child h1 em,body .hero .wrap > :first-child .eyebrow,body .hero .audience-list li::before{color:#d9d9d9;}
body .hero .wrap > :first-child .btn-line,body .hero .wrap > :first-child .btn-ghost{color:#f8f7f6;border-color:rgba(255,255,255,.5);}
body .hero-proof-card,body .hero .audience-list li{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.17);}
body .hero-proof-card strong,body .hero-proof-card span,body .trust-row span{color:#f8f7f6;}
body .hero-badge{background:#f8f7f6;color:#1b1922;}
body .cabinet-mock .bar{background:#f8f7f6;}
body .cabinet-mock .body{background:#fff;}
body .cabinet-mock .foot{background:#1b1922;color:#f8f7f6;}
body .stats,body .about{background:#f0efed;border-color:#d9d9d9;}
body .stat{border-color:#d9d9d9;}
body .stat b{color:#1b1922;}
body .direction-card,body .partner-card,body .license-card,body .contact-card,body .service-card,body .pd-card,body .doc-card,body .tier-card,body .case-card,body .trade-card,body details.category{background:#fff;border-color:#d9d9d9;}
body .direction-card:hover,body .trade-card:hover{border-color:#1b1922;box-shadow:0 20px 50px -30px rgba(27,25,34,.4);}
body .direction-media{background:#1b1922;}
body .direction-media::after{background:linear-gradient(180deg,transparent 35%,rgba(27,25,34,.52));}
body .direction-media img,body .story-photo img{filter:grayscale(1) contrast(1.04);}
body .card-kicker,body .direction-card .d-cta{color:#4c535b;}
body .guarantee-ticket,body .package-offer,body .installment-card,body .contacts-cta,body .advantages,body .adv-grid,body footer{background:#1b1922;}
body .g-badge{background:#f8f7f6;color:#1b1922;}
body .adv-item .num{color:#d9d9d9;}
body .story-section{background:#fff;}
body .story-text p:first-child{color:#1b1922;}
body .story-photo figcaption{background:#1b1922;color:#f8f7f6;}
body .partner-card{border-top-color:#1b1922;}
@media (max-width:760px){body nav.main{background:#f8f7f6;border-color:#d9d9d9;}body nav.main a{color:#1b1922;}body .burger{border-color:#1b1922;color:#1b1922;}}

/* BoHan Buro-inspired warm palette. */
:root{--ink:#181713;--navy:#181713;--navy-deep:#171713;--steel:#756055;--amber:#981f2b;--amber-deep:#6f1420;--paper:#f2efe9;--paper-alt:#e8e3dc;--line:#d8d2c8;}
body{background:#f2efe9;color:#181713;}
body h1,body h2,body h3,body h4,body .logo{color:#181713;}
body .logo .sub,body .stat span{color:#756055;}
body header.site{background:rgba(242,239,233,.95);border-color:#d8d2c8;}
body nav.main a,body nav.main a:hover,body nav.main a.active{color:#2e2923;}
body nav.main a.active{background:#e8e3dc;color:#981f2b;}
body .btn-primary{background:#981f2b;color:#fff;}
body .btn-primary:hover{background:#6f1420;color:#fff;}
body .btn-line{color:#181713;border-color:#756055;}
body .btn-line:hover{background:#181713;color:#f2efe9;}
body .hero,body .page-header,body.home-page .hero,body.ot-page .hero,body.pb-page .hero{background:#171713 !important;}
body .hero::after,body .page-header::after{border-color:rgba(242,239,233,.19);}
body .hero .wrap > :first-child,body .hero .wrap > :first-child .lead,body .hero .wrap > :first-child p,body .hero .wrap > :first-child li,body .hero .wrap > :first-child h1,body.home-page .hero h1,body.ot-page .hero h1,body.pb-page .hero h1{color:#f2efe9;}
body .hero .wrap > :first-child h1 em,body .hero .wrap > :first-child .eyebrow,body .hero .audience-list li::before{color:#c8c1b7;}
body .hero .wrap > :first-child .btn-line,body .hero .wrap > :first-child .btn-ghost{color:#f2efe9;border-color:rgba(242,239,233,.55);}
body .hero-proof-card,body .hero .audience-list li{background:rgba(255,255,255,.055);border-color:rgba(242,239,233,.18);}
body .hero-proof-card strong,body .hero-proof-card span,body .trust-row span{color:#f2efe9;}
body .hero-badge{background:#f2efe9;color:#181713;}
body .cabinet-mock .bar{background:#f2efe9;}
body .cabinet-mock .body{background:#fffaf3;}
body .cabinet-mock .foot{background:#2e2923;color:#f2efe9;}
body .stats,body .about{background:#e8e3dc;border-color:#d8d2c8;}
body .stat{border-color:#d8d2c8;}
body .stat b{color:#181713;}
body .direction-card,body .partner-card,body .license-card,body .contact-card,body .service-card,body .pd-card,body .doc-card,body .tier-card,body .case-card,body .trade-card,body details.category{background:#fffaf3;border-color:#d8d2c8;}
body .direction-card:hover,body .trade-card:hover{border-color:#981f2b;box-shadow:0 20px 50px -30px rgba(46,41,35,.4);}

/* ===== Separate DPO catalogues ===== */
.catalog-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(70px, 8vw, 116px) 0;
  color:#fff;
  background:#201d1b;
}
.catalog-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(24,21,20,.96) 0%,rgba(24,21,20,.82) 48%,rgba(24,21,20,.3) 100%),url('assets/hero-qualification.webp') center/cover no-repeat;
}
.catalog-hero--pp::before{
  background:linear-gradient(90deg,rgba(24,21,20,.96) 0%,rgba(24,21,20,.8) 52%,rgba(24,21,20,.28) 100%),url('assets/hero-retraining.webp') center/cover no-repeat;
}
.catalog-hero::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-160px;
  top:-240px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:50%;
}
.catalog-hero .wrap{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:clamp(34px,6vw,86px);
  align-items:end;
}
.catalog-hero h1{
  max-width:13ch;
  margin:.24em 0 .45em;
  color:#fff;
  font-size:clamp(2.5rem,5.2vw,5.4rem);
  line-height:.94;
  letter-spacing:-.045em;
}
.catalog-hero .lead{max-width:65ch;color:#efe8df;font-size:clamp(1rem,1.5vw,1.18rem);}
.catalog-hero .eyebrow{color:#f0bc70;}
.catalog-hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:30px;}
.catalog-text-link{color:inherit;font-weight:700;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;}
.catalog-text-link:hover{color:var(--amber);}
.catalog-hero-panel{
  padding:28px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(35,31,28,.68);
  backdrop-filter:blur(12px);
}
.catalog-hero-panel>span{display:block;color:#d3c8bc;font:600 .72rem var(--mono);letter-spacing:.08em;text-transform:uppercase;}
.catalog-hero-panel>strong{display:block;margin:8px 0 24px;color:#fff;font:600 clamp(1.45rem,2.6vw,2.2rem) var(--serif);}
.catalog-hero-panel dl{display:grid;gap:0;margin:0;}
.catalog-hero-panel dl div{display:grid;grid-template-columns:120px 1fr;align-items:baseline;padding:13px 0;border-top:1px solid rgba(255,255,255,.15);}
.catalog-hero-panel dt{color:#f0bc70;font-weight:800;}
.catalog-hero-panel dd{margin:0;color:#e7ded4;font-size:.9rem;}

.program-catalog-section{padding:clamp(68px,8vw,112px) 0;background:#f7f2eb;}
.catalog-heading{display:flex;justify-content:space-between;gap:28px;align-items:end;}
.catalog-heading h2{margin:.18em 0 0;}
.catalog-switch-link{display:flex;gap:18px;align-items:center;max-width:280px;padding:15px 0;color:#2e2923;text-decoration:none;font-weight:700;border-top:1px solid #bdb3a6;border-bottom:1px solid #bdb3a6;}
.catalog-switch-link span{margin-left:auto;color:#981f2b;font-size:1.35rem;transition:transform .2s ease;}
.catalog-switch-link:hover span{transform:translateX(5px);}
.program-catalog-tools{margin:34px 0 30px;padding:24px;border:1px solid #d9d1c6;background:#fff;}
.program-catalog-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;}
.program-catalog-search>span{font:700 .72rem var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#766c60;}
.program-catalog-search input{width:100%;padding:14px 0;border:0;border-bottom:1px solid #cfc6bb;background:transparent;color:#201d1b;font:600 1.03rem var(--sans);outline:none;}
.program-catalog-search input:focus{border-color:#981f2b;}
.program-catalog-tools .cat-chips{margin:20px 0 0;}
.program-catalog-result{margin:12px 0 0;color:#766c60;font:600 .75rem var(--mono);}
.program-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.program-catalog-grid.is-empty{grid-template-columns:1fr;}
.program-catalog-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:340px;
  padding:27px;
  overflow:hidden;
  color:#28231f;
  text-decoration:none;
  border:1px solid #d8d0c5;
  background:#fff;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.program-catalog-card::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:#2e5876;}
.program-catalog-card--red::before{background:#981f2b;}.program-catalog-card--amber::before{background:#c48327;}.program-catalog-card--green::before{background:#34715b;}
.program-catalog-card:hover{transform:translateY(-6px);border-color:#a89d91;box-shadow:0 24px 50px -34px rgba(31,27,24,.65);}
.program-catalog-card.has-image{
  isolation:isolate;
  color:#fff;
  border-color:transparent;
  background:#171717;
  box-shadow:0 22px 46px -34px rgba(27,23,20,.86);
}
.program-catalog-card.has-image::before{z-index:3;}
.program-catalog-card.has-image::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,rgba(15,15,15,.26) 0%,rgba(15,15,15,.48) 58%,rgba(15,15,15,.72) 100%);
  pointer-events:none;
}
.program-card-media{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:58% center;
  transition:transform .5s ease,filter .5s ease;
}
.program-catalog-card.has-image > :not(.program-card-media){position:relative;z-index:2;}
.program-catalog-card.has-image h3{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.42);}
.program-catalog-card.has-image p{color:rgba(255,255,255,.82);}
.program-catalog-card.has-image .program-category{color:rgba(255,255,255,.72);}
.program-catalog-card.has-image .program-popular{color:#fff;background:rgba(152,31,43,.82);}
.program-catalog-card.has-image .program-card-meta{color:#fff;border-color:rgba(255,255,255,.24);}
.program-catalog-card.has-image .program-card-link{color:#fff;}
.program-catalog-card.has-image:hover{border-color:rgba(255,255,255,.25);box-shadow:0 28px 58px -32px rgba(20,17,15,.95);}
.program-catalog-card.has-image:hover .program-card-media{transform:scale(1.045);filter:saturate(1.06);}

/* Keep the training photos clearly visible in the advanced-training catalog. */
body.education-catalog-page:is([data-catalog-type="pk"],[data-catalog-type="pp"]) .program-catalog-card.has-image::after{
  background:linear-gradient(180deg,rgba(12,17,15,0) 0%,rgba(12,17,15,.02) 42%,rgba(12,17,15,.16) 72%,rgba(12,17,15,.38) 100%);
}
body.education-catalog-page:is([data-catalog-type="pk"],[data-catalog-type="pp"]) .program-catalog-card.has-image .program-card-media{
  filter:brightness(1.54) saturate(.88) contrast(.88);
}
body.education-catalog-page:is([data-catalog-type="pk"],[data-catalog-type="pp"]) .program-catalog-card.has-image:hover .program-card-media{
  filter:brightness(1.6) saturate(.94) contrast(.9);
}
body.education-catalog-page:is([data-catalog-type="pk"],[data-catalog-type="pp"]) .program-catalog-card.has-image .program-category,
body.education-catalog-page:is([data-catalog-type="pk"],[data-catalog-type="pp"]) .program-catalog-card.has-image h3,
body.education-catalog-page:is([data-catalog-type="pk"],[data-catalog-type="pp"]) .program-catalog-card.has-image p{
  text-shadow:0 2px 16px rgba(0,0,0,.72);
}
.program-card-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:27px;}
.program-category,.program-popular{font:700 .68rem var(--mono);letter-spacing:.06em;text-transform:uppercase;}
.program-category{color:#5f554c;}.program-popular{padding:5px 8px;color:#7e1b26;background:#f8e7e4;}
.program-catalog-card h3{margin:25px 0 14px;font-size:clamp(1.16rem,1.5vw,1.42rem);line-height:1.18;}
.program-catalog-card p{margin:0;color:#675e55;font-size:.9rem;line-height:1.62;}
.program-card-meta{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:23px;color:#29241f;font-size:.9rem;border-top:1px solid #e4ddd4;}
.program-card-link{display:flex;justify-content:space-between;align-items:center;margin-top:17px;color:#8c1d29;font-weight:700;font-size:.86rem;}
.program-card-link i{font-style:normal;font-size:1.25rem;transition:transform .2s ease;}.program-catalog-card:hover .program-card-link i{transform:translateX(5px);}
.program-empty{display:flex;flex-direction:column;gap:6px;padding:34px;background:#fff;border:1px solid #d8d0c5;color:#675e55;}.program-empty strong{color:#28231f;font-size:1.15rem;}

.catalog-explainer{padding:clamp(68px,8vw,110px) 0;background:#fff;}
.catalog-explainer>.wrap{display:grid;grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr);gap:clamp(42px,7vw,100px);align-items:start;}
.catalog-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #d7cfc4;}
.catalog-benefits article{padding:25px 24px 8px 0;border-right:1px solid #d7cfc4;}.catalog-benefits article+article{padding-left:24px;}
.catalog-benefits article:last-child{border-right:0;}.catalog-benefits b{color:#981f2b;font:700 .78rem var(--mono);}.catalog-benefits h3{font-size:1.12rem;}.catalog-benefits p{color:#675e55;font-size:.9rem;}
.catalog-cta-card{padding:30px;color:#28231f;background:#f7f2eb;border-left:5px solid #d4a24a;}.catalog-cta-card strong{font:600 1.35rem var(--serif);}.catalog-cta-card p{margin:10px 0 22px;color:#665c52;}

/* ===== DPO program detail ===== */
.program-detail-hero{padding:clamp(64px,8vw,108px) 0;color:#fff;background:linear-gradient(120deg,#171d20 0%,#24343c 62%,#3b4e55 100%);}
body.program-category-ot .program-detail-hero{
  background:linear-gradient(90deg,rgba(19,22,23,.98) 0%,rgba(19,22,23,.9) 45%,rgba(19,22,23,.38) 72%,rgba(19,22,23,.12) 100%),url('assets/course-hero-occupational-safety.webp') center/cover no-repeat;
}
body.program-category-fire .program-detail-hero{
  background:linear-gradient(90deg,rgba(20,19,18,.98) 0%,rgba(20,19,18,.9) 45%,rgba(20,19,18,.36) 72%,rgba(20,19,18,.1) 100%),url('assets/course-hero-fire-safety.webp') center/cover no-repeat;
}
body.program-category-antiterror .program-detail-hero{
  background:linear-gradient(90deg,rgba(14,18,22,.98) 0%,rgba(14,18,22,.9) 45%,rgba(14,18,22,.38) 72%,rgba(14,18,22,.12) 100%),url('assets/course-hero-antiterror.webp') center/cover no-repeat;
}
body.program-category-gochs .program-detail-hero{
  background:linear-gradient(90deg,rgba(18,21,19,.98) 0%,rgba(18,21,19,.9) 45%,rgba(18,21,19,.36) 72%,rgba(18,21,19,.1) 100%),url('assets/course-hero-gochs.webp') center/cover no-repeat;
}
.program-detail-hero .wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr);gap:clamp(38px,7vw,90px);align-items:end;}
.program-detail-hero h1{max-width:16ch;margin:.28em 0 .5em;color:#fff;font-size:clamp(2.35rem,4.5vw,4.6rem);line-height:1;letter-spacing:-.035em;}
.program-detail-hero .lead{max-width:65ch;color:#d8e0e3;}.program-detail-hero .eyebrow{color:#f0bc70;}
.program-back{display:flex;width:fit-content;margin-bottom:32px;color:#c9d4d8;text-decoration:none;font-size:.86rem;}.program-back:hover{color:#fff;}
.program-detail-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:29px;}
.program-passport{padding:30px;background:#fff;color:#27231f;border-top:6px solid #d4a24a;box-shadow:0 22px 60px -32px #000;}
.program-passport-label{display:block;margin-bottom:20px;color:#8f1e2a;font:700 .7rem var(--mono);letter-spacing:.08em;text-transform:uppercase;}
.program-passport>div{display:grid;grid-template-columns:95px 1fr;gap:16px;align-items:baseline;padding:15px 0;border-top:1px solid #e2dbd1;}.program-passport small{color:#796f65;}.program-passport strong{font-size:1rem;}.program-passport p{margin:20px 0 0;color:#6e655c;font-size:.82rem;}
.program-about-section{padding:clamp(70px,8vw,112px) 0;background:#f7f2eb;}.program-about-section .wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:clamp(42px,7vw,100px);align-items:start;}.program-large-copy{font:600 clamp(1.3rem,2.2vw,1.9rem)/1.4 var(--serif);color:#2b2621;}.program-about-section p:not(.program-large-copy){color:#675e55;}
.program-audience-card{padding:30px;background:#28231f;color:#fff;}.program-audience-card>span{color:#f0bc70;font:700 .7rem var(--mono);text-transform:uppercase;letter-spacing:.08em;}.program-audience-card h3{color:#fff;}.program-audience-card ul{display:grid;gap:13px;margin:22px 0 0;padding:0;list-style:none;}.program-audience-card li{position:relative;padding-left:22px;color:#e5ddd3;font-size:.9rem;}.program-audience-card li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;background:#d4a24a;border-radius:50%;}
.program-modules-section{padding:clamp(68px,8vw,108px) 0;background:#fff;}.program-hours-chip{padding:9px 13px;background:#f4e3c8;color:#7a531a;font:700 .78rem var(--mono);}.program-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:34px;border-top:1px solid #d9d1c7;border-left:1px solid #d9d1c7;}.program-module{display:grid;grid-template-columns:46px 1fr;gap:18px;padding:28px;border-right:1px solid #d9d1c7;border-bottom:1px solid #d9d1c7;}.program-module>span{color:#981f2b;font:700 .78rem var(--mono);}.program-module strong{font:600 1.15rem var(--serif);}.program-module p{margin:9px 0 0;color:#70665d;font-size:.88rem;}
.program-process-section{padding:clamp(68px,8vw,108px) 0;background:#eee7de;}.program-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:36px;border-top:1px solid #cfc4b7;}.program-process-grid article{padding:26px 24px 10px 0;border-right:1px solid #cfc4b7;}.program-process-grid article+article{padding-left:24px;}.program-process-grid article:last-child{border-right:0;}.program-process-grid b{color:#981f2b;font:700 .75rem var(--mono);}.program-process-grid h3{font-size:1.05rem;}.program-process-grid p{color:#6f655b;font-size:.87rem;}
.program-cta-price{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid #d2c8bc;}.program-cta-price span{color:#665c52;font-weight:700;}.program-cta-price strong{font:700 1.8rem var(--serif);}

/* Full program pages share the same trust-building sections as trade courses. */
.program-video-section .program-section-intro{
  max-width:68ch;
  margin:0 0 30px;
  color:#536a78;
}
.program-advantages .wrap h2,
.program-faq .wrap>h2,
.payment-delivery .wrap>h2{
  margin:.2em 0 .9em;
}
.program-advantages .adv-item p{
  max-width:34ch;
}
.program-faq .wrap{
  max-width:900px;
}
.program-guarantees .g-checklist [data-program-field="registryNote"]{
  display:block;
}

@media (max-width:660px){
  .program-video-section .video-frame{
    min-height:330px;
  }
  .program-video-section .video-frame-trigger{
    min-height:330px;
  }
  .program-faq .wrap>h2,
  .payment-delivery .wrap>h2{
    margin-bottom:.65em;
  }
}

@media (max-width:980px){
  .catalog-hero .wrap,.program-detail-hero .wrap{grid-template-columns:1fr;}.catalog-hero-panel,.program-passport{max-width:600px;}.program-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.catalog-explainer>.wrap,.program-about-section .wrap{grid-template-columns:1fr;}.program-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.program-process-grid article:nth-child(2){border-right:0;}
}
@media (max-width:660px){
  .catalog-hero,.program-detail-hero{padding:56px 0 66px;}.catalog-hero-copy{min-width:0;max-width:100%;}.catalog-hero h1,.program-detail-hero h1{max-width:100%;font-size:clamp(2rem,9.5vw,2.8rem);overflow-wrap:anywhere;hyphens:auto;}.catalog-heading{align-items:flex-start;flex-direction:column;}.catalog-switch-link{max-width:none;width:100%;}.program-catalog-tools{padding:18px;}.program-catalog-search{grid-template-columns:1fr;gap:7px;}.program-catalog-grid,.catalog-benefits,.program-modules,.program-process-grid{grid-template-columns:1fr;}.program-catalog-card{min-height:300px;padding:23px;}.catalog-benefits article,.catalog-benefits article+article,.program-process-grid article,.program-process-grid article+article{padding:22px 0;border-right:0;border-bottom:1px solid #d7cfc4;}.catalog-benefits article:last-child,.program-process-grid article:last-child{border-bottom:0;}.program-module{padding:22px 18px;}.program-passport{padding:24px;}.program-passport>div{grid-template-columns:1fr;gap:5px;}.program-detail-actions{align-items:flex-start;flex-direction:column;}.catalog-hero-panel dl div{grid-template-columns:105px 1fr;}
}
@media (max-width:660px){
  body.program-detail-page .program-detail-hero{background-position:62% center;}
}

@media (max-width:360px){
  .catalog-hero h1,
  .program-detail-hero h1{
    font-size:clamp(1.78rem,9vw,2rem);
    line-height:1.04;
    letter-spacing:-.03em;
    hyphens:auto;
    overflow-wrap:anywhere;
  }
  .program-back{
    display:block;
    max-width:100%;
    margin-bottom:24px;
    line-height:1.45;
    overflow-wrap:anywhere;
  }
  .catalog-hero-actions{
    align-items:stretch;
    gap:16px;
  }
  .catalog-hero-actions .btn{
    width:100%;
    justify-content:center;
  }
}

.qualification-paths{padding:clamp(68px,8vw,108px) 0;background:#eee7de;}
.qualification-paths-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:48px;align-items:end;margin-bottom:34px;}
.qualification-paths-head h2{margin:.2em 0 0;}.qualification-paths-head p{margin:0;color:#675e55;}
.qualification-paths-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.qualification-path{position:relative;display:grid;grid-template-columns:54px 1fr;gap:22px;min-height:330px;padding:30px;color:#29241f;text-decoration:none;background:#fff;border:1px solid #d4cabf;transition:transform .25s ease,box-shadow .25s ease;}
.qualification-path::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:#2e5876;}.qualification-path--pp::before{background:#981f2b;}
.qualification-path:hover{transform:translateY(-5px);box-shadow:0 24px 48px -34px rgba(39,32,27,.6);}
.qualification-path-number{color:#981f2b;font:700 .76rem var(--mono);}.qualification-path h3{margin:.5em 0;font-size:clamp(1.55rem,2.5vw,2.25rem);}.qualification-path p{max-width:52ch;color:#675e55;}.qualification-path-arrow{grid-column:2;align-self:end;display:flex;justify-content:space-between;padding-top:18px;border-top:1px solid #ded6cc;color:#8d1d29;font-weight:700;}.qualification-path-arrow i{font-style:normal;font-size:1.25rem;transition:transform .2s ease;}.qualification-path:hover .qualification-path-arrow i{transform:translateX(5px);}
.qualification-path--pk,
.qualification-path--pp{
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  border-color:transparent;
  background-color:#142733;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  box-shadow:0 24px 52px -38px rgba(27,23,20,.85);
}
.qualification-path--pk{
  background-image:
    linear-gradient(90deg,rgba(10,27,40,.74) 0%,rgba(13,35,50,.56) 52%,rgba(13,35,50,.18) 100%),
    url('assets/qualification-card-bg.webp');
}
.qualification-path--pp{
  background-image:
    linear-gradient(90deg,rgba(37,19,22,.76) 0%,rgba(68,24,31,.58) 54%,rgba(68,24,31,.18) 100%),
    url('assets/retraining-card-bg.webp');
}
.qualification-path--pk > *,
.qualification-path--pp > *{position:relative;z-index:1;}
.qualification-path--pk::before,
.qualification-path--pp::before{z-index:2;background:#d6ad69;}
.qualification-path--pk .qualification-path-number,
.qualification-path--pp .qualification-path-number{color:#e8c98e;}
.qualification-path--pk .card-kicker,
.qualification-path--pp .card-kicker{color:#e8c98e;}
.qualification-path--pk h3,
.qualification-path--pp h3{color:#fff;text-shadow:0 2px 22px rgba(0,0,0,.38);}
.qualification-path--pk p,
.qualification-path--pp p{color:rgba(255,255,255,.82);text-shadow:0 1px 16px rgba(0,0,0,.3);}
.qualification-path--pk .qualification-path-arrow,
.qualification-path--pp .qualification-path-arrow{border-color:rgba(255,255,255,.28);color:#fff;}
.qualification-path--pk:hover,
.qualification-path--pp:hover{box-shadow:0 30px 62px -34px rgba(20,18,16,.95);}
.program-catalog-entry{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:14px;align-items:center;margin:18px 0 32px;padding:18px;background:#fff;border:1px solid #d9d1c6;border-left:5px solid #981f2b;}
.program-catalog-entry div{display:flex;flex-direction:column;gap:3px;}.program-catalog-entry div span{color:#70665d;font-size:.85rem;}.program-catalog-entry>a{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 15px;color:#2e2923;text-decoration:none;font-size:.84rem;font-weight:700;background:#f5efe7;}.program-catalog-entry>a:hover{background:#eadfce;}.program-catalog-entry i{color:#981f2b;font-style:normal;}
@media (max-width:900px){.qualification-paths-head{grid-template-columns:1fr;gap:12px;}.program-catalog-entry{grid-template-columns:1fr 1fr;}.program-catalog-entry>div{grid-column:1/-1;}}
@media (max-width:660px){.qualification-paths-grid{grid-template-columns:1fr;}.qualification-path{grid-template-columns:40px 1fr;min-height:300px;padding:24px 20px;}.qualification-path--pk{background-image:linear-gradient(90deg,rgba(10,27,40,.82),rgba(13,35,50,.48)),url('assets/qualification-card-bg.webp');}.qualification-path--pp{background-image:linear-gradient(90deg,rgba(37,19,22,.84),rgba(68,24,31,.5)),url('assets/retraining-card-bg.webp');}.program-catalog-entry{grid-template-columns:1fr;}.program-catalog-entry>div{grid-column:auto;}.program-catalog-entry>a{width:100%;}}

/* Shared programme dropdown in the site header. */
body nav.main .nav-programs{position:relative;display:flex;align-self:stretch;align-items:center;}
body nav.main .nav-programs-toggle{display:flex;align-items:center;gap:7px;height:100%;padding:0;border:0;background:transparent;color:#2e2923;font:500 .8rem var(--sans);cursor:pointer;white-space:nowrap;}
body nav.main .nav-programs-toggle i{font-style:normal;font-size:.85rem;transition:transform .2s ease;}
body nav.main .nav-programs.open .nav-programs-toggle i,
body nav.main .nav-programs:focus-within .nav-programs-toggle i{transform:rotate(180deg);}
body nav.main .nav-programs-toggle:hover,
body nav.main .nav-programs.active .nav-programs-toggle{color:#981f2b;}
body nav.main .nav-programs-menu{position:absolute;z-index:20;top:calc(100% - 12px);left:50%;display:grid;width:330px;padding:9px;opacity:0;visibility:hidden;transform:translate(-50%,8px);background:#fff;border:1px solid #d8d2c8;box-shadow:0 22px 50px -30px rgba(24,23,19,.65);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;}
body nav.main .nav-programs:hover .nav-programs-menu,
body nav.main .nav-programs:focus-within .nav-programs-menu,
body nav.main .nav-programs.open .nav-programs-menu{opacity:1;visibility:visible;transform:translate(-50%,0);}
body nav.main .nav-programs-menu a{display:flex;flex-direction:column;gap:4px;padding:15px 16px;color:#2e2923;border-bottom:1px solid #e7e1d9;text-decoration:none;}
body nav.main .nav-programs-menu a:last-child{border-bottom:0;}
body nav.main .nav-programs-menu a:hover{color:#981f2b;background:#f6f1ea;text-decoration:none;}
body nav.main .nav-programs-menu a::after{display:none !important;}
body nav.main .nav-programs-menu small{color:#81766b;font-size:.68rem;font-weight:400;}
body nav.main .nav-programs-menu strong{font-size:.86rem;font-weight:700;}

@media (max-width:920px){
  body nav.main .nav-programs{display:block;width:100%;align-self:auto;}
  body nav.main .nav-programs-toggle{width:100%;height:auto;justify-content:space-between;padding:12px 0;color:#fff;font-size:1.05rem;}
  body nav.main .nav-programs-toggle:hover,body nav.main .nav-programs.active .nav-programs-toggle{color:#fff;}
  body nav.main .nav-programs-menu{position:static;display:none;width:100%;padding:0 0 2px 14px;opacity:1;visibility:visible;transform:none;background:transparent;border:0;border-left:2px solid #981f2b;box-shadow:none;}
  body nav.main .nav-programs.open .nav-programs-menu{display:grid;transform:none;}
  body nav.main .nav-programs-menu a{gap:2px;padding:9px 12px;color:#fff;border:0;}
  body nav.main .nav-programs-menu a:hover{color:#fff;background:rgba(255,255,255,.06);}
  body nav.main .nav-programs-menu small{color:#c9c1b8;}
  body nav.main .nav-programs-menu strong{font-size:.94rem;}
}
body .direction-media{background:#2e2923;}
body .direction-media::after{background:linear-gradient(180deg,transparent 35%,rgba(23,23,19,.58));}
body .direction-media img,body .story-photo img{filter:sepia(.18) saturate(.78) contrast(1.03);}
body .card-kicker,body .direction-card .d-cta{color:#981f2b;}
body .guarantee-ticket,body .package-offer,body .installment-card,body .contacts-cta,body .advantages,body .adv-grid,body footer{background:#2e2923;}
body .g-badge{background:#981f2b;color:#fff;border-color:#981f2b;}
body .adv-item .num{color:#c8c1b7;}
body .story-section{background:#fffaf3;}
body .story-text p:first-child{color:#181713;}
body .story-photo figcaption{background:#981f2b;color:#fff;}
body .partner-card{border-top-color:#981f2b;}
@media (max-width:760px){body nav.main{background:#f2efe9;border-color:#d8d2c8;}body nav.main a{color:#181713;}body .burger{border-color:#181713;color:#181713;}}

/* Header with a quieter, studio-like editorial rhythm. */
body .topbar{background:#f2efe9;color:#756055;border-bottom:1px solid #d8d2c8;font-family:var(--mono);font-size:.62rem;letter-spacing:.06em;}
body .topbar .wrap{max-width:none;padding:9px 4vw;}
body .topbar .note,body .topbar a{color:#756055;}
body header.site{position:sticky;background:rgba(255,255,255,.96);border:0;border-radius:0;border-bottom:1px solid #e8e3dc;backdrop-filter:blur(14px);}
body header.site .wrap{max-width:none;min-height:88px;padding:0 4vw;border:0;border-radius:0;}
body .logo{gap:14px;min-width:220px;}
body .logo .mark{width:46px;height:46px;object-fit:contain;}
body .logo .name{font-size:1.32rem;line-height:1;}
body .logo .sub{font-size:.55rem;letter-spacing:.13em;margin-top:5px;}
body nav.main{gap:clamp(16px,2.2vw,36px);justify-content:center;flex:1;}
body nav.main a{position:relative;padding:35px 0 31px;background:transparent !important;border-radius:0;font-size:.72rem;font-family:var(--mono);font-weight:400;letter-spacing:.045em;text-transform:uppercase;}
body nav.main a::after,body nav.main a.active::after{content:'';position:absolute;left:0;right:0;bottom:22px;width:auto;height:1px;background:#981f2b;transform:scaleX(0);transform-origin:left;transition:transform .2s ease;}
body nav.main a:hover::after,body nav.main a.active::after{transform:scaleX(1);}
body nav.main a.active{color:#981f2b;}
body .nav-cta{gap:0;min-width:220px;justify-content:flex-end;}
body .nav-cta .btn{min-height:44px;padding:10px 13px;font-family:var(--mono);font-size:.66rem;letter-spacing:.04em;text-transform:uppercase;}
body .nav-cta .btn-line{border:0;border-right:1px solid #d8d2c8;color:#756055;background:transparent;}
body .nav-cta .btn-line:hover{background:transparent;color:#981f2b;}
body .nav-cta .btn-primary{background:transparent;color:#181713;border:1px solid #181713;}
body .nav-cta .btn-primary:hover{background:#181713;color:#fff;}

@media (max-width:920px){
  body header.site .wrap{min-height:72px;padding:0 20px;}
  body nav.main{top:72px;padding:24px 20px 28px;gap:0;background:#fff;border-top:1px solid #e8e3dc;border-bottom:1px solid #d8d2c8;}
  body nav.main a{padding:13px 0;font-size:.78rem;}
  body nav.main a::after,body nav.main a.active::after{bottom:7px;}
  body .nav-cta{min-width:0;}
  body .nav-cta .btn-line,body .nav-cta .btn-primary{display:none;}
  body .burger{width:44px;height:44px;background:transparent;border:1px solid #181713;color:#181713;}
}
@media (max-width:560px){
  body .topbar .wrap{padding:7px 20px;line-height:1.5;}
  body .topbar .note{display:none;}
  body .topbar .wrap{justify-content:flex-end;}
  body .logo{min-width:0;gap:10px;}
  body .logo .mark{width:42px;height:42px;}
  body .logo .name{font-size:1.1rem;}
  body header.site .wrap{padding:0 16px;}
}

/* Bellardo-style header: one calm navigation line with compact controls. */
body .topbar{display:none;}
body header.site{top:0;width:100%;margin:0;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(24,23,19,.1);backdrop-filter:blur(12px);}
body header.site .wrap{max-width:1280px;min-height:82px;margin:0 auto;padding:0 30px;}
body .logo{min-width:190px;gap:12px;}
body .logo .mark{width:40px;height:40px;}
body .logo .name{font-family:var(--sans);font-size:1.16rem;font-weight:700;letter-spacing:-.025em;}
body .logo .sub{font-size:.49rem;letter-spacing:.08em;margin-top:4px;}
body nav.main{gap:clamp(18px,2.3vw,40px);}
body nav.main a{padding:31px 0 29px;font-family:var(--sans);font-size:.8rem;font-weight:500;letter-spacing:0;text-transform:none;}
body nav.main a::after,body nav.main a.active::after{display:none;}
body nav.main a:hover{color:#981f2b;text-decoration:underline;text-underline-offset:5px;}
body nav.main a.active{background:transparent !important;color:#981f2b;text-decoration:underline;text-underline-offset:5px;}
body .nav-cta{min-width:auto;gap:20px;}
body .nav-cta .btn{min-height:auto;padding:0;background:transparent;border:0;color:#181713;font-family:var(--sans);font-size:.77rem;font-weight:500;letter-spacing:0;text-transform:none;white-space:nowrap;}
body .nav-cta .btn-line{border:0;color:#756055;}
body .nav-cta .btn-line::before,body .nav-cta .btn-primary::before{content:none;}
body .nav-cta .btn-primary{border:0;color:#181713;}
body .nav-cta .btn-line{padding-right:20px;border-right:1px solid #d8d2c8;}
body .nav-cta .btn-primary:hover,body .nav-cta .btn-line:hover{background:transparent;color:#981f2b;}

/* Guarantee text must remain readable on the dark panel. */
body .guarantee-ticket .g-intro h2,
body .guarantee-ticket .g-intro p{color:#f2efe9;opacity:1;}
body .guarantee-ticket .g-checklist li{background:#fffaf3;border:1px solid #d8d2c8;}
body .guarantee-ticket .g-checklist strong{color:#181713;}
body .guarantee-ticket .g-checklist span{color:#4c4943;opacity:1;}
body .guarantee-ticket .g-checklist li::before{background:#981f2b;border-color:#981f2b;color:#fff;}

html,body{overflow-x:clip;}

/* Advantages use light cards, so they need dark text rather than inherited dark-panel colors. */
body .advantages .adv-item{background:#fffaf3;border-color:#d8d2c8;}
body .advantages .adv-item .num{color:#981f2b;}
body .advantages .adv-item h4{color:#181713;}
body .advantages .adv-item p{color:#4c4943;opacity:1;}
body .advantages > .wrap > .eyebrow{color:#f0cfaa;}
body .advantages > .wrap > h2{color:#fffaf3;}

/* Keep the distance-learning benefits readable over the dark format panel. */
body .formats .format-benefit .ic{
  background:#981f2b;
  border-color:#f0cfaa;
  color:#fffaf3;
  font-weight:700;
}

@media (prefers-reduced-motion:no-preference){
  body .hero::after,
  body .page-header::after{
    animation:hero-orbit 16s ease-in-out infinite alternate;
  }

  body .direction-card::before{
    animation:card-glow 7s ease-in-out infinite alternate;
  }

  body .btn-primary{
    position:relative;
    overflow:hidden;
    isolation:isolate;
  }

  body .btn-primary::after{
    content:'';
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:linear-gradient(115deg, transparent 28%, rgba(255,255,255,.3) 50%, transparent 72%);
    transform:translateX(-130%);
    transition:transform .6s ease;
  }

  body .btn-primary:hover::after,
  body .btn-primary:focus-visible::after{
    transform:translateX(130%);
  }

  html.reveal-enabled .motion-reveal{
    opacity:0;
    transform:translateY(28px);
    transition:
      opacity .72s ease calc(var(--motion-index) * 70ms),
      transform .72s cubic-bezier(.22,1,.36,1) calc(var(--motion-index) * 70ms);
  }

  html.reveal-enabled .motion-reveal.is-inview{
    opacity:1;
    transform:none;
  }
}

/* Keep the application widget available in the compact mobile header. */
@media (max-width:920px){
  body .nav-cta .application-widget{display:block;position:static;}
  body .nav-cta .application-widget .application-widget-toggle{
    display:inline-flex!important;
    min-height:38px;
    padding:8px 10px;
    font-size:.6rem;
  }
  body .nav-cta .application-widget-menu{
    top:70px;
    right:10px;
    left:10px;
    width:auto;
  }
}

@keyframes hero-orbit{
  from{transform:translate3d(0,0,0) scale(1) rotate(0deg);}
  to{transform:translate3d(-4vw,-2vw,0) scale(1.08) rotate(12deg);}
}

@keyframes card-glow{
  from{transform:translate3d(0,0,0) scale(.95);}
  to{transform:translate3d(20px,14px,0) scale(1.08);}
}

/* Keep inherited legacy colors from reducing contrast in dark information panels. */
body .page-header h1,
body .page-header p,
body .page-header .eyebrow{color:#f2efe9;}
body .page-header .eyebrow{color:#c8c1b7;}
body .package-offer h2,
body .installment-card h2,
body .contacts-cta h2,
body .format-hero h2,
body .format-hero h3{color:#f2efe9;}
body .package-offer p,
body .package-offer li,
body .installment-card p,
body .installment-card li,
body .contacts-cta p,
body .contacts-cta li,
body .format-hero p,
body .format-hero li{color:#e2ddd4;opacity:1;}
body .package-offer .eyebrow,
body .installment-card .eyebrow,
body .contacts-cta .eyebrow,
body .format-hero .eyebrow{color:#c8c1b7;}
body .cabinet-mock .bar,
body .cabinet-mock .bar .label{color:#181713;}

/* Home hero image keeps the learning context visible without competing with the copy. */
body.home-page .hero{
  background-color:#171713 !important;
  background-image:linear-gradient(180deg,rgba(23,23,19,0) 0%,rgba(23,23,19,0) 77%,#e8e3dc 100%),linear-gradient(90deg,rgba(23,23,19,.98) 0%,rgba(23,23,19,.94) 40%,rgba(23,23,19,.34) 67%,rgba(23,23,19,.08) 100%),url('assets/hero-training-render.webp') !important;
  background-position:center;
  background-size:cover;
}
body.home-page .hero .wrap{grid-template-columns:minmax(0,720px) 1fr;}
body.home-page .hero-cabinet-wrap{display:none;}
body.home-page .hero{padding:clamp(38px,4vw,62px) 0 42px;}
body.home-page .hero{min-height:calc(100svh - 83px);}
body.home-page .hero h1{max-width:18ch;font-size:clamp(2.5rem,3.6vw,3.7rem);}
body.home-page .hero .lead{font-size:.94rem;}
body.home-page .hero .audience-list{margin-top:16px !important;}
body.home-page .hero .cta-row{margin-top:18px !important;}
body.home-page .hero .trust-row{margin-top:14px;}
body.home-page .hero .trust-row span{
  background:#2e2923;
  border:1px solid rgba(242,239,233,.3);
  color:#f2efe9;
  opacity:1;
}
body.home-page .hero .trust-row .dot{background:#c8c1b7;}
body.home-page .stats{margin-top:0;}

/* Keep the hero assurances in one compact strip instead of separate floating pills. */
@media (min-width:1180px){
  body.home-page .hero .trust-row{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    width:100%;
    margin-top:16px;
    overflow:hidden;
    background:rgba(46,41,35,.88);
    border:1px solid rgba(242,239,233,.28);
  }

  body.home-page .hero .trust-row span{
    min-width:0;
    padding:10px 12px;
    border:0;
    border-left:1px solid rgba(242,239,233,.22);
    border-radius:0;
    background:transparent;
    color:#f2efe9;
    font-size:.64rem;
    line-height:1.35;
  }

  body.home-page .hero .trust-row span:first-child{border-left:0;}
}

/* Separate the key figures into an independent, easy-to-scan statistics band. */
body .stats{
  margin:0;
  padding:clamp(30px,4vw,54px) 0;
  background:#fffaf3;
  border:0;
}

body .stats .wrap{
  display:block;
  padding:0 24px;
  background:transparent;
  box-shadow:none;
}

body .stats-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
  margin:0 0 15px;
}

body .stats-head span{
  color:#981f2b;
  font-family:var(--mono);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

body .stats-head p{
  margin:0;
  color:#635f57;
  font-size:.86rem;
}

body .stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  padding:1px;
  background:#bdb4a8;
  box-shadow:0 16px 38px -30px rgba(46,41,35,.55);
}

body .stats-grid--three{grid-template-columns:repeat(3,minmax(0,1fr));}

body .stat{
  min-height:144px;
  padding:26px 20px 22px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  background:#fffaf3;
  border:0;
  border-radius:0;
  box-shadow:none;
}

@media (prefers-reduced-motion:no-preference){
  .reveal-enabled .stats-grid .stat{
    opacity:0;
    transform:translateY(20px);
    transition:
      opacity .55s ease,
      transform .55s cubic-bezier(.22,1,.36,1),
      background-color .25s ease;
  }
  .reveal-enabled .stats-grid.is-inview .stat{
    opacity:1;
    transform:translateY(0);
  }
  .reveal-enabled .stats-grid.is-inview .stat:nth-child(2){transition-delay:.12s;}
  .reveal-enabled .stats-grid.is-inview .stat:nth-child(3){transition-delay:.24s;}
  .reveal-enabled .stats-grid.is-inview .stat:nth-child(4){transition-delay:.36s;}
  .reveal-enabled .stats-grid.is-inview .stat b{
    animation:stat-number-settle .65s cubic-bezier(.22,1,.36,1) both;
  }
  .reveal-enabled .stats-grid.is-inview .stat:nth-child(2) b{animation-delay:.12s;}
  .reveal-enabled .stats-grid.is-inview .stat:nth-child(3) b{animation-delay:.24s;}
  .reveal-enabled .stats-grid.is-inview .stat:nth-child(4) b{animation-delay:.36s;}
}

@keyframes stat-number-settle{
  0%{opacity:0;transform:translateY(12px) scale(.9);}
  100%{opacity:1;transform:translateY(0) scale(1);}
}

body .stat::before{display:none;}

body .stat b{
  display:block;
  color:#981f2b;
  font-size:clamp(2.15rem,3.6vw,3.45rem);
  line-height:.9;
  letter-spacing:-.06em;
}

body .stat span{
  display:block;
  max-width:18ch;
  color:#3f3c36;
  font-family:var(--sans);
  font-size:.8rem;
  font-weight:700;
  line-height:1.35;
  letter-spacing:.01em;
  text-transform:none;
}

@media (max-width:900px){
  body .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body .stat{min-height:128px;}
}

@media (max-width:480px){
  body .stats{padding:24px 0;}
  body .stats .wrap{padding:0 16px;}
  body .stats-head{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:12px;}
  body .stats-head p{font-size:.78rem;}
  body .stats-grid{gap:1px;}
  body .stat{min-height:122px;padding:20px 16px 17px;gap:10px;}
  body .stat b{font-size:clamp(1.9rem,10vw,2.45rem);}
  body .stat span{font-size:.72rem;}
}

/* License scans are available directly from the card, not only on request. */
body .license-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
body .license-card{padding:22px;}
body .license-preview{
  display:block;
  height:190px;
  width:100%;
  padding:0;
  overflow:hidden;
  border:1px solid #d8d2c8;
  background:#f2efe9;
  cursor:zoom-in;
}
body .license-preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  filter:contrast(1.02) saturate(.82);
  transition:transform .35s ease;
}
body .license-preview:hover img{transform:scale(1.035);}
body .license-icon{background:#981f2b;color:#fff;}
body .license-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

/* The official Yandex widget keeps reviews current without duplicating them in the site. */
body .reviews-section .reviews-head{margin-bottom:20px;}
body .reviews-section .reviews-head h2{margin:.18em 0 0;}
body .reviews-link{
  color:#981f2b;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:5px;
}
body .reviews-widget-frame{
  position:relative;
  min-height:440px;
  overflow:hidden;
  border:1px solid #d8d2c8;
  border-radius:0;
  background:#fffaf3;
  box-shadow:none;
}
body .reviews-widget-frame iframe{display:block;width:100%;min-height:440px;border:0;}

@media (max-width:760px){
  body .reviews-widget-frame,
  body .reviews-widget-frame iframe{min-height:360px;}
  body .reviews-link{font-size:.93rem;}
}

/* Contact map pairs a clear office address with a responsive route preview. */
body .contact-map{
  display:grid;
  grid-template-columns:minmax(250px,.78fr) minmax(0,1.22fr);
  margin-top:22px;
  border:1px solid #d8d2c8;
  background:#fffaf3;
}
body .contact-map-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:16px;
  padding:clamp(28px,4vw,56px);
  background:#2e2923;
}
body .contact-map-copy .eyebrow{color:#c8c1b7;}
body .contact-map-copy h3{margin:0;color:#f2efe9;font-size:clamp(1.5rem,2.4vw,2.35rem);line-height:1.05;}
body .contact-map-copy p{margin:0;color:#e2ddd4;line-height:1.6;}
body .contact-map-copy .btn{margin-top:8px;background:#981f2b;color:#fff;}
body .contact-map iframe{display:block;width:100%;min-height:360px;border:0;filter:grayscale(.35) sepia(.08);}

@media (max-width:760px){
  body .contact-map{grid-template-columns:1fr;}
  body .contact-map iframe{min-height:300px;}
}

body .license-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(23,23,19,.88);
  cursor:zoom-out;
}
body .license-modal.show{display:flex;}
body .license-modal img{
  display:block;
  max-width:min(760px,92vw);
  max-height:88vh;
  border:1px solid rgba(242,239,233,.5);
  box-shadow:0 28px 80px rgba(0,0,0,.52);
  cursor:default;
}
body .license-modal-close{
  position:fixed;
  top:20px;
  right:24px;
  width:46px;
  height:46px;
  border:1px solid rgba(242,239,233,.5);
  border-radius:50%;
  background:#2e2923;
  color:#f2efe9;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
body .license-modal-close:hover{background:#981f2b;}

@media (max-width:1020px){body .license-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px){body .license-grid{grid-template-columns:1fr;}body .license-preview{height:220px;}}

/* Editorial footer: a generous contact prompt followed by clear navigation. */
body footer{
  position:relative;
  overflow:hidden;
  background:#181713 !important;
  color:#c8c1b7;
  padding:clamp(58px,7vw,104px) 0 22px;
}
body footer::after{
  content:'';
  position:absolute;
  right:-12vw;
  bottom:-24vw;
  width:44vw;
  height:44vw;
  border:1px solid rgba(242,239,233,.14);
  border-radius:50%;
  pointer-events:none;
}
body footer .foot-grid{
  position:relative;
  z-index:1;
  grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(140px,.7fr));
  gap:28px clamp(24px,4vw,72px);
}
body footer .footer-contact-cta{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(290px,410px);
  align-items:end;
  gap:clamp(28px,6vw,90px);
  margin-bottom:clamp(34px,5vw,62px);
  padding-bottom:clamp(30px,4vw,50px);
  border-bottom:1px solid rgba(242,239,233,.23);
}
body footer .footer-contact-copy > span{
  display:block;
  margin-bottom:14px;
  color:#d6ad69;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
body footer .footer-contact-copy h2{
  margin:0;
  color:#f2efe9;
  font-family:var(--sans);
  font-size:clamp(2.2rem,5vw,4.75rem);
  font-weight:700;
  letter-spacing:-.06em;
  line-height:.92;
}
body footer .footer-contact-copy p{
  max-width:650px;
  margin:20px 0 0;
  font-size:clamp(.94rem,1.2vw,1.08rem);
}
body footer .footer-contact-phone{
  display:grid;
  gap:4px;
  padding:20px 22px 19px;
  border:1px solid rgba(242,239,233,.24);
  border-radius:16px;
  background:rgba(242,239,233,.08);
  color:#f2efe9;
  text-decoration:none;
  transition:background .25s ease,border-color .25s ease,transform .25s ease;
}
body footer .footer-contact-phone > span{
  color:#d6ad69;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body footer .footer-contact-phone strong{
  margin-top:4px;
  font-family:var(--sans);
  font-size:clamp(1.35rem,2.2vw,1.8rem);
  line-height:1.15;
  letter-spacing:-.035em;
}
body footer .footer-contact-phone small{
  margin-top:4px;
  color:#aaa49b;
  font-size:.76rem;
}
body footer .footer-contact-phone:hover{
  border-color:rgba(214,173,105,.75);
  background:rgba(214,173,105,.12);
  color:#fff;
  text-decoration:none;
  transform:translateY(-3px);
}
body footer h5{
  margin:0 0 16px;
  color:#f2efe9;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body footer .foot-grid > :first-child h5{font-size:1.1rem;letter-spacing:-.03em;text-transform:none;}
body footer p{color:#c8c1b7 !important;line-height:1.65;}
body footer ul{gap:11px;}
body footer a{color:#ded9d0;}
body footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px;}
body footer .foot-bottom{
  position:relative;
  z-index:1;
  margin-top:clamp(44px,6vw,84px);
  padding-top:18px;
  border-color:rgba(242,239,233,.22);
  color:#a9a39a;
}
body footer .foot-bottom span:last-child{display:none;}

@media (max-width:760px){
  body footer{padding:52px 0 20px;}
  body footer .footer-contact-cta{grid-template-columns:1fr;align-items:stretch;gap:24px;}
  body footer .footer-contact-copy h2{font-size:clamp(2.35rem,13vw,3.4rem);}
  body footer .footer-contact-phone{width:100%;}
  body footer .foot-grid{grid-template-columns:1fr 1fr;gap:30px 20px;}
  body footer .foot-grid > :first-child{grid-column:1 / -1;}
  body footer .foot-bottom{margin-top:44px;}
}

@media (max-width:430px){
  body footer .foot-grid{grid-template-columns:1fr;}
  body footer .foot-grid > :first-child{grid-column:auto;}
}

@media (max-width:1360px){
  body.home-page .hero{padding:32px 0 34px;}
  body.home-page .hero .audience-list,
  body.home-page .hero .trust-row{display:none;}
}

@media (max-width:1020px){
  body.home-page .hero{background-position:64% center;}
  body.home-page .hero .wrap{grid-template-columns:1fr;}
}

@media (max-width:640px){
  body.home-page .hero{
    background-image:linear-gradient(180deg,rgba(23,23,19,0) 0%,rgba(23,23,19,0) 81%,#e8e3dc 100%),linear-gradient(90deg,rgba(23,23,19,.98) 0%,rgba(23,23,19,.93) 74%,rgba(23,23,19,.72) 100%),url('assets/hero-training-render.webp') !important;
    background-position:62% center;
  }
  body.home-page .hero{padding:36px 0 38px;}
  body.home-page .hero h1{font-size:clamp(2.1rem,9vw,2.65rem);}
  body.home-page .hero .audience-list{display:none;}
}

@media (max-width:920px){
  body.home-page .hero{min-height:calc(100svh - 70px);}
  body header.site .wrap{min-height:70px;padding:0 20px;}
  body nav.main{top:70px;background:rgba(24,23,19,.97);padding:22px 20px 28px;}
  body nav.main a{padding:12px 0;color:#fff;font-family:var(--sans);font-size:1.05rem;font-weight:500;text-transform:none;}
  body nav.main a.active,body nav.main a:hover{color:#fff;text-decoration-color:#981f2b;}
  body .nav-cta .btn-line,body .nav-cta .btn-primary{display:none;}
  body .burger{width:38px;height:38px;border:0;color:#181713;font-size:1.35rem;}
}

/* Direction-specific photography keeps every course entry visually distinct. */
body.ot-page .hero{
  background:
    linear-gradient(90deg, rgba(23,23,19,.98) 0%, rgba(23,23,19,.92) 43%, rgba(23,23,19,.34) 70%, rgba(23,23,19,.08) 100%),
    url('assets/hero-occupational-safety.webp') center / cover no-repeat !important;
}

body.pb-page .hero{
  background:
    linear-gradient(90deg, rgba(23,23,19,.98) 0%, rgba(23,23,19,.92) 43%, rgba(23,23,19,.34) 70%, rgba(23,23,19,.08) 100%),
    url('assets/hero-fire-safety.webp') center / cover no-repeat !important;
}

body.trades-page .page-header,
body:not(.home-page):not(.ot-page):not(.pb-page) .hero{
  background:
    linear-gradient(90deg, rgba(23,23,19,.98) 0%, rgba(23,23,19,.92) 43%, rgba(23,23,19,.34) 70%, rgba(23,23,19,.08) 100%),
    url('assets/hero-working-professions.webp') center / cover no-repeat !important;
}

body.trades-page .hero .eyebrow,
body.trades-page .hero .audience-list li::before{color:#c8c1b7;}

body.trades-page .hero h1,
body.trades-page .hero .lead,
body.trades-page .hero .audience-list li,
body.trades-page .hero .trust-row span{color:#f2efe9;}

body.trades-page .hero .hero-proof-card{
  background:rgba(23,23,19,.58);
  border-color:rgba(242,239,233,.25);
}

@media (min-width:1180px) and (max-width:1360px){
  body.home-page .hero .trust-row{display:grid;}
}

body.trades-page .hero .hero-proof-card strong{color:#fff;}
body.trades-page .hero .hero-proof-card span{color:#e2ddd4;}

body.trades-page .hero .wrap > :first-child{animation:none;}

/* Course previews use a dark panel so learning progress remains readable. */
body.course-page .cabinet-mock .body{
  background:#17313a;
}

body.course-page .cabinet-mock .cab-title{
  color:#c7d9da;
}

body.course-page .cabinet-mock .row > span:first-child{
  color:#f4f7f3;
}

body.course-page .cabinet-mock .row{
  border-bottom-color:rgba(255,255,255,.14);
}

/* Course pages no longer show an illustrative portal card in the hero. */
body.course-page .hero .wrap{grid-template-columns:minmax(0,1fr);}
body.course-page .hero .wrap > :first-child{max-width:860px;}

/* A compact, editorial advantage grid instead of full-width stretched cards. */
body.home-page .advantages{
  padding:clamp(48px,6vw,86px) 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(152,31,43,.2), transparent 62%),
    #2e2923;
}

body.home-page .advantages .wrap{
  max-width:1200px;
}

body.home-page .advantages .eyebrow{color:#d8b7a6;}

body.home-page .advantages h2{
  max-width:20ch;
  margin-bottom:32px !important;
  color:#fffaf3;
}

body.home-page .adv-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  background:transparent;
  border:0;
}

body.home-page .adv-item{
  min-height:214px;
  padding:22px 22px 20px;
  border:1px solid rgba(255,250,243,.16);
  border-radius:0;
  background:rgba(255,250,243,.055);
  box-shadow:none;
  transition:transform .28s ease, background-color .28s ease, border-color .28s ease;
}

body.home-page .adv-item:hover{
  transform:translateY(-5px);
  background:rgba(255,250,243,.1);
  border-color:rgba(255,250,243,.42);
}

body.home-page .adv-item .num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:24px;
  margin-bottom:16px;
  color:#fffaf3;
  background:#981f2b;
  font-size:.67rem;
  letter-spacing:.08em;
}

body.home-page .adv-item h4{
  margin:0 0 9px;
  color:#fffaf3;
  font-size:1.03rem;
  line-height:1.2;
}

body.home-page .adv-item p{
  margin:0;
  color:#ded7ce;
  font-size:.84rem;
  line-height:1.55;
}

@media (prefers-reduced-motion:no-preference){
  .reveal-enabled body.home-page .adv-grid.is-inview .adv-item{
    animation:adv-card-reveal .58s cubic-bezier(.22,1,.36,1) both;
  }
  .reveal-enabled body.home-page .adv-grid.is-inview .adv-item:nth-child(2){animation-delay:.07s;}
  .reveal-enabled body.home-page .adv-grid.is-inview .adv-item:nth-child(3){animation-delay:.14s;}
  .reveal-enabled body.home-page .adv-grid.is-inview .adv-item:nth-child(4){animation-delay:.21s;}
  .reveal-enabled body.home-page .adv-grid.is-inview .adv-item:nth-child(5){animation-delay:.28s;}
  .reveal-enabled body.home-page .adv-grid.is-inview .adv-item:nth-child(6){animation-delay:.35s;}
}

@keyframes adv-card-reveal{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}

@media (max-width:960px){
  body.home-page .adv-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}

@media (max-width:600px){
  body.home-page .adv-grid{grid-template-columns:1fr;}
  body.home-page .adv-item{min-height:0;}
}

/* Application widget in the site header. */
.application-widget{position:relative;}
.application-widget-toggle{white-space:nowrap;}
.application-widget-toggle span{display:inline-block;transition:transform .2s ease;}
.application-widget-toggle span[aria-hidden="true"]{margin-left:7px;}
/* Only the chevron should turn when the menu opens, never the button label. */
.application-widget.open .application-widget-toggle span[aria-hidden="true"]{transform:rotate(180deg);}
.application-widget-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:700;
  display:none;
  width:270px;
  padding:6px;
  border:1px solid #d8d2c8;
  background:#fffaf3;
  box-shadow:0 18px 40px -22px rgba(23,23,19,.6);
}
.application-widget.open .application-widget-menu{display:grid;}
.application-widget-menu a,.application-widget-menu button{
  display:block;
  width:100%;
  padding:12px 13px;
  border:0;
  background:transparent;
  color:#181713;
  font:700 .75rem/1.25 var(--sans);
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.application-widget-menu a:hover,.application-widget-menu button:hover{background:#f0e9df;color:#981f2b;}
.application-widget-menu small{display:block;margin-top:4px;color:#756055;font:400 .69rem/1.35 var(--sans);}

.application-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:none;
  align-items:flex-start;
  justify-content:center;
  overflow:auto;
  padding:36px 18px;
  background:rgba(23,23,19,.66);
}
.application-modal.open{display:flex;}
.application-dialog{width:min(760px,100%);margin:auto;background:#fffaf3;box-shadow:0 30px 80px rgba(0,0,0,.36);}
.application-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 20px;border-bottom:1px solid #d8d2c8;}
.application-dialog-head span{color:#981f2b;font:700 .65rem/1 var(--mono);letter-spacing:.11em;text-transform:uppercase;}
.application-dialog-head h2{margin:8px 0 0;font-size:1.55rem;}
.application-close{border:0;background:transparent;color:#756055;font-size:2rem;line-height:1;cursor:pointer;}
.application-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:24px 26px 26px;}
.application-field{display:grid;gap:6px;color:#4a443e;font:700 .7rem/1.3 var(--sans);}
.application-field--full{grid-column:1 / -1;}
.application-field input,.application-worker input{width:100%;min-width:0;padding:10px 11px;border:1px solid #d8d2c8;border-radius:0;background:#fff;color:#181713;font:400 .88rem/1.2 var(--sans);}
.application-field input:focus,.application-worker input:focus{outline:2px solid #981f2b;outline-offset:1px;}
.application-workers{border-top:1px solid #d8d2c8;padding-top:16px;}
.application-workers-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;color:#181713;font:700 .8rem/1.2 var(--sans);}
.application-add-worker{border:0;background:transparent;color:#981f2b;font:700 .72rem var(--sans);cursor:pointer;}
.application-worker{display:grid;grid-template-columns:1.4fr .8fr 1fr 1fr 1.2fr 32px;gap:8px;margin-top:8px;}
.application-worker button{border:1px solid #d8d2c8;background:#fff;color:#981f2b;font-size:1.2rem;cursor:pointer;}
.application-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:18px;border-top:1px solid #d8d2c8;}
.application-form-actions button{padding:11px 16px;border:1px solid #181713;background:#fffaf3;color:#181713;font:700 .75rem var(--sans);cursor:pointer;}
.application-form-actions .application-print{background:#981f2b;border-color:#981f2b;color:#fff;}

#applicationPrintArea{display:none;}
@media (max-width:760px){
  .application-widget-menu{position:fixed;top:76px;right:14px;left:14px;width:auto;}
  .application-form{grid-template-columns:1fr;padding:20px;}
  .application-dialog-head{padding:20px;}
  .application-field--full{grid-column:auto;}
  .application-worker{grid-template-columns:1fr 1fr 30px;}
}
@media print{
  @page{size:A4 portrait;margin:14mm 16mm;}
  html,body{width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;}
  body > *:not(#applicationPrintArea){display:none!important;}
  #applicationPrintArea{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;color:#000;background:#fff;font:11px/1.3 Georgia,serif;}
  #applicationPrintArea p{margin:5px 0;}
  #applicationPrintArea .application-print-to{margin-left:51%;line-height:1.22;}
  #applicationPrintArea h1{margin:8px 0 9px;text-align:center;font-size:15px;line-height:1.13;text-transform:uppercase;}
  #applicationPrintArea h1 small{font-size:10px;}
  #applicationPrintArea table{width:100%;table-layout:fixed;border-collapse:collapse;margin:10px 0;}
  #applicationPrintArea th,#applicationPrintArea td{border:1px solid #000;padding:4px;text-align:left;font-size:8.5px;line-height:1.12;overflow-wrap:anywhere;}
  .application-print-signature{margin-top:20px!important;}
}

/* Five training steps stay balanced at every viewport width. */
@media (min-width:1160px){
  body.course-page .process-track{
    grid-template-columns:repeat(5, minmax(0, 1fr));
  }
}

@media (min-width:720px) and (max-width:1159px){
  body.course-page .process-track{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (min-width:521px) and (max-width:719px){
  body.course-page .process-track{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:760px){
  body.ot-page .hero,
  body.pb-page .hero,
  body.trades-page .page-header,
  body:not(.home-page):not(.ot-page):not(.pb-page) .hero{
    background-position:67% center !important;
  }
}

body.contacts-page .page-header{
  background:
    linear-gradient(90deg, rgba(23,23,19,.98) 0%, rgba(23,23,19,.92) 43%, rgba(23,23,19,.34) 70%, rgba(23,23,19,.08) 100%),
    url('assets/hero-contacts.webp') center / cover no-repeat !important;
}

body.portal-page .page-header{
  background:
    linear-gradient(90deg, rgba(23,23,19,.98) 0%, rgba(23,23,19,.92) 43%, rgba(23,23,19,.34) 70%, rgba(23,23,19,.08) 100%),
    url('assets/hero-learning-portal.webp') center / cover no-repeat !important;
}

@media (max-width:760px){
  body.contacts-page .page-header,
  body.portal-page .page-header{
    background-position:67% center !important;
  }
}

/* Keep the mobile menu anchored to the viewport; locking body breaks sticky headers on iOS. */
@media (max-width:920px){
  body{padding-top:70px;}
  body.menu-open{overflow:visible;}
  body header.site{
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:500;
  }
  body nav.main{
    position:fixed;
    top:70px;
    left:0;
    right:0;
    bottom:auto;
    max-height:calc(100dvh - 70px);
    z-index:501;
  }
}

/* The portal link is hidden in the compact header, so keep it in its menu. */
body nav.main .mobile-portal-link{display:none;}
@media (max-width:1100px){
  body nav.main .mobile-portal-link{
    display:flex;
    align-items:center;
    color:#fff;
    background:transparent;
    border:0;
    font-weight:500;
  }
}
@media (max-width:760px){
  body nav.main .mobile-portal-link{color:#fff;}
  body nav.main .mobile-portal-link::after{display:block;}
}

/* Mobile header must never become wider than the viewport. */
@media (max-width:480px){
  body header.site .wrap{gap:8px;padding-right:16px;padding-left:16px;}
  body .logo{flex:1 1 0;min-width:0;}
  body .logo > span{min-width:0;}
  body .logo .sub{display:none;}
  body .nav-cta{flex:0 0 auto;gap:8px;}
}
@media (max-width:360px){
  body .application-widget-toggle .application-toggle-full{display:none;}
}

/* Contain decorative header shapes so they cannot widen legal and portal pages. */
body .page-header{position:relative;overflow:hidden;isolation:isolate;}

/* One deterministic mobile header across home, legal, catalog and course pages. */
@media (max-width:920px){
  body header.site{height:71px;min-height:71px;}
  body header.site .wrap{height:70px;min-height:70px;}
  body nav.main{top:70px;}
}

/* The detailed academy crest needs a little more space than the former icon. */
body .logo .mark{width:54px;height:54px;}
@media (max-width:920px){
  body .logo .mark{width:48px;height:48px;}
}

/* Occupational-safety hero no longer uses the illustrative learning-portal card. */
body.ot-page .hero .wrap,
body.pb-page .hero .wrap{grid-template-columns:minmax(0,1fr);}
body.ot-page .hero .wrap > :first-child,
body.pb-page .hero .wrap > :first-child{max-width:860px;}
body.pb-page .format-hero{grid-template-columns:minmax(0,1fr);}
body.pb-page .format-hero > :first-child{max-width:860px;}
body.ot-page .format-hero{grid-template-columns:minmax(0,1fr);}
body.ot-page .format-hero > :first-child{max-width:860px;}
body.course-page .format-hero{grid-template-columns:minmax(0,1fr);}
body.course-page .format-hero > :first-child{max-width:860px;}
body.course-page .formats{
  background:
    linear-gradient(90deg,rgba(18,17,15,.97) 0%,rgba(18,17,15,.92) 45%,rgba(18,17,15,.48) 74%,rgba(18,17,15,.2) 100%),
    url('assets/trades-training-format.jpg') center / cover no-repeat;
}
body.ot-page .formats{
  background:
    linear-gradient(90deg,rgba(18,17,15,.97) 0%,rgba(18,17,15,.92) 45%,rgba(18,17,15,.48) 74%,rgba(18,17,15,.2) 100%),
    url('assets/occupational-safety-distance-learning.jpg') center / cover no-repeat;
}
body.ot-page .formats .format-note{border-left:2px solid #c7464d;padding-left:18px;}
body.ot-page .formats .format-note .fn-tag{color:#f2b55b;}
body.ot-page .formats .format-note p{color:#e2ebe5;}
body.pb-page .formats{
  background:
    linear-gradient(90deg,rgba(18,17,15,.97) 0%,rgba(18,17,15,.92) 45%,rgba(18,17,15,.48) 74%,rgba(18,17,15,.2) 100%),
    url('assets/fire-safety-distance-learning.jpg') center / cover no-repeat;
}

/* Header application button: clear wording and a visible primary action. */
body .nav-cta .application-widget-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border:1px solid #981f2b;
  border-radius:999px;
  background:#981f2b;
  color:#fffaf3;
  font-weight:700;
  box-shadow:0 8px 20px -13px rgba(152,31,43,.9);
}
body .nav-cta .application-widget-toggle:hover,
body .application-widget.open .application-widget-toggle{background:#7c1823;color:#fff;}

/* Keep the compact header focused on navigation; applications stay available in page content. */
@media (max-width:920px){
  body .nav-cta .application-widget{display:none!important;}
}

/* Let the reviews provider render its own layout without a second visible card around it. */
body .reviews-widget-frame{
  display:block;
  min-height:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body .reviews-widget-frame .sw-app{width:100%;}
body .reviews-widget-frame{max-width:100%;overflow:hidden;}
body .reviews-widget-frame .sw-app{max-width:100%;overflow:hidden;}

/* Keep the academy name secondary, but clearly readable in the compact logo lockup. */
body .logo .sub{color:#981f2b;font-weight:700;letter-spacing:.14em;}
@media (max-width:760px){
  body.course-page .formats{
    background:
      linear-gradient(180deg,rgba(18,17,15,.96) 0%,rgba(18,17,15,.9) 68%,rgba(18,17,15,.74) 100%),
      url('assets/trades-training-format.jpg') 68% center / cover no-repeat;
  }
  body.ot-page .formats{
    background:
      linear-gradient(180deg,rgba(18,17,15,.96) 0%,rgba(18,17,15,.9) 68%,rgba(18,17,15,.74) 100%),
      url('assets/occupational-safety-distance-learning.jpg') 68% center / cover no-repeat;
  }
  body.pb-page .formats{
    background:
      linear-gradient(180deg,rgba(18,17,15,.96) 0%,rgba(18,17,15,.9) 68%,rgba(18,17,15,.74) 100%),
      url('assets/fire-safety-distance-learning.jpg') 68% center / cover no-repeat;
  }
}

/* Contact form opened from the occupational-safety hero. */
.lead-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(23,23,19,.66);}
.lead-modal.open{display:flex;}
.lead-dialog{width:min(560px,100%);max-height:calc(100svh - 40px);overflow:auto;background:#fffaf3;box-shadow:0 30px 80px rgba(0,0,0,.36);}
.lead-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 20px;border-bottom:1px solid #d8d2c8;}
.lead-dialog-head span{color:#981f2b;font:700 .65rem/1 var(--mono);letter-spacing:.11em;text-transform:uppercase;}
.lead-dialog-head h2{margin:8px 0 0;font-size:1.55rem;}
.lead-modal-close{border:0;background:transparent;color:#756055;font-size:2rem;line-height:1;cursor:pointer;}
.lead-modal .app-form{margin:0;padding:24px 26px 26px;border:0;border-radius:0;box-shadow:none;}
.lead-modal .field label{display:grid;gap:6px;}
.lead-modal .field input,.lead-modal .field select,.lead-modal .field textarea{background:#fff;}
.lead-modal .consent a{color:inherit;text-decoration:underline;}
.lead-modal .btn{width:100%;justify-content:center;}
.lead-modal-thanks{display:none;margin:14px 0 0;color:#226b50;font-weight:700;}
.lead-modal-thanks.show{display:block;}
.form-submit-error{margin:14px 0 0;color:#a72a30;font-size:.86rem;font-weight:700;line-height:1.4;}
.app-form button[type="submit"]:disabled{cursor:wait;opacity:.7;}
@media (max-width:560px){
  .lead-modal{padding:12px;align-items:flex-end;}
  .lead-dialog{max-height:calc(100svh - 24px);}
  .lead-dialog-head,.lead-modal .app-form{padding-left:20px;padding-right:20px;}
}

/* Compact cookie notice with enough contrast over every page background. */
.cookie-notice{
  position:fixed;
  z-index:1300;
  right:24px;
  bottom:24px;
  display:flex;
  align-items:center;
  gap:18px;
  width:min(560px,calc(100vw - 48px));
  padding:15px 16px 15px 20px;
  border:1px solid rgba(255,250,243,.24);
  border-radius:16px;
  background:#1d1b18;
  color:#fffaf3;
  box-shadow:0 18px 45px rgba(23,19,16,.28);
  animation:cookie-notice-in .35s ease-out both;
}
.cookie-notice p{margin:0;color:#fffaf3;font-size:.9rem;font-weight:500;line-height:1.55;}
.cookie-notice a{color:#ffd17c;font-weight:700;text-decoration:underline;text-underline-offset:2px;}
.cookie-notice-accept{
  flex:0 0 auto;
  border:1px solid #c7464d;
  border-radius:999px;
  padding:10px 16px;
  background:#981f2b;
  color:#fffaf3;
  font:700 .72rem/1 var(--mono);
  letter-spacing:.04em;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}
.cookie-notice-accept:hover{background:#c7464d;transform:translateY(-1px);}
.cookie-notice.is-hidden{animation:cookie-notice-out .22s ease-in both;}
@keyframes cookie-notice-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes cookie-notice-out{to{opacity:0;transform:translateY(10px)}}
@media (max-width:560px){
  .cookie-notice{right:8px;bottom:8px;width:calc(100vw - 16px);align-items:center;gap:10px;padding:10px 10px 10px 12px;border-radius:12px;}
  .cookie-notice p{font-size:.72rem;line-height:1.35;}
  .cookie-notice-accept{padding:9px 11px;font-size:.65rem;}
}

body .prog-title-link{color:inherit;text-decoration:none;}
body .prog-title-link:hover{color:#981f2b;text-decoration:underline;text-underline-offset:4px;}
.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}

.program-catalog-tools--all{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:18px 24px;align-items:end;}
.program-catalog-tools--all .cat-chips,.program-catalog-tools--all .program-catalog-result{grid-column:1 / -1;}
.program-catalog-selects{display:flex;gap:12px;}
.program-catalog-selects label{display:grid;gap:7px;color:#5e554c;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;}
.program-catalog-selects select{min-width:185px;height:48px;padding:0 38px 0 14px;border:1px solid #d8d2c8;border-radius:0;background:#fff;color:#1b1922;font:600 .88rem/1 var(--sans);}
body.education-catalog-page .program-catalog-search input:focus{border-color:#2f866b;}
body.education-catalog-page .program-catalog-selects select:focus-visible{outline:3px solid rgba(47,134,107,.2);outline-offset:2px;border-color:#2f866b;}
.catalog-heading-note{color:#756b61;font-size:.86rem;}
@media (max-width:760px){
  .program-catalog-tools--all{grid-template-columns:1fr;}
  .program-catalog-tools--all .cat-chips,.program-catalog-tools--all .program-catalog-result{grid-column:auto;}
  .program-catalog-selects{display:grid;grid-template-columns:1fr 1fr;}
  .program-catalog-selects select{width:100%;min-width:0;}
}
@media (max-width:480px){.program-catalog-selects{grid-template-columns:1fr;}}

/* Make the academy name easy to read in the compact header. */
body .logo .sub{font-size:.78rem;letter-spacing:.12em;line-height:1.2;}
@media (max-width:760px){
  body .logo .sub{font-size:.66rem;letter-spacing:.1em;}
}

/* Real document samples remain lightweight previews and open the source PDF on demand. */
.doc-card-real{color:inherit;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease;}
.doc-card-real:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(24,23,19,.16);}
.doc-preview{display:flex;align-items:center;justify-content:center;min-height:226px;margin:0;padding:14px;background:#eeeae2;overflow:hidden;}
.doc-preview img{display:block;width:100%;height:100%;max-height:260px;object-fit:cover;object-position:center top;filter:saturate(.94) contrast(1.02);}
.doc-card-real .doc-foot{position:relative;padding-right:42px;}
.doc-card-real .doc-foot::after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);color:#981f2b;font-size:1.3rem;font-weight:700;}
.doc-template-sample{position:relative;display:block;margin:14px 14px 0;overflow:hidden;border:1px solid #d8d2c8;background:#f1eee8;cursor:zoom-in;}
.doc-template-sample img{display:block;width:100%;height:132px;object-fit:cover;object-position:center;}
.doc-template-sample::after{content:'Нажмите, чтобы увеличить';position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:999px;background:rgba(28,25,20,.76);color:#fffdf8;font:700 .58rem/1 var(--mono);letter-spacing:.03em;opacity:0;transition:opacity .2s ease;}
.doc-template-sample:hover::after,.doc-template-sample:focus-visible::after{opacity:1;}
.doc-template-sample:focus-visible{outline:2px solid #981f2b;outline-offset:2px;}
.worker-doc-card .doc-body{display:none;}
.course-page .documents .wrap{max-width:1360px;}
.course-page .documents .doc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.course-page .documents .doc-template-sample img{height:176px;}
@media (max-width:680px){
  .course-page .documents .doc-grid{grid-template-columns:1fr;}
  .course-page .documents .doc-template-sample img{height:148px;}
}
@media (max-width:900px){.doc-preview{min-height:0;padding:12px;}.doc-preview img{max-height:none;}}

.document-viewer{position:fixed;inset:0;z-index:1400;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(20,18,15,.78);}
.document-viewer.open{display:flex;}
.document-viewer-dialog{display:flex;flex-direction:column;width:min(1100px,100%);max-height:calc(100dvh - 48px);background:#fffaf3;box-shadow:0 28px 80px rgba(0,0,0,.42);overflow:hidden;}
.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #d8d2c8;font-weight:700;}
.document-viewer-toolbar > div{display:flex;gap:8px;}
.document-viewer-toolbar button{width:34px;height:34px;border:1px solid #d8d2c8;background:#fff;color:#181713;font-size:1.35rem;line-height:1;cursor:pointer;}
.document-viewer-toolbar button:hover{border-color:#981f2b;color:#981f2b;}
.document-viewer-stage{display:flex;align-items:flex-start;justify-content:center;flex:1;overflow:auto;padding:20px;background:#e8e3dc;}
.document-viewer-stage img{display:block;max-width:100%;height:auto;transform-origin:top center;transition:transform .18s ease;box-shadow:0 12px 28px rgba(0,0,0,.18);}
.document-viewer-stage.template-mode{align-items:flex-start;}
.document-template-grid{display:none;width:min(860px,100%);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.document-viewer-stage.template-mode .document-template-grid{display:grid;}
.document-template-grid .doc-card{min-height:0;box-shadow:0 10px 24px rgba(0,0,0,.16);}
.document-template-grid .doc-body{min-height:0;}
.document-viewer-toolbar button:disabled{opacity:.38;cursor:default;}
@media (max-width:680px){.document-template-grid{grid-template-columns:1fr;}.tier-document-preview::after{opacity:1;transform:none;}}
@media (max-width:560px){.document-viewer{padding:10px;}.document-viewer-dialog{max-height:calc(100dvh - 20px);}.document-viewer-toolbar{padding:10px 12px;}.document-viewer-stage{padding:10px;}}

@media (min-width:921px) and (max-width:1500px){
  body header.site .wrap{padding-right:18px;padding-left:18px;}
  body nav.main{gap:18px;}
  body nav.main a{font-size:.74rem;}
  body .nav-cta{gap:10px;}
  body .nav-phone{display:none;}
}
@media (min-width:921px){
  body header.site .wrap{gap:0;}
  body nav.main{gap:18px;margin:0 10px;}
  body nav.main a{font-size:.74rem;}
  body .nav-cta{gap:10px;}
  body .nav-phone{display:none;}
  body .nav-cta::before{content:'';display:block;flex:0 0 73px;width:73px;height:1px;}
}
@media (max-width:480px){
  body .logo .sub{
    display:block;
    margin-top:2px;
    font-size:.58rem;
    letter-spacing:.08em;
    line-height:1.05;
  }
}

/* Keep the phone reachable in the header without overflowing compact laptops. */
@media (min-width:921px){
  body .nav-phone{display:inline-flex;}
  body .nav-cta::before{display:none;}
}
@media (min-width:1501px){
  body .nav-phone{
    width:auto;
    height:auto;
    border:0;
    border-radius:0;
    background:transparent;
    font-size:.7rem;
  }
  body .nav-phone span{display:inline;}
}

/* Show the phone number itself in the desktop header instead of an icon-only shortcut. */
@media (min-width:921px){
  body .nav-phone{
    width:auto;
    height:auto;
    border:0;
    border-radius:0;
    background:transparent;
    font-size:.68rem;
  }
  body .nav-phone::before{display:none;}
  body .nav-phone span{display:inline;}
}
@media (max-width:920px){
  body .nav-phone{
    display:inline-flex;
    width:auto;
    height:auto;
    border:0;
    border-radius:0;
    background:transparent;
    font-size:.62rem;
  }
  body .nav-phone::before{display:none;}
  body .nav-phone span{display:inline;}
}
@media (max-width:360px){
  body .nav-phone{font-size:.56rem;letter-spacing:-.045em;}
}

/* Type-specific document samples for the new DPO catalogues and course pages. */
.catalog-document-section,
.program-document-section{padding:clamp(68px,8vw,108px) 0;background:#f7f2eb;border-top:1px solid #ddd4c9;}
.program-document-section{background:#eee7de;}
.catalog-document-section>.wrap,
.program-document-section>.wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.78fr);gap:clamp(42px,7vw,96px);align-items:center;}
.catalog-document-copy h2{max-width:17ch;margin:.25em 0 .55em;}
.catalog-document-copy>p{max-width:62ch;color:#655c53;font-size:1.02rem;line-height:1.72;}
.catalog-document-copy ul{display:grid;gap:11px;margin:24px 0 0;padding:0;list-style:none;}
.catalog-document-copy li{position:relative;padding-left:24px;color:#433d37;}
.catalog-document-copy li::before{content:'✓';position:absolute;left:0;color:#981f2b;font-weight:800;}
.program-document-card{width:100%;max-width:540px;justify-self:end;border-radius:0;background:#fff;box-shadow:0 24px 52px -34px rgba(28,24,20,.58);cursor:zoom-in;}
.program-document-card .doc-head{background:#2e2923;}
.program-document-card .doc-preview{min-height:300px;padding:20px;background:#e6e0d8;}
.program-document-card .doc-preview img{height:auto;max-height:420px;object-fit:contain;object-position:center;}
.program-document-card .doc-foot{color:#655c53;background:#fff;border-color:#ddd4c9;}
@media (max-width:820px){
  .catalog-document-section>.wrap,.program-document-section>.wrap{grid-template-columns:1fr;}
  .program-document-card{justify-self:start;max-width:620px;}
}
@media (max-width:560px){
  .program-document-card .doc-preview{min-height:0;padding:12px;}
  .program-document-card .doc-preview img{max-height:none;}
}

/* Keep the mobile header focused on the brand, phone and navigation. */
@media (max-width:920px){
  body .nav-cta .btn-primary{display:none;}
}

/* Portal mobile layout: keep every grid item inside the viewport. */
@media (max-width:760px){
  body.portal-page{
    overflow-x:clip;
  }

  body.portal-page .page-header,
  body.portal-page .portal-preview,
  body.portal-page .process,
  body.portal-page .cta-section,
  body.portal-page footer{
    max-width:100%;
    overflow:hidden;
  }

  body.portal-page .wrap,
  body.portal-page .portal-layout,
  body.portal-page .portal-panel,
  body.portal-page .hero-cabinet-wrap,
  body.portal-page .cabinet-mock,
  body.portal-page .process-track,
  body.portal-page .step,
  body.portal-page .cta-section .wrap,
  body.portal-page .app-form{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  body.portal-page .portal-layout,
  body.portal-page .process-track,
  body.portal-page .cta-section .wrap{
    grid-template-columns:minmax(0, 1fr);
  }

  body.portal-page .portal-panel{
    padding:24px 20px;
    border-radius:22px;
  }

  body.portal-page .page-header h1,
  body.portal-page .portal-panel h2,
  body.portal-page .section-heading,
  body.portal-page .cta-section h2,
  body.portal-page .portal-panel p,
  body.portal-page .portal-points li,
  body.portal-page .cabinet-mock,
  body.portal-page .app-form{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
  }

  body.portal-page .portal-panel .cta-row{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:10px;
  }

  body.portal-page .portal-panel .cta-row .btn,
  body.portal-page .portal-preview-actions a{
    width:100%;
    min-width:0;
    justify-content:center;
    white-space:normal;
    text-align:center;
  }

  body.portal-page .hero-cabinet-wrap{
    justify-self:stretch;
    margin:0;
    padding:8px 0 0;
  }

  body.portal-page .hero-badge{
    position:static;
    width:max-content;
    max-width:100%;
    margin:0 0 12px;
    white-space:normal;
  }

  body.portal-page .cabinet-mock .row{
    grid-template-columns:minmax(0, 1fr);
    gap:8px;
  }

  body.portal-page .cabinet-mock .row-right{
    width:100%;
    min-width:0;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  body.portal-page .app-form{
    padding:22px 18px;
  }

  body.portal-page .app-form input,
  body.portal-page .app-form select,
  body.portal-page .app-form textarea{
    min-width:0;
    max-width:100%;
  }
}

@media (max-width:560px){
  body.portal-page .nav-phone{
    display:none;
  }

  body.portal-page .logo{
    max-width:calc(100% - 56px);
  }
}

/* Rich module layout for every DPO program page. */
.program-detail-page .program-modules-section{
  position:relative;
  overflow:hidden;
  padding:clamp(48px,6vw,72px) 0;
  background:
    linear-gradient(135deg,rgba(152,31,43,.035) 0%,transparent 42%),
    #f7f2eb;
}
.program-detail-page .program-modules-section::before{
  content:'ПРОГРАММА';
  position:absolute;
  top:34px;
  right:-24px;
  color:rgba(40,35,31,.035);
  font:700 clamp(4.5rem,11vw,10rem)/1 var(--mono);
  letter-spacing:.06em;
  pointer-events:none;
}
.program-detail-page .program-modules-section .wrap{
  position:relative;
  z-index:1;
}
.program-detail-page .program-modules-section .catalog-heading{
  align-items:flex-end;
  padding-bottom:16px;
  border-bottom:1px solid rgba(40,35,31,.18);
}
.program-detail-page .program-modules-section .catalog-heading h2{
  max-width:15ch;
  margin:.18em 0 0;
  font-size:clamp(1.8rem,3vw,2.8rem);
  line-height:1.05;
}
.program-detail-page .program-hours-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:78px;
  min-height:42px;
  padding:9px 14px;
  color:#fff;
  background:#981f2b;
  border:1px solid #981f2b;
  box-shadow:6px 6px 0 #d9b670;
  font:700 .8rem var(--mono);
  letter-spacing:.04em;
}
.program-detail-page .program-modules{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:24px;
  border:0;
}
.program-detail-page .program-module{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:18px;
  min-height:138px;
  padding:22px 24px;
  overflow:hidden;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(66,54,45,.16);
  box-shadow:0 18px 40px -34px rgba(39,31,24,.8);
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.program-detail-page .program-module::before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,#981f2b 0%,#c78d3d 100%);
}
.program-detail-page .program-module::after{
  content:'';
  position:absolute;
  z-index:-1;
  right:-58px;
  bottom:-68px;
  width:170px;
  height:170px;
  border:1px solid rgba(152,31,43,.08);
  transform:rotate(34deg);
}
.program-detail-page .program-module:hover{
  transform:translateY(-5px);
  border-color:rgba(152,31,43,.35);
  box-shadow:0 26px 48px -32px rgba(39,31,24,.65);
}
.program-detail-page .program-module>span{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:48px;
  padding-top:8px;
  color:#981f2b;
  border-top:2px solid currentColor;
  border-bottom:1px solid rgba(152,31,43,.22);
  font:700 .92rem var(--mono);
  letter-spacing:.08em;
}
.program-detail-page .program-module strong{
  display:block;
  max-width:25ch;
  color:#28231f;
  font:600 clamp(1.08rem,1.4vw,1.28rem)/1.18 var(--serif);
}
.program-detail-page .program-module p{
  max-width:46ch;
  margin:8px 0 0;
  color:#675e55;
  font-size:.88rem;
  line-height:1.5;
}

@media (max-width:660px){
  .program-detail-page .program-modules-section .catalog-heading{
    align-items:flex-start;
    gap:16px;
  }
  .program-detail-page .program-hours-chip{
    min-width:74px;
    min-height:40px;
    box-shadow:5px 5px 0 #d9b670;
  }
  .program-detail-page .program-modules{
    grid-template-columns:1fr;
    gap:12px;
  }
  .program-detail-page .program-module{
    grid-template-columns:42px minmax(0,1fr);
    gap:14px;
    min-height:0;
    padding:18px 16px;
  }
  .program-detail-page .program-module>span{
    min-height:44px;
    padding-top:7px;
    font-size:.84rem;
  }
  .program-detail-page .program-module strong{
    font-size:1.08rem;
  }
  .program-detail-page .program-module p{
    font-size:.84rem;
    line-height:1.45;
  }
}

/* Keep program advantages aligned with the site's main content column. */
.program-detail-page .program-advantages .adv-grid,
.course-page .advantages .adv-grid{
  width:calc(100% - clamp(36px, 8vw, 64px));
  max-width:1176px;
  margin:0 auto;
  gap:12px;
}
.program-detail-page .program-advantages .adv-item,
.course-page .advantages .adv-item{
  padding:22px 20px;
}
.program-detail-page .program-advantages .adv-item p,
.course-page .advantages .adv-item p{
  font-size:.9rem;
  line-height:1.52;
}

@media (max-width:760px){
  .program-detail-page .program-advantages .adv-grid,
  .course-page .advantages .adv-grid{
    width:calc(100% - 32px);
  }
  .program-detail-page .program-advantages .adv-item,
  .course-page .advantages .adv-item{
    padding:20px 18px;
  }
}

/* Dedicated technosphere conversion page. */
body.technosphere-page .technosphere-hero{padding:clamp(48px,6vw,76px) 0;}
body.technosphere-page .technosphere-hero::before{background:linear-gradient(90deg,rgba(13,23,29,.97) 0%,rgba(20,38,47,.9) 53%,rgba(20,38,47,.6) 100%);}
body.technosphere-page .technosphere-hero .wrap{grid-template-columns:minmax(0,1.2fr) minmax(340px,.62fr);align-items:center;gap:clamp(34px,5vw,74px);}
body.technosphere-page .technosphere-hero h1{max-width:17ch;font-size:clamp(2.3rem,4.2vw,4.35rem);}
.technosphere-facts{display:flex;flex-wrap:wrap;gap:9px;margin:26px 0 0;padding:0;list-style:none;}
.technosphere-facts li{padding:9px 12px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);font-size:.78rem;line-height:1.3;backdrop-filter:blur(6px);}
.technosphere-facts strong{font:700 .82rem var(--mono);}
.technosphere-consultation{padding:clamp(24px,3vw,34px);color:#27231f;background:#fffaf3;box-shadow:0 28px 70px rgba(0,0,0,.28);}
.technosphere-consultation>span{display:block;color:#981f2b;font:700 .7rem var(--mono);letter-spacing:.11em;text-transform:uppercase;}
.technosphere-consultation h2{margin:.35em 0 .7em;color:#211e1a;font-size:clamp(1.55rem,2.2vw,2.15rem);}
.technosphere-consultation .app-form{gap:13px;}
.technosphere-consultation .field label{color:#2e2923;}
.technosphere-consultation .consent{color:#5a5149;font-size:.72rem;}
.technosphere-consultation .btn{width:100%;justify-content:center;}
.technosphere-consultation #thanks{display:none;margin:4px 0 0;color:#32614c;font-weight:700;}
.technosphere-consultation #thanks.show{display:block;}
.technosphere-audience,.technosphere-enrollment,.technosphere-business,.technosphere-trust{padding:clamp(66px,8vw,104px) 0;}
.technosphere-audience{background:#f7f2eb;}
.technosphere-audience h2,.technosphere-enrollment h2,.technosphere-business h2,.technosphere-trust h2{margin:.25em 0 .85em;}
.technosphere-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #d8d0c5;border-left:1px solid #d8d0c5;}
.technosphere-three-grid article{min-height:180px;padding:25px;border-right:1px solid #d8d0c5;border-bottom:1px solid #d8d0c5;background:#fff;}
.technosphere-three-grid b,.technosphere-enrollment-grid span{color:#981f2b;font:700 .75rem var(--mono);}
.technosphere-three-grid p{max-width:34ch;margin:34px 0 0;color:#49423b;font-size:1rem;line-height:1.65;}
body.technosphere-page .technosphere-program{background:#fff;}
.technosphere-table{margin-top:28px;border:1px solid #d4cbc0;background:#fff;}
.technosphere-table>[role="row"]{display:grid;grid-template-columns:72px minmax(0,1fr) 100px;align-items:center;min-height:66px;border-bottom:1px solid #ded6cc;}
.technosphere-table>[role="row"]>*{padding:18px 20px;}
.technosphere-table>[role="row"]>*+*{border-left:1px solid #ded6cc;}
.technosphere-table-head{min-height:48px!important;color:#fff;background:#2e2923;font:700 .7rem var(--mono);letter-spacing:.08em;text-transform:uppercase;}
.technosphere-table>[role="row"]>span{color:#981f2b;font:700 .75rem var(--mono);}
.technosphere-table>[role="row"]>strong{font:600 1.03rem var(--serif);}
.technosphere-table>[role="row"]>b{text-align:right;font:700 .82rem var(--mono);}
.technosphere-table-total{background:#f3eadf;}
.technosphere-table-total strong,.technosphere-table-total b{color:#7f1d28;}
.technosphere-enrollment{padding:clamp(28px,3vw,40px) 0;background:#eee7de;}
.technosphere-enrollment h2{margin-bottom:.4em;}
.technosphere-enrollment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.technosphere-enrollment-grid article{display:grid;grid-template-columns:36px 1fr;gap:14px;padding:16px 18px;background:#fff;border:1px solid #d7cec3;}
.technosphere-enrollment-grid p{margin:0;color:#413b35;line-height:1.65;}
.technosphere-business{color:#fff;background:#2e2923;}
.technosphere-business .wrap{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1fr);gap:clamp(42px,8vw,110px);align-items:center;}
.technosphere-business .eyebrow{color:#e4bd7e;}
.technosphere-business h2{color:#fff;}
.technosphere-business ul{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:1px solid rgba(255,255,255,.2);}
.technosphere-business li{position:relative;padding:18px 10px 18px 32px;border-bottom:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.82);}
.technosphere-business li::before{content:'✓';position:absolute;left:4px;color:#e4bd7e;font-weight:800;}
.technosphere-trust{background:#f7f2eb;}
.technosphere-trust .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);gap:clamp(40px,8vw,110px);align-items:center;}
.technosphere-trust p{color:#5d544c;font-size:1.08rem;}
.technosphere-license{display:grid;grid-template-columns:118px 1fr;align-items:center;gap:20px;padding:16px;color:#2e2923;text-decoration:none;background:#fff;border:1px solid #d8d0c5;box-shadow:0 18px 44px -34px rgba(30,25,20,.8);cursor:zoom-in;}
.technosphere-license img{width:118px;height:148px;object-fit:cover;object-position:top;}
.technosphere-license span{font-weight:700;}
.technosphere-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.technosphere-invoice-modal .lead-dialog{width:min(760px,calc(100% - 32px));}
@media (max-width:980px){
  body.technosphere-page .technosphere-hero .wrap,.technosphere-business .wrap,.technosphere-trust .wrap{grid-template-columns:1fr;}
  .technosphere-consultation{max-width:620px;}
  .technosphere-three-grid{grid-template-columns:1fr;}
  .technosphere-three-grid article{min-height:0;}
  .technosphere-three-grid p{margin-top:20px;}
}
@media (max-width:660px){
  body.technosphere-page .technosphere-hero{padding:44px 0 54px;}
  body.technosphere-page .technosphere-hero h1{font-size:clamp(2rem,10vw,2.65rem);}
  .technosphere-facts{display:grid;grid-template-columns:1fr 1fr;}
  .technosphere-facts li:nth-child(n+4){grid-column:1/-1;}
  .technosphere-consultation{padding:22px 18px;}
  .technosphere-table{border:0;background:transparent;}
  .technosphere-table-head{display:none!important;}
  .technosphere-table>[role="row"]{display:grid;grid-template-columns:1fr;gap:0;margin-bottom:10px;border:1px solid #d8d0c5;background:#fff;}
  .technosphere-table>[role="row"]>*{display:grid;grid-template-columns:82px 1fr;gap:12px;padding:11px 14px;text-align:left!important;}
  .technosphere-table>[role="row"]>*+*{border-left:0;border-top:1px solid #e3dbd1;}
  .technosphere-table>[role="row"]>*::before{content:attr(data-label);color:#7d7268;font:700 .66rem var(--mono);letter-spacing:.05em;text-transform:uppercase;}
  .technosphere-table-total span{display:none!important;}
  .technosphere-table-total strong,.technosphere-table-total b{grid-template-columns:82px 1fr;}
  .technosphere-table-total strong::before{content:'';}
  .technosphere-table-total b::before{content:'Часы';}
  .technosphere-enrollment-grid,.technosphere-form-grid{grid-template-columns:1fr;}
  .technosphere-license{grid-template-columns:90px 1fr;}
  .technosphere-license img{width:90px;height:118px;}
}

/* Keep the primary phone number prominent across every header size. */
@media (min-width:921px){
  body .nav-phone{
    font-size:.84rem;
    font-weight:800;
    letter-spacing:-.015em;
  }
}
@media (max-width:920px){
  body .nav-phone,
  body.portal-page .nav-phone{
    display:inline-flex;
    font-size:.74rem;
    font-weight:800;
    letter-spacing:-.02em;
  }
}
@media (max-width:360px){
  body .nav-phone,
  body.portal-page .nav-phone{
    font-size:.65rem;
    letter-spacing:-.035em;
  }
}

/* Keep the academy contacts visible and readable in the shared header. */
body .header-contacts{
  display:grid;
  flex:0 0 auto;
  gap:3px;
  min-width:max-content;
  line-height:1.1;
}
body .header-contacts .nav-phone{
  font-size:.94rem;
  font-weight:800;
  letter-spacing:-.025em;
}
body .header-contacts .nav-email{
  color:#4f4842;
  font-family:var(--sans);
  font-size:.86rem;
  font-weight:700;
  letter-spacing:-.01em;
  text-decoration:none;
  white-space:nowrap;
}
body .header-contacts .nav-phone:hover,
body .header-contacts .nav-email:hover{color:#981f2b;}

body footer .footer-contact-actions{display:grid;gap:10px;}
body footer .footer-contact-email{
  display:grid;
  gap:4px;
  padding:17px 22px 16px;
  border:1px solid rgba(242,239,233,.2);
  border-radius:16px;
  background:rgba(242,239,233,.045);
  color:#f2efe9;
  text-decoration:none;
  transition:background .25s ease,border-color .25s ease,transform .25s ease;
}
body footer .footer-contact-email > span{
  color:#d6ad69;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body footer .footer-contact-email strong{
  margin-top:3px;
  font-family:var(--sans);
  font-size:clamp(1.1rem,1.7vw,1.42rem);
  line-height:1.15;
  letter-spacing:-.025em;
}
body footer .footer-contact-email small{
  margin-top:3px;
  color:#aaa49b;
  font-size:.76rem;
}
body footer .footer-contact-email:hover{
  border-color:rgba(214,173,105,.75);
  background:rgba(214,173,105,.12);
  color:#fff;
  text-decoration:none;
  transform:translateY(-3px);
}
body footer .footer-company-contacts{
  display:grid;
  gap:7px;
  margin-top:18px;
}
body footer .footer-company-contacts a{
  width:max-content;
  max-width:100%;
  color:#f2efe9;
  font-family:var(--mono);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:-.01em;
  overflow-wrap:anywhere;
}

@media (max-width:1180px) and (min-width:921px){
  body .header-contacts .nav-phone{font-size:.8rem;}
  body .header-contacts .nav-email{font-size:.76rem;}
}
@media (max-width:920px){
  body .header-contacts{gap:2px;}
  body .header-contacts .nav-phone,
  body.portal-page .header-contacts .nav-phone{font-size:.76rem;}
  body .header-contacts .nav-email{font-size:.72rem;}
}
@media (max-width:480px){
  body .header-contacts .nav-phone,
  body.portal-page .header-contacts .nav-phone{font-size:.7rem;}
  body .header-contacts .nav-email{font-size:.67rem;}
}
@media (max-width:360px){
  body .logo .mark{width:38px;height:38px;}
  body .logo{gap:6px;}
  body .logo .name{font-size:.92rem;}
  body .logo .sub{font-size:.5rem;}
  body .header-contacts .nav-phone,
  body.portal-page .header-contacts .nav-phone{font-size:.63rem;letter-spacing:-.04em;}
  body .header-contacts .nav-email{font-size:.61rem;letter-spacing:-.025em;}
}

/* Make the primary navigation as legible as the header contacts. */
@media (min-width:1181px){
  body nav.main{gap:clamp(15px,1.5vw,24px);}
  body nav.main a,
  body nav.main .nav-programs-toggle{font-size:.86rem;font-weight:600;}
}
@media (min-width:921px) and (max-width:1180px){
  body nav.main{gap:12px;margin-right:7px;margin-left:7px;}
  body nav.main a,
  body nav.main .nav-programs-toggle{font-size:.78rem;font-weight:600;}
}
@media (max-width:920px){
  body nav.main a,
  body nav.main .nav-programs-toggle{font-size:.88rem;font-weight:600;}
}

/* One green action system for applications, portal access and service controls. */
:root{
  --action-green:#1d6652;
  --action-green-light:#2f866b;
  --action-green-dark:#174f40;
}
body .btn-primary,
body .nav-cta .application-widget-toggle,
body .contact-map-copy .btn,
.application-form-actions .application-print,
.cookie-notice-accept{
  border-color:var(--action-green);
  background:linear-gradient(135deg,var(--action-green) 0%,var(--action-green-light) 100%);
  color:#fff;
  box-shadow:0 10px 24px -16px rgba(29,102,82,.95);
}
body .btn-primary:hover,
body .btn-primary:focus-visible,
body .nav-cta .application-widget-toggle:hover,
body .application-widget.open .application-widget-toggle,
body .contact-map-copy .btn:hover,
.application-form-actions .application-print:hover,
.cookie-notice-accept:hover{
  border-color:var(--action-green-dark);
  background:linear-gradient(135deg,var(--action-green-dark) 0%,#28765f 100%);
  color:#fff;
}
body .cabinet-mock .portal-preview-actions a{
  border-color:var(--action-green);
  color:var(--action-green);
}
body .cabinet-mock .portal-preview-actions a:first-child{
  border-color:var(--action-green);
  background:linear-gradient(135deg,var(--action-green) 0%,var(--action-green-light) 100%);
  color:#fff;
}
body .cabinet-mock .portal-preview-actions a:hover{
  border-color:var(--action-green-dark);
  background:var(--action-green-dark);
  color:#fff;
}
body.portal-page .portal-panel .btn-line{
  border-color:var(--action-green);
  color:var(--action-green);
}
body.portal-page .portal-panel .btn-line:hover{
  border-color:var(--action-green);
  background:var(--action-green);
  color:#fff;
}

/* Three-step application quiz shared by programme and order buttons. */
.lead-quiz-modal .lead-dialog{
  width:min(680px,100%);
  border:1px solid rgba(23,40,43,.12);
  border-radius:28px;
  background:#fbf8f1;
  overflow-x:hidden;
  overflow-y:auto;
}
.lead-quiz-modal .lead-dialog-head{
  padding:24px 30px 20px;
  border-bottom:0;
}
.lead-quiz-modal .lead-dialog-head span{color:var(--action-green);}
.lead-quiz-modal .lead-dialog-head h2{font-size:clamp(1.45rem,3vw,1.9rem);}
.lead-quiz-modal .lead-modal-close{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border:1px solid rgba(23,40,43,.13);
  border-radius:50%;
  background:#fff;
  color:#294144;
  transition:transform .2s ease,background .2s ease;
}
.lead-quiz-modal .lead-modal-close:hover{background:#eef5f1;transform:rotate(4deg);}
.lead-quiz-progress{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin:0 30px;
  padding:15px 0 18px;
  border-top:1px solid rgba(23,40,43,.1);
  border-bottom:1px solid rgba(23,40,43,.1);
}
.lead-quiz-progress-item{
  position:relative;
  z-index:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#7a8886;
  font:700 .7rem/1 var(--mono);
  letter-spacing:.02em;
}
.lead-quiz-progress-item:not(:last-child)::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:50%;
  left:calc(50% + 50px);
  width:calc(100% - 100px);
  height:1px;
  background:#d4ddd8;
}
.lead-quiz-progress-item b{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid #c7d0cc;
  border-radius:50%;
  background:#fbf8f1;
  color:#697976;
  font-size:.72rem;
}
.lead-quiz-progress-item.is-active,.lead-quiz-progress-item.is-complete{color:#174f40;}
.lead-quiz-progress-item.is-active b,.lead-quiz-progress-item.is-complete b{
  border-color:var(--action-green);
  background:var(--action-green);
  color:#fff;
}
.lead-quiz-progress-item.is-complete:not(:last-child)::after{background:var(--action-green);}
.lead-quiz-modal .lead-quiz-form{padding:26px 30px 30px;}
.lead-quiz-step{padding:0;}
.lead-quiz-step[hidden]{display:none!important;}
.lead-quiz-step.is-active{animation:lead-quiz-step-in .28s ease-out both;}
.lead-quiz-step-copy{margin-bottom:20px;}
.lead-quiz-step-copy > span{
  color:var(--action-green);
  font:700 .65rem/1 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lead-quiz-step-copy h3{margin:7px 0 6px;font-size:clamp(1.3rem,3vw,1.65rem);outline:0;}
.lead-quiz-step-copy p{margin:0;color:#60706e;font-size:.92rem;}
.lead-quiz-modal .field{margin-bottom:18px;}
.lead-quiz-modal .field label{color:#233b3d;font-weight:700;}
.lead-quiz-modal .field label small{color:#84918f;font-weight:500;}
.lead-quiz-modal .field input,
.lead-quiz-modal .field select,
.lead-quiz-modal .field textarea{
  min-height:50px;
  border:1px solid #cbd5d0;
  border-radius:12px;
  background:#fff;
  color:#17282b;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.lead-quiz-modal .field textarea{min-height:88px;resize:vertical;}
.lead-quiz-modal .field input:focus,
.lead-quiz-modal .field select:focus,
.lead-quiz-modal .field textarea:focus{
  border-color:var(--action-green);
  box-shadow:0 0 0 3px rgba(29,102,82,.12);
  outline:0;
}
.lead-quiz-modal .lead-quiz-program-fixed select{
  appearance:none;
  opacity:1;
  border-color:rgba(29,102,82,.3);
  background:#edf5f1;
  color:#174f40;
  font-weight:700;
  -webkit-text-fill-color:#174f40;
}
.lead-quiz-fixed-value{
  display:block;
  min-height:50px;
  padding:13px 15px;
  border:1px solid rgba(29,102,82,.3);
  border-radius:12px;
  background:#edf5f1;
  color:#174f40;
  font-size:.9rem;
  font-weight:700;
  line-height:1.42;
}
.lead-quiz-fixed-value[hidden]{display:none!important;}
.lead-quiz-count{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px;}
.lead-quiz-count label{cursor:pointer;}
.lead-quiz-count input,
.lead-quiz-contact-method input{
  position:absolute;
  width:1px!important;
  height:1px!important;
  margin:-1px;
  padding:0!important;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  opacity:0;
  pointer-events:none;
}
.lead-quiz-count span{
  display:flex;
  min-height:50px;
  align-items:center;
  justify-content:center;
  padding:10px;
  border:1px solid #cbd5d0;
  border-radius:12px;
  background:#fff;
  color:#385052;
  font-size:.83rem;
  font-weight:700;
  text-align:center;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
.lead-quiz-count label:hover span{border-color:#7ca793;transform:translateY(-1px);}
.lead-quiz-count input:checked + span{
  border-color:var(--action-green);
  background:var(--action-green);
  color:#fff;
  box-shadow:0 8px 22px -15px rgba(29,102,82,.9);
}
.lead-quiz-count input:focus-visible + span{outline:3px solid rgba(29,102,82,.18);outline-offset:2px;}
.lead-quiz-contact-method{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:18px;
}
.lead-quiz-contact-method label{cursor:pointer;}
.lead-quiz-contact-method span{
  display:flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border:1px solid #cbd5d0;
  border-radius:12px;
  background:#fff;
  color:#385052;
  font-size:.84rem;
  font-weight:700;
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.lead-quiz-contact-method label:hover span{border-color:#7ca793;}
.lead-quiz-contact-method input:checked + span{border-color:var(--action-green);background:#edf5f1;color:#174f40;}
.lead-quiz-contact-method input:focus-visible + span{outline:3px solid rgba(29,102,82,.18);outline-offset:2px;}
.lead-quiz-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.lead-quiz-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;}
.lead-quiz-actions-end{justify-content:flex-end;}
.lead-quiz-modal .lead-quiz-actions .btn{
  width:auto;
  min-width:148px;
  justify-content:center;
  border-radius:12px;
}
.lead-quiz-modal .lead-quiz-back{
  border:1px solid #bdc9c4;
  background:transparent;
  color:#385052;
  box-shadow:none;
}
.lead-quiz-modal .lead-quiz-back:hover{border-color:var(--action-green);background:#edf5f1;color:#174f40;}
.lead-quiz-modal .consent{margin-top:2px;color:#546461;font-size:.78rem;line-height:1.45;}
.lead-quiz-modal .lead-modal-thanks{
  margin:18px 0 0;
  padding:14px 16px;
  border-radius:12px;
  background:#e8f4ee;
  color:#174f40;
}
@keyframes lead-quiz-step-in{
  from{opacity:0;transform:translateX(10px);}
  to{opacity:1;transform:translateX(0);}
}
@media (prefers-reduced-motion:reduce){.lead-quiz-step.is-active{animation:none;}}
@media (max-width:620px){
  .lead-quiz-modal{padding:10px;align-items:flex-end;}
  .lead-quiz-modal .lead-dialog{max-height:calc(100svh - 20px);border-radius:24px 24px 12px 12px;}
  .lead-quiz-modal .lead-dialog-head{padding:20px 20px 15px;}
  .lead-quiz-modal .lead-dialog-head h2{font-size:1.35rem;}
  .lead-quiz-progress{margin:0 20px;padding:13px 0 15px;}
  .lead-quiz-progress-item{gap:5px;font-size:.6rem;}
  .lead-quiz-progress-item b{width:25px;height:25px;}
  .lead-quiz-progress-item:not(:last-child)::after{display:none;}
  .lead-quiz-modal .lead-quiz-form{padding:22px 20px calc(22px + env(safe-area-inset-bottom));}
  .lead-quiz-count{grid-template-columns:1fr 1fr;}
  .lead-quiz-contact-grid{grid-template-columns:1fr;gap:0;}
  .lead-quiz-actions{align-items:stretch;}
  .lead-quiz-modal .lead-quiz-actions .btn{min-width:0;flex:1;padding-inline:12px;}
}

/* Light thematic backgrounds for occupational and fire-safety support services. */
.pb-page #services .service-card,
.ot-page #services .service-card{
  --service-bg:none;
  position:relative;
  isolation:isolate;
  min-height:430px;
  overflow:hidden;
  padding:220px 28px 28px;
  border:1px solid rgba(110,91,75,.18);
  border-radius:24px;
  background-color:#fffaf3;
  background-image:
    linear-gradient(180deg,rgba(255,250,243,.05) 0%,rgba(255,250,243,.16) 30%,rgba(255,250,243,.9) 53%,#fffaf3 70%),
    var(--service-bg);
  background-position:center,center;
  background-size:100% 100%,cover;
  background-repeat:no-repeat;
  box-shadow:0 22px 52px -42px rgba(44,35,28,.42);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.pb-page #services .service-card:nth-child(1){
  --service-bg:url('assets/fire-service-risk-audit.webp');
  background-position:center,68% center;
}
.pb-page #services .service-card:nth-child(2){
  --service-bg:url('assets/fire-service-declaration.webp');
  background-position:center,64% center;
}
.pb-page #services .service-card:nth-child(3){
  --service-bg:url('assets/fire-service-consulting.webp');
  background-position:center,65% center;
}
.ot-page #services .service-card:nth-child(1){
  --service-bg:url('assets/ot-service-sout.webp');
  background-position:center,58% center;
}
.ot-page #services .service-card:nth-child(2){
  --service-bg:url('assets/ot-service-risk-assessment.webp');
  background-position:center,57% center;
}
.ot-page #services .service-card:nth-child(3){
  --service-bg:url('assets/ot-service-production-control.webp');
  background-position:center,62% center;
}
.pb-page #services .service-card:hover,
.ot-page #services .service-card:hover{
  transform:translateY(-5px);
  border-color:rgba(29,102,82,.34);
  box-shadow:0 28px 58px -38px rgba(29,102,82,.32);
}
.pb-page #services .service-card .icon,
.ot-page #services .service-card .icon{
  position:absolute;
  top:18px;
  left:18px;
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:15px;
  background:rgba(255,252,247,.86);
  color:#1d6652;
  box-shadow:0 10px 30px -18px rgba(24,38,33,.55);
  backdrop-filter:blur(8px);
}
.pb-page #services .service-card h3,
.ot-page #services .service-card h3{
  max-width:19ch;
  font-size:clamp(1.08rem,1.4vw,1.28rem);
  line-height:1.18;
}
.pb-page #services .service-card p,
.ot-page #services .service-card p{
  color:#504941;
  line-height:1.58;
}
.pb-page #services .service-card .price,
.ot-page #services .service-card .price{
  display:inline-flex;
  align-self:flex-start;
  margin-top:auto;
  padding:7px 11px;
  border-radius:999px;
  background:#e9f2ee;
  color:#1d6652;
  font-weight:700;
}
@media (max-width:820px){
  .pb-page #services .service-card,
  .ot-page #services .service-card{
    min-height:390px;
    padding:195px 24px 24px;
  }
}
@media (prefers-reduced-motion:reduce){
  .pb-page #services .service-card,
  .ot-page #services .service-card{transition:none;}
}

/* Expandable messenger launcher shared by all pages. */
.messenger-dock{
  position:fixed;
  right:max(22px,env(safe-area-inset-right));
  bottom:max(22px,env(safe-area-inset-bottom));
  z-index:1150;
  display:grid;
  justify-items:end;
  gap:12px;
  font-family:var(--sans);
}
.messenger-dock-menu{
  display:grid;
  justify-items:end;
  gap:10px;
  pointer-events:none;
}
.messenger-dock-link{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  color:#1d1b18;
  text-decoration:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(14px) scale(.94);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.messenger-dock-link:nth-child(2){transition-delay:.035s;}
.messenger-dock-link:nth-child(1){transition-delay:.07s;}
.messenger-dock.is-open .messenger-dock-link{
  pointer-events:auto;
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
.messenger-dock-label{
  padding:9px 12px;
  border:1px solid rgba(35,31,27,.1);
  border-radius:11px;
  background:rgba(255,253,248,.96);
  color:#27231f;
  box-shadow:0 12px 30px -18px rgba(21,31,27,.48);
  font-size:.78rem;
  font-weight:700;
  line-height:1;
  backdrop-filter:blur(10px);
}
.messenger-dock-icon,
.messenger-dock-toggle{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border:0;
  border-radius:17px;
  color:#fff;
  box-shadow:0 17px 34px -18px rgba(17,48,40,.82);
}
.messenger-dock-icon svg,
.messenger-dock-toggle svg{width:25px;height:25px;fill:currentColor;}
.messenger-dock-link--telegram .messenger-dock-icon{background:linear-gradient(145deg,#39aee7,#168dcc);}
.messenger-dock-link--whatsapp .messenger-dock-icon{background:linear-gradient(145deg,#36d16f,#1da851);}
.messenger-dock-link--max .messenger-dock-icon{background:linear-gradient(145deg,#7f67f5,#5642d7);}
.messenger-dock-icon--max{font-size:.7rem;font-weight:800;letter-spacing:-.04em;}
.messenger-dock-toggle{
  position:relative;
  width:60px;
  height:60px;
  border-radius:20px;
  background:linear-gradient(145deg,var(--action-green-light,#2f866b),var(--action-green,#1d6652));
  cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}
.messenger-dock-toggle:hover,
.messenger-dock-toggle:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 22px 42px -18px rgba(17,78,61,.9);
}
.messenger-dock-toggle:focus-visible,
.messenger-dock-link:focus-visible{outline:3px solid rgba(47,134,107,.3);outline-offset:4px;}
.messenger-dock-toggle-close{position:absolute;opacity:0;transform:rotate(-45deg) scale(.75);transition:opacity .2s ease,transform .2s ease;}
.messenger-dock-toggle-chat{opacity:1;transform:rotate(0) scale(1);transition:opacity .2s ease,transform .2s ease;}
.messenger-dock.is-open .messenger-dock-toggle{background:linear-gradient(145deg,#24493f,#173c32);}
.messenger-dock.is-open .messenger-dock-toggle-chat{opacity:0;transform:rotate(45deg) scale(.75);}
.messenger-dock.is-open .messenger-dock-toggle-close{opacity:1;transform:rotate(0) scale(1);}
body.has-messenger-dock .cookie-notice{right:auto;left:24px;}
@media (max-width:560px){
  .messenger-dock{
    right:max(14px,env(safe-area-inset-right));
    bottom:max(14px,env(safe-area-inset-bottom));
  }
  .messenger-dock-icon{width:48px;height:48px;border-radius:15px;}
  .messenger-dock-toggle{width:56px;height:56px;border-radius:18px;}
  .messenger-dock-label{padding:8px 10px;font-size:.73rem;}
  body.has-messenger-dock .cookie-notice{
    right:8px;
    left:8px;
    bottom:82px;
    width:auto;
  }
}
@media (prefers-reduced-motion:reduce){
  .messenger-dock-link,
  .messenger-dock-toggle,
  .messenger-dock-toggle svg{transition:none;}
}

/* AI assistant and direct messengers remain visible as separate contact options. */
body.has-ai-widget .messenger-dock{
  right:max(90px,calc(env(safe-area-inset-right) + 90px));
  left:auto;
  bottom:max(22px,env(safe-area-inset-bottom));
  z-index:2147483001;
  justify-items:end;
}
body.has-ai-widget .messenger-dock-menu{justify-items:end;}
body.has-ai-widget .messenger-dock-toggle{
  width:56px;
  height:56px;
  border-radius:18px;
  background:linear-gradient(145deg,#24493f,#173c32);
}
body .platform-ai-widget{
  --paw-primary:#1d6652 !important;
}
body .platform-ai-widget .platform-ai-widget-bubble{
  right:max(22px,env(safe-area-inset-right)) !important;
  bottom:max(22px,env(safe-area-inset-bottom)) !important;
  border-radius:20px !important;
  background:linear-gradient(145deg,#2f866b,#1d6652) !important;
  box-shadow:0 17px 34px -18px rgba(17,48,40,.82) !important;
}
body .platform-ai-widget .platform-ai-widget-panel{
  right:max(22px,env(safe-area-inset-right)) !important;
  bottom:max(94px,calc(env(safe-area-inset-bottom) + 94px)) !important;
  border:1px solid rgba(29,102,82,.14) !important;
  border-radius:20px !important;
  box-shadow:0 24px 60px -22px rgba(15,45,37,.5) !important;
}
body .platform-ai-widget .platform-ai-widget-header{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}
body .platform-ai-widget .naukoved-ai-title{
  min-width:0;
  line-height:1.25;
}
body .platform-ai-widget .naukoved-ai-close{
  display:grid;
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  place-items:center;
  border:1px solid rgba(255,255,255,.3);
  border-radius:11px;
  color:#fff;
  background:rgba(255,255,255,.12);
  cursor:pointer;
  transition:background .18s ease,transform .18s ease,border-color .18s ease;
}
body .platform-ai-widget .naukoved-ai-close:hover{
  border-color:rgba(255,255,255,.52);
  background:rgba(255,255,255,.22);
  transform:scale(1.04);
}
body .platform-ai-widget .naukoved-ai-close:focus-visible{
  outline:3px solid rgba(255,255,255,.5);
  outline-offset:2px;
}
body .platform-ai-widget .naukoved-ai-close svg{
  width:20px;
  height:20px;
  fill:currentColor;
}
body .platform-ai-widget .naukoved-ai-greeting.is-typing::after{
  content:'';
  display:inline-block;
  width:2px;
  height:1em;
  margin-left:3px;
  border-radius:2px;
  background:#1d6652;
  vertical-align:-.12em;
  animation:naukoved-ai-caret .72s steps(1,end) infinite;
}
@keyframes naukoved-ai-caret{50%{opacity:0;}}
@media (max-width:560px){
  body.has-ai-widget .messenger-dock{
    right:max(82px,calc(env(safe-area-inset-right) + 82px));
    left:auto;
    bottom:max(14px,env(safe-area-inset-bottom));
  }
  body .platform-ai-widget .platform-ai-widget-bubble{
    right:max(14px,env(safe-area-inset-right)) !important;
    bottom:max(14px,env(safe-area-inset-bottom)) !important;
    border-radius:18px !important;
  }
  body .platform-ai-widget .platform-ai-widget-panel{
    right:max(10px,env(safe-area-inset-right)) !important;
    bottom:max(82px,calc(env(safe-area-inset-bottom) + 82px)) !important;
    width:min(340px,calc(100vw - 20px)) !important;
    max-width:calc(100vw - 20px) !important;
  }
}
@media (prefers-reduced-motion:reduce){
  body .platform-ai-widget .naukoved-ai-close{transition:none;}
  body .platform-ai-widget .naukoved-ai-greeting.is-typing::after{animation:none;}
}

/* Keep primary page titles readable without letting them dominate the screen. */
body .hero h1,
body .page-header h1,
body .catalog-hero h1,
body .program-detail-hero h1,
body.technosphere-page .technosphere-hero h1{
  max-width:24ch !important;
  font-size:clamp(1.85rem,2.7vw,2.8rem) !important;
  line-height:1.08 !important;
  letter-spacing:-.04em !important;
}

body.home-page .hero h1{
  max-width:28ch !important;
  font-size:clamp(2rem,2.8vw,2.75rem) !important;
}

@media (max-width:640px){
  body .hero h1,
  body .page-header h1,
  body .catalog-hero h1,
  body .program-detail-hero h1,
  body.technosphere-page .technosphere-hero h1,
  body.home-page .hero h1{
    max-width:none !important;
    font-size:clamp(1.55rem,6.4vw,2rem) !important;
    line-height:1.08 !important;
    letter-spacing:-.035em !important;
  }
}

/* Use a calmer type scale for section headings throughout the site. */
body section h2{
  font-size:clamp(1.35rem,2.2vw,1.9rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.035em !important;
}

body footer .footer-contact-copy h2{
  font-size:clamp(1.55rem,2.5vw,2.15rem) !important;
  line-height:1.05 !important;
  letter-spacing:-.04em !important;
}

@media (max-width:640px){
  body section h2{
    font-size:clamp(1.3rem,5.7vw,1.65rem) !important;
  }

  body footer .footer-contact-copy h2{
    font-size:clamp(1.45rem,6.4vw,1.8rem) !important;
  }
}
