/* =========================================================
   CDEKUSA — общие стили: шапка, футер, контейнер статьи
   ========================================================= */

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
margin:0;
overflow-x:hidden;
max-width:100vw;
font-family:'Inter',sans-serif;
color:#0f172a;
background:#fff;
}
img{max-width:100%;display:block;}
a{color:inherit;}

.container{
max-width:1200px;
margin:0 auto;
padding:0 20px;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar{
background:#fff;
border-bottom:1px solid #eef1ef;
font-size:14px;
color:#334155;
}

.topbar-inner{
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
gap:10px;
padding:10px 0;
}

.topbar-info{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:22px;
}

.topbar-info a{
display:flex;
align-items:flex-start;
gap:6px;
text-decoration:none;
color:#334155;
font-weight:500;
}

.topbar-info a svg{flex-shrink:0;margin-top:2px;}
.topbar-info a span{min-width:0;}

.topbar-info svg{width:16px;height:16px;flex:none;color:#166534;}

.topbar-social{
display:flex;
align-items:center;
gap:8px;
}

.topbar-social a{
width:30px;
height:30px;
border-radius:50%;
background:#166534;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
text-decoration:none;
transition:.2s;
}

.topbar-social a:hover{
background:#14532d;
transform:translateY(-2px);
}

.topbar-social svg{width:15px;height:15px;color:#fff;}

/* =========================================================
   MAIN HEADER
   ========================================================= */

.site-header{
background:#fff;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 1px 0 rgba(15,23,42,.04);
}

.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
gap:24px;
padding:18px 0;
}

.logo img{
height:38px;
width:auto;
}

.main-nav{
display:flex;
align-items:center;
gap:34px;
}

.main-nav a{
text-decoration:none;
color:#0f172a;
font-weight:600;
font-size:15.5px;
transition:.2s;
white-space:nowrap;
}

.main-nav a:hover{color:#166534;}

.header-cta{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 28px;
border-radius:999px;
background:#166534;
color:#fff !important;
text-decoration:none;
font-weight:700;
font-size:15px;
white-space:nowrap;
transition:.2s;
}

.header-cta:hover{
background:#14532d;
transform:translateY(-1px);
}

.nav-toggle{
display:none;
width:44px;
height:44px;
border-radius:12px;
border:1px solid #e2e8f0;
background:#fff;
align-items:center;
justify-content:center;
cursor:pointer;
flex:none;
}

.nav-toggle svg{width:22px;height:22px;color:#0f172a;}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
background:#181a2a;
color:#cbd5e1;
padding:64px 0 40px;
}

.footer-grid{
display:grid;
grid-template-columns:1.4fr 1fr 1fr 1.1fr;
gap:32px;
}

.footer-about .logo img{
height:32px;
margin-bottom:18px;
}

.footer-about p{
font-size:15px;
line-height:1.8;
color:#94a3b8;
margin:0;
}

.footer-col h4{
display:none;
}

.footer-col a{
display:block;
color:#e2e8f0;
text-decoration:none;
font-weight:700;
font-size:15.5px;
line-height:1.5;
margin-bottom:18px;
transition:.2s;
}

.footer-col a:hover{color:#4ade80;}

.footer-cta{
display:flex;
flex-direction:column;
align-items:flex-start;
gap:18px;
}

.footer-cta-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 26px;
border-radius:999px;
border:1px solid #475569;
color:#fff;
text-decoration:none;
font-weight:700;
font-size:14.5px;
transition:.2s;
}

.footer-cta-btn:hover{
background:#fff;
color:#181a2a;
}

.footer-contact{
font-size:14.5px;
color:#cbd5e1;
line-height:1.9;
}

.footer-contact a{
display:flex;
align-items:center;
gap:8px;
color:#cbd5e1;
text-decoration:none;
}

.footer-contact a:hover{color:#4ade80;}

.footer-contact svg{width:15px;height:15px;flex:none;}

.footer-bottom{
margin-top:48px;
background:#166534;
border-radius:20px;
padding:18px 28px;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
gap:14px;
}

.footer-copy{
font-size:14px;
color:#f0fdf4;
}

.footer-social{
display:flex;
gap:10px;
}

.footer-social a{
width:34px;
height:34px;
border-radius:50%;
background:rgba(255,255,255,.14);
display:flex;
align-items:center;
justify-content:center;
color:#fff;
text-decoration:none;
transition:.2s;
}

.footer-social a:hover{
background:#fff;
color:#166534;
}

.footer-social svg{width:16px;height:16px;}

/* =========================================================
   ARTICLE SECTION (общий шаблон статьи)
   ========================================================= */

.article-section{
position:relative;
overflow:hidden;
padding:52px 20px;
background:#f7faf8;
font-family:'Inter',sans-serif;
}

[id]{scroll-margin-top:96px;}

.toc{
background:#fff;
border:1px solid #e2e8f0;
border-radius:18px;
padding:22px 26px;
margin-bottom:32px;
}

.toc-title{
font-size:12px;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase;
color:#166534;
margin-bottom:12px;
}

.toc ol{
margin:0;
padding-left:20px;
columns:2;
column-gap:24px;
}

.toc li{
font-size:14.5px;
line-height:1.6;
margin-bottom:6px;
break-inside:avoid;
}

.toc a{
color:#334155;
text-decoration:none;
}

.toc a:hover{color:#166534;text-decoration:underline;}

.bg-blur{
position:absolute;
border-radius:50%;
filter:blur(120px);
opacity:.12;
pointer-events:none;
}

.blur-1{width:500px;height:500px;background:#166534;top:-180px;left:-120px;}
.blur-2{width:420px;height:420px;background:#4ade80;right:-120px;bottom:-100px;}

.article-container{
max-width:1120px;
margin:0 auto;
position:relative;
z-index:2;
}

.breadcrumbs{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:8px;
font-size:14px;
color:#64748b;
margin-bottom:28px;
}

.breadcrumbs a{color:#166534;text-decoration:none;font-weight:600;}
.breadcrumbs a:hover{text-decoration:underline;}

.main-title{
text-align:center;
font-size:clamp(26px,3.4vw,42px);
line-height:1.15;
font-weight:900;
letter-spacing:-1px;
color:#0f172a;
margin-bottom:16px;
}

.main-subtitle{
max-width:720px;
margin:0 auto 32px;
text-align:center;
font-size:16px;
line-height:1.7;
color:#64748b;
}

.hero-box{
background:linear-gradient(135deg,#14532d 0%,#166534 55%,#15803d 100%);
border-radius:24px;
padding:28px;
display:flex;
gap:22px;
align-items:center;
margin-bottom:32px;
box-shadow:0 14px 34px rgba(22,101,52,.16);
}

.hero-icon{
width:76px;
height:76px;
min-width:76px;
border-radius:20px;
background:rgba(255,255,255,.12);
display:flex;
align-items:center;
justify-content:center;
font-size:34px;
color:#fff;
}

.hero-content h2{
font-size:24px;
line-height:1.25;
font-weight:800;
color:#fff;
margin-bottom:10px;
}

.hero-content p{
font-size:15px;
line-height:1.7;
color:#d1fae5;
margin-bottom:16px;
}

.hero-tags{display:flex;flex-wrap:wrap;gap:8px;}

.hero-tags span{
padding:7px 14px;
border-radius:999px;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.16);
font-size:12.5px;
font-weight:700;
color:#fff;
}

.info-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px;
margin-bottom:32px;
}

.info-card{
background:#fff;
border:1px solid #e2e8f0;
border-radius:18px;
padding:22px;
box-shadow:0 6px 18px rgba(0,0,0,.03);
}

.card-icon{
width:46px;
height:46px;
border-radius:13px;
background:#ecfdf5;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
margin-bottom:14px;
}

.info-card h3{
font-size:18px;
line-height:1.25;
font-weight:800;
color:#0f172a;
margin-bottom:8px;
}

.info-card p{
font-size:14.5px;
line-height:1.65;
color:#64748b;
}

.content-box{
background:#fff;
border-radius:24px;
padding:36px;
border:1px solid #e2e8f0;
box-shadow:0 6px 24px rgba(0,0,0,.03);
}

.section-label{
display:inline-block;
padding:6px 13px;
background:#ecfdf5;
border-radius:999px;
font-size:11px;
font-weight:800;
letter-spacing:.07em;
text-transform:uppercase;
color:#166534;
margin-bottom:12px;
}

.content-box h2{
font-size:24px;
line-height:1.3;
font-weight:800;
color:#0f172a;
margin-bottom:14px;
}

.content-box h3{
font-size:17px;
line-height:1.35;
font-weight:800;
color:#0f172a;
margin:22px 0 8px;
}

.content-box p{
font-size:15.5px;
line-height:1.75;
color:#475569;
margin-bottom:14px;
}

.highlight-box{
background:linear-gradient(135deg,#f0fdf4,#ffffff);
border-left:4px solid #166534;
padding:18px 20px;
border-radius:0 16px 16px 0;
margin:22px 0;
}

.highlight-box strong{
display:block;
font-size:15.5px;
font-weight:800;
color:#166534;
margin-bottom:6px;
}

.separator{
width:100%;
height:1px;
background:linear-gradient(90deg,transparent,#dbe4df,transparent);
margin:32px 0;
}

.tag-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;}

.tag-cloud span{
padding:7px 14px;
border-radius:999px;
background:#f0fdf4;
border:1px solid #ccefd8;
font-size:13px;
font-weight:700;
color:#166534;
}

.steps-list{display:flex;flex-direction:column;gap:12px;margin-top:16px;}

.step-item{
display:flex;
gap:14px;
align-items:flex-start;
background:#f8fafc;
border:1px solid #e2e8f0;
border-radius:16px;
padding:16px;
}

.step-number{
width:34px;
height:34px;
min-width:34px;
border-radius:50%;
background:#166534;
display:flex;
align-items:center;
justify-content:center;
font-weight:800;
color:#fff;
font-size:13px;
}

.step-item strong{
display:block;
font-size:15.5px;
font-weight:800;
color:#0f172a;
margin-bottom:4px;
}

.step-item p{margin:0;font-size:14px;line-height:1.6;}

.cta-box{
margin-top:32px;
background:linear-gradient(135deg,#14532d,#166534 55%,#15803d);
border-radius:24px;
padding:36px;
text-align:center;
color:#fff;
box-shadow:0 16px 36px rgba(22,101,52,.16);
}

.cta-box h2{
font-size:26px;
line-height:1.2;
font-weight:800;
margin-bottom:10px;
}

.cta-box p{
max-width:640px;
margin:0 auto 20px;
font-size:15px;
line-height:1.7;
color:#d1fae5;
}

.cta-box a{
display:inline-flex;
align-items:center;
justify-content:center;
padding:13px 26px;
border-radius:999px;
background:#fff;
color:#166534;
text-decoration:none;
font-weight:800;
font-size:14.5px;
transition:.2s;
}

.cta-box a:hover{transform:translateY(-2px);background:#ecfdf5;}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:980px){

.topbar-info a:nth-child(3){display:none;}

.main-nav{
position:fixed;
top:0;
right:-100%;
height:100vh;
width:min(320px,86vw);
background:#fff;
flex-direction:column;
align-items:flex-start;
justify-content:flex-start;
gap:6px;
padding:90px 28px 28px;
box-shadow:-10px 0 40px rgba(0,0,0,.12);
transition:right .3s ease;
z-index:1100;
}

.main-nav.open{right:0;}

.main-nav a{
width:100%;
padding:14px 0;
border-bottom:1px solid #f1f5f9;
}

.main-nav .header-cta{
margin-top:10px;
width:100%;
}

.nav-toggle{display:flex;}

.nav-overlay{
display:none;
position:fixed;
inset:0;
background:rgba(15,23,42,.4);
z-index:1050;
}

.nav-overlay.open{display:block;}

.info-grid{grid-template-columns:1fr;}

.hero-box{flex-direction:column;text-align:center;}
.hero-tags{justify-content:center;}

.footer-grid{grid-template-columns:1fr 1fr;}
.footer-cta{grid-column:1 / -1;}
}

@media(max-width:640px){

.topbar-inner{justify-content:center;text-align:center;}
.topbar-info{justify-content:center;}
.topbar-info a:nth-child(2){display:none;}

.article-section{padding:36px 16px;}

.main-title{font-size:28px;letter-spacing:-0.5px;}
.main-subtitle{font-size:15px;}

.hero-box{padding:22px;border-radius:20px;}
.hero-content h2{font-size:20px;}

.content-box{padding:22px;border-radius:20px;}
.content-box h2{font-size:20px;}

.info-card{padding:18px;}
.info-card h3{font-size:17px;}

.cta-box{padding:26px 20px;border-radius:20px;}
.cta-box h2{font-size:22px;}

.toc ol{columns:1;}

.footer-grid{grid-template-columns:1fr;gap:36px;}
.footer-bottom{flex-direction:column;text-align:center;}
}
