/* ============================================
   SERVICES.CSS — стили страницы услуг
   Используются переменные тем из main.css.
   Подключается только на странице услуг.
   ============================================ */

/* Фон страницы — простой статичный, как на странице каталога */
.global-bg{
  display:none;
}

body{
  background:var(--bg2);
  min-height:100vh;
}

/* ============================================
   ШАПКА
   ============================================ */

.srv-hero{
  position:relative;
  z-index:2;
  padding:44px 0 8px;
}

.srv-crumbs{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--ink3);
  margin-bottom:22px;
}

.srv-crumbs a{
  color:var(--ink3);
  transition:color .2s;
}

.srv-crumbs a:hover{
  color:var(--blue);
}

.srv-crumbs i{
  font-size:10px;
  opacity:0.5;
}

.srv-crumbs span{
  color:var(--ink2);
}

.srv-hero-title{
  font-size:clamp(36px,4.6vw,62px);
  font-weight:800;
  color:var(--blue);
  line-height:1.04;
  letter-spacing:-0.035em;
  margin:18px 0 14px;
  text-shadow:0 6px 16px rgba(0,0,0,0.12);
  animation:fadeUp .8s ease .05s both;
}

.srv-hero-sub{
  font-size:16px;
  font-weight:400;
  color:var(--ink2);
  line-height:1.6;
  max-width:620px;
  animation:fadeUp .8s ease .15s both;
}

.srv-hero-dl{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:24px;
  background:var(--card);
  border:1.5px solid var(--line);
  border-radius:12px;
  padding:13px 22px;
  font-family:'Manrope',sans-serif;
  font-size:14px;
  font-weight:700;
  color:var(--blue);
  box-shadow:var(--sh-sm);
  transition:all .2s;
  animation:fadeUp .8s ease .25s both;
}

.srv-hero-dl:hover{
  border-color:var(--blue);
  background:var(--blue-l);
}

.srv-hero-dl i{
  font-size:16px;
}

/* ============================================
   СЕКЦИЯ УСЛУГ
   ============================================ */

.srv-section{
  position:relative;
  z-index:2;
  padding:36px 0 38px;
}

.srv-sec-head{
  margin-bottom:26px;
}

.srv-sec-title{
  font-family:'Unbounded',sans-serif;
  font-size:clamp(22px,2.6vw,30px);
  font-weight:700;
  color:var(--blue);
  letter-spacing:-0.02em;
  margin-bottom:10px;
}

.srv-sec-sub{
  font-size:15px;
  color:var(--ink2);
  line-height:1.6;
  max-width:640px;
}

/* ---------- Сетка карточек услуг ---------- */

.srv-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.srv-card{
  background:var(--card);
  border-radius:20px;
  padding:28px 26px;
  box-shadow:var(--sh-sm);
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;
}

.srv-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--sh-lg);
}

/* Иконка услуги — брендовая плашка, синяя/оранжевая */
.srv-card-ico{
  width:58px;
  height:58px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
}

.srv-card[data-tone="blue"] .srv-card-ico{
  background:var(--blue-l);
  color:var(--blue);
}

.srv-card[data-tone="orange"] .srv-card-ico{
  background:var(--orange-l);
  color:var(--orange);
}

.srv-card-name{
  font-family:'Unbounded',sans-serif;
  font-size:17px;
  font-weight:700;
  color:var(--blue);
  letter-spacing:-0.02em;
  line-height:1.3;
}

.srv-card-desc{
  font-size:14px;
  color:var(--ink2);
  line-height:1.6;
  flex:1;
}

/* Подвал карточки — цена */
.srv-card-foot{
  margin-top:auto;
  padding-top:16px;
  border-top:1.5px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.srv-card-price{
  display:flex;
  flex-direction:column;
  gap:1px;
}

.srv-card-price .val{
  font-family:'Unbounded',sans-serif;
  font-size:21px;
  font-weight:800;
  color:var(--blue);
  letter-spacing:-0.02em;
  line-height:1.1;
}

.srv-card-price .unit{
  font-size:12px;
  color:var(--ink3);
}

.srv-card-tag{
  font-size:11px;
  font-weight:700;
  color:var(--ink2);
  background:var(--bg2);
  border:1px solid var(--line);
  border-radius:8px;
  padding:5px 10px;
  white-space:nowrap;
}

/* ============================================
   БЛОК СКАЧИВАНИЯ ДОКУМЕНТА
   ============================================ */

.srv-dl-section{
  position:relative;
  z-index:2;
  padding:14px 0 96px;
}

.srv-dl{
  background:var(--blue);
  border-radius:24px;
  padding:34px 36px;
  display:flex;
  align-items:center;
  gap:26px;
  box-shadow:0 20px 48px rgba(34,83,156,0.28);
}

.srv-dl-ico{
  width:66px;
  height:66px;
  border-radius:18px;
  background:rgba(255,255,255,0.15);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:31px;
  flex-shrink:0;
}

.srv-dl-body{
  flex:1;
  min-width:0;
}

.srv-dl-title{
  font-family:'Unbounded',sans-serif;
  font-size:22px;
  font-weight:800;
  color:#fff;
  letter-spacing:-0.02em;
  margin-bottom:8px;
}

.srv-dl-text{
  font-size:14.5px;
  color:rgba(255,255,255,0.86);
  line-height:1.6;
}

.srv-dl-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:14px;
}

.srv-dl-meta span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12.5px;
  font-weight:600;
  color:rgba(255,255,255,0.75);
}

.srv-dl-meta i{
  font-size:14px;
}

.srv-dl-btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  flex-shrink:0;
  background:var(--orange);
  color:#fff;
  border-radius:13px;
  padding:15px 28px;
  font-family:'Manrope',sans-serif;
  font-size:15px;
  font-weight:700;
  white-space:nowrap;
  transition:all .2s;
}

.srv-dl-btn:hover{
  background:var(--orange-d);
  transform:translateY(-2px);
}

.srv-dl-btn i{
  font-size:17px;
}

/* ============================================
   АДАПТИВНОСТЬ
   Десктоп  — 3 карточки в ряд.
   Планшет  — 2 карточки в ряд.
   Мобильный — 1 карточка в ряд, баннер в столбик.
   ============================================ */

@media(max-width:1024px){
  .srv-grid{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
  }
}

@media(max-width:820px){
  .srv-hero{
    padding:34px 0 6px;
  }
  .srv-section{
    padding:30px 0 32px;
  }
  .srv-dl-section{
    padding:12px 0 72px;
  }
  .srv-dl{
    padding:28px;
    gap:20px;
  }
}

@media(max-width:640px){
  .srv-hero-title{
    font-size:32px;
  }
  .srv-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .srv-card{
    padding:24px 22px;
  }

  /* Баннер скачивания — в столбик */
  .srv-dl{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
    padding:26px 22px;
  }
  .srv-dl-btn{
    width:100%;
    justify-content:center;
  }
}
