html, body {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3{
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Header / Brand */
header {
  background: linear-gradient(135deg, #1a1a1a, #0f9d58);
  color: #fff;
  padding: 3px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tci-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tci-brand h1 {
  letter-spacing: 1px;
  font-size: 28px;
}

.tci-logo {
  height: 70px;
  width: auto;
}

/* Nav */
.tci-nav {
  display: flex;
  justify-content: center;
  gap: 20px; 
  flex-wrap: wrap;
}

.tci-nav a {
  color: #fff;
  padding: 8px 8px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px; 
}

.tci-nav a::after {
  content: "";
  display: block;
  height: 2px;
  background: #f4c542;
  width: 0;
  transition: width 0.3s ease;
  margin: 5px auto 0;
}

.tci-nav a:hover {
  color: #f4c542;
}

.tci-nav a:hover::after {
  width: 100%;
}

/* Если твой JS ставит класс .active на ссылку меню, оставляем так */
.tci-nav a.active {
  color: #f4c542;
  font-weight: 700;
}

main {
  flex: 1;
}

/* Containers */
.tci-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.tci-container--narrow {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

main h2, main h3 {
  margin-bottom: 15px;
  color: #1a1a1a;
}

main p {
  margin-bottom: 18px;
  text-align: justify;
  font-size: 17px;
}

/* Hero */
.tci-hero {
  height: 70vh;
  background: url("../assets/hero.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;    
  justify-content: flex-start;      
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tci-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55); 
}

.tci-hero__content {
  position: relative; 
  color: #fff;
  max-width: 1400px;
  z-index: 2;
  animation: fadeInUp 1.5s ease-in-out;
  margin: 0 auto;
  width: 100%;
}

.tci-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.tci-hero__text,
.tci-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.6;
  max-width: 600px;
}

/* Buttons */
.tci-btn {
  display: inline-block;
  padding: 13px 29px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.tci-btn--primary {
  background: #0f9d58;
  color: white;
}

.tci-btn--primary:hover {
  background: #0c7c46;
  transform: translateY(-2px);
}

/* Section header (icon + title) */
.tci-section-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tci-section-icon {
  display: flex;
  align-items: center;
}

.tci-section-icon svg {
  width: 40px;
  height: 40px;
  padding: 10px 0 0 0;
}

/* About */
.tci-about {
  padding: 60px 20px;
  text-align: center;
}

.tci-about h2 {
  font-size: 2rem;
  color: #222;
}

.tci-about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.2em;
}

/* Stats */
.tci-stats {
  background: linear-gradient(rgba(13,31,45,0.75), rgba(13,31,45,0.75)),
              url('/assets/stats.jpg') center/cover no-repeat;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tci-stats h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #ffffff;
}

.tci-stats__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.tci-stat {
  flex: 1 1 200px;
  max-width: 250px;
}

.tci-stat i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #00c389;
  text-shadow: 0 0 8px rgba(0, 195, 137, 0.4);
}

.tci-stat h3 {
  font-size: 2.2rem;
  margin: 5px 0;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.tci-stat p {
  font-size: 1rem;
  opacity: 0.9;
  color: #e0e0e0;
  text-align: center;
}

/* Why us / features */
.tci-why {
  padding: 60px 20px;
  text-align: center;
}

.tci-why h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

.tci-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.tci-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tci-feature-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.tci-feature-card i {
  font-size: 1.8rem;
  color: #fff;
  background: #2ecc71;
  padding: 15px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.tci-feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #222;
}

.tci-feature-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tci-feature-card:hover {
  box-shadow: 0px 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

/* CTA Parallax */
.tci-cta {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(46, 204, 113, 0.35), 
      rgba(0, 40, 15, 0.55)
    ),
    url('../assets/call-to.jpg') center center / cover no-repeat fixed;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 60px 0;
  color: #fff;
}

.tci-cta__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 20px;
}

.tci-cta__content h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff; 
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55); 
}

.tci-cta__content p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Latest articles */
.tci-latest {
  margin-bottom: 70px;
}

.tci-late-header {
  display: flex;
}

.tci-article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.tci-article-list li {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tci-article-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tci-article-list a {
  text-decoration: none;
  font-weight: 600;
  color: #0f9d58;
  font-size: 18px;
  transition: color 0.3s ease;
}

.tci-article-list a:hover {
  color: #1a1a1a;
}

/* Article media */
.tci-article-hero {
  width: 100%;
  height: 450px;   
  object-fit: cover; 
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tci-article-thumb {
  width: 100%;
  height: 180px;       
  object-fit: cover;   
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.tci-article-list li:hover .tci-article-thumb {
  transform: scale(1.03);
}

.tci-article-list li h3 {
  font-size: 16px;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

/* Ticker */
.tci-ticker {
  background: linear-gradient(180deg, #102a22 0%, #0a0a0a 100%);
  color: #fff;
  padding: 60px 20px;
  margin-top: 120px;
  overflow: hidden;
  border-top: 1px solid rgba(0,255,153,0.15);
  border-bottom: 1px solid rgba(0,255,153,0.15);
}

.tci-ticker h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #00ff99;
  font-size: 28px;
}

.tci-ticker__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  height: 400px;
  overflow: hidden;
}

.tci-ticker__col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.tci-ticker__item {
  background: #141414; 
  padding: 30px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 255, 153, 0.15);
  border: 1px solid rgba(0,255,153,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tci-ticker__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,255,153,0.25);
}

.tci-ticker__col--up {
  animation: tci-scrollUp 20s linear infinite;
}

.tci-ticker__col--down {
  animation: tci-scrollDown 22s linear infinite;
}

@keyframes tci-scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes tci-scrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a, #0f9d58);
  color: #fff;
  padding: 20px 40px;
  font-size: 14px;
}

.tci-footer__container {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.tci-newsletter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tci-newsletter input {
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  min-width: 220px;
}

.tci-newsletter button {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  background: #0f9d58;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.tci-newsletter button:hover {
  background: #13c06f;
}

.tci-newsletter__message {
  display: none;
  margin-left: 15px;
  color: #00ff9d;
  font-size: 14px;
  font-weight: bold;
}

footer p {
  margin: 0;
}

/* Article wrapper (generic card) */
.tci-article-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.tci-article-card h2 {
  margin-bottom: 15px;
  color: #1a1a1a;
}

.tci-article-card p {
  margin-bottom: 12px;
}

/* Ссылки внутри статей */
.tci-article-card p a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed #1a73e8;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.tci-article-card p a:hover {
  color: #0c47a1;
  border-bottom: 1px solid #0c47a1;
}

/* Cookie banner */
.tci-cookie {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 25px 20px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
  border-top: 4px solid #0f9d58; 
  transition: bottom 0.5s ease;
  z-index: 9999;
  border-radius: 12px 12px 0 0; 
}

.tci-cookie.show {
  bottom: 0;
}

.tci-cookie__content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-size: 15px;
  color: #333;
}

.tci-cookie__content b {
  color: #1a1a1a;
}

.tci-cookie__buttons {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tci-cookie__buttons button {
  padding: 12px 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 15px;
  min-width: 160px;
}

.tci-cookie__buttons button:hover {
  transform: translateY(-2px);
}

#accept-all {
  background: #0f9d58;
  color: #fff;
}

#accept-all:hover {
  background: #0c7a44;
}

