@charset "UTF-8";
header.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(to right, #111827, #000000);
  border-bottom: 1px solid #1f2937;
}
header.header nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.header nav img {
  height: 3.5rem;
}
@media (max-width: 768px) {
  header.header nav img {
    display: none;
  }
}
header.header nav .nav-links {
  display: flex;
  gap: 2rem;
}
header.header nav .nav-links a {
  color: #d1d5db;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
header.header nav .nav-links a:hover {
  color: #26C6DA;
}
header.header nav .nav-links a.contact {
  background: linear-gradient(to right, #FFA726, #FF6F00);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: box-shadow 0.3s ease;
}
header.header nav .nav-links a.contact:hover {
  box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}
@media (max-width: 480px) {
  header.header nav .nav-links {
    gap: 1rem;
  }
  header.header nav .nav-links a {
    font-size: 0.875rem;
  }
}

#hero {
  background-color: #111827;
  padding-top: 2rem;
}
#hero .hero-container {
  padding: 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#hero .hero-container .logo {
  position: relative;
}
#hero .hero-container .logo img {
  width: 12rem;
  height: 12rem;
}
#hero .hero-container h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #FFA726, #26C6DA);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  #hero .hero-container h1 {
    font-size: 3.75rem;
  }
}
#hero .hero-container p {
  font-size: 1.25rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 40rem;
}
#hero .hero-container .cta {
  display: inline-block;
  background: linear-gradient(to right, #26C6DA, #0288D1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
#hero .hero-container .cta:hover {
  box-shadow: 0 0 10px rgba(38, 128, 218, 0.3);
}

/* === Hero panel: premium glass component (moved from global) === */
.hero__panel {
  border-radius: 22px;
  border: 1px solid rgba(180, 200, 255, 0.12);
  background: rgba(11, 18, 32, 0.28);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  padding: 14px;
}

.hero-panel__top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 10px;
  color: rgba(245, 247, 255, 0.58);
}

.hero-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-panel__card {
  border-radius: 18px;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(180, 200, 255, 0.1);
  padding: 12px;
}

.hero-panel__label {
  color: rgba(245, 247, 255, 0.58);
  font-size: 12px;
}

.hero-panel__metric {
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;
}

.hero-panel__delta {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(245, 247, 255, 0.62);
}

.hero-panel__quote {
  margin-top: 10px;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(90deg, rgba(46, 231, 211, 0.14), rgba(177, 140, 255, 0.14));
  border: 1px solid rgba(180, 200, 255, 0.1);
}

.hero-panel__quote-text {
  color: rgba(245, 247, 255, 0.9);
  font-size: 12px;
  line-height: 1.5;
}

.hero-panel__quote-by {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(245, 247, 255, 0.62);
}

@media (max-width: 900px) {
  .hero-panel__grid {
    grid-template-columns: 1fr;
  }
}
/* === Hero panel: premium glass component (moved from global) === */
.hero__panel {
  border-radius: 22px;
  border: 1px solid rgba(180, 200, 255, 0.12);
  background: rgba(11, 18, 32, 0.28);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  padding: 14px;
}

.hero-panel__top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 10px;
  color: rgba(245, 247, 255, 0.58);
}

.hero-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-panel__card {
  border-radius: 18px;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(180, 200, 255, 0.1);
  padding: 12px;
}

.hero-panel__label {
  color: rgba(245, 247, 255, 0.58);
  font-size: 12px;
}

.hero-panel__metric {
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;
}

.hero-panel__delta {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(245, 247, 255, 0.62);
}

.hero-panel__quote {
  margin-top: 10px;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(90deg, rgba(46, 231, 211, 0.14), rgba(177, 140, 255, 0.14));
  border: 1px solid rgba(180, 200, 255, 0.1);
}

.hero-panel__quote-text {
  color: rgba(245, 247, 255, 0.9);
  font-size: 12px;
  line-height: 1.5;
}

.hero-panel__quote-by {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(245, 247, 255, 0.62);
}

@media (max-width: 900px) {
  .hero-panel__grid {
    grid-template-columns: 1fr;
  }
}
/* === Hero badge dot: brand gradient (no green) === */
.hero__badge-dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nt-aqua, #2FE7D3), var(--nt-violet, #B18CFF));
  box-shadow: 0 0 18px rgba(46, 231, 211, 0.22);
}

#about {
  background-color: #111827;
  padding: 6rem 0;
}
#about .container {
  padding: 0 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
#about .logo-wrapper {
  position: relative;
  width: 10rem;
  height: 10rem;
  margin: 0 auto 2rem;
}
#about h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(to right, #ffa726, #26c6da);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
  #about h1 {
    font-size: 3rem;
  }
}
#about .content {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  #about .content {
    grid-template-columns: repeat(2, 1fr);
  }
}
#about .content p {
  color: #d1d5db;
  font-size: 1.125rem;
  line-height: 1.75rem;
}
#about .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
#about .stats .card {
  background-color: #1f2937;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #374151;
  transition: border-color 0.3s ease;
}
#about .stats .card.orange:hover {
  border-color: #ffa726;
}
#about .stats .card.blue:hover {
  border-color: #26c6da;
}
#about .stats .card .value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
#about .stats .card .desc {
  color: #9ca3af;
}
#about .stack {
  margin-top: 5rem;
}
#about .stack h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 2.5rem;
  text-align: center;
}
#about .stack .icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  #about .stack .icons {
    grid-template-columns: repeat(4, 1fr);
  }
}
#about .stack .icons .tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#about .stack .icons .tech-item svg,
#about .stack .icons .tech-item i {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  color: inherit;
}
#about .stack .icons .tech-item span {
  font-size: 1.125rem;
  font-weight: 500;
  color: #e5e7eb;
}

/* === About: premium typography + clean system === */
.about__title {
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.4px;
  margin: 0 0 10px 0;
}

.about__p {
  color: rgba(245, 247, 255, 0.78);
  line-height: 1.65;
  max-width: 68ch;
}

.about__p--mt {
  margin-top: 10px;
}

.about__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 255, 0.55);
  margin-bottom: 6px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 12px;
  margin-top: 6px;
}

.about__stat-label {
  color: rgba(245, 247, 255, 0.55);
  font-size: 11px;
}

.about__stat-value {
  font-weight: 700;
  color: rgba(245, 247, 255, 0.88);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .about__title {
    font-size: 24px;
  }
  .about__stats {
    grid-template-columns: 1fr;
  }
}
.services-section {
  background-color: #111827;
  padding: 6rem 1.5rem;
}
.services-section .container {
  max-width: 1280px;
  margin: 0 auto;
}
.services-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-section .section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(to right, #FFA726, #66BB6A);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.services-section .section-header p {
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
}
.services-section .services-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .services-section .services-cards {
    flex-direction: row;
    justify-content: space-between;
  }
}
.services-section .services-cards .service-card {
  background-color: #1f2937;
  border-radius: 0.75rem;
  padding: 2rem;
  flex: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}
.services-section .services-cards .service-card:hover {
  background-color: #2c3542;
}
.services-section .services-cards .service-card .icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.services-section .services-cards .service-card .icon-title i {
  font-size: 1.5rem;
  color: #FFA726;
}
.services-section .services-cards .service-card .icon-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.services-section .services-cards .service-card ul {
  list-style: none;
  padding: 0;
}
.services-section .services-cards .service-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #9ca3af;
  font-size: 1rem;
}
.services-section .services-cards .service-card ul li i {
  color: #FFA726;
  font-size: 1rem;
}
.services-section .services-cards .service-card:nth-child(2) .icon-title i, .services-section .services-cards .service-card:nth-child(2) ul li i {
  color: #26C6DA;
}
.services-section .services-cards .service-card:nth-child(3) .icon-title i, .services-section .services-cards .service-card:nth-child(3) ul li i {
  color: #0288D1;
}
.services-section .cta-button {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
}
.services-section .cta-button button {
  background: linear-gradient(to right, #FFA726, #FF6F00);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.services-section .cta-button button:hover {
  box-shadow: 0 0 12px rgba(255, 111, 0, 0.4);
}
.services-section .tech-stack {
  background-color: #1f2937;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}
.services-section .tech-stack h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3rem;
}
.services-section .tech-stack .tech-icons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12rem;
}
.services-section .tech-stack .tech-icons .tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services-section .tech-stack .tech-icons .tech-item i {
  font-size: 4.5rem;
  margin-bottom: 1.25rem;
}
.services-section .tech-stack .tech-icons .tech-item svg {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
}
.services-section .tech-stack .tech-icons .tech-item span {
  font-size: 1.125rem;
  color: #e5e7eb;
  font-weight: 500;
}

/* === Services: premium grid + glass cards === */
#services .section__inner {
  max-width: 1280px;
}

/* grid hooks (подхватим разные варианты названий) */
#services .services__grid,
#services .services-grid,
#services .services__cards,
#services .services-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* card hooks */
#services .services__card,
#services .service-card,
#services .services-card,
#services .card {
  background: rgba(11, 18, 32, 0.28);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  padding: 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

/* заголовки внутри карточек выглядят “дороже” */
#services .services__card h3,
#services .service-card h3,
#services .services-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  letter-spacing: -0.2px;
}

/* Services: responsive + hover */
@media (max-width: 900px) {
  #services .services__grid,
  #services .services-grid,
  #services .services__cards,
  #services .services-cards {
    grid-template-columns: 1fr;
  }
}
#services .services__card:hover,
#services .service-card:hover,
#services .services-card:hover,
#services .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  border-color: rgba(180, 200, 255, 0.18);
}

