:root {
  --bg: #06111f;
  --bg-2: #081827;
  --surface: rgba(9, 25, 42, 0.78);
  --surface-2: rgba(11, 31, 51, 0.92);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f5f7fa;
  --muted: #bdc8d5;
  --muted-2: #7f8fa3;
  --red: #c33739;
  --red-2: #e03a3d;
  --blue: #4a72b2;
  --cyan: #1a979b;
  --max: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 10%, rgba(74, 114, 178, 0.18), transparent 38%),
    linear-gradient(180deg, #06111f 0%, #05101d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
  padding: 0 clamp(24px, 5vw, 64px);
  background: rgba(4, 13, 24, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand img { width: 156px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  color: rgba(245, 247, 250, 0.86);
  font-size: 0.94rem;
}

.main-nav a,
.header-cta,
.btn,
.footer-contact a,
.footer-bottom a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover { color: var(--text); }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
}

.header-cta:hover,
.btn-primary:hover { background: var(--red-2); }

.hero {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.98) 0%, rgba(6, 17, 31, 0.84) 39%, rgba(6, 17, 31, 0.48) 65%, rgba(6, 17, 31, 0.78) 100%),
    linear-gradient(180deg, rgba(6, 17, 31, 0.20), rgba(6, 17, 31, 0.98)),
    url("../img/pcb-hero.png") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 86px 0 94px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow.center { text-align: center; }

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.05rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

h1 span { color: var(--red-2); }

.hero-text {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 800;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 48px rgba(195, 55, 57, 0.20);
}

.btn-secondary {
  border: 1px solid rgba(245, 247, 250, 0.30);
  color: #fff;
  background: rgba(4, 13, 24, 0.30);
}

.btn-secondary:hover {
  border-color: var(--red-2);
  background: rgba(195, 55, 57, 0.08);
}

.section { padding: 72px 0 88px; }

.solutions {
  background:
    radial-gradient(circle at 20% 0%, rgba(26, 151, 155, 0.08), transparent 35%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.solutions h2 {
  max-width: 800px;
  margin: 0 auto 38px;
  text-align: center;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.solution-card {
  min-height: 300px;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(14, 39, 64, 0.84), rgba(8, 23, 39, 0.82));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.solution-card:hover {
  border-color: rgba(195, 55, 57, 0.48);
}

.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  color: var(--red-2);
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  max-width: 260px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.solution-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.solution-card::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red-2);
}

.about-strip {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 14, 25, 0.92);
}

.about-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.about-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.about-strip p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.site-footer {
  padding: 56px 0 28px;
  background: #050d18;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand img { width: 146px; height: auto; margin-bottom: 14px; }

.footer-brand p,
.footer-links li,
.footer-contact a,
.footer-contact span,
.footer-bottom {
  color: var(--muted);
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
}

.footer-links li { margin-bottom: 8px; }

.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 530px; }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(6, 17, 31, 0.98) 0%, rgba(6, 17, 31, 0.86) 56%, rgba(6, 17, 31, 0.68) 100%),
      linear-gradient(180deg, rgba(6, 17, 31, 0.20), rgba(6, 17, 31, 0.98)),
      url("../img/pcb-hero.png") center / cover no-repeat;
  }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-header {
    min-height: 74px;
    padding-inline: 18px;
  }
  .brand img { width: 130px; }
  .header-cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.84rem;
  }
  .hero { min-height: auto; }
  .hero-content { padding: 72px 0 76px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  .hero-actions { gap: 12px; }
  .btn { width: 100%; }
  .section { padding: 56px 0 66px; }
  .cards-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .about-content,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links ul { columns: 1; }
  .footer-bottom {
    flex-direction: column;
  }
}
