:root {
  --bg: #ffffff;
  --bg-soft: #f8fafe;
  --title: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --line: #dbe7fb;
  --shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
  --shadow-hover: 0 20px 30px -12px rgba(0,0,0,0.1);
  --hero-grad: linear-gradient(128deg, #c2cdd8 0%, #b1f0d5 48%, #95d8ff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
.container { width: min(1160px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid #e5edf9;
  backdrop-filter: blur(8px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  text-decoration: none;
  color: var(--title);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
}
.menu { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: .3rem .5rem;
  border-radius: 999px;
}
.menu a:hover { color: var(--accent); background: rgba(59,130,246,.08); }

/* ========================================
   КНОПКИ
   ======================================== */
.btn {
  display: inline-block;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, var(--accent-hover), #1e40af);
}
.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.btn-telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}
.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
  background: linear-gradient(135deg, #0099dd, #0077aa);
}
.btn-email {
  background: linear-gradient(135deg, #6c5ce7, #5b4bc4);
  color: #fff;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}
.btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
  background: linear-gradient(135deg, #7d6ef7, #6b5cd4);
}
.btn:active { transform: translateY(1px); }
.btn span { transition: transform 0.2s ease; }
.btn:hover span { transform: translateX(3px); }
a.btn { text-decoration: none; }

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.hero-actions .btn-primary { animation: btnPulse 2s infinite; }
.hero-actions .btn-primary:hover { animation: none; }
.menu .btn-primary { padding: 0.6rem 1.4rem; font-size: 0.9rem; }
.hero-actions .btn-light { background: rgba(255,255,255,0.95); color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  background: var(--hero-grad);
  border-bottom: none;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1020px 520px at 14% 20%, rgba(15,23,42,0.78), rgba(15,23,42,0.38) 54%, rgba(15,23,42,0.24)), radial-gradient(860px 460px at 84% 14%, rgba(59,130,246,0.34), transparent 62%), radial-gradient(700px 360px at 68% 76%, rgba(16,185,129,0.28), transparent 64%), linear-gradient(145deg, rgba(37,99,235,0.18), rgba(16,185,129,0.12));
  pointer-events: none;
  z-index: 1;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 760px; margin: 0 auto; padding: 2rem 0; text-align: center;
}
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; margin-top: 1.45rem; display: flex; gap: .7rem; flex-wrap: wrap; }
h1, h2, h3 { color: var(--title); line-height: 1.18; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); margin-bottom: .65rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); margin-bottom: .5rem; }
.hero-sub { margin-top: 1rem; max-width: 62ch; }
.hero-line { margin-top: .95rem; font-size: clamp(1.25rem, 2.7vw, 1.95rem); color: var(--title); font-weight: 700; }
.hero-dynamic { color: #ffffff; border-right: 2px solid rgba(255,255,255,.78); padding-right: 2px; }
.hero h1, .hero .hero-sub, .hero .hero-line { color: #fff !important; text-shadow: 0 8px 24px rgba(15,23,42,.42); }

.section { padding: 4rem 0; }
.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
#bots.soft { border-top: none; }
.section-head p { margin: 0; color: var(--muted); }

/* Карточки ботов (вертикальные) */
.bots-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  display: flex;
  gap: 2rem;
  background: #ffffff;
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.12);
  overflow: visible;
  cursor: pointer;
}
.card-content { flex: 1; }
.card-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4fe 0%, #e6edfc 100%);
  border-radius: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}
.card:hover .card-icon {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, #e8eefe 0%, #dce6fc 100%);
}
.telegram-icon, .robot-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.telegram-icon { background: linear-gradient(135deg, #2aabee, #0088cc); box-shadow: 0 8px 16px rgba(0,136,204,0.25); }
.robot-icon { background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 8px 16px rgba(102,126,234,0.25); border-radius: 20px; }
.telegram-icon svg { width: 36px; height: 36px; fill: white; }
.robot-icon span { font-size: 2.2rem; }

.floating-icon {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.7;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.floating-icon:nth-child(2) { top: -15px; right: -15px; animation: float1 4s ease-in-out infinite; }
.floating-icon:nth-child(3) { bottom: -12px; left: -12px; animation: float2 5s ease-in-out infinite 0.5s; }
.floating-icon:nth-child(4) { top: 40%; right: -25px; animation: float3 3.5s ease-in-out infinite 1s; }
@keyframes float1 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes float2 { 0%,100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(10px) rotate(-5deg); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8px,-8px) scale(1.1); } }

.card-details {
  margin-top: 0.5rem;
  border: none;
  background: transparent;
}
.card-details summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.card-details summary:hover {
  color: var(--accent-hover);
  transform: translateX(5px);
}
.card-details summary::-webkit-details-marker {
  display: none;
}
.card-details summary::after {
  content: "▶";
  width: auto;
  background: transparent;
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.card-details[open] summary::after {
  content: "▼";
}
.card-details-content {
  padding: 0.5rem 0 0.5rem;
  animation: detailsFade 0.25s ease-out;
}
@keyframes detailsFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
  cursor: pointer;
  pointer-events: auto;
}
.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.4);
  background: linear-gradient(135deg, var(--accent-hover), #1e40af);
}
.card:nth-child(odd) .card-icon { order: 2; }
.card:nth-child(even) .card-icon { order: 0; }

