
/* DRONOVNET — единое оформление публичных информационных страниц.
   Калькуляторы и административная часть намеренно не затрагиваются. */

:root{
  --public-bg:#f4f7f8;
  --public-surface:#ffffff;
  --public-ink:#172a3a;
  --public-muted:#60717c;
  --public-accent:#16859a;
  --public-accent-dark:#0d6678;
  --public-line:rgba(23,42,58,.12);
  --public-dark:#16283a;
  --public-shadow:0 18px 55px rgba(23,42,58,.09);
  --public-radius:20px;
  --public-container:1500px;
}

html{scroll-behavior:smooth}

body{
  background:var(--public-bg);
  color:var(--public-ink);
}

.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--public-line);
  box-shadow:0 8px 30px rgba(23,42,58,.045);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.site-header .main-nav a{
  border-radius:999px;
  padding:10px 14px;
  transition:background-color .18s ease,color .18s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current="page"]{
  background:#e9f2f4;
  color:var(--public-accent-dark);
}

.header-cta,
.button{
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}

.header-cta:hover,
.button:hover{
  transform:translateY(-1px);
}

main > section,
.system-page,
.article-page,
.inner-main{
  max-width:var(--public-container);
  margin-left:auto;
  margin-right:auto;
}

.inner-hero{
  margin-top:28px;
  padding:clamp(50px,7vw,92px) clamp(24px,6vw,92px);
  background:linear-gradient(135deg,#16283a 0%,#1e3d50 100%);
  color:#fff;
  border-radius:28px;
  overflow:hidden;
  position:relative;
}

.inner-hero::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  right:-130px;
  top:-180px;
  background:radial-gradient(circle,rgba(47,190,210,.24),rgba(47,190,210,0) 68%);
  pointer-events:none;
}

.inner-hero h1{
  max-width:1050px;
  color:#fff;
}

.inner-hero > p:not(.eyebrow){
  max-width:850px;
  color:#c5d2da;
  font-size:clamp(18px,2vw,23px);
  line-height:1.6;
}

.inner-hero .eyebrow{
  color:#91d4df;
}

.inner-hero .button.secondary{
  border-color:rgba(255,255,255,.34);
  color:#fff;
  background:rgba(255,255,255,.08);
}

.content-section,
.resource-section,
.seo-overview,
.seo-process,
.process{
  padding-left:clamp(20px,6vw,92px);
  padding-right:clamp(20px,6vw,92px);
}

.section-heading{
  max-width:920px;
}

.section-heading h2{
  letter-spacing:-.045em;
}

.feature-grid article,
.content-card,
.resource-card,
.seo-facts-grid article,
.seo-process-list article,
.contact-panel,
.recommendation-list li{
  border:1px solid var(--public-line);
  background:var(--public-surface);
  box-shadow:0 7px 26px rgba(23,42,58,.045);
}

.feature-grid article,
.content-card,
.seo-facts-grid article,
.contact-panel{
  border-radius:var(--public-radius);
}

.feature-grid article{
  min-height:260px;
  padding:30px;
}

.feature-grid article span{
  display:inline-grid;
  place-items:center;
  min-width:48px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#e9f2f4;
  color:var(--public-accent-dark);
  font-weight:900;
}

.resource-card{
  border-radius:17px;
}

.resource-card:hover,
.content-card:hover,
.feature-grid article:hover,
.seo-facts-grid article:hover{
  border-color:rgba(22,133,154,.45);
  box-shadow:var(--public-shadow);
}

.split-banner,
.final-cta{
  border-radius:26px;
  background:linear-gradient(135deg,#16283a,#203e52);
  box-shadow:var(--public-shadow);
}

.contact-layout{
  align-items:stretch;
}

.contact-panel{
  padding:clamp(28px,4vw,48px);
}

.contact-note{
  border-radius:18px;
  background:#e8f2f4;
  border:1px solid rgba(22,133,154,.18);
}

/* Статьи */
.article-page{
  width:min(100% - 40px,1060px);
  margin-top:34px;
  margin-bottom:80px;
  padding:clamp(38px,6vw,76px);
  background:#fff;
  border:1px solid var(--public-line);
  border-radius:28px;
  box-shadow:var(--public-shadow);
}

.article-page h1{
  max-width:920px;
}

.article-page .article-lead{
  border-left:4px solid var(--public-accent);
  padding-left:22px;
}

.article-body h2{
  padding-top:8px;
}

.recommendation-list{
  gap:14px;
}

.recommendation-list li{
  border-radius:15px;
  box-shadow:none;
}

.back-link{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  background:#e9f2f4;
  text-decoration:none;
}

/* Документы */
.resource-section:first-of-type{
  padding-top:72px;
}

.resource-type{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}

/* SEO-страницы систем — архитектура сохранена, меняется только оформление */
.system-page{
  width:min(100% - 40px,1180px);
  margin-top:34px;
  margin-bottom:90px;
  padding:clamp(40px,7vw,84px);
  border-radius:28px;
  border:1px solid var(--public-line);
  background:
    radial-gradient(circle at 100% 0,rgba(22,133,154,.16),transparent 32%),
    var(--public-surface);
  box-shadow:var(--public-shadow);
}

.system-page > a:first-child{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  background:#e9f2f4;
  color:var(--public-accent-dark);
  font-weight:800;
  text-decoration:none;
}

.system-page h1{
  max-width:950px;
  color:var(--public-ink);
}

.system-page .lead{
  border-left:4px solid var(--public-accent);
  padding-left:22px;
}

.system-page ul{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.system-page li{
  min-height:105px;
  display:flex;
  align-items:center;
  padding:22px 24px 22px 58px;
  border:1px solid var(--public-line);
  border-radius:16px;
  background:#f7fafb;
  position:relative;
}

.system-page li::before{
  content:"";
  position:absolute;
  left:24px;
  width:12px;
  height:12px;
  border:3px solid var(--public-accent);
  border-radius:50%;
}

.system-page .actions{
  padding-top:8px;
}

/* Старый раздел articles оставлен в прежнем URL, но визуально согласован */
.inner-main{
  padding:34px 20px 90px;
}

.inner-main .inner-hero{
  margin-top:0;
}

.content-grid{
  gap:16px;
  margin-top:26px;
}

.content-card{
  padding:30px;
}

.site-footer{
  margin-top:36px;
  border-top:1px solid rgba(255,255,255,.1);
}

/* Главная: сглаживаем визуальный переход к внутренним страницам */
.hero,
.systems,
.seo-overview,
.seo-process,
.process,
.final-cta{
  width:min(100% - 40px,var(--public-container));
}

.hero{
  margin-top:28px;
}

.hero-visual,
.system-card{
  box-shadow:0 16px 45px rgba(23,42,58,.1);
}

@media(max-width:900px){
  .site-header{
    position:relative;
  }

  .inner-hero,
  .system-page,
  .article-page{
    width:calc(100% - 24px);
    border-radius:20px;
  }

  .system-page ul{
    grid-template-columns:1fr;
  }

  .feature-grid article{
    min-height:auto;
  }
}

@media(max-width:620px){
  .inner-hero,
  .system-page,
  .article-page{
    padding:34px 20px;
  }

  .content-section,
  .resource-section,
  .seo-overview,
  .seo-process,
  .process{
    padding-left:16px;
    padding-right:16px;
  }

  .system-page li{
    padding:19px 18px 19px 50px;
  }

  .system-page li::before{
    left:19px;
  }
}