#contact {
  background-color: #1f2937;
  padding: 5rem 0;
}
#contact .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
#contact h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
}
#contact .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  #contact .grid {
    grid-template-columns: 1fr 1fr;
  }
}
#contact .card {
  background-color: #111827;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#contact form label {
  color: #9ca3af;
  font-weight: 500;
}
#contact form input,
#contact form textarea {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}
#contact form input:focus,
#contact form textarea:focus {
  outline: none;
  border-color: #26c6da;
  box-shadow: 0 0 10px rgba(38, 198, 218, 0.3);
}
#contact form button {
  background: linear-gradient(to right, #ffa726, #ff6f00);
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
#contact form button:hover {
  box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}
#contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
#contact .contact-item .info-icon {
  width: 3rem;
  height: 3rem;
  background-color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-right: 1rem;
}
#contact .contact-item .info-icon i {
  font-size: 1.25rem;
}
#contact .contact-item .info-icon .fa-location-dot {
  color: #26c6da;
}
#contact .contact-item .info-icon .fa-phone {
  color: #ffa726;
}
#contact .contact-item .info-icon .fa-envelope {
  color: #26c6da;
}
#contact .contact-item h4 {
  color: white;
  font-weight: 600;
}
#contact .contact-item p {
  color: #9ca3af;
}
#contact .social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}
#contact .social-icons a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}
#contact .social-icons a.whatsapp {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366;
}
#contact .social-icons a.whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.2);
}
#contact .social-icons a.telegram {
  background-color: rgba(0, 136, 204, 0.1);
  color: #0088cc;
}
#contact .social-icons a.telegram:hover {
  background-color: rgba(0, 136, 204, 0.2);
}
#contact .social-icons a.twitter {
  background-color: rgba(29, 161, 242, 0.1);
  color: #1da1f2;
}
#contact .social-icons a.twitter:hover {
  background-color: rgba(29, 161, 242, 0.2);
}
#contact .social-icons a.linkedin {
  background-color: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}
#contact .social-icons a.linkedin:hover {
  background-color: rgba(10, 102, 194, 0.2);
}
#contact .social-icons a.github {
  background-color: rgba(255, 255, 255, 0.05);
  color: #c9d1d9;
}
#contact .social-icons a.github:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

footer.footer {
  background-color: #111827;
  padding: 2rem 0;
  border-top: 1px solid #1f2937;
}
footer.footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  footer.footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
footer.footer .copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}
footer.footer .socials {
  display: flex;
  gap: 1rem;
}
footer.footer .socials a {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}
footer.footer .socials a:hover {
  color: #26C6DA;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #1f2937;
  border-radius: 0.75rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 32rem;
  padding: 2rem;
  position: relative;
}
.modal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-content form input,
.modal-content form textarea {
  background-color: #111827;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
}
.modal-content form input:focus,
.modal-content form textarea:focus {
  outline: none;
  border-color: #26c6da;
  box-shadow: 0 0 10px rgba(38, 198, 218, 0.3);
}
.modal-content form button {
  background: linear-gradient(to right, #ffa726, #ff6f00);
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.modal-content form button:hover {
  box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #9ca3af;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal-close:hover {
  color: white;
}

.success-message {
  text-align: center;
  color: #fff;
}
.success-message h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-message h2 i {
  color: #4ade80;
  margin-right: 0.5rem;
  font-size: 1.5rem;
}
.success-message p {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.success-message button {
  background: linear-gradient(to right, #ffa726, #ff6f00);
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.success-message button:hover {
  box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}

.language-switcher {
  position: relative;
  display: inline-block;
}
.language-switcher .language-toggle {
  width: 68px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  background: #1a1a1a;
  border-radius: 24px;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .language-switcher .language-toggle {
    width: 120px;
  }
}
.language-switcher .language-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff7300, #00cfff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}
.language-switcher .language-toggle:hover {
  background: #222;
  transform: translateY(-1px);
}
.language-switcher .language-toggle .mobile-code {
  display: inline;
}
@media (min-width: 768px) {
  .language-switcher .language-toggle .mobile-code {
    display: none;
  }
}
.language-switcher .language-toggle .desktop-label {
  display: none;
}
@media (min-width: 768px) {
  .language-switcher .language-toggle .desktop-label {
    display: inline;
  }
}
.language-switcher .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 68px;
  max-width: 68px;
  background: #1a1a1a;
  color: white;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
}
@media (min-width: 768px) {
  .language-switcher .dropdown {
    width: 120px;
    max-width: 120px;
  }
}
.language-switcher .dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff7300, #00cfff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}
.language-switcher .lang-button {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.language-switcher .lang-button:hover {
  background: transparent;
}
.language-switcher .lang-button.active {
  background: transparent;
}
.language-switcher .lang-button .mobile-code {
  display: inline;
}
@media (min-width: 768px) {
  .language-switcher .lang-button .mobile-code {
    display: none;
  }
}
.language-switcher .lang-button .desktop-label {
  display: none;
}
@media (min-width: 768px) {
  .language-switcher .lang-button .desktop-label {
    display: inline;
  }
}

/* === Typography system: section kicker + titles === */
.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 255, 0.55);
  margin-bottom: 8px;
}

.section-title {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.4px;
  margin: 0 0 10px 0;
  color: rgba(245, 247, 255, 0.92);
}

@media (max-width: 640px) {
  .section-title {
    font-size: 26px;
  }
}
/* === Shared premium card system === */
.card-glass {
  background: rgba(11, 18, 32, 0.28);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.card-pad {
  padding: 16px;
}

.card-hover {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  border-color: rgba(180, 200, 255, 0.18);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* === Global background (even brighter) === */
html, body {
  background-color: #121C31;
}

body {
  background: radial-gradient(1200px 720px at 18% 22%, rgba(46, 231, 211, 0.09), transparent 62%), radial-gradient(1100px 680px at 72% 26%, rgba(177, 140, 255, 0.09), transparent 62%), radial-gradient(900px 520px at 55% 85%, rgba(70, 140, 255, 0.07), transparent 65%), linear-gradient(180deg, #1B2A49 0%, #121E35 55%, #0D1426 100%) !important;
  color: rgba(245, 247, 255, 0.92);
}

body {
  background: radial-gradient(1200px 720px at 18% 22%, rgba(46, 231, 211, 0.08), transparent 62%), radial-gradient(1100px 680px at 72% 26%, rgba(177, 140, 255, 0.08), transparent 62%), radial-gradient(900px 520px at 55% 85%, rgba(70, 140, 255, 0.06), transparent 65%), linear-gradient(180deg, #16223A 0%, #0F182B 55%, #0B1020 100%) !important;
  color: rgba(245, 247, 255, 0.92);
}

.cta:hover {
  box-shadow: 0 0 10px rgba(38, 198, 218, 0.5);
}

/* ==== Layout for sections (no Tailwind) ==== */
.section {
  padding: 4rem 0;
  color: #e5e7eb;
}

.section--dark {
  background: #020617;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  background: rgba(55, 65, 81, 0.7);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c7d2fe;
}

.hero__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 8px;
  color: #f9fafb;
}

.hero__subtitle {
  font-size: 14px;
  line-height: 1.5;
  max-width: 520px;
  color: #d1d5db;
}

.hero__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__primary-btn {
  border-radius: 999px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.7);
}

.hero__secondary-link {
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
}

.hero__tagline {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__tag-badge {
  height: 24px;
  width: 24px;
  border-radius: 999px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Hero right “panel” */
.hero__panel {
  max-width: 420px;
  border-radius: 24px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.95);
  padding: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
}

/* ABOUT */
.about {
  display: grid;
  gap: 24px;
}

.about__text p {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

.about__grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.about__card {
  border-radius: 18px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.95);
  padding: 14px;
  font-size: 13px;
}

/* SERVICES */
.services__header {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services__grid {
  display: grid;
  gap: 16px;
}

.services__card {
  border-radius: 18px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.95);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.services__card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.services__card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #d1d5db;
}

.services__cta-btn {
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: rgba(55, 65, 81, 0.8);
  color: #c7d2fe;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }
  .about {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* HERO & SERVICES background effects */
.section--hero {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.35), transparent 55%), radial-gradient(circle at top right, rgba(16, 185, 129, 0.28), transparent 60%), #020617;
}

.section--services {
  background: radial-gradient(circle at top, rgba(15, 118, 110, 0.25), transparent 55%), #020617;
}

/* Smooth scroll offset so header не съедает якоря (#hero/#services/#contact) */
.section {
  scroll-margin-top: 80px;
}

/* Hover / animation */
.hero__primary-btn {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}

.hero__primary-btn:hover {
  transform: translateY(-2px);
  background: #6366f1;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.9);
}

.services__card {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  border-color: rgba(129, 140, 248, 0.9);
}

/* Небольшой “подсвет” карточек About */
.about__card {
  transition: border-color 0.18s ease-out, transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.about__card:hover {
  border-color: rgba(59, 130, 246, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

/* Коррекция отступов для мобильного: меньше верхнего воздуха */
@media (max-width: 640px) {
  .section {
    padding: 3rem 0 3.5rem;
  }
}
/* Смещение контента под фиксированный header */
main {
  padding-top: 80px;
}

/* Для мобильных можно чуть меньше */
@media (max-width: 640px) {
  main {
    padding-top: 72px;
  }
}
/* Более мягкий фон для hero и services */
.section--hero {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), transparent 55%), radial-gradient(circle at top right, rgba(16, 185, 129, 0.15), transparent 65%), #020617;
}

.section--services {
  background: radial-gradient(circle at top, rgba(15, 118, 110, 0.16), transparent 55%), #020617;
}

/* Чуть больше вертикального расстояния между блоками */
.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Коррекция позиции ассистента на мобильных */
@media (max-width: 640px) {
  .nisimtech-assistant {
    bottom: 16px !important;
    right: 16px !important;
    width: 90vw !important;
    height: 380px !important;
  }
}
/* ==== Legend for solution complexity ==== */
.solutions-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.solutions-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.solutions-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.solutions-legend__dot--green {
  background-color: #22c55e;
}

.solutions-legend__dot--yellow {
  background-color: #eab308;
}

.solutions-legend__dot--red {
  background-color: #f97316;
}

/* dot inside cards */
.solution-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 6px;
}

.solution-dot--green {
  background-color: #22c55e;
}

.solution-dot--yellow {
  background-color: #eab308;
}

.solution-dot--red {
  background-color: #f97316;
}

.solution-level {
  font-size: 11px;
  color: #9ca3af;
}

/* Slightly softer default background for sections to avoid too heavy black */
.section--dark {
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.22), transparent 60%), radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.16), transparent 60%), #020617;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background-color: rgba(15, 23, 42, 0.9);
  font-size: 12px;
  color: #cbd5f5;
}

.tech-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.solution-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4f46e5, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 18px;
}

.tech-stack-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

@media (min-width: 900px) {
  .tech-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.tech-stack-card {
  border-radius: 18px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background-color: rgba(15, 23, 42, 0.95);
  padding: 14px;
  font-size: 13px;
}

.tech-stack-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tech-stack-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.tech-stack-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack-note {
  font-size: 12px;
  color: #9ca3af;
  max-width: 760px;
  margin-top: 12px;
}

/* Уже существующие, но пусть будут рядом */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background-color: rgba(15, 23, 42, 0.9);
  font-size: 12px;
  color: #cbd5f5;
}

.tech-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.services__cta-btn {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}

.services__cta-btn:hover {
  transform: translateY(-2px);
  background-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.section--solutions::after,
.section--tech::after {
  content: "";
  position: absolute;
  inset: -200px;
  background-image: linear-gradient(120deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px), linear-gradient(210deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: tech-grid-move 28s linear infinite;
}

.section--solutions > .section__inner,
.section--tech > .section__inner {
  position: relative;
  z-index: 1;
}

@keyframes tech-grid-move {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-70px, -70px, 0);
  }
}
/* NeuralGlobe layout */
.tech-stack-layout {
  display: grid;
  gap: 20px;
}

.neural-globe-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 4/3;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.35), transparent 60%), radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.3), transparent 60%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.neural-globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Desktop: шар слева, легенда справа */
@media (min-width: 900px) {
  .tech-stack-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    align-items: center;
  }
  .neural-globe-container {
    margin: 0;
  }
}
/* Tech stack cards (легенда) */
.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.tech-stack-card {
  border-radius: 18px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background-color: rgba(15, 23, 42, 0.95);
  padding: 14px;
  font-size: 13px;
  flex: 1 1 260px;
  max-width: 340px;
}

