:root {
  color-scheme: dark;
  --bg: #070b13;
  --ink: #f3f6fd;
  --muted: #a7b4c9;
  --blue: #59aaff;
  --stroke: #253247;
  --mono: "IBM Plex Mono", "DejaVu Sans Mono", monospace;
  font-family: "Poppins", Arial, sans-serif;
}

@font-face {
  font-family: Poppins;
  src: url(poppins-regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url(poppins-bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; }
p { line-height: 1.75; }
:focus-visible { outline: 2px solid #88ceff; outline-offset: 5px; }
section[id] { scroll-margin-top: 90px; }

.container { width: min(100% - 112px, 1250px); margin-inline: auto; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 5; padding: 12px 18px; background: #f4f8ff; color: #080d16; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid #1a2637;
  background: rgba(7, 11, 19, .95);
  backdrop-filter: blur(14px);
}

.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 9px; font-size: 23px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.brand img { flex: none; }
.brand-accent, .accent { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); color: #b9c4d5; font-size: 13px; }
.site-nav a { padding-block: 10px; transition: color .2s; }
.site-nav a:hover, .text-link:hover { color: var(--blue); }
.header-cta { justify-self: end; }
.menu-toggle { font: inherit; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.button:hover { transform: translateY(-2px); }
.button-outline { min-height: 43px; padding-inline: 14px; border-color: #2d486a; background: #0c1627; font-size: 12px; }
.button-outline:hover { background: #142641; border-color: var(--blue); }
.button-primary { background: #5dacff; border-color: #80c1ff; color: #061120; box-shadow: 0 7px 26px #2484ff30; }
.button-primary:hover { background: #94cdff; box-shadow: 0 9px 30px #2484ff55; }
.wa { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; mask: url(whatsapp.png) center / contain no-repeat; }
.diagonal { font: 21px/1 Arial, sans-serif; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; transition: color .2s; }
.text-link span { color: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid var(--stroke);
  background: radial-gradient(ellipse at 75% 38%, #102753 0, transparent 58%), #070b13;
}

.hero::before, .contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#617fa520 1px, transparent 1px), linear-gradient(90deg, #617fa520 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(#000, #0009 58%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 1px;
  width: 56%;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, #4288ea 85%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-block: clamp(80px, 8.25vw, 132px);
}

.eyebrow {
  color: #9accff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .115em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span { width: 7px; height: 7px; flex: none; background: var(--blue); box-shadow: 0 0 14px #469fffaf; border-radius: 1px; }
h1 { margin-block: 24px 21px; font-size: clamp(56px, 6.85vw, 102px); letter-spacing: -.06em; line-height: .98; }
.hero-keyword { color: #82bdff; }
@supports (background-clip: text) {
  .hero-keyword { background: linear-gradient(100deg, #a7d4ff, #5ba9ff 75%); background-clip: text; color: transparent; }
}
.hero-description { max-width: 430px; color: #b7c3d6; font-size: clamp(15px, 1.3vw, 17px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 23px; margin-top: 34px; }
.hero-visual { position: relative; min-width: 0; }
.visual-frame { position: relative; padding: 9px; border: 1px solid #3b5d8b; background: #080f1cd6; box-shadow: 0 24px 64px #0008, 0 0 52px #2874eb27; }
.hero-image { width: 100%; height: auto; aspect-ratio: 1.46; object-fit: cover; border: 1px solid #315286; object-position: center 54%; }
.frame-corner { position: absolute; width: 20px; height: 20px; border: solid #87c9ff; z-index: 1; }
.top-left { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.top-right { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.bottom-right { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.reticle { position: absolute; top: -23px; right: -20px; width: 11px; height: 11px; background: linear-gradient(#71b9ff, #71b9ff) center / 1px 100% no-repeat, linear-gradient(#71b9ff, #71b9ff) center / 100% 1px no-repeat; }
.frame-index { position: absolute; width: 74px; height: 6px; bottom: -19px; left: 0; background: repeating-linear-gradient(90deg,#74b8ff 0 2px,transparent 2px 7px); opacity: .55; }

.image-scan {
  position: absolute;
  inset: 9px 10px;
  pointer-events: none;
  overflow: hidden;
}

.image-scan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 43%, #459dff25 49.6%, #89ccff98 50%, transparent 50.5%);
  animation: scan 2.8s 500ms ease-out both;
}

@keyframes scan {
  from { transform: translateY(-53%); opacity: 0; }
  20%, 65% { opacity: 1; }
  to { transform: translateY(53%); opacity: 0; }
}

.section { padding-block: clamp(66px, 7.1vw, 108px); }
.section-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 24px 64px; margin-bottom: 34px; }
.section-head > p { color: var(--muted); max-width: 380px; font-size: 15px; justify-self: end; }
h2 { margin-top: 14px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.055em; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { padding: clamp(19px, 2.25vw, 34px); background: linear-gradient(150deg, #101a2b, #0b121e 70%); border: 1px solid var(--stroke); border-radius: 8px; transition: border-color .25s, background .25s; }
.service-card:hover { border-color: #4674aa; background: linear-gradient(150deg, #14243e, #0b121e 75%); }
.service-card p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.service-icon { position: relative; display: grid; place-items: center; height: 43px; width: 43px; margin-bottom: 22px; border-radius: 7px; border: 1px solid #264778; background: #112641; color: #83bfff; }
.icon-catalog::before { content: ""; width: 18px; height: 16px; border: 1px solid; border-radius: 2px; background: linear-gradient(currentColor,currentColor) 50% 4px / 100% 1px no-repeat; }
.icon-quote::before { content: ""; width: 15px; height: 19px; border: 1px solid; border-radius: 2px; background: repeating-linear-gradient(transparent 0 3px,currentColor 3px 4px) center / 7px 11px no-repeat; }
.icon-sync::before { content: "⇄"; font: 23px/1 Arial,sans-serif; }

.case-section { border-block: 1px solid var(--stroke); background: #0a101b; }
.case-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: clamp(26px, 5vw, 76px); }
.case-visual { overflow: hidden; padding: clamp(16px, 3vw, 36px); border: 1px solid #28426a; border-radius: 9px; background: radial-gradient(ellipse at 70% 60%,#15345e, transparent 90%), #0b1729; }
.browser { overflow: hidden; border: 1px solid #63789280; border-radius: 9px; background: #fff; box-shadow: 0 15px 24px #0005; }
.browser-bar { display: flex; align-items: center; justify-content: flex-start; gap: 4px; padding: 7px 10px; color: #adbbce; background: #151e2d; font: 10px var(--mono); }
.browser-bar i { width: 5px; height: 5px; flex: none; background: #607591; border-radius: 50%; }
.browser-bar span { flex: 1; text-align: center; padding-inline-end: 24px; }
.case-site-head { min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #314054; font-size: 10px; }
.case-site-head img { width: min(115px, 35%); height: auto; }
.case-banner { width: 100%; height: auto; }
.case-visual figcaption { color: #b2c3de; font-size: 11px; margin-top: 12px; }
.case-list { margin: 17px 0 21px; padding: 0; list-style: none; }
.case-list li { position: relative; display: grid; gap: 4px; padding: 12px 0 12px 18px; border-bottom: 1px solid var(--stroke); }
.case-list li::before { position: absolute; inset: 20px auto auto 0; width: 6px; height: 6px; border: 1px solid var(--blue); transform: rotate(45deg); content: ""; }
.case-list strong { font-size: 14px; }
.case-list span, .faq-items p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px 84px; }
.faq-items details { border-bottom: 1px solid var(--stroke); }
.faq-items details:first-child { border-top: 1px solid var(--stroke); }
.faq-items summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 2px; font-size: 15px; font-weight: 700; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: "+"; color: var(--blue); font: 22px/1 var(--mono); }
.faq-items details[open] summary::after { content: "−"; }
.faq-items p { padding: 0 24px 19px 2px; }

.contact-section { padding-top: 0; }
.contact-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 24px 52px; border: 1px solid #375a89; border-radius: 10px; background: radial-gradient(ellipse at 88% 78%, #183866, transparent 70%), #0c1525; padding: clamp(26px, 4.6vw, 66px); }
.contact-panel::before { mask-image: linear-gradient(100deg,transparent 28%,#000); }
.contact-panel p:not(.eyebrow) { color: #b9c7db; margin-top: 16px; font-size: 15px; max-width: 540px; }
.contact-actions { display: grid; gap: 13px; text-align: center; justify-self: end; }
.contact-actions > span { font-family: var(--mono); font-size: 13px; color: #c1d3ec; }
.site-footer { border-top: 1px solid var(--stroke); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; justify-content: space-between; min-height: 90px; padding-block: 15px; }
.footer-inner p { color: var(--muted); font-size: 12px; }
.footer-inner .brand { font-size: 20px; }
.reveal.is-pending { opacity: 0; transform: translateY(14px); }
.reveal.is-visible { transition: opacity .54s ease-out, transform .54s ease-out; }

@media (max-width: 1000px) {
  .container { width: min(100% - 64px, 1250px); }
  .hero-inner { gap: 36px; }
  h1 { font-size: clamp(49px, 7.6vw, 76px); }
  .faq-grid { gap: 28px 44px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto; gap: 10px; }
  .header-cta { display: none; }
  .site-nav { grid-column: 1 / -1; justify-content: space-between; gap: 9px; padding-bottom: 8px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px; min-height: 42px; color: var(--ink); background: #111b2d; border: 1px solid var(--stroke); border-radius: 6px; font-size: 13px; }
  .menu-bars { width: 13px; height: 8px; border-block: 1px solid var(--blue); }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; padding-block: 56px 64px; }
  h1 { margin-block: 19px; font-size: clamp(51px, 11.7vw, 82px); }
  .hero-actions { margin-top: 24px; }
  .hero-image { max-height: 400px; }
  .reticle { top: -16px; right: -10px; }
  .section-head, .case-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; }
  .section-head > p, .contact-actions { justify-self: start; }
  .section-head { margin-bottom: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-icon { margin-bottom: 15px; }
  .service-card { padding: 23px; }
  .case-site-head > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
