/* =========================================================
   ДезиНоль — главный стиль
   Палитра: хаки-нуар / бумага / золото / сигнал-красный
   ========================================================= */
:root{
  --ink: #0F2A1E;        /* хаки-нуар (основа) */
  --ink-2: #163829;      /* глубже */
  --ink-3: #082B1B;      /* почти чёрный */
  --paper: #F4F1EA;      /* светлая бумага */
  --paper-2: #EBE6DA;    /* серая бумага */
  --gold: #C9A227;       /* акцент */
  --gold-2: #B08D17;
  --red: #D33B2C;        /* сигнал */
  --white: #FFFFFF;
  --gray: #6F6F6F;
  --line: rgba(15,42,30,.12);
  --line-lt: rgba(255,255,255,.12);

  --f-head: "Inter Tight", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
}
*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin: 0; padding: 0; }
body{
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; }

/* ===== A11y ===== */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip-link для скринридеров */
.skip-link{
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  z-index: 200;
}
.skip-link:focus{ top: 0; }

/* Print */
@media print{
  .top,.top__menu,.btn,.hero__cta,.form__hint,.foot__nav,.eyebrow{display: none !important;}
  body{ background: white; color: black; }
  .section{ padding: 24px 0; }
  a{ color: black; text-decoration: underline; }
}

h1,h2,h3,h4{ font-family: var(--f-head); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p{ margin: 0 0 .6em; }

/* ===== Layout ===== */
.wrap{ max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow{ max-width: 760px; }

.section{ padding: 120px 0; }
.section--paper{ background: var(--paper); }
.section--gray{ background: var(--paper-2); }
.section--ink{
  background: var(--ink);
  color: var(--paper);
}

.eyebrow{
  display: inline-block;
  font-family: var(--f-head);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.sect-eyebrow{
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.sect-eyebrow--lt{ color: var(--gold); }

.sect-h{
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 16ch;
}
.sect-h--lt{ color: var(--white); }
.sect-lead{
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
  margin: 0 0 64px;
}
.sect-lead--lt{ color: rgba(244,241,234,.8); }

/* ===== Top ===== */
.top{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,241,234,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__row{
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.03em;
  color: var(--ink);
}
.logo__img{
  height: 40px;
  width: auto;
  display: block;
}
.logo--lt .logo__img{
  background: var(--paper);
  padding: 4px 8px;
  border-radius: 8px;
  height: 36px;
}
.logo__name{ color: inherit; }
.logo__name span{ color: var(--gold); }
.logo--lt{ color: var(--paper); }

.nav{
  display: flex;
  gap: 28px;
  margin-left: 24px;
}
.nav a{
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}
.nav a:hover{ color: var(--gold); }

.top__phone{
  margin-left: auto;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
}
.top__phone:hover{ color: var(--gold); }

.top__menu{
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}
.top__menu span{
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--ink);
}
.top__menu span:nth-child(1){ top: 12px; }
.top__menu span:nth-child(2){ top: 19px; }
.top__menu span:nth-child(3){ top: 26px; }

/* ===== Hero ===== */
.hero{
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,162,39,.18), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding: 120px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,.25), transparent 70%);
  pointer-events: none;
}
.hero__inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.hero__logo{
  display: block;
  width: 96px;
  height: auto;
  margin-bottom: 24px;
}
.hero__mark{
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(201,162,39,.10);
}
.hero__mark em{ color: var(--gold); font-style: italic; font-weight: 800; }
.hero__h{
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  max-width: 22ch;
}
.hero__h span{ color: var(--gold); font-style: italic; }
.hero__sub{
  font-size: 20px;
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink-2);
  margin: 0 0 40px;
}
.hero__cta{
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.proof{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 880px;
}
.proof li{ display: flex; flex-direction: column; }
.proof b{
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--ink);
  line-height: 1;
}
.proof span{
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 14px;
  transition: transform .15s, box-shadow .2s, background .2s;
  border: 0;
  cursor: pointer;
}
.btn--gold{
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(201,162,39,.32);
}
.btn--gold:hover{ background: var(--gold-2); transform: translateY(-2px); }
.btn--ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover{ background: var(--ink); color: var(--paper); }
.btn--big{ padding: 18px 36px; font-size: 17px; width: 100%; justify-content: center; }

/* ===== Services / Groups ===== */
.groups{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.group{
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 8px 28px 28px;
  background: var(--white);
}
.group[open]{ padding-bottom: 32px; }
.group summary{
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.group summary::-webkit-details-marker{ display: none; }
.group summary::after{
  content: "+";
  margin-left: auto;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  transition: transform .25s;
}
.group[open] summary::after{ content: "−"; }
.group__num{
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--gold);
  border-radius: 12px;
  font-size: 24px;
  font-family: var(--f-head);
}
.group h3{
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  margin: 0;
}
.group__tag{
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
}

.group__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card{
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.card h4{
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--ink);
}
.card p{
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 16px;
  flex: 1;
}
.card__from{
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--gold-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  align-self: flex-start;
}

/* ===== Prices ===== */
.prices{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.price-col{
  background: var(--ink-2);
  border-radius: 24px;
  padding: 36px;
}
.price-col--gold{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--ink);
}
.price-col h3{
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 24px;
  color: var(--paper);
}
.price-col--gold h3{ color: var(--ink); }
.price-col table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 20px;
}
.price-col th, .price-col td{
  padding: 12px 0;
  border-bottom: 1px solid var(--line-lt);
  text-align: left;
  font-weight: 400;
}
.price-col--gold th, .price-col--gold td{ border-bottom-color: rgba(15,42,30,.18); }
.price-col th{
  color: rgba(244,241,234,.6);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--f-body);
  font-weight: 500;
}
.price-col--gold th{ color: rgba(15,42,30,.7); }
.price-col td:last-child, .price-col th:last-child{ text-align: right; }
.price-note{
  font-size: 13px;
  color: rgba(244,241,234,.65);
  margin: 0;
}
.price-col--gold .price-note{ color: rgba(15,42,30,.7); }