.tech-stack-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tech-stack-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.tech-stack-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack-note {
  font-size: 12px;
  color: #9ca3af;
  max-width: 760px;
  margin-top: 12px;
}

/* pills (повторно, на всякий случай) */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background-color: rgba(15, 23, 42, 0.9);
  font-size: 12px;
  color: #cbd5f5;
}

.tech-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.neural-globe-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1/1;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.45), transparent 60%), radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.4), transparent 60%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.neural-globe-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.neural-globe-node {
  position: absolute;
  color: #e5e7eb;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
  white-space: nowrap;
  pointer-events: none;
}

/* лёгкий цветовой акцент по группам */
.neural-globe-node--models {
  border-color: rgba(129, 140, 248, 0.9);
}

.neural-globe-node--automation {
  border-color: rgba(34, 197, 94, 0.9);
}

.neural-globe-node--data {
  border-color: rgba(249, 115, 22, 0.9);
}

.neural-globe-node--channels {
  border-color: rgba(14, 165, 233, 0.9);
}

.neural-globe-node--media {
  border-color: rgba(168, 85, 247, 0.9);
}

/* Desktop: шар слева, легенда справа */
@media (min-width: 900px) {
  .tech-stack-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    align-items: center;
  }
  .neural-globe-container {
    margin: 0;
  }
}
/* обновляем размер шара, чуть больше */
.neural-globe-container {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1/1;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.55), transparent 60%), radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.45), transparent 60%);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.neural-globe-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* линии-связи между узлами */
.neural-globe-link {
  position: absolute;
  height: 2px;
  background: linear-gradient(to right, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.55), rgba(148, 163, 184, 0.15));
  border-radius: 999px;
  pointer-events: none;
}

/* узлы-иконки */
.neural-globe-node {
  position: absolute;
  color: #e5e7eb;
  font-size: 14px;
  padding: 6px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* акценты по группам */
.neural-globe-node--models {
  border-color: rgba(129, 140, 248, 0.9);
}

.neural-globe-node--automation {
  border-color: rgba(34, 197, 94, 0.9);
}

.neural-globe-node--data {
  border-color: rgba(249, 115, 22, 0.9);
}

.neural-globe-node--channels {
  border-color: rgba(14, 165, 233, 0.9);
}

.neural-globe-node--media {
  border-color: rgba(168, 85, 247, 0.9);
}

/* на десктопе – шар слева, легенда справа */
@media (min-width: 900px) {
  .tech-stack-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    align-items: center;
  }
  .neural-globe-container {
    margin: 0;
  }
}
/* обновляем размер шара и иконок */
.neural-globe-container {
  max-width: 420px;
}

.neural-globe-node {
  font-size: 18px;
  padding: 8px;
}

/* немного увеличиваем контейнер и отключаем scroll при drag */
.neural-globe-container {
  max-width: 460px;
  touch-action: none; /* важно для тача, чтобы события не съедались скроллом */
}

.neural-globe-node {
  font-size: 22px; /* крупнее иконки */
  padding: 10px;
}

/* NeuralGlobe: чуть увеличиваем контейнер и иконки, и даём тачу управлять без скролла */
.neural-globe-container {
  max-width: 480px;
  touch-action: none; /* важно для мобильного drag */
}

.neural-globe-node {
  font-size: 24px;
  padding: 10px;
}

/* Tech stack layout: column on mobile, row on desktop */
.tech-stack-layout {
  display: flex;
  flex-direction: column; /* мобила: сверху шар, ниже карточки */
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px) {
  .tech-stack-layout {
    flex-direction: row; /* десктоп: шар слева, легенда справа */
    align-items: center;
    justify-content: space-between;
  }
}
/* Slight bump of icon size inside the globe */
.neural-globe-node {
  font-size: 24px;
  padding: 10px;
}

/* NeuralGlobe responsive tweaks */
.neural-globe-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  touch-action: none;
}

@media (min-width: 900px) {
  .neural-globe-container {
    margin: 0;
  }
}
/* ==== Contact section ==== */
.contact-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.contact-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: flex-start;
  }
}
.contact-info {
  max-width: 600px;
}

.contact-title {
  margin-bottom: 12px;
}

.contact-lead {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 14px;
}

.contact-bullets {
  margin: 0 0 14px 0;
  padding-left: 18px;
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.6;
}

.contact-meta {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* карточка формы */
.contact-card {
  border-radius: 24px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background-color: rgba(15, 23, 42, 0.98);
  padding: 18px 18px 20px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
}

.contact-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* поля */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 12px;
  color: #e5e7eb;
}

.contact-input,
.contact-textarea {
  border-radius: 14px;
  border: 1px solid rgb(51, 65, 85);
  background-color: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  font-size: 14px;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
  width: 100%;
  box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgb(129, 140, 248);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.7);
  background-color: rgb(15, 23, 42);
}

.contact-textarea {
  min-height: 120px;
  resize: vertical;
}

