:root {
  --crimson: #d6001c;
  --crimson-deep: #a00015;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --surface: #ffffff;
  --subtle: #f7f5f2;
  --accent: #ff7043;
  --success: #15b86a;
}

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

body {
  margin: 0;
  font-family: 'Manrope', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}

.nav__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--crimson);
  color: #fff;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.brand-name {
  font-size: 16px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 500;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #374151;
}

.nav__links a:hover {
  background: rgba(214, 0, 28, 0.1);
  color: #b91c1c;
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 6px;
}

.btn {
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  font-family: inherit;
}

.btn.primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 12px 30px rgba(214, 0, 28, 0.28);
}

.btn.primary:hover {
  background: var(--crimson-deep);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(214, 0, 28, 0.38);
}

.btn.secondary {
  background: rgba(214, 0, 28, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(214, 0, 28, 0.25);
}

.btn.ghost {
  background: #fff;
  color: #374151;
  border: 1px solid var(--border);
}

.btn:active {
  transform: translateY(0);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 72px 32px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero--sub {
  padding-top: 64px;
}

.hero__content h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}

.hero__content .lede {
  color: #4b5563;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.lede {
  margin: 0 0 18px;
}

.section__lede,
.section__header .section__lede {
  margin: 6px 0 0;
  color: #4b5563;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--crimson);
}

.stat-label {
  color: #4b5563;
  font-size: 14px;
}

.hero__visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.hero__visual--compact {
  min-height: 260px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  display: none;
}

.orb--main {
  width: 240px;
  height: 240px;
  background: rgba(214, 0, 28, 0.1);
  top: 8%;
  left: 8%;
}

.orb--accent {
  width: 200px;
  height: 200px;
  background: rgba(255, 112, 67, 0.12);
  bottom: 6%;
  right: 12%;
}

.panel {
  position: relative;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  width: min(90%, 420px);
  z-index: 1;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

.panel__title {
  font-weight: 700;
  margin-bottom: 10px;
}

.panel ul {
  padding-left: 18px;
  margin: 0 0 12px;
  color: #374151;
}

.panel__note {
  color: #4b5563;
  margin: 0;
}

.chip-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  border: 1px solid rgba(214, 0, 28, 0.2);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f2f4f7;
  border: 1px solid var(--border);
  color: #374151;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 14px;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section__header h2 {
  margin: 4px 0;
  font-size: clamp(26px, 3vw, 32px);
}

.section__header .link-arrow {
  color: var(--crimson);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section__header .link-arrow::after {
  content: '→';
  transition: transform 0.2s ease;
}

.section__header .link-arrow:hover::after {
  transform: translateX(4px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 0, 28, 0.4);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
}

.card__tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  border: 1px solid rgba(214, 0, 28, 0.25);
}

.card h3 {
  margin: 12px 0 8px;
}

.card p {
  margin: 0 0 12px;
  color: #4b5563;
}

.meta {
  color: #6b7280;
  font-size: 13px;
}

.industries .industry-grid,
.innovation .case-grid,
.services .service-grid,
.catalog .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.industry-card,
.service-card,
.product-card,
.case {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.industry-card__title,
.service-card__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.industry-card p,
.service-card p {
  margin: 0 0 12px;
  color: #4b5563;
}

.case header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.case__pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  border: 1px solid rgba(21, 184, 106, 0.35);
  color: #0f5132;
  font-weight: 600;
}

.case__tag {
  color: #374151;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f3f4f6;
}

.case h3 {
  margin: 8px 0;
}

.case p {
  margin: 0;
  color: #4b5563;
}

.cta {
  padding: 40px 32px 60px;
}

.cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 18px 48px rgba(214, 0, 28, 0.3);
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.footer {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 24px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  color: #374151;
}

.footer__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-chip.active {
  background: rgba(214, 0, 28, 0.12);
  border-color: rgba(214, 0, 28, 0.35);
  color: #b91c1c;
}

.product-card__header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.product-tag {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(214, 0, 28, 0.12);
  color: #b91c1c;
  font-size: 12px;
}

.product-badge {
  padding: 6px 10px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 12px;
}

.product-card h3 {
  margin: 6px 0;
}

.product-card p {
  margin: 0 0 10px;
  color: #4b5563;
}

.catalog .product-grid {
  margin-top: 10px;
}

.services .service-grid {
  margin-top: 10px;
}

.contact {
  padding: 24px 32px 48px;
}

.contact__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.contact__form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  color: #1f2937;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-family: inherit;
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(214, 0, 28, 0.25);
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
  }
  .nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px 0 4px;
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 14px 20px;
  }
  .hero,
  .section {
    padding: 20px;
  }
  .hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }
}
