:root {
  --red: #e30613;
  --red-dark: #b80510;
  --red-deep: #8f040d;
  --red-soft: #fff1f2;
  --red-glow: rgba(227, 6, 19, 0.18);
  --gray: #6d6d6d;
  --gray-2: #8b8b8b;
  --ink: #1c1c1c;
  --ink-2: #2a2a2a;
  --line: #e8e8e8;
  --line-2: #d4d4d4;
  --bg: #f6f6f7;
  --bg-2: #efeff1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 30px 80px rgba(28, 28, 28, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 78px;
  --max: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.25rem;
}

.muted {
  color: var(--gray);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff5a4a 55%, var(--red));
}

.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.brand svg {
  width: 168px;
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink-2);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}

.menu-btn i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px var(--red-glow);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-wa {
  background: #1f8a3b;
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  padding: 42px 0 8px;
  background:
    radial-gradient(circle at 85% 10%, rgba(227, 6, 19, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-bg,
.hero-arcs,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(28, 28, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 28, 28, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}

.hero-arcs span {
  position: absolute;
  border: 3px solid var(--red);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.28;
}

.hero-arcs span:first-child {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -70px;
  animation: spin 22s linear infinite;
}

.hero-arcs span:last-child {
  width: 260px;
  height: 260px;
  right: 90px;
  top: 90px;
  opacity: 0.18;
  animation: spin 16s linear infinite reverse;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p.lead {
  margin: 18px 0 28px;
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 56ch;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 650;
}

.hero-meta strong {
  color: var(--ink);
  display: block;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 20%, #fff, var(--bg));
  border-radius: 18px;
}

.badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 750;
  animation: rise 0.8s var(--ease) both;
}

.badge b {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--red);
  letter-spacing: 0.02em;
}

.badge-1 {
  left: -18px;
  top: 28px;
  animation-delay: 0.35s;
}

.badge-2 {
  right: -10px;
  bottom: 54px;
  animation-delay: 0.55s;
}

/* Highlights */

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 24px;
  position: relative;
}

.highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.highlight svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  margin-bottom: 12px;
}

.highlight strong {
  display: block;
  margin-bottom: 6px;
}

.highlight span {
  color: var(--gray);
  font-size: 0.92rem;
}

/* Sections */

section {
  padding: 88px 0;
  scroll-margin-top: 110px;
}

.product {
  scroll-margin-top: 110px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--gray);
}

.band {
  background: var(--bg);
}

.band-dark {
  background: var(--ink);
  color: #fff;
}

.band-dark .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.band-dark .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  min-height: 220px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.service::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border: 8px solid var(--red-soft);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.service > * {
  position: relative;
  z-index: 1;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-orb {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 16px;
}

.service p {
  color: var(--gray);
  margin: 8px 0 0;
  font-size: 0.95rem;
}

/* Use cases */

.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usecase {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.3s var(--ease);
}

.usecase:hover {
  border-color: #f3b3b7;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.usecase .tag {
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
}

.usecase h3 {
  margin: 8px 0 10px;
}

.usecase p {
  color: var(--gray);
  margin: 0 0 16px;
}

.chip {
  display: inline-flex;
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 6px 6px 0;
}

/* Products */

.products {
  display: grid;
  gap: 28px;
}

.product {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product:nth-child(even) {
  grid-template-columns: 1.08fr 0.92fr;
}

.product:nth-child(even) .gallery {
  order: 2;
}

.gallery {
  position: relative;
}

.gallery input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.gallery-main {
  background:
    radial-gradient(circle at 50% 0%, #fff, var(--bg));
  border-radius: 20px;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: none;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumbs label {
  flex: 1;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
}

.thumbs img {
  height: 84px;
  width: 100%;
  object-fit: contain;
}

#g1a:checked ~ .gallery-main img:nth-child(1),
#g1b:checked ~ .gallery-main img:nth-child(2),
#g2a:checked ~ .gallery-main img:nth-child(1),
#g2b:checked ~ .gallery-main img:nth-child(2),
#g3a:checked ~ .gallery-main img:nth-child(1),
#g3b:checked ~ .gallery-main img:nth-child(2) {
  display: block;
  animation: fade 0.45s var(--ease);
}

#g1a:checked ~ .thumbs label[for="g1a"],
#g1b:checked ~ .thumbs label[for="g1b"],
#g2a:checked ~ .thumbs label[for="g2a"],
#g2b:checked ~ .thumbs label[for="g2b"],
#g3a:checked ~ .thumbs label[for="g3a"],
#g3b:checked ~ .thumbs label[for="g3b"] {
  border-color: var(--red);
}

.product-body .eyebrow {
  color: var(--red);
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.84rem;
}

.power {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 6px 0 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.stat {
  background: var(--bg);
  border-radius: 14px;
  padding: 12px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--red);
}

.stat span {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 700;
}

.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

details.spec {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

details.spec summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
}

details.spec summary::-webkit-details-marker {
  display: none;
}

details.spec summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
}

details.spec[open] summary::after {
  content: "–";
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--gray);
  font-weight: 700;
}

/* Docs */

.docs {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: center;
}

.doc-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #262626, #171717);
}

.doc-card h3 {
  margin-bottom: 8px;
}

.doc-card p {
  color: #c8c8c8;
}

.doc-preview {
  background: #fff;
  border-radius: 24px;
  padding: 16px;
}

.doc-preview img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-card,
.form-card,
.map-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-card,
.form-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-list a,
.contact-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg);
}

.contact-list strong {
  display: block;
}

.hours {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 650;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gray);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 24px;
  display: block;
}

.contact-split {
  display: grid;
  gap: 16px;
}

/* Footer */

.footer {
  background: #111;
  color: #d2d2d2;
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2a2a2a;
}

.footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer a:hover {
  color: #fff;
}

.footer li + li {
  margin-top: 8px;
}

.footer-logo {
  width: 180px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.85rem;
  color: #9a9a9a;
}

/* Float */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f8a3b;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(31, 138, 59, 0.35);
  animation: pulse 2.4s ease-in-out infinite;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.highlight:nth-child(1) { transition-delay: 0.05s; }
.highlight:nth-child(2) { transition-delay: 0.12s; }
.highlight:nth-child(3) { transition-delay: 0.19s; }
.highlight:nth-child(4) { transition-delay: 0.26s; }

.header.scrolled {
  box-shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(31, 138, 59, 0.35);
  }
  50% {
    box-shadow: 0 12px 30px rgba(31, 138, 59, 0.55), 0 0 0 12px rgba(31, 138, 59, 0.12);
  }
}

@media (max-width: 980px) {
  .hero-grid-layout,
  .product,
  .product:nth-child(even),
  .docs,
  .contact-grid,
  .footer-grid,
  .highlights,
  .services,
  .usecases {
    grid-template-columns: 1fr;
  }

  .product:nth-child(even) .gallery {
    order: 0;
  }

  .nav,
  .nav-actions .btn-ghost {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }

  .hero-card img,
  .gallery-main,
  .gallery-main img {
    height: 300px;
  }

  .badge-1,
  .badge-2 {
    position: static;
    display: inline-flex;
    margin: 10px 8px 0 0;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .legal {
    display: block;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero-ctas .btn,
  .product-actions .btn,
  .form .btn {
    width: 100%;
  }

  .nav-actions .btn-red {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