/* submit */
.contact-submit-btn {
  margin-top: 8px;
  border-radius: 999px;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(135deg, #f97316, #facc15);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
  cursor: pointer;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, opacity 0.16s ease-out;
}

.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgb(15, 23, 42);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* alerts */
.contact-alert {
  font-size: 12px;
  border-radius: 12px;
  padding: 6px 10px;
  margin-bottom: 8px;
}

.contact-alert--success {
  background-color: rgba(22, 163, 74, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

.contact-alert--error {
  background-color: rgba(127, 29, 29, 0.18);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.7);
}

/* ==== HEADER LAYOUT ==== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: radial-gradient(circle at 10% 0, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

/* внутренний контейнер хедера */
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* левая часть: логотип */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* центральная часть: языки / навигация */
.header-center {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* правая часть: CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* навигация */
.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.header-nav a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #6366f1);
  transition: width 0.18s ease-out;
}

.header-nav a:hover::after {
  width: 100%;
}

/* CTA-кнопка в хедере */
.header-cta {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .header-inner {
    padding: 8px 14px;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .header-center {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .header-nav {
    gap: 14px;
    font-size: 13px;
  }
  .header-right {
    order: 2;
  }
  .header-left {
    order: 1;
  }
  .header-cta {
    padding: 6px 14px;
    font-size: 13px;
  }
}
/* более крупные заголовки, чуть больше воздуха */
.section {
  padding-top: 3.5rem;
  padding-bottom: 3.8rem;
}

.hero__title {
  font-size: clamp(28px, 3.2vw, 34px);
}

/* текст внутри карточек */
.services__card,
.tech-stack-card,
.contact-card {
  font-size: 14px;
}

/* чтобы текст телом был комфортнее */
.solutions-toggle-btn:hover {
  color: #c7d2fe;
}

/* === Header burger + mobile menu === */
.header-burger {
  display: none;
  border: none;
  background: transparent;
  padding: 4px;
  border-radius: 999px;
  cursor: pointer;
}

.header-burger-line {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 3px 0;
}

/* показываем бургер только на мобильном */
@media (max-width: 768px) {
  .header-center {
    display: none; /* убираем верхнюю навигацию */
  }
  .header-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 4px;
  }
  .header-right {
    gap: 8px;
  }
  .header-mobile-menu {
    border-top: 1px solid rgb(31, 41, 55);
    background: radial-gradient(circle at 10% 0, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(12px);
  }
  .header-mobile-nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .header-mobile-link {
    border: none;
    background: transparent;
    text-align: left;
    padding: 6px 0;
    font-size: 14px;
    color: #e5e7eb;
    cursor: pointer;
  }
  .header-mobile-link:hover {
    color: #c7d2fe;
  }
  .header-mobile-cta {
    margin-top: 8px;
    border-radius: 999px;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: linear-gradient(135deg, #f97316, #facc15);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
    cursor: pointer;
  }
}
/* === Header burger + mobile menu === */
.header-burger {
  display: none;
  border: none;
  background: transparent;
  padding: 4px;
  border-radius: 999px;
  cursor: pointer;
}

.header-burger-line {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 3px 0;
}

/* показываем бургер только на мобильном */
@media (max-width: 768px) {
  .header-center {
    display: none; /* убираем верхнюю навигацию */
  }
  .header-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 4px;
  }
  .header-right {
    gap: 8px;
  }
  .header-mobile-menu {
    border-top: 1px solid rgb(31, 41, 55);
    background: radial-gradient(circle at 10% 0, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(12px);
  }
  .header-mobile-nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .header-mobile-link {
    border: none;
    background: transparent;
    text-align: left;
    padding: 6px 0;
    font-size: 14px;
    color: #e5e7eb;
    cursor: pointer;
  }
  .header-mobile-link:hover {
    color: #c7d2fe;
  }
  .header-mobile-cta {
    margin-top: 8px;
    border-radius: 999px;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: linear-gradient(135deg, #f97316, #facc15);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
    cursor: pointer;
  }
}
/* ===== Polished contact form look ===== */
#contact-form {
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.18), transparent 55%), radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.16), transparent 55%), #020617;
  border-radius: 20px;
  padding: 22px 22px 20px 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

/* поля формы — равномерные отступы, воздух */
#contact-form > div {
  margin-bottom: 16px;
}

#contact-form label {
  display: block;
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 6px; /* отступ между label и полем */
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background-color: #020617;
  color: #f9fafb;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out, transform 0.08s ease-out;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #6b7280;
}

/* hover/focus */
#contact-form input:hover,
#contact-form textarea:hover {
  border-color: rgba(75, 85, 99, 0.9);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: rgb(129, 140, 248);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.8);
  background-color: #020617;
  transform: translateY(-0.5px);
}

/* кнопка отправки */
#contact-form button[type=submit] {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  margin-top: 4px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
}

#contact-form button[type=submit]:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgb(15, 23, 42);
}

/* ===== Footer social icons (WhatsApp / Telegram / Email) ===== */
footer .footer-social {
  margin-top: 8px;
}

footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
}

/* WhatsApp */
footer a[href^="https://wa.me"] {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: rgba(37, 211, 102, 0.16);
  color: #25d366;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

footer a[href^="https://wa.me"]:hover {
  background-color: rgba(37, 211, 102, 0.3);
  transform: translateY(-1px);
}

/* Telegram */
footer a[href^="https://t.me"] {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: rgba(0, 136, 204, 0.16);
  color: #0088cc;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

footer a[href^="https://t.me"]:hover {
  background-color: rgba(0, 136, 204, 0.3);
  transform: translateY(-1px);
}

/* Email */
footer a[href^="mailto:"] {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: rgba(31, 41, 55, 0.9);
  color: #e5e7eb;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

footer a[href^="mailto:"]:hover {
  background-color: rgb(55, 65, 81);
  transform: translateY(-1px);
}

/* icon size inside */
footer a[href^="https://wa.me"] i,
footer a[href^="https://t.me"] i,
footer a[href^="mailto:"] i {
  font-size: 16px;
}

/* гарантируем, что поля не вылазят за границы карточки формы */
#contact-form,
#contact-form * {
  box-sizing: border-box;
}

/* слегка ужимаем форму на очень узких экранах */
@media (max-width: 640px) {
  #contact-form {
    padding: 18px 16px 18px 16px;
  }
}
/* донастройка footer-social: центр + равномерный gap */
footer .footer-social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* сами <i> внутри уже стилизованы через правила a[href^=...] i */
/* расстояние между More details и основной CTA в карточках AI solutions */
.solutions-toggle-btn {
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 10px;
}

.services__cta-btn {
  margin-top: 6px;
}

/* ==== Solutions: "More details" отдельно строкой над CTA, красиво на любых языках ==== */
.section--solutions .solutions-toggle-btn {
  display: block; /* всегда отдельная строка */
  margin-top: 6px;
  margin-bottom: 6px; /* зазор до CTA */
}

.section--solutions .services__cta-btn {
  display: inline-flex; /* овальная кнопка по ширине текста */
  align-items: center;
  justify-content: center;
  margin-top: 2px; /* небольшой вертикальный отступ от "More details" */
}

/* Brand logo: switch by data-theme */
.brand-logo--light {
  display: none;
}

[data-theme=light] .brand-logo--dark {
  display: none;
}

[data-theme=light] .brand-logo--light {
  display: inline-block;
}

/* === FIX: header logo must not be clipped/masked === */
.brand-logo,
img.brand-logo {
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  object-fit: contain;
}

.brand-logo-wrap {
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

/* === Header brand mark wrapper (no clipping, no avatar) === */
.brand-logo-wrap {
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.brand-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
}

/* === Brand tokens (NisimTech) === */
:root {
  --nt-aqua: #2FE7D3;
  --nt-violet: #B18CFF;
  --nt-grad: linear-gradient(135deg, var(--nt-aqua), var(--nt-violet));
}

/* === Header CTA: brand gradient (replaces orange) === */
.header-cta {
  background: var(--nt-grad) !important;
  color: #071018 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.12) brightness(1.05);
}

.header-cta:active {
  transform: translateY(0px);
}

.header-cta:focus-visible {
  outline: 2px solid rgba(47, 231, 211, 0.85);
  outline-offset: 3px;
}

/* === Header: clean typography + nav buttons (no inline styles) === */
.header-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: rgba(245, 247, 255, 0.92);
  letter-spacing: 0.2px;
}

.header-nav-btn {
  background: transparent;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  color: rgba(245, 247, 255, 0.82);
  font-size: 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.header-nav-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 255, 0.95);
  transform: translateY(-1px);
}

.header-nav-btn:active {
  transform: translateY(0px);
}

.header-nav-btn:focus-visible {
  outline: 2px solid rgba(47, 231, 211, 0.65);
  outline-offset: 2px;
}

/* mobile: nav buttons bigger tap targets if needed */
@media (max-width: 640px) {
  .header-nav-btn {
    padding: 10px 12px;
    font-size: 15px;
  }
}
/* === Layout helpers: readable measure === */
.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.text-measure {
  max-width: 66ch;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245, 247, 255, 0.72);
}

/* === Mobile menu CTA: full width, brand gradient === */
.header-mobile-cta {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  background: var(--nt-grad) !important;
  color: #071018 !important;
}

/* === Mobile menu CTA: full width, brand gradient === */
.header-mobile-cta {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  background: var(--nt-grad) !important;
  color: #071018 !important;
}

/* === Hero readability + layout helpers === */
.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.text-measure {
  max-width: 66ch;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245, 247, 255, 0.72);
}

/* When content is in two columns, stack on mobile */
@media (max-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}
/* === Header nav: premium text links (kill pills) === */
.header-nav-btn {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  color: rgba(245, 247, 255, 0.78) !important;
  font-weight: 500 !important;
  letter-spacing: 0.1px;
}

.header-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(245, 247, 255, 0.95) !important;
  transform: none !important;
}

.header-nav-btn:focus-visible {
  outline: 2px solid rgba(47, 231, 211, 0.55);
  outline-offset: 2px;
}

/* === Premium header rhythm === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-center .header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav-btn {
  position: relative;
  padding: 6px 6px !important;
  border-radius: 8px !important;
  background: transparent !important;
}

.header-nav-btn:hover {
  background: transparent !important;
}

.header-nav-btn::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 1px;
  background: rgba(47, 231, 211, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}

.header-nav-btn:hover::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .header-center {
    display: none;
  }
  .header-inner {
    height: 64px;
  }
}
/* === Premium header rhythm === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-center .header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav-btn {
  position: relative;
  padding: 6px 6px !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header-nav-btn:hover {
  background: transparent !important;
  transform: none !important;
}

.header-nav-btn::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 1px;
  background: rgba(47, 231, 211, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}

.header-nav-btn:hover::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .header-center {
    display: none;
  }
  .header-inner {
    height: 64px;
  }
}
/* === Hero: center content and reduce empty right space === */
#hero {
  padding-top: 96px;
}

#hero .hero-inner {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  #hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* === Premium Hero: remove heavy block feel === */
#hero {
  padding-top: 96px;
  padding-bottom: 56px;
}