/* ===== Steps ===== */
.steps{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step{
  background: var(--white);
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  position: relative;
}
.step__num{
  display: block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.step h4{
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
}
.step p{
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

/* ===== B2B ===== */
.section--b2b{
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201,162,39,.18), transparent 50%),
    var(--ink);
}
.b2b-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}
.b2b-card{
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-lt);
  border-radius: 20px;
  padding: 28px;
  transition: background .25s, transform .2s;
}
.b2b-card:hover{ background: rgba(255,255,255,.09); transform: translateY(-3px); }
.b2b-card h4{
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--gold);
  margin: 0 0 10px;
}
.b2b-card p{
  font-size: 14px;
  color: rgba(244,241,234,.75);
  margin: 0;
}
.b2b-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(201,162,39,.1);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.b2b-cta p{ color: var(--paper); font-size: 18px; margin: 0; }
.b2b-cta b{ color: var(--gold); }

/* ===== Docs ===== */
.docs{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.doc{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.doc__num{
  display: block;
  font-size: 32px;
  margin-bottom: 16px;
}
.doc h4{
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
}
.doc p{
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq{
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}
.faq details{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 24px;
}
.faq summary{
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+";
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--gold);
  flex-shrink: 0;
}
.faq details[open] summary::after{ content: "−"; }
.faq p{
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--gray);
  margin: 0;
  line-height: 1.55;
}

/* ===== Form ===== */
.form{
  background: var(--ink-2);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line-lt);
}
.form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form__label{ display: block; }
.form__field{
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line-lt);
  background: rgba(255,255,255,.05);
  color: var(--paper);
  border-radius: 12px;
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form__field::placeholder{ color: rgba(244,241,234,.45); }
.form__field:focus{ border-color: var(--gold); background: rgba(255,255,255,.09); }
.form__field:invalid:not(:placeholder-shown){ border-color: var(--red); }
.form__field--area{ min-height: 120px; resize: vertical; }
.form__hint{
  font-size: 12px;
  color: rgba(244,241,234,.5);
  margin: 8px 0 0;
  text-align: center;
}
.form__hint a{ color: var(--gold); text-decoration: underline; }

/* ===== Footer ===== */
.foot{
  background: var(--ink-3);
  color: var(--paper);
  padding: 80px 0 32px;
}
.foot__grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-lt);
}
.foot__brand p{ font-size: 14px; color: rgba(244,241,234,.7); margin-top: 16px; }
.foot__ip{ font-size: 12px !important; color: rgba(244,241,234,.4) !important; margin-top: 18px !important; }
.foot__col{ display: flex; flex-direction: column; gap: 6px; }
.foot__label{
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.foot__col a, .foot__col span{ font-size: 15px; color: var(--paper); }
.foot__col a:hover{ color: var(--gold); }
.foot__hint{ font-size: 12px !important; color: rgba(244,241,234,.45) !important; }
.foot__strip{
  margin: 32px 0 0;
  font-size: 13px;
  color: rgba(244,241,234,.4);
  text-align: center;
}
.foot__strip a{ color: var(--gold); }
.foot__nav{
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-lt);
}
.foot__nav a{
  font-size: 13px;
  color: rgba(244,241,234,.6);
  transition: color .2s;
}
.foot__nav a:hover{ color: var(--gold); }

/* ===== Адаптив ===== */
@media (max-width: 960px){
  .section{ padding: 80px 0; }
  .hero{ padding: 64px 0 88px; }
  .proof{ grid-template-columns: 1fr 1fr; gap: 20px; }
  .prices{ grid-template-columns: 1fr; }
  .foot__grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav{ display: none; }
  .top__menu{ display: flex; align-items: center; justify-content: center; }
  .top__phone{ font-size: 13px; white-space: nowrap; }
  .top{ gap: 8px; }
}
@media (max-width: 600px){
  .wrap{ padding: 0 20px; }
  .section{ padding: 64px 0; }
  .hero{ padding: 48px 0 64px; }
  .hero__h{ font-size: 30px; }
  .hero__mark{ font-size: 22px; padding: 4px 10px; }
  .hero__logo{ width: 72px; margin-bottom: 16px; }
  .hero__sub{ font-size: 16px; }
  .sect-h{ font-size: 30px; }
  .sect-lead{ font-size: 16px; margin-bottom: 40px; }
  .group{ padding: 8px 20px 20px; border-radius: 20px; }
  .group h3{ font-size: 22px; }
  .price-col{ padding: 24px; }
  .form{ padding: 28px 20px; }
  .form__row{ grid-template-columns: 1fr; }
  .foot__grid{ grid-template-columns: 1fr; }
  .top__row{ padding: 14px 20px; gap: 16px; }
  .b2b-cta{ flex-direction: column; text-align: center; }
  .b2b-cta .btn{ width: 100%; justify-content: center; }
  .hero__cta{ flex-direction: column; }
  .hero__cta .btn{ width: 100%; justify-content: center; }
}
