/* ===== Services page (unique classes, no conflicts) ===== */

.tlsp{
  color:#1A1A1A;
  background:#fff;
  line-height:1.6;
  font-family:"Gilroy","Segoe UI",Roboto,sans-serif;
  isolation:isolate;
}

.tlsp, .tlsp *{ box-sizing:border-box; }
.tlsp img{ max-width:100%; height:auto; display:block; }
/*.tlsp a{ color:inherit; text-decoration:none; }*/
/*.tlsp a:hover{ text-decoration:none; }*/

/* Container */
.tlsp-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
}


.tlsp-hero{
  background:#F9F6F5;
  padding:139px 0 48px;
}

.tlsp-hero__subtitle{
  font-size:20px;
  line-height:30px;
  color:#4A4A4A;
  max-width:720px;
  padding-top:20px;
}

.tlsp-section{
  padding:80px 0;
  border-bottom:1px solid #E0DAD9;
}
.tlsp-section__title{
  font-weight:700;
  font-size:36px;
  line-height:44px;
  margin:0 0 48px;
}

/* Grid */
.tlsp-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:32px;
}

/* Card */
.tlsp-card{
  background:#fff;
  padding:32px;
  border-radius:4px;
  border:1px solid #E0DAD9;
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
  transition:transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tlsp-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 30px rgba(134,58,58,0.12);
}
.tlsp-card__icon{ margin:0 0 16px; }
.tlsp-card__icon-img{ width:48px; height:48px; }
.tlsp-card__title{
  font-weight:700;
  font-size:22px;
  line-height:30px;
  margin:0 0 16px;
}
.tlsp-card__title-link{ 
  display:inline-block; 
  color: #863A3A;
  }

.tlsp-card__title-link:hover{ 
  display:inline-block; 
  color: #863A3A;
  }

.tlsp-card__desc{
  color:#4A4A4A;
  font-size:18px;
  line-height:28px;
  margin:0 0 24px;
}

.tlsp-empty{
  color:#4A4A4A;
  font-size:16px;
  line-height:26px;
}

/* Buttons (unique, no .btn) */
.tlsp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 32px;
  min-height:44px;
  border-radius:2px;
  font-weight:600;
  font-size:16px;
  line-height:1.1;
  text-align:center;
  text-transform:none;
  letter-spacing:normal;
  user-select:none;
  transition:background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  border:2px solid transparent;
}

.tlsp-btn--primary{
  background:#863A3A;
  border-color:#863A3A;
  color:#fff;
}
.tlsp-btn--primary:hover{ background:#6A2E2E; border-color:#6A2E2E; }

.tlsp-btn--secondary{
  background:transparent;
  border-color:#3B5998;
  color:#3B5998;
  margin-top: auto;
}
.tlsp-btn--secondary:hover{
  background:#3B5998;
  color:#fff;
}

.tlsp-btn__icon{ display:inline-flex; }
.tlsp-btn__icon svg{ width:22px; height:22px; }

/* CTA */
.tlsp-cta{
  background:#F9F6F5;
  padding:80px 0;
  text-align:center;
}
.tlsp-cta__title{
  font-weight:700;
  font-size:32px;
  line-height:40px;
  margin:0 auto 16px;
  text-align: center;
}
.tlsp-cta__subtitle{
  color:#4A4A4A;
  font-size:18px;
  line-height:28px;
  margin:0 auto 32px;
  max-width:760px;
}

.tlsp-cta__buttons{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin:0 auto 18px;
  justify-content:center;
}

.tlsp-cta__contacts{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  margin:0 auto 0;
  justify-content:center;
}

.tlsp-cta__contact{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#4a4a4a8a;
  font-size:16px;
  line-height:24px;
}

.tlsp-cta__contact:hover{ color:#4a4a4a; }

.tlsp-cta__contact-icon{ display:inline-flex; }
.tlsp-cta__contact-icon svg{ width:14px; height:14px; }

/* Responsive */
@media (max-width:1024px){
  .tlsp-container{ padding:0 32px; }
  .tlsp-hero__title{ font-size:40px; line-height:48px; }
  .tlsp-section{ padding:64px 0; }
  .tlsp-section__title{ font-size:30px; line-height:38px; }
}

@media (max-width:768px){
  .tlsp-container{ padding:0 20px; }
  .tlsp-hero{ padding:32px 0 32px; }
  .tlsp-hero__title{ font-size:32px; line-height:40px; }
  .tlsp-hero__subtitle{ font-size:18px; line-height:28px; }

  .tlsp-section{ padding:48px 0; }
  .tlsp-section__title{ font-size:26px; line-height:34px; margin-bottom:32px; }

  .tlsp-cta{ padding:56px 0; text-align:center; }
  .tlsp-cta__subtitle{ margin-left:auto; margin-right:auto; }

  .tlsp-cta__buttons{ justify-content:center; }
  .tlsp-btn{ width:100%; }
  .tlsp-cta__contacts{ justify-content:center; }
}


/* === CTA buttons: стиль как в футере === */
.tlsp-cta .tlsp-btn{
  width:auto;
  min-width:260px;          /* как в футере */
  justify-content:flex-start;
  padding:16px 24px;
  border-radius:999px;      /* pill */
  font-size:16px;
  line-height:1.2;
}

/* Иконка слева */
.tlsp-cta .tlsp-btn__icon{
  margin-right:12px;
}

/* Цвета как в футере */
.tlsp-cta .tlsp-btn--primary{
  background:#863A3A;
  border-color:#863A3A;
  color:#fff;
}

.tlsp-cta .tlsp-btn--secondary{
  background:#ffffff;
  border-color:#E0DAD9;
  color:#1A1A1A;
}

/* Hover как в футере */
.tlsp-cta .tlsp-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}



/* === CTA центрирование всего блока === */
.tlsp-cta{ text-align:center; }
.tlsp-cta__subtitle{ margin:0 auto 32px; }

/* Центрируем кнопки */
.tlsp-ctaButtons{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* === Кнопки CTA как в футере (уникальные классы) === */
.tlsp-ctaBtn{
  box-sizing:border-box;
  cursor:pointer;
  vertical-align:middle;
  line-height:1.5;
  display:inline-flex;
  align-items:center;
  min-height:46px;
  text-decoration:none;
  user-select:none;

  /* геометрия как у футера */
  width:140px;
  justify-content:center;
  text-align:left;
  text-transform:none;
  letter-spacing:0;
  font-size:13px;
  font-weight:900;
  padding:10px 14px;
  gap:12px;

  /* общий бордер как в футере */
  border:1px solid #E3E7F0; /* var(--line) */
  border-radius:0 !important;

  /* анимации */
  transition:transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.tlsp-ctaBtn svg{
  width:22px;
  height:22px;
  flex:0 0 auto;
}

/* Текст в две строки */
.tlsp-ctaBtn__txt{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.tlsp-ctaBtn__l1{
  font-weight:700;
  font-size:11px;
  opacity:.9;
}
.tlsp-ctaBtn__l2{
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
}

/* Accent (Telegram) */
.tlsp-ctaBtn--accent{
  background:linear-gradient(135deg, rgba(59,89,152,.14), rgba(59,89,152,.06));
  border-color:rgba(59,89,152,.25);
  color:#3B5998; /* var(--accent) */
}

/* Brand (MAX) */
.tlsp-ctaBtn--brand{
  background:linear-gradient(135deg, rgba(134,58,58,.14), rgba(134,58,58,.06));
  border-color:rgba(134,58,58,.25);
  color:#863A3A; /* var(--brand) */
}

.tlsp-ctaBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(16,24,40,.08);
}