/* если внутри есть крупная плашка-контейнер — делаем её легче */
#hero .hero-card,
#hero .hero-left,
#hero .hero-content,
#hero .hero-panel {
  background: rgba(9, 14, 26, 0.35) !important;
  border: 1px solid rgba(160, 190, 255, 0.1) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(10px);
}

/* балансируем сетку: контент + панель */
#hero .hero-inner {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

/* на узких экранах — стопка */
@media (max-width: 900px) {
  #hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* CTA кнопка: чуть дороже */
#hero button,
#hero a.button {
  border-radius: 999px;
}

/* === HERO TUNING: less dead space, more compact === */
#hero {
  padding-top: 64px !important; /* было ощущение, что слишком низко */
  padding-bottom: 40px !important;
}

/* если где-то секции дают огромный padding — ограничим именно hero */
#hero .hero-inner {
  min-height: auto !important;
}

@media (max-width: 900px) {
  #hero {
    padding-top: 52px !important;
  }
}
/* === Background: brighter + depth (premium dark, not black) === */
/* === AI Solutions: premium grid + glass cards === */
#solutions .section__inner {
  max-width: 1280px;
}

#solutions .solutions__grid,
#solutions .solutions-grid,
#solutions .solutions__cards,
#solutions .solutions-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  #solutions .solutions__grid,
  #solutions .solutions-grid,
  #solutions .solutions__cards,
  #solutions .solutions-cards {
    grid-template-columns: 1fr;
  }
}
#solutions .solution-card,
#solutions .solutions__card,
#solutions .solutions-card,
#solutions .card {
  background: rgba(11, 18, 32, 0.28);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  padding: 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

#solutions .solution-card:hover,
#solutions .solutions__card:hover,
#solutions .solutions-card:hover,
#solutions .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  border-color: rgba(180, 200, 255, 0.18);
}

/* === AI Solutions: premium grid + glass cards (no sass extend) === */
#solutions .section__inner {
  max-width: 1280px;
}

#solutions .solutions__grid,
#solutions .solutions-grid,
#solutions .solutions__cards,
#solutions .solutions-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  #solutions .solutions__grid,
  #solutions .solutions-grid,
  #solutions .solutions__cards,
  #solutions .solutions-cards {
    grid-template-columns: 1fr;
  }
}
#solutions .solution-card,
#solutions .solutions__card,
#solutions .solutions-card,
#solutions .card {
  background: rgba(11, 18, 32, 0.28);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  padding: 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

#solutions .solution-card:hover,
#solutions .solutions__card:hover,
#solutions .solutions-card:hover,
#solutions .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  border-color: rgba(180, 200, 255, 0.18);
}

/* === Buttons: kill white "More details" and unify secondary CTAs === */
.section button,
.section a {
  -webkit-tap-highlight-color: transparent;
}

/* Primary pill buttons that accidentally became white */
.section button {
  background: rgba(11, 18, 32, 0.28);
  color: rgba(245, 247, 255, 0.86);
  border: 1px solid rgba(180, 200, 255, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
}

/* If some buttons are rendered as plain white rectangles */
.section button[style*="background: white"],
.section button[style*="background-color: white"],
.section button[style*='backgroundColor: "#fff"'],
.section button[style*="backgroundColor:'#fff'"] {
  background: rgba(11, 18, 32, 0.28) !important;
  color: rgba(245, 247, 255, 0.86) !important;
  border: 1px solid rgba(180, 200, 255, 0.14) !important;
}

/* Links that should look like subtle actions */
.section a {
  color: rgba(245, 247, 255, 0.78);
  text-decoration-color: rgba(46, 231, 211, 0.45);
  text-underline-offset: 4px;
}

.section button:hover {
  border-color: rgba(180, 200, 255, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.section button:focus-visible {
  outline: 2px solid rgba(46, 231, 211, 0.55);
  outline-offset: 3px;
}

/* === How we work: premium timeline look === */
#how-we-work .section__inner {
  position: relative;
}

#how-we-work .steps,
#how-we-work .steps-list,
#how-we-work .how-steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 900px;
}

/* step card hook (подхватим разные классы) */
#how-we-work .step,
#how-we-work .steps__item,
#how-we-work li {
  background: rgba(11, 18, 32, 0.24);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  padding: 14px 14px 14px 16px;
  backdrop-filter: blur(10px);
}

/* vertical line illusion */
#how-we-work .step::before,
#how-we-work .steps__item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(46, 231, 211, 0), rgba(46, 231, 211, 0.55), rgba(177, 140, 255, 0.45), rgba(177, 140, 255, 0));
  opacity: 0.6;
}

/* === Button system (premium, unified) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(180, 200, 255, 0.14);
  background: rgba(11, 18, 32, 0.26);
  color: rgba(245, 247, 255, 0.88);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 200, 255, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.btn:focus-visible {
  outline: 2px solid rgba(46, 231, 211, 0.55);
  outline-offset: 3px;
}

.btn--ghost {
  background: rgba(11, 18, 32, 0.14);
}

/* === Scroll reveal (premium) === */
.reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal-in {
    transition: none;
  }
}
/* subtle pulse glow for static tech visual (if globe remains) */
.neural-globe-container {
  animation: ntGlow 6.5s ease-in-out infinite;
}

@keyframes ntGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(46, 231, 211, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(46, 231, 211, 0.14));
  }
}
/* === Anti-white-flash: lock base background === */
html, body {
  background-color: #0B1222;
}

/* === Scroll reveal (site-wide, no blur to avoid flashing) === */
.reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
  .reveal-in {
    transition: none;
  }
}
/* === Tech visual: premium static neural texture === */
.tech-visual {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1/1;
  border-radius: 28px;
  border: 1px solid rgba(180, 200, 255, 0.1);
  background: radial-gradient(600px 420px at 30% 20%, rgba(46, 231, 211, 0.16), transparent 62%), radial-gradient(600px 420px at 70% 30%, rgba(177, 140, 255, 0.14), transparent 62%), url("../brand/neural-subtle.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center, center, center;
  background-size: auto, auto, 1600px 520px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  opacity: 0.96;
}

/* === Global button system (final) === */
.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(180, 200, 255, 0.14);
  background: rgba(11, 18, 32, 0.22);
  color: rgba(245, 247, 255, 0.88);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover, button.btn:hover, a.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 200, 255, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.btn:focus-visible, button.btn:focus-visible, a.btn:focus-visible {
  outline: 2px solid rgba(46, 231, 211, 0.55);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--nt-grad, linear-gradient(135deg, #2FE7D3, #B18CFF));
  color: #071018;
  border: none;
}

.btn--ghost {
  background: rgba(11, 18, 32, 0.12);
}

/* === How we work: premium timeline === */
#how-we-work .section__inner {
  max-width: 1100px;
}

#how-we-work ol, #how-we-work ul {
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
}

#how-we-work li {
  position: relative;
  background: rgba(11, 18, 32, 0.2);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px 14px 16px;
  backdrop-filter: blur(10px);
  margin-bottom: 12px;
}

#how-we-work li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(46, 231, 211, 0.55), rgba(177, 140, 255, 0.45), transparent);
  opacity: 0.6;
}

/* === Sections: soften transitions globally === */
.section {
  position: relative;
  isolation: isolate;
}

.section--dark {
  background: transparent !important;
}

.section::before {
  content: "";
  position: absolute;
  inset: -90px 0 -90px 0;
  background: radial-gradient(900px 520px at 18% 30%, rgba(46, 231, 211, 0.06), transparent 62%), radial-gradient(900px 520px at 78% 28%, rgba(177, 140, 255, 0.06), transparent 62%);
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}

/* === Card actions: force consistent button look everywhere === */
.section .card button,
.section .about__card button,
.section .services__card button,
.section .solutions__card button {
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 13px;
  border: 1px solid rgba(180, 200, 255, 0.14);
  background: rgba(11, 18, 32, 0.12);
  color: rgba(245, 247, 255, 0.88);
}

.section .card button:hover,
.section .about__card button:hover,
.section .services__card button:hover,
.section .solutions__card button:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 200, 255, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

/* === Tech stack: remove empty visual square + bento grid === */
#tech-stack .tech-visual {
  display: none !important; /* убираем пустой квадрат */
}

/* перестраиваем секцию в 2 колонки карточек */
#tech-stack .section__inner {
  max-width: 1280px;
}

#tech-stack .section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 900px) {
  #tech-stack .section__inner {
    grid-template-columns: 1fr;
  }
}
/* если внутри есть группы/панели — заставим их тянуться */
#tech-stack .stack-group,
#tech-stack .stack-card,
#tech-stack .tech-card,
#tech-stack .card {
  width: 100%;
}

/* чтобы заголовок/описание не расползались, делаем их на всю ширину */
#tech-stack h2,
#tech-stack p {
  grid-column: 1/-1;
}

/* === FINAL: card actions unified (buttons + links) === */
.section .card a,
.section .about__card a,
.section .services__card a,
.section .solutions__card a,
.section .card button,
.section .about__card button,
.section .services__card button,
.section .solutions__card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(180, 200, 255, 0.14);
  background: rgba(11, 18, 32, 0.12);
  color: rgba(245, 247, 255, 0.88);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.section .card a:hover,
.section .about__card a:hover,
.section .services__card a:hover,
.section .solutions__card a:hover,
.section .card button:hover,
.section .about__card button:hover,
.section .services__card button:hover,
.section .solutions__card button:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 200, 255, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

