/* PRV expert — общие стили */

:root{
  --bg:#d9e2ed;--ink:#162235;--muted:#5c6b7d;--blue:#1255a3;--blue2:#0b3d7a;
  --card:#fff;--line:#a7bcd3;--line-hover:#5e8bbd;--accent:#e8f1ff;
  --radius:13px;--shadow:0 18px 50px #062b5c55;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background-color:var(--bg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='%231255a3' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size:44px 44px;
  background-attachment:fixed;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img,svg{max-width:100%;display:block}
.wrap{max-width:1120px;margin:auto;padding:0 24px}
.skip{position:absolute;left:-9999px;top:0;background:#fff;color:var(--blue2);padding:10px 14px;border-radius:8px;z-index:100}
.skip:focus{left:12px;top:12px}

/* Шапка */
.topbar{position:sticky;top:0;z-index:50;background:rgba(13,59,120,.92);backdrop-filter:blur(8px);color:#fff}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px}
.brand-logo{display:flex;align-items:center;text-decoration:none}
.brand-logo img{height:32px;width:auto;display:block;}
.nav{display:flex;gap:16px;font-size:14px}
.nav a{text-decoration:none;opacity:.9;white-space:nowrap}
.nav a:hover{opacity:1;text-decoration:underline}

/* Кнопки */
.btn{display:inline-block;text-decoration:none;border-radius:9px;padding:14px 21px;font-weight:700;font-size:16px;border:0;cursor:pointer;font-family:inherit}
.btn-main{background:#fff;color:var(--blue2)}
.btn-main:hover{background:#eaf3ff}
.btn-outline{border:1px solid rgba(255,255,255,.55);color:#fff;background:transparent;margin-left:10px}
.btn-outline:hover{background:rgba(255,255,255,.1)}

/* Подвал */
.footer{padding:24px 0;color:var(--muted);font-size:13px;text-align:center;position:relative;z-index:1}
.footer a{color:var(--muted);text-decoration:underline}
.footer-logo{display:flex;justify-content:center;margin-bottom:16px;}
.footer-logo img{height:28px;width:auto;}

/* Шапка раздела */
.page-head{background:linear-gradient(135deg,#0d3b78,#1670c5);color:#fff;padding:64px 0 56px;position:relative}
.page-head::before{content:'';position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='white' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");background-size:44px 44px;background-attachment:fixed}
.page-head .wrap{position:relative;z-index:1}
.page-head h1{font-size:clamp(28px,4.5vw,42px);margin:0 0 12px;line-height:1.15}
.page-head p{font-size:18px;color:#eaf3ff;max-width:680px;margin:0}

/* Статья: шапка */
.article-head{background:linear-gradient(135deg,#0d3b78,#1670c5);color:#fff;padding:56px 0 48px;position:relative}
.article-head::before{content:'';position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='white' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");background-size:44px 44px;background-attachment:fixed}
.article-head .wrap{position:relative;z-index:1;max-width:820px}
.breadcrumbs{font-size:13px;color:#bcd3ee;margin-bottom:14px}
.breadcrumbs a{color:#bcd3ee;text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline;color:#fff}
.article-head h1{font-size:clamp(26px,4vw,38px);line-height:1.15;margin:0 0 16px}
.article-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:#dbe9ff}
.article-meta span::before{content:'•';margin-right:8px;opacity:.6}
.article-meta span:first-child::before{content:none;margin:0}

/* Статья: тело */
.article-body{max-width:760px;margin:0 auto;padding:48px 24px 56px;background:#fff;font-size:17px;line-height:1.7}
.article-body h2{font-size:26px;margin:36px 0 14px;line-height:1.25}
.article-body h2:first-child{margin-top:0}
.article-body h3{font-size:20px;margin:24px 0 8px}
.article-body p{margin:0 0 16px}
.article-body ul,.article-body ol{margin:0 0 16px;padding-left:22px}
.article-body li{margin:6px 0}
.article-body strong{font-weight:700}
.article-body a{color:var(--blue);text-decoration:underline}
.link-soon{color:var(--muted);text-decoration:none;cursor:default}   /* ← новая строка */
.article-body .lead-p{font-size:19px;color:var(--muted);margin-bottom:28px}

/* Выноска */
.callout{background:var(--accent);border-left:4px solid var(--blue);border-radius:8px;padding:18px 20px;margin:24px 0;font-size:16px;line-height:1.6}
.callout strong{display:block;margin-bottom:6px;font-size:17px}

/* Читайте также */
.read-also{max-width:760px;margin:0 auto;padding:0 24px 8px}
.read-also h3{font-size:20px;margin:0 0 14px;color:var(--ink)}
.read-also ul{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:10px}
.read-also li{background:#f4f8fd;border:1px solid var(--line);border-radius:10px;padding:14px 18px;transition:border-color .2s ease,background .2s ease}
.read-also a{color:var(--ink);text-decoration:none;font-weight:600;display:block;font-size:16px}
.read-also a:hover{text-decoration:underline}
.read-also .read-also-tag{display:inline-block;font-size:11px;font-weight:700;color:var(--blue2);background:var(--accent);border-radius:999px;padding:2px 8px;margin-right:8px;vertical-align:middle;text-transform:uppercase;letter-spacing:.03em}
@media(hover:hover){.read-also li:hover{border-color:var(--line-hover);background:#eef6ff}}

/* CTA */
.article-cta{max-width:760px;margin:0 auto 56px;padding:28px;background:#102d52;color:#fff;border-radius:14px;position:relative;overflow:hidden}
.article-cta::before{content:'';position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='white' stroke-opacity='0.035' stroke-width='1'/%3E%3C/svg%3E");background-size:44px 44px;background-attachment:fixed}
.article-cta > *{position:relative;z-index:1}
.article-cta h3{margin:0 0 8px;font-size:22px;color:#fff}
.article-cta p{margin:0 0 18px;color:#dceaff;font-size:16px}
.article-cta .btn{display:inline-block;text-decoration:none;border-radius:9px;padding:13px 22px;font-weight:700;font-size:16px;background:#fff;color:var(--blue2);margin-right:8px;margin-bottom:8px}
.article-cta .btn:hover{background:#eaf3ff}
.article-cta .btn-secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55)}
.article-cta .btn-secondary:hover{background:rgba(255,255,255,.1)}

/* Назад */
.back-link{max-width:760px;margin:0 auto;padding:24px 24px 0;font-size:15px}
.back-link a{color:var(--blue);text-decoration:none;font-weight:600}
.back-link a:hover{text-decoration:underline}

/* Секции/карточки */
.section{padding:56px 0}
.section h2{font-size:32px;margin:0 0 14px;line-height:1.2}
.lead{color:var(--muted);max-width:760px;margin:0 0 30px;font-size:17px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2col{grid-template-columns:repeat(2,1fr)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:23px;transition:border-color .2s ease}
.card h3{margin:0 0 10px;font-size:20px}
.card p{margin:0 0 12px;color:var(--muted)}
.card p:last-child{margin-bottom:0}
.card ul{padding-left:19px;color:var(--muted);margin:0}
.card .tag{display:inline-block;font-size:12px;font-weight:700;color:var(--blue2);background:var(--accent);border-radius:999px;padding:3px 10px;margin-bottom:10px}
.card-link{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.card-link .more{margin-top:auto;padding-top:14px;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:6px}

/* Reveal */
.reveal{opacity:0;translate:0 22px;transition:opacity .55s ease,translate .55s ease,border-color .2s ease,color .2s ease}
.reveal.visible{opacity:1;translate:0 0}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;translate:0;transition:none}}

@media(hover:hover){
  .card:hover{border-color:var(--line-hover)}
  .card-link:hover{border-color:var(--line-hover)}
  .card-link:hover .more{text-decoration:underline}
}
@media(max-width:900px){
  .nav{display:none}
  .grid,.grid-2col{grid-template-columns:1fr}
  .section{padding:48px 0}
  .brand-logo img{height:28px;}
  body{font-size:17px}
}
@media(max-width:700px){
  .article-body{padding:32px 20px 40px}
  .article-body h2{font-size:22px;margin-top:28px}
  .article-cta{margin:0 16px 40px}
  .back-link{padding:20px 16px 0}
  .read-also{padding:0 16px 0}
}
/* Скрытие карточек статей через атрибут hidden */
[hidden]{display:none !important}