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

:root {
  --primary: #1565c0;
  --primary-light: #42a5f5;
  --primary-dark: #0d47a1;
  --accent: #0891b2;
  --accent-warm: #d97706;
  --gradient: linear-gradient(135deg, #0d47a1, #0891b2);
  --gradient-warm: linear-gradient(135deg, #1565c0, #d97706);
  --bg-main: #f5f5f7;
  --bg-card: #ffffff;
  --card-border: #e5e5ea;
  --text-primary: #1a1a2e;
  --text-secondary: #3a3a52;
  --text-muted: #6b6b80;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --header-h: 56px;
  --marquee-h: 36px;
  --radius: 12px;
  --transition: 0.2s ease;
  --sky-muted: #6e96b8;
  --sky-muted-dark: #5a82a3;
  --sky-muted-light: #8eadc4;
  --sky-muted-soft: rgba(110, 150, 184, 0.12);
  --sky-muted-bg: #c8d9e8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--marquee-h) + 16px);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: block;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  flex-shrink: 0;
  display: block;
}

.logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.logo__name {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo__name em {
  font-style: normal;
  font-weight: 600;
  color: var(--sky-muted-dark);
}

.logo__tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.logo--sm .logo__mark {
  width: 32px;
  height: 32px;
}

.logo--sm .logo__name {
  font-size: 0.95rem;
}

.logo--sm .logo__tagline {
  display: none;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link--accent {
  padding: 8px 16px;
  color: #fff !important;
  background: var(--sky-muted);
  border-radius: 8px;
}

.nav-link--accent:hover {
  background: var(--sky-muted-dark);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger span:last-child {
  width: 60%;
  margin-left: auto;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
}

/* Marquee */
.marquee {
  position: sticky;
  top: var(--header-h);
  z-index: 150;
  height: var(--marquee-h);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(110, 150, 184, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition);
}

.marquee.marquee--floated {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(110, 150, 184, 0.12);
}

.marquee.is-open {
  z-index: 600;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(110, 150, 184, 0.16);
}

.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  padding-left: 1rem;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.marquee__item:hover,
.marquee__item:focus-visible,
.marquee__item.is-active {
  background: var(--sky-muted-soft);
  color: var(--sky-muted-dark);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(110, 150, 184, 0.2);
}

.marquee__dot {
  flex-shrink: 0;
  color: var(--sky-muted-light);
  opacity: 0.55;
  font-size: 0.5rem;
  user-select: none;
  pointer-events: none;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Info popup (marquee topics) */
.info-popup {
  position: fixed;
  top: calc(var(--header-h) + var(--marquee-h));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 550;
  pointer-events: none;
}

.info-popup.is-open {
  pointer-events: auto;
}

.info-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.35);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-popup.is-open .info-popup__backdrop {
  opacity: 1;
}

.info-popup__panel {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(110, 150, 184, 0.22);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.info-popup.is-open .info-popup__panel {
  transform: translateY(0);
  opacity: 1;
}

.info-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--bg-main);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.info-popup__title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-right: 1.5rem;
}

.info-popup__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.info-popup__list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.info-popup__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.info-popup__list li + li {
  margin-top: 0.45rem;
}

.info-popup__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-muted);
}

.info-popup .btn {
  background: var(--sky-muted);
}

.info-popup .btn:hover {
  background: var(--sky-muted-dark);
}

/* Typography blocks */
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: rgba(21, 101, 192, 0.05);
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 999px;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--bg-card);
  border-block: 1px solid var(--card-border);
}

.section--cta {
  padding-bottom: 5rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.about__text {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 54ch;
}

.about__facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about__facts li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.about__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky-muted);
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-card {
  padding: 1.25rem 1.35rem;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  border-color: rgba(110, 150, 184, 0.25);
  box-shadow: var(--shadow-sm);
}

.about-card__num {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--sky-muted-dark);
  margin-bottom: 0.5rem;
}

.about-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Products — авторские дополнения к интеграции 1С ↔ Bitrix24 */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  border-color: rgba(110, 150, 184, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__badge {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 999px;
}

.product-card__subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sky-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.product-card__desc {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.product-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.product-card__features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.product-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-muted);
}

.product-card__unique {
  padding: 0.75rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(110, 150, 184, 0.08);
  border-left: 3px solid var(--sky-muted);
  border-radius: 0 8px 8px 0;
}

.product-card .btn {
  margin-top: auto;
}

.products__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  margin-top: 0.5rem;
}

.products__cta h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.products__cta p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 48ch;
}

/* Location / Yandex map */
.location__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.location__info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location__label {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.location__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.location__link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky-muted-dark);
  transition: color var(--transition);
}

.location__link:hover {
  color: var(--primary-dark);
}

.location__map {
  padding: 0;
  overflow: hidden;
  min-height: 360px;
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient);
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.btn--ghost {
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: rgba(21, 101, 192, 0.2);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
  background: var(--sky-muted-bg);
  border-bottom: 1px solid rgba(110, 150, 184, 0.18);
}