/* Do NOT override main header CTA */
.header-cta {
  background: var(--nt-grad, linear-gradient(135deg, #2FE7D3, #B18CFF)) !important;
  color: #071018 !important;
  border: none !important;
}

/* === FINAL: consistent grids spacing === */
#solutions .section__inner,
#services .section__inner,
#how-we-work .section__inner,
#tech-stack .section__inner {
  max-width: 1280px;
}

#solutions .card,
#services .card,
#solutions .solutions__card,
#services .services__card {
  border-radius: 18px;
}

.section {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

/* === Final polish: subtle brand glow on card hover === */
.section .card:hover,
.section .about__card:hover,
.section .services__card:hover,
.section .solutions__card:hover {
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(180, 200, 255, 0.1), 0 0 28px rgba(46, 231, 211, 0.08), 0 0 28px rgba(177, 140, 255, 0.08);
}

/* === Final polish: subtle brand glow on card hover === */
.section .card:hover,
.section .about__card:hover,
.section .services__card:hover,
.section .solutions__card:hover {
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(180, 200, 255, 0.1), 0 0 28px rgba(46, 231, 211, 0.08), 0 0 28px rgba(177, 140, 255, 0.08);
}

/* === Tech stack: bento grid (fix empty single-column) === */
#tech-stack .section__inner {
  max-width: 1280px;
}

/* общий layout секции: заголовок/описание сверху на всю ширину, дальше карточки */
#tech-stack .section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

#tech-stack h2,
#tech-stack p {
  grid-column: 1/-1;
}

/* карточки (панели) — равная высота + плотный ритм */
#tech-stack .card,
#tech-stack .tech-card,
#tech-stack .stack-card {
  min-height: 126px;
}

#tech-stack .card:last-child,
#tech-stack .tech-card:last-child,
#tech-stack .stack-card:last-child {
  grid-column: 1/-1; /* Multimedia and voice — широкая снизу */
}

/* адаптив */
@media (max-width: 900px) {
  #tech-stack .section__inner {
    grid-template-columns: 1fr;
  }
  #tech-stack .card:last-child,
  #tech-stack .tech-card:last-child,
  #tech-stack .stack-card:last-child {
    grid-column: auto;
  }
}
/* === Tech stack: bento grid (fix empty single-column) === */
#tech-stack .section__inner {
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

#tech-stack h2,
#tech-stack p {
  grid-column: 1/-1;
}

#tech-stack .card,
#tech-stack .tech-card,
#tech-stack .stack-card {
  min-height: 126px;
}

#tech-stack .card:last-child,
#tech-stack .tech-card:last-child,
#tech-stack .stack-card:last-child {
  grid-column: 1/-1;
}

@media (max-width: 900px) {
  #tech-stack .section__inner {
    grid-template-columns: 1fr;
  }
  #tech-stack .card:last-child,
  #tech-stack .tech-card:last-child,
  #tech-stack .stack-card:last-child {
    grid-column: auto;
  }
}
/* === FINAL WOW: stronger card reveal + stagger feel === */
.section__inner > * {
  --reveal-delay: 0ms;
}

/* cards pop a bit more (still premium) */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

/* make section headings consistent */
.section h2 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.4px;
  margin: 0 0 10px 0;
  color: rgba(245, 247, 255, 0.92);
}

@media (max-width: 640px) {
  .section h2 {
    font-size: 26px;
  }
}
/* slightly tighten paragraphs under section titles */
.section h2 + p {
  max-width: 72ch;
  color: rgba(245, 247, 255, 0.74);
  line-height: 1.65;
}

/* === FINAL SECTIONS POLISH === */
/* AI Assistant section: tighten and make cards premium */
#assistant-info .section__inner {
  max-width: 1100px;
}

#assistant-info .card,
#assistant-info .about__card,
#assistant-info .services__card {
  background: rgba(11, 18, 32, 0.22);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
}

/* Reduce big empty areas */
#assistant-info p {
  max-width: 72ch;
  color: rgba(245, 247, 255, 0.74);
}

/* Final CTA: "Ready to bring AI..." */
#final-cta, #ready, #cta {
  position: relative;
  isolation: isolate;
}

#final-cta .section__inner,
#ready .section__inner,
#cta .section__inner {
  max-width: 1200px;
}

#final-cta .section__inner {
  border-radius: 24px;
  border: 1px solid rgba(180, 200, 255, 0.1);
  background: radial-gradient(900px 520px at 20% 30%, rgba(46, 231, 211, 0.14), transparent 62%), radial-gradient(900px 520px at 75% 30%, rgba(177, 140, 255, 0.14), transparent 62%), rgba(11, 18, 32, 0.22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  padding: 22px;
}

/* Contact section */
#contact .section__inner {
  max-width: 1200px;
}

#contact input, #contact textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(180, 200, 255, 0.14);
  background: rgba(11, 18, 32, 0.18);
  color: rgba(245, 247, 255, 0.9);
  padding: 12px 12px;
}

#contact input:focus, #contact textarea:focus {
  outline: 2px solid rgba(46, 231, 211, 0.35);
  outline-offset: 2px;
}

#contact button {
  background: var(--nt-grad, linear-gradient(135deg, #2FE7D3, #B18CFF));
  color: #071018;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 750;
}

/* === Footer === */
.site-footer {
  margin-top: 36px;
  padding: 28px 0;
  border-top: 1px solid rgba(180, 200, 255, 0.1);
  background: rgba(11, 18, 32, 0.1);
}

.site-footer__inner {
  width: min(1280px, 100% - 32px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: rgba(245, 247, 255, 0.7);
}

.site-footer__name {
  font-weight: 800;
  color: rgba(245, 247, 255, 0.92);
  letter-spacing: -0.2px;
}

.site-footer__tag {
  font-size: 12px;
  color: rgba(245, 247, 255, 0.6);
  margin-top: 4px;
}

.site-footer__links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

.site-footer__links a {
  color: rgba(245, 247, 255, 0.74);
  text-decoration-color: rgba(46, 231, 211, 0.35);
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* === Footer === */
.site-footer {
  margin-top: 36px;
  padding: 28px 0;
  border-top: 1px solid rgba(180, 200, 255, 0.1);
  background: rgba(11, 18, 32, 0.1);
}

.site-footer__inner {
  width: min(1280px, 100% - 32px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: rgba(245, 247, 255, 0.7);
}

.site-footer__name {
  font-weight: 800;
  color: rgba(245, 247, 255, 0.92);
  letter-spacing: -0.2px;
}

.site-footer__tag {
  font-size: 12px;
  color: rgba(245, 247, 255, 0.6);
  margin-top: 4px;
}

.site-footer__links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

.site-footer__links a {
  color: rgba(245, 247, 255, 0.74);
  text-decoration-color: rgba(46, 231, 211, 0.35);
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* === Tech stack: premium showcase (not a book) === */
#tech-stack .section__inner {
  max-width: 1280px;
}

/* Title/subtitle rhythm */
#tech-stack .tech-stack__title {
  margin-bottom: 10px;
}

#tech-stack .tech-stack__subtitle {
  max-width: 72ch;
  color: rgba(245, 247, 255, 0.74);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Main layout: visual + bento grid */
#tech-stack .tech-stack-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 1100px) {
  #tech-stack .tech-stack-layout {
    grid-template-columns: 1fr;
  }
}
/* Visual: not empty square, subtle neural texture */
#tech-stack .tech-visual {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 28px;
  border: 1px solid rgba(180, 200, 255, 0.1);
  background: radial-gradient(600px 420px at 30% 20%, rgba(46, 231, 211, 0.16), transparent 62%), radial-gradient(600px 420px at 70% 30%, rgba(177, 140, 255, 0.14), transparent 62%), url("../brand/neural-subtle.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center, center, center;
  background-size: auto, auto, 1600px 520px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  opacity: 0.92;
}

/* Bento grid for cards */
#tech-stack .tech-stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  #tech-stack .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}
/* Make last group wide (Multimedia and voice) */
#tech-stack .tech-stack-card:last-child {
  grid-column: 1/-1;
}

@media (max-width: 900px) {
  #tech-stack .tech-stack-card:last-child {
    grid-column: auto;
  }
}
/* Card look */
#tech-stack .tech-stack-card {
  background: rgba(11, 18, 32, 0.22);
  border: 1px solid rgba(180, 200, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

#tech-stack .tech-stack-card:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 200, 255, 0.18);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22), 0 0 28px rgba(46, 231, 211, 0.06), 0 0 28px rgba(177, 140, 255, 0.06);
}

/* Pills look slightly tighter */
#tech-stack .tech-pill {
  background: rgba(11, 18, 32, 0.14);
  border: 1px solid rgba(180, 200, 255, 0.12);
}

/* === Tech stack: center the whole showcase === */
#tech-stack .section__inner {
  margin-left: auto !important;
  margin-right: auto !important;
}

#tech-stack .tech-stack-layout {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

#tech-stack .tech-stack-grid {
  justify-content: center;
}

#tech-stack .tech-stack-card {
  justify-self: center;
  width: min(560px, 100%);
}

#tech-stack .tech-stack-card:last-child {
  width: min(920px, 100%);
}

/* === Footer logo === */
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* === Tech stack: center showcase (not left-stuck) === */
#tech-stack .section__inner {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* keep text readable but centered block */
#tech-stack .tech-stack__subtitle,
#tech-stack p {
  max-width: 78ch;
  width: 100%;
}

/* center the grid area */
#tech-stack .tech-stack-layout {
  width: 100%;
  display: flex;
  justify-content: center;
}