#reject-all {
  background: #d9534f;
  color: #fff;
}

#reject-all:hover {
  background: #c9302c;
}

#cookie-settings {
  background: #1a73e8;
  color: #fff;
}

#cookie-settings:hover {
  background: #0c47a1;
}

/* Contact form (если используешь на других страницах) */
.tci-contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 40px auto;
  font-family: 'Open Sans', sans-serif;
}

.tci-contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.tci-input-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fafafa;
}

.tci-input-group .tci-icon {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Поля ввода */
.tci-input-group input,
.tci-input-group textarea {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
  font-size: 1rem;
}

.tci-textarea-group {
  align-items: flex-start;
}

.tci-input-group textarea {
  resize: none;
  min-height: 100px;
}

.tci-contact-form button {
  width: 100%;
  background: #0f9d58;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tci-contact-form button:hover {
  background: #005f46;
}

/* Иконка (градиент текстом) */
.tci-icon {
  margin-right: 12px;
  background: linear-gradient(135deg, #1a1a1a, #0f9d58);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

/* Утилитарные */
.tci-form-message {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #00b894; 
}

/* Анимация из исходника (если используешь) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ===== FAQ ===== */
.tci-faq {
  padding: 50px 20px 70px;
}

.tci-faq h2 {
  text-align: left;               /* можно center, если хочешь */
  margin-bottom: 18px;
  color: #111;
}

.tci-faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow .25s ease, border-color .25s ease;
  margin-bottom: 12px;
  overflow: hidden;               /* убирает дёрганье при открытии */
}

/* скрываем стандартный маркер details */
.tci-faq__item summary {
  list-style: none;
}
.tci-faq__item summary::-webkit-details-marker {
  display: none;
}

/* шапка вопроса */
.tci-faq__item > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 16px 18px 16px 48px;   /* слева место под стрелку */
  font-weight: 600;
  color: #1a1a1a;
  user-select: none;
  position: relative;
  transition: background .25s ease, color .25s ease;
}

/* стрелка */
.tci-faq__item > summary::before {
  content: "▸";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #0f9d58;
  transition: transform .25s ease;
}


.tci-faq__item[open] {
  border-color: #0f9d58;
  box-shadow: 0 6px 18px rgba(15,157,88,0.12);
}
.tci-faq__item[open] > summary {
  background: linear-gradient(0deg, rgba(15,157,88,0.04), #fff 60%);
}
.tci-faq__item[open] > summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.tci-faq__item > summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15,157,88,0.25) inset;
  border-radius: 12px;
}

.tci-faq__item > *:not(summary) {
  padding: 0 18px 16px 48px;
  color: #555;
  font-size: 0.98rem;
  animation: tci-faq-fade .25s ease;
}
@keyframes tci-faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* компакт на мобилках */
@media (max-width: 560px) {
  .tci-faq__item > summary { padding: 14px 14px 14px 44px; }
  .tci-faq__item > *:not(summary) { padding: 0 14px 14px 44px; }
}