.card.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1); }
.card.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1); }
.card.reveal-left.visible, .card.reveal-right.visible { opacity: 1; transform: translateX(0); }

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--hero-grad);
}
.card:hover .card-icon { background: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.card h3 { margin-bottom: .45rem; }
.card p { margin: 0; color: var(--text); }
.card .muted { margin-bottom: .55rem; color: var(--muted); font-style: italic; }
.outcome {
  margin-top: .65rem;
  padding-top: .6rem;
  border-top: 1px solid #e7eefb;
  color: #0f8a6e !important;
  font-weight: 600;
}
.card ul { margin: .55rem 0 0; padding-left: 1rem; color: var(--text); }
.card ul li { margin-bottom: .35rem; position: relative; }
.card ul li::before { content: "•"; position: absolute; left: -0.8rem; color: var(--accent); font-weight: bold; }

/* Карточки услуг (раскрывающиеся, кликабельные) */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  display: flex;
  gap: 2rem;
  background: #ffffff;
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.12);
  overflow: visible;
  cursor: pointer;
}
.service-card:nth-child(odd) .service-icon { order: 2; }
.service-card:nth-child(even) .service-icon { order: 0; }
.service-content { flex: 1; }
.service-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4fe 0%, #e6edfc 100%);
  border-radius: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}
.service-icon .emoji-icon { font-size: 3.5rem; transition: transform 0.3s ease; }
.service-card:hover .service-icon {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, #e8eefe 0%, #dce6fc 100%);
}
.service-card:hover .service-icon .emoji-icon { transform: scale(1.1); }
.service-floating-icon {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.7;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.service-floating-icon:nth-child(2) { top: -15px; right: -15px; animation: serviceFloat1 4s ease-in-out infinite; }
.service-floating-icon:nth-child(3) { bottom: -12px; left: -12px; animation: serviceFloat2 5s ease-in-out infinite 0.5s; }
.service-floating-icon:nth-child(4) { top: 40%; right: -25px; animation: serviceFloat3 3.5s ease-in-out infinite 1s; }
@keyframes serviceFloat1 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes serviceFloat2 { 0%,100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(10px) rotate(-5deg); } }
@keyframes serviceFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8px,-8px) scale(1.1); } }

.service-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--title); }
.service-intro { font-size: 1.05rem; color: var(--accent) !important; font-weight: 600; margin-bottom: 1rem; }
.service-details {
  margin-top: 0.5rem;
  border: none;
  background: transparent;
}
.service-details summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.service-details summary:hover { color: var(--accent-hover); transform: translateX(5px); }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after { content: "▶"; width: auto; background: transparent; font-size: 0.8rem; transition: transform 0.2s ease; }
.service-details[open] summary::after { content: "▼"; }
.service-details-content { padding: 0.5rem 0 0.5rem; animation: detailsFade 0.25s ease-out; }

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
  cursor: pointer;
  pointer-events: auto;
}
.service-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59,130,246,0.4); background: linear-gradient(135deg, var(--accent-hover), #1e40af); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--hero-grad);
}
.service-card:hover h3, .service-card:hover p, .service-card:hover .service-intro, .service-card:hover .logic-label { color: inherit !important; }
.service-card:hover .service-icon { background: rgba(255,255,255,0.95); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Блок "Как мы работаем" (интерактивный) */
.how-it-works {
  background: linear-gradient(135deg, #f8fafe 0%, #eef3ff 100%);
  border-radius: 32px;
  padding: 2.5rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.how-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59,130,246,0.1);
}
.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(59,130,246,0.15);
  border-color: var(--accent);
}
.how-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.how-card h3 { margin-bottom: 0.75rem; }
.how-card p { color: var(--text); }
.how-card .floating-icon {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.2s;
}
.how-card .floating-icon:nth-child(4) {
  top: -10px;
  right: -10px;
  animation: floatHow1 6s ease-in-out infinite;
}
.how-card .floating-icon:nth-child(5) {
  bottom: -10px;
  left: -10px;
  animation: floatHow2 7s ease-in-out infinite;
}
@keyframes floatHow1 {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-8px, 8px) rotate(10deg); }
}
@keyframes floatHow2 {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(8px, -8px) rotate(-10deg); }
}
.how-footer {
  margin-top: 2rem;
  background: rgba(59,130,246,0.08);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  text-align: center;
}
.how-footer p {
  margin: 0;
  font-weight: 700;
}
.how-footer ul {
  margin: 0.5rem 0 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
}
.how-footer li {
  font-size: 0.95rem;
}

/* Секция команды */
.team-section {
  text-align: center;
}
.team-description {
  max-width: 700px;
  margin: 1rem auto 2rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.team-card {
  background: #fff;
  border-radius: 28px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(59,130,246,0.1);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
  border-color: var(--accent);
}
.team-avatar { font-size: 3.5rem; margin-bottom: 1rem; }
.team-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.team-desc { color: var(--muted); font-size: 0.85rem; }

/* Контакты и калькуляторы */
.contact-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; justify-content: center; }
.contact-buttons .btn { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-buttons .btn span { font-size: 1.2rem; }

.calculator {
  background: #fff;
  border-radius: 32px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  transition: transform 0.2s;
}
.calculator:hover { transform: translateY(-4px); }
.calc-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; align-items: flex-end; }
.calc-group { flex: 1; min-width: 180px; }
.calc-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; color: var(--title); font-size: 0.9rem; }
.calc-group select, .calc-group input { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 20px; font-family: inherit; background: #fff; }
.calc-group select:focus, .calc-group input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.calc-price { font-size: 2rem; font-weight: 800; color: var(--accent); text-align: center; padding: 1rem; background: #f0f4fe; border-radius: 28px; margin-top: 1rem; }
.calc-price small { font-size: 1rem; font-weight: normal; color: var(--muted); }
.calc-note { font-size: 0.8rem; text-align: center; margin-top: 1rem; color: var(--muted); }

.site-footer { padding: 1.8rem 0; border-top: 1px solid #e7eefb; background: #fff; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; }
.site-version { position: fixed; top: 5px; left: 8px; z-index: 300; font-size: 9px; letter-spacing: 0.09em; text-transform: lowercase; color: rgba(148,163,184,0.34); pointer-events: none; user-select: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .menu { display: none; }
  .hero-inner { padding-top: 3rem; }
  .card, .service-card { flex-direction: column; padding: 1.4rem; gap: 1rem; }
  .card:nth-child(odd) .card-icon, .card:nth-child(even) .card-icon,
  .service-card:nth-child(odd) .service-icon, .service-card:nth-child(even) .service-icon { order: 0; align-self: center; }
  .card-icon, .service-icon { width: 90px; height: 90px; }
  .telegram-icon, .robot-icon { width: 50px; height: 50px; }
  .telegram-icon svg { width: 28px; height: 28px; }
  .robot-icon span { font-size: 1.6rem; }
  .floating-icon, .service-floating-icon { font-size: 1.2rem; }
  .service-card h3 { font-size: 1.3rem; }
  .service-icon .emoji-icon { font-size: 2.5rem; }
  .how-it-works, .calculator { padding: 1.5rem; }
  .calc-row { flex-direction: column; }
}

/* Стили для обезличенных карточек команды */
.team-card {
  text-align: left;
}
.team-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  list-style: none;
}
.team-list li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
}
.team-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.team-list strong {
  color: var(--title);
}
.team-description {
  max-width: 700px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
}

/* ========================================
   ИНТЕРАКТИВНЫЙ МАРШРУТ (ROADMAP)
   ======================================== */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.roadmap-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(59,130,246,0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.roadmap-step:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px -8px rgba(59,130,246,0.2);
}
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  min-width: 70px;
}
.step-content {
  flex: 1;
}
.step-content h3 {
  margin-bottom: 0.3rem;
}
.step-content p {
  margin: 0;
  color: var(--text);
}
.step-icon {
  font-size: 2.5rem;
  transition: transform 0.2s;
}
.roadmap-step:hover .step-icon {
  transform: scale(1.1) rotate(3deg);
}
.roadmap-step .floating-icon {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0.3;
  pointer-events: none;
}
.roadmap-step .floating-icon:nth-child(4) {
  top: -10px;
  right: -10px;
  animation: roadmapFloat1 5s infinite;
}
.roadmap-step .floating-icon:nth-child(5) {
  bottom: -10px;
  left: -10px;
  animation: roadmapFloat2 6s infinite 0.5s;
}
@keyframes roadmapFloat1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-6px, 6px); }
}
@keyframes roadmapFloat2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(6px, -6px); }
}
.roadmap-note {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  background: rgba(59,130,246,0.08);
  border-radius: 20px;
  font-size: 0.95rem;
}
.roadmap-note strong {
  color: var(--accent);
}
@media (max-width: 768px) {
  .roadmap-step {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .step-number {
    min-width: 50px;
    font-size: 1.6rem;
  }
  .step-icon {
    font-size: 1.8rem;
  }
}

.card-details { margin-top: 0.5rem; border: none; background: transparent; }
.card-details summary { list-style: none; cursor: pointer; padding: 0.5rem 0; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; }
.card-details summary:hover { color: var(--accent-hover); transform: translateX(5px); }
.card-details summary::-webkit-details-marker { display: none; }
.card-details summary::after { content: "▶"; width: auto; background: transparent; font-size: 0.8rem; transition: transform 0.2s; }
.card-details[open] summary::after { content: "▼"; }
.card-details-content { padding: 0.5rem 0 0.5rem; animation: detailsFade 0.25s; }
.card-btn { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; padding: 0.6rem 1.2rem; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: #fff; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.3s; box-shadow: 0 4px 12px rgba(59,130,246,0.3); cursor: pointer; pointer-events: auto; }
.card-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59,130,246,0.4); background: linear-gradient(135deg, var(--accent-hover), #1e40af); }