#tech-stack .tech-stack-grid {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  justify-content: center;
}

#tech-stack .tech-stack-card:last-child {
  grid-column: 1/-1;
}

@media (max-width: 900px) {
  #tech-stack .tech-stack-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
  #tech-stack .tech-stack-card:last-child {
    grid-column: auto;
  }
}
/* === Final: Contact form premium button === */
#contact button {
  background: var(--nt-grad, linear-gradient(135deg, #2FE7D3, #B18CFF)) !important;
  color: #071018 !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
}

#contact button:hover {
  transform: translateY(-1px);
  filter: saturate(1.12) brightness(1.05);
}

#contact input, #contact textarea {
  background: rgba(11, 18, 32, 0.16) !important;
  border: 1px solid rgba(180, 200, 255, 0.14) !important;
}

#contact input:focus, #contact textarea:focus {
  outline: 2px solid rgba(46, 231, 211, 0.35);
  outline-offset: 2px;
}

/* === Get in touch: remove borders, keep premium glass === */
#get-in-touch .section__inner,
#contact .section__inner {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* форма-карточка: без жесткой рамки */
#contact .contact-form,
#contact form,
#contact .contact-card {
  border: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2) !important;
}

/* инпуты: без рамок, только мягкий контур на focus */
#contact input, #contact textarea {
  border: none !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: inset 0 0 0 1px rgba(180, 200, 255, 0.08);
}

#contact input:focus, #contact textarea:focus {
  outline: none !important;
  box-shadow: inset 0 0 0 1px rgba(46, 231, 211, 0.35), 0 0 0 3px rgba(46, 231, 211, 0.1);
}

/* === Cards: remove visible borders (use soft separation) === */
.section .card,
.section .about__card,
.section .services__card,
.section .solutions__card,
.tech-stack-card,
.hero__panel {
  border-color: rgba(180, 200, 255, 0.06) !important; /* почти не видно */
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18) !important;
}

.section .card:hover,
.section .about__card:hover,
.section .services__card:hover,
.section .solutions__card:hover {
  border-color: rgba(180, 200, 255, 0.1) !important;
}

/* === Where we apply AI: even grid + nice reveal === */
#solutions .solutions__grid,
#solutions .solutions-grid,
#solutions .solutions__cards,
#solutions .solutions-cards,
#services .services__grid {
  grid-auto-flow: row dense;
  align-items: stretch;
}

#solutions .solutions__card,
#solutions .solutions-card,
#solutions .card {
  min-height: 210px;
}

/* stronger reveal for this grid */
#solutions .solutions__card.reveal-ready,
#solutions .solutions-card.reveal-ready,
#solutions .card.reveal-ready {
  transform: translateY(18px) scale(0.985);
}

#solutions .solutions__card.reveal-in,
#solutions .solutions-card.reveal-in,
#solutions .card.reveal-in {
  transform: translateY(0) scale(1);
}

/* === Cards: restore visible borders (premium) === */
.section .card,
.section .about__card,
.section .services__card,
.section .solutions__card,
.tech-stack-card {
  border-color: rgba(180, 200, 255, 0.12) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22) !important;
}

.section .card:hover,
.section .about__card:hover,
.section .services__card:hover,
.section .solutions__card:hover {
  border-color: rgba(180, 200, 255, 0.2) !important;
}

/* === WOW MOTION: glow + bounce + shimmer (site-wide) === */
/* stronger hover motion */
.section .card,
.section .about__card,
.section .services__card,
.section .solutions__card,
.tech-stack-card {
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease, filter 180ms ease;
}

.section .card:hover,
.section .about__card:hover,
.section .services__card:hover,
.section .solutions__card:hover,
.tech-stack-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28), 0 0 32px rgba(46, 231, 211, 0.1), 0 0 32px rgba(177, 140, 255, 0.1);
}

/* buttons feel alive */
button, .btn, a.btn {
  transition: transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 160ms ease, filter 160ms ease, border-color 160ms ease, background 160ms ease;
}

button:hover, .btn:hover, a.btn:hover {
  transform: translateY(-2px);
}

button:active, .btn:active, a.btn:active {
  transform: translateY(0px) scale(0.98);
}

/* reveal: more dynamic */
.reveal-ready {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 620ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* shimmer accent on hero panel + final cta */
.hero__panel, #final-cta .section__inner {
  position: relative;
  overflow: hidden;
}

.hero__panel::after, #final-cta .section__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.02) 45%, transparent 60%);
  transform: translateX(-120%);
  opacity: 0.7;
  pointer-events: none;
}

.hero__panel:hover::after, #final-cta .section__inner:hover::after {
  transform: translateX(120%);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* === WOW: neon underglow cards (Tech + Solutions grid) === */
#tech-stack .tech-stack-card,
#solutions .solutions__card,
#solutions .solutions-card,
#solutions .card,
#services .services__card,
#services .services-card,
#services .card {
  position: relative;
  overflow: visible;
}

/* underglow */
#tech-stack .tech-stack-card::after,
#solutions .solutions__card::after,
#solutions .solutions-card::after,
#solutions .card::after,
#services .services__card::after,
#services .services-card::after,
#services .card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -14px;
  height: 22px;
  background: radial-gradient(closest-side, rgba(46, 231, 211, 0.22), rgba(177, 140, 255, 0.18), transparent 70%);
  filter: blur(10px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

/* hover: pop + stronger glow */
#tech-stack .tech-stack-card:hover,
#solutions .solutions__card:hover,
#solutions .solutions-card:hover,
#solutions .card:hover,
#services .services__card:hover,
#services .services-card:hover,
#services .card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(180, 200, 255, 0.22) !important;
}

#tech-stack .tech-stack-card:hover::after,
#solutions .solutions__card:hover::after,
#solutions .solutions-card:hover::after,
#solutions .card:hover::after,
#services .services__card:hover::after,
#services .services-card:hover::after,
#services .card:hover::after {
  opacity: 0.85;
  filter: blur(12px);
}

/* === Tech pills: bigger, more “we use this” === */
#tech-stack .tech-pill {
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(180, 200, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

#tech-stack .tech-pill__icon {
  font-size: 16px !important;
  opacity: 0.95;
}

/* === Get in touch: blur the outer box edges (no hard rectangle) === */
#contact .section__inner,
#get-in-touch .section__inner {
  position: relative;
  overflow: hidden;
}

#contact .section__inner::after,
#get-in-touch .section__inner::after {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(900px 520px at 20% 30%, rgba(46, 231, 211, 0.1), transparent 62%), radial-gradient(900px 520px at 75% 30%, rgba(177, 140, 255, 0.1), transparent 62%);
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
  /* fade edges so box “dissolves” */
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 68%, transparent 100%);
}

/* =========================================================
   FINAL WOW PACK: Neon cards + Bigger tech pills + Soft GetInTouch edges
   ========================================================= */
/* 1) Neon underglow + hover pop for key card grids */
#tech-stack .tech-stack-card,
#solutions .solutions__card,
#solutions .solutions-card,
#solutions .card,
#services .services__card,
#services .services-card,
#services .card {
  position: relative;
  overflow: visible;
  transition: transform 180ms cubic-bezier(0.2, 0.85, 0.2, 1), box-shadow 180ms cubic-bezier(0.2, 0.85, 0.2, 1), border-color 180ms ease;
}

#tech-stack .tech-stack-card::after,
#solutions .solutions__card::after,
#solutions .solutions-card::after,
#solutions .card::after,
#services .services__card::after,
#services .services-card::after,
#services .card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -16px;
  height: 26px;
  background: radial-gradient(closest-side, rgba(46, 231, 211, 0.26), rgba(177, 140, 255, 0.22), transparent 72%);
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

#tech-stack .tech-stack-card:hover,
#solutions .solutions__card:hover,
#solutions .solutions-card:hover,
#solutions .card:hover,
#services .services__card:hover,
#services .services-card:hover,
#services .card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(180, 200, 255, 0.22) !important;
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.3), 0 0 34px rgba(46, 231, 211, 0.1), 0 0 34px rgba(177, 140, 255, 0.1);
}

#tech-stack .tech-stack-card:hover::after,
#solutions .solutions__card:hover::after,
#solutions .solutions-card:hover::after,
#solutions .card:hover::after,
#services .services__card:hover::after,
#services .services-card:hover::after,
#services .card:hover::after {
  opacity: 0.9;
  filter: blur(14px);
}

/* 2) Technologies pills: bigger, bolder */
#tech-stack .tech-pill {
  font-size: 13.5px !important;
  font-weight: 650;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(180, 200, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#tech-stack .tech-pill__icon {
  font-size: 17px !important;
  opacity: 0.96;
}

/* 3) GetInTouch: dissolve big rectangle edges */
#contact .section__inner,
#get-in-touch .section__inner {
  position: relative;
  border: none !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.22) !important;
  overflow: hidden;
}

#contact .section__inner::after,
#get-in-touch .section__inner::after {
  content: "";
  position: absolute;
  inset: -70px;
  background: radial-gradient(900px 520px at 20% 30%, rgba(46, 231, 211, 0.14), transparent 62%), radial-gradient(900px 520px at 75% 30%, rgba(177, 140, 255, 0.14), transparent 62%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: radial-gradient(closest-side, #000 64%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 64%, transparent 100%);
}

/* === HOT NEON: stronger underglow for cards === */
#tech-stack .tech-stack-card::after,
#solutions .solutions__card::after,
#solutions .solutions-card::after,
#solutions .card::after,
#services .services__card::after,
#services .services-card::after,
#services .card::after {
  left: 8% !important;
  right: 8% !important;
  bottom: -18px !important;
  height: 34px !important;
  opacity: 0.78 !important;
  filter: blur(16px) !important;
  background: radial-gradient(closest-side, rgba(46, 231, 211, 0.4), rgba(177, 140, 255, 0.34), transparent 72%) !important;
}

#tech-stack .tech-stack-card:hover::after,
#solutions .solutions__card:hover::after,
#solutions .solutions-card:hover::after,
#solutions .card:hover::after,
#services .services__card:hover::after,
#services .services-card:hover::after,
#services .card:hover::after {
  opacity: 1 !important;
  filter: blur(18px) !important;
}

/* extra glow on hover */
#tech-stack .tech-stack-card:hover,
#solutions .solutions__card:hover,
#solutions .solutions-card:hover,
#solutions .card:hover,
#services .services__card:hover,
#services .services-card:hover,
#services .card:hover {
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34), 0 0 44px rgba(46, 231, 211, 0.16), 0 0 44px rgba(177, 140, 255, 0.16) !important;
}

/* === GetInTouch: blur/dissolve outer edges (real) === */
#contact .section__inner,
#get-in-touch .section__inner {
  /* dissolve edges of the rectangle itself */
  border-radius: 26px !important;
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
}

/* add soft bloom outside */
#contact .section__inner::before,
#get-in-touch .section__inner::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(900px 520px at 20% 30%, rgba(46, 231, 211, 0.18), transparent 62%), radial-gradient(900px 520px at 75% 30%, rgba(177, 140, 255, 0.18), transparent 62%);
  filter: blur(26px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -2;
}

/* === FORCE NEON: Where we apply AI (#solutions) === */
#solutions .section__inner > div > div,
#solutions .section__inner .card,
#solutions .section__inner [class*=card] {
  position: relative;
  overflow: visible;
}

#solutions .section__inner > div > div::after,
#solutions .section__inner .card::after,
#solutions .section__inner [class*=card]::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18px;
  height: 34px;
  background: radial-gradient(closest-side, rgba(46, 231, 211, 0.42), rgba(177, 140, 255, 0.36), transparent 72%);
  filter: blur(16px);
  opacity: 0.78;
  pointer-events: none;
  z-index: -1;
}

#solutions .section__inner > div > div:hover,
#solutions .section__inner .card:hover,
#solutions .section__inner [class*=card]:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34), 0 0 46px rgba(46, 231, 211, 0.16), 0 0 46px rgba(177, 140, 255, 0.16);
}

/* === FORCE DISSOLVE: Get in touch outer box (#contact) === */
#contact {
  position: relative;
  isolation: isolate;
}

/* dissolve the big rectangle visually (mask on the container) */
#contact .section__inner {
  border-radius: 26px !important;
  overflow: hidden !important;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}

/* add blur halo around it */
#contact::after {
  content: "";
  position: absolute;
  inset: -120px 0 -120px 0;
  background: radial-gradient(900px 520px at 20% 35%, rgba(46, 231, 211, 0.18), transparent 62%), radial-gradient(900px 520px at 75% 35%, rgba(177, 140, 255, 0.18), transparent 62%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

/* =========================================================
   MOBILE FAIRYTALE PACK (<=640px): layout, spacing, glow, no boxes
   ========================================================= */
@media (max-width: 640px) {
  /* Global rhythm */
  .section {
    padding-top: 2.4rem !important;
    padding-bottom: 2.6rem !important;
  }
  .section__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Headings: centered, compact */
  .section h2,
  .section-title {
    text-align: left;
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }
  .section h2 + p,
  .tech-stack__subtitle {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(245, 247, 255, 0.76) !important;
  }
  /* Cards: one column, bigger touch, more glow */
  #solutions .solutions__grid,
  #solutions .solutions-grid,
  #solutions .solutions__cards,
  #solutions .solutions-cards,
  #services .services__grid,
  #services .services-grid,
  #tech-stack .tech-stack-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  /* Card sizing + glow */
  .section .card,
  .section .about__card,
  .section .services__card,
  .section .solutions__card,
  #tech-stack .tech-stack-card {
    border-radius: 20px !important;
    padding: 16px !important;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26), 0 0 26px rgba(46, 231, 211, 0.08), 0 0 26px rgba(177, 140, 255, 0.08) !important;
  }
  /* Buttons inside cards: full width, nice */
  .section .card button,
  .section .card a,
  .section .about__card button,
  .section .about__card a,
  .section .services__card button,
  .section .services__card a,
  .section .solutions__card button,
  .section .solutions__card a {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  /* Tech Stack: center and remove “left stickiness” */
  #tech-stack .section__inner {
    align-items: stretch !important;
  }
  #tech-stack .tech-stack-layout {
    width: 100% !important;
    margin: 0 !important;
  }
  /* Tech pills bigger for mobile */
  #tech-stack .tech-pill {
    font-size: 14px !important;
    padding: 10px 14px !important;
  }
  #tech-stack .tech-pill__icon {
    font-size: 18px !important;
  }
  /* Final CTA: remove hard rectangle look */
  #final-cta .section__inner,
  #ready .section__inner,
  #cta .section__inner {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  /* Get in touch: kill big box, keep form as hero */
  #contact .section__inner,
  #get-in-touch .section__inner {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    padding: 0 !important;
  }
  /* Contact form becomes the main card */
  #contact form,
  #contact .contact-form {
    border-radius: 22px !important;
    background: radial-gradient(520px 320px at 20% 20%, rgba(46, 231, 211, 0.12), transparent 60%), radial-gradient(520px 320px at 80% 20%, rgba(177, 140, 255, 0.12), transparent 60%), rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28), 0 0 34px rgba(46, 231, 211, 0.1), 0 0 34px rgba(177, 140, 255, 0.1) !important;
    padding: 16px !important;
  }
  #contact input, #contact textarea {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  #contact button {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
  }
  /* Assistant bubble: keep it from covering content */
  .ai-assistant-bubble,
  .assistant-bubble,
  .nisimtech-assistant-bubble,
  .ai-assistant {
    bottom: 86px !important;
  }
}
/* =========================================================
   MOBILE FAIRYTALE PACK (<=640px): layout, spacing, glow, no boxes
   ========================================================= */
@media (max-width: 640px) {
  /* Global rhythm */
  .section {
    padding-top: 2.4rem !important;
    padding-bottom: 2.6rem !important;
  }
  .section__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Headings: compact */
  .section h2,
  .section-title {
    text-align: left;
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }
  .section h2 + p,
  .tech-stack__subtitle {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(245, 247, 255, 0.76) !important;
  }
  /* Grids: one column */
  #solutions .solutions__grid,
  #solutions .solutions-grid,
  #solutions .solutions__cards,
  #solutions .solutions-cards,
  #services .services__grid,
  #services .services-grid,
  #tech-stack .tech-stack-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  /* Cards: bigger, softer glow */
  .section .card,
  .section .about__card,
  .section .services__card,
  .section .solutions__card,
  #tech-stack .tech-stack-card {
    border-radius: 20px !important;
    padding: 16px !important;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26), 0 0 26px rgba(46, 231, 211, 0.08), 0 0 26px rgba(177, 140, 255, 0.08) !important;
  }
  /* Buttons inside cards: full width */
  .section .card button,
  .section .card a,
  .section .about__card button,
  .section .about__card a,
  .section .services__card button,
  .section .services__card a,
  .section .solutions__card button,
  .section .solutions__card a {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  /* Tech pills: bigger */
  #tech-stack .tech-pill {
    font-size: 14px !important;
    padding: 10px 14px !important;
  }
  #tech-stack .tech-pill__icon {
    font-size: 18px !important;
  }
  /* Final CTA: remove hard rectangle */
  #final-cta .section__inner,
  #ready .section__inner,
  #cta .section__inner {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  /* Get in touch: kill big box, keep form as hero card */
  #contact .section__inner,
  #get-in-touch .section__inner {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    padding: 0 !important;
  }
  #contact form,
  #contact .contact-form {
    border-radius: 22px !important;
    background: radial-gradient(520px 320px at 20% 20%, rgba(46, 231, 211, 0.12), transparent 60%), radial-gradient(520px 320px at 80% 20%, rgba(177, 140, 255, 0.12), transparent 60%), rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28), 0 0 34px rgba(46, 231, 211, 0.1), 0 0 34px rgba(177, 140, 255, 0.1) !important;
    padding: 16px !important;
  }
  #contact input, #contact textarea {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  #contact button {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
  }
  /* Assistant bubble: keep it from covering content */
  .ai-assistant-bubble,
  .assistant-bubble,
  .nisimtech-assistant-bubble,
  .ai-assistant {
    bottom: 86px !important;
  }
}
/* =========================================================
   HARD FIX: prevent horizontal overflow (mobile/tablet)
   ========================================================= */
html, body {
  max-width: 100%;
  overflow-x: hidden; /* stop “slide left” */
}

/* safer sizing so 100% + padding doesn't overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

/* do not let huge glow pseudo-elements expand layout */
.section,
header,
footer {
  overflow-x: clip;
}

/* contain inner wrappers */
.section__inner,
.header-inner,
.hero-inner,
.tech-stack-layout,
.tech-stack-grid {
  max-width: 100%;
}

/* images/media should never overflow */
img, svg, canvas, video {
  max-width: 100%;
  height: auto;
}

/* common offender: transform/translate can create overflow */
[class*=reveal],
[class*=glow],
[class*=hero],
[class*=tech] {
  max-width: 100%;
}