/* Общая тёмная тема и базовая типографика */

:root {
  --bg: #050A0F;
  --surface: #0D1B2A;
  --accent: #00F5FF;
  --accent-blue: #0066FF;
  --text: #F0F4F8;
  --text-muted: #8899AA;
  --gradient: linear-gradient(135deg, #00F5FF, #0066FF);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --glass: rgba(13, 27, 42, 0.7);
  --glass-border: rgba(0, 245, 255, 0.15);
  --glow: 0 0 30px rgba(0, 245, 255, 0.3);

  --spacing-section: 64px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-glow: 0 0 30px rgba(0, 245, 255, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(0, 245, 255, 0.3);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
}

h3 {
  font-size: 28px;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

.text-muted {
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-section) 0;
}

.section-title-center {
  text-align: center;
  margin-bottom: 40px;
}

/* Reveal-анимации */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar и шапка */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    border-color 0.3s ease;
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9375rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-trigger {
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown .dropdown-trigger::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-left: 2px;
}

.nav-dropdown .dropdown-trigger:hover {
  color: var(--accent);
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 180px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.875rem;
}

.nav-dropdown .dropdown-menu a:hover {
  background: rgba(0, 245, 255, 0.08);
  color: var(--accent);
}

/* Кнопки */

.btn-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--gradient);
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    box-shadow 0.3s ease,
    transform 0.15s ease;
  font-size: 0.9375rem;
}

.btn-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--bg);
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease,
    transform 0.15s ease;
  font-size: 0.9375rem;
}

.btn-outline:hover {
  box-shadow: var(--shadow-glow);
  background: rgba(0, 245, 255, 0.1);
  text-decoration: none;
  color: var(--accent);
  transform: translateY(-1px);
}

/* Бургер и мобильное меню */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.mobile-menu.open {
  max-height: 360px;
  opacity: 1;
}

.mobile-menu a {
  color: var(--text);
  font-size: 1rem;
}

/* Hero и page-hero */

.hero {
  min-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
  background: var(--bg);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.page-hero {
  padding: 120px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
}

/* Сервисы / услуги */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateY(-2px);
}

.service-card .icon-wrap {
  margin-bottom: 16px;
}

.service-card .icon-wrap svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.service-card .link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Портфолио карточки и модалка */

.portfolio-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 18px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.filter-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.portfolio-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateY(-4px);
}

.portfolio-card-img-wrap {
  height: 160px;
  background: var(--surface);
  position: relative;
}

.portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-img {
  opacity: 1;
}

.portfolio-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portfolio-card .category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(0, 245, 255, 0.2);
  border-radius: 999px;
  font-size: 0.6875rem;
  color: var(--accent);
  z-index: 1;
}

.portfolio-card .title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 8px;
}

.portfolio-card .short-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.4;
}

.portfolio-card-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--accent);
}

.portfolio-card-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portfolio-card[data-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.portfolio-card[data-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.modal-overlay.open .modal {
  opacity: 1;
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal .title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.modal .desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal .stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.modal .stack span {
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent);
}

.modal .result {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q::after {
  content: '+';
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Grid-компоненты: testimonials, partners, team */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
  border-color: rgba(0, 245, 255, 0.25);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 12px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  align-items: center;
}

.partner-pill {
  padding: 14px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
}

.team-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 245, 255, 0.25);
}

.team-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 4px;
}

.team-card .role {
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-card .bio {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Блог */

.blog-list {
  max-width: 720px;
  margin: 0 auto;
}

.blog-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.blog-item:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 245, 255, 0.25);
}

.blog-item h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.blog-item .blog-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Footer */

footer {
  padding: 40px 0 0;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 24px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-right {
  text-align: right;
}

.footer-right p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.footer-bar {
  padding: 14px;
  text-align: center;
  border-top: 1px solid var(--accent);
  margin-top: 20px;
}

.footer-bar span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Формы (квиз + контакты + модалки) */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: rgba(5, 10, 15, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
}

input.error {
  border-color: #ff4444;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success .checkmark path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

/* Media queries */

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Solutions by industries */
.solutions-nav-dropdown {
  position: relative;
}

.solutions-dropdown-trigger {
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0;
}

.solutions-dropdown-trigger:hover {
  color: var(--accent);
}

.solutions-mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 90vw);
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.98), rgba(5, 10, 15, 0.98));
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(0, 245, 255, 0.14);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.solutions-nav-dropdown.open .solutions-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.solutions-mega-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.industry-folder-card {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.95), rgba(5, 10, 15, 0.95));
  color: var(--text);
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 255, 0.16);
  padding: 12px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.industry-folder-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(0, 245, 255, 0.22);
  text-decoration: none;
  color: var(--text);
  border-color: rgba(0, 245, 255, 0.4);
}

.industry-folder-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.industry-folder-title {
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 700;
}

.subindustry-card h3 {
  font-size: 1rem;
}

.process-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.process-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: rgba(13, 27, 42, 0.45);
}

.process-table th,
.process-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  font-size: 0.875rem;
}

.process-link {
  background: none;
  border: none;
  color: var(--accent);
  text-align: left;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.process-link:hover {
  text-decoration: underline;
}

.process-cards-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 14px;
}

.process-feature-card {
  width: 100%;
  min-height: 210px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  color: #fff;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.95), rgba(5, 10, 15, 0.95));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.process-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.process-feature-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.process-feature-card-media {
  position: relative;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.process-feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-feature-card-meta {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2px;
}

.process-feature-card-title {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.3;
  margin: 0 0 4px;
  max-width: 100%;
}

.process-feature-card-control-label {
  margin: 2px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.process-feature-card-control-value {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.96);
}

.process-feature-card-more {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.solution-modal {
  max-width: 1040px;
}

.solution-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0f17;
  margin-bottom: 18px;
}

.solution-carousel-track {
  min-height: 320px;
  position: relative;
}

.solution-carousel-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: none;
}

.solution-carousel-image.active {
  display: block;
}

.solution-carousel-prev,
.solution-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 10, 15, 0.7);
  border: 1px solid var(--glass-border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
}

.solution-carousel-prev {
  left: 12px;
}

.solution-carousel-next {
  right: 12px;
}

.solution-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 12px 0;
}

.solution-info-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.solution-info-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.solution-info-grid details {
  grid-column: 1 / -1;
  background: rgba(5, 10, 15, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.solution-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.solutions-mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 92vw);
  height: 100vh;
  z-index: 180;
  background: #0c121d;
  border-left: 1px solid var(--glass-border);
  padding: 16px;
  transition: right 0.25s ease;
}

.solutions-mobile-panel.open {
  right: 0;
}

.solutions-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.solutions-mobile-list {
  display: grid;
  gap: 8px;
}

.solutions-mobile-list a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  color: var(--text);
}

@media (max-width: 900px) {
  .solution-info-grid {
    grid-template-columns: 1fr;
  }

  .process-cards-wrap {
    grid-template-columns: 1fr;
  }

  .process-feature-card {
    grid-template-columns: 1fr;
    min-height: 220px;
  }

  .process-feature-card-media {
    max-height: 150px;
  }
}