.hero__content {
  background: var(--bg-card);
  border: 1px solid rgba(110, 150, 184, 0.16);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 2rem 2rem 1.75rem;
}

.hero .section-label {
  background: var(--sky-muted-soft);
  border-color: rgba(110, 150, 184, 0.22);
  color: var(--sky-muted-dark);
}

.hero .text-gradient {
  background: none;
  -webkit-text-fill-color: var(--sky-muted-dark);
  color: var(--sky-muted-dark);
}

.hero .btn:not(.btn--ghost) {
  background: var(--sky-muted);
  box-shadow: none;
}

.hero .btn:not(.btn--ghost):hover {
  background: var(--sky-muted-dark);
  box-shadow: 0 4px 14px rgba(110, 150, 184, 0.28);
}

.hero .typing-cursor {
  background: var(--sky-muted);
}

.hero-panel .btn {
  background: var(--sky-muted);
  box-shadow: none;
}

.hero-panel .btn:hover {
  background: var(--sky-muted-dark);
  box-shadow: 0 4px 14px rgba(110, 150, 184, 0.28);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.typing-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 2rem;
  margin-bottom: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--text-secondary);
}

.typing-quote {
  color: var(--primary-light);
  opacity: 0.5;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--primary);
  animation: blink 0.6s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 1px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__lead {
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.stat__value {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Hero panel */
.hero-panel {
  background: var(--bg-card);
  border: 1px solid rgba(110, 150, 184, 0.16);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 420px;
  margin-inline: auto;
}

.hero-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  background: linear-gradient(180deg, #fafbfc, #fff);
}

.hero-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: 999px;
}

.hero-panel__time {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-panel__title {
  padding: 18px 20px 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-panel__list {
  list-style: none;
  padding: 0 12px 12px;
}

.hero-panel__list li {
  display: flex;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 10px;
  transition: background var(--transition);
}

.hero-panel__list li:hover {
  background: var(--bg-main);
}

.hero-panel__list li + li {
  border-top: 1px solid var(--card-border);
}

.hero-panel__list li:first-child {
  border-top: none;
}

.hero-panel__num {
  flex-shrink: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--sky-muted-dark);
  padding-top: 2px;
}

.hero-panel__list strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.35;
}

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

.hero-panel__footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--card-border);
  background: var(--bg-main);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #059669;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 101, 192, 0.15);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__icon--primary {
  color: var(--primary);
  background: rgba(21, 101, 192, 0.08);
}

.card__icon--blue {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}

.card__icon--green {
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
}

.card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.tag-primary {
  color: var(--primary);
  border-color: rgba(21, 101, 192, 0.2);
  background: rgba(21, 101, 192, 0.05);
}

.tag-blue {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.05);
}

.tag-green {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.2);
  background: rgba(5, 150, 105, 0.05);
}

/* Stack marquee */
.stack-marquee {
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
  border-block: 1px solid var(--card-border);
}

.stack-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.stack-marquee__track span {
  padding: 0.5rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.stack-marquee:hover .stack-marquee__track {
  animation-play-state: paused;
}

.quote {
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-main);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

.step__num {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA */
.cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.cta-block__text {
  margin-bottom: 2rem;
}

.cta-block p {
  color: var(--text-muted);
  max-width: 42ch;
  margin-inline: auto;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin-bottom: 2rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.contact-chip:hover {
  border-color: rgba(21, 101, 192, 0.25);
  color: var(--primary);
  transform: translateY(-1px);
}

.contact-chip--tg:hover {
  border-color: rgba(34, 158, 217, 0.4);
  color: #229ed9;
}

.contact-chip--max:hover {
  border-color: rgba(8, 145, 178, 0.4);
  color: #0891b2;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.4);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.modal.is-open .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--bg-main);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.modal__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.modal__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.75rem;
  font-size: 1.1rem;
  color: #fff;
  background: var(--gradient);
  border-radius: 50%;
}

.modal__head h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal__head p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field {
  margin-bottom: 0.75rem;
}

.field label {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-main);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  min-height: 1.3em;
  text-align: center;
}

.form-status.is-success { color: #059669; }
.form-status.is-error { color: #dc2626; }

/* Footer */
.footer {
  padding: 1.5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--card-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__top {
  font-weight: 500;
  transition: color var(--transition);
}

.footer__top:hover {
  color: var(--primary);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  z-index: 300;
  padding: 4rem 1.5rem 2rem;
  background: var(--bg-card);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav a,
.mobile-nav button.nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.875rem 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--card-border);
  background: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero__visual {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .products__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .logo__tagline {
    display: none;
  }

  .logo__name {
    font-size: 1rem;
  }
}

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

  .burger {
    display: flex;
  }

  .cards-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 1.5rem;
  }

  .stat__value {
    font-size: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
