:root {
  --ink: #10120f;
  --ink-2: #181b16;
  --paper: #f6f7ef;
  --white: #ffffff;
  --muted: #62685d;
  --line: rgba(16, 18, 15, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --lime: #b7ff4a;
  --green: #19d27f;
  --blue: #3366ff;
  --violet: #7258ff;
  --coral: #ff6b4a;
  --radius: 8px;
  --max: 1240px;
  --shadow: 0 28px 90px rgba(16, 18, 15, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(16,18,15,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16,18,15,0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(var(--max), calc(100% - 36px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 18, 15, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.site-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-menu a:hover,
.site-menu a.active {
  color: var(--lime);
}

.header-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(183, 255, 74, 0.44);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(183, 255, 74, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.45rem;
}

main {
  overflow: hidden;
}

.hero-section,
.stack-showcase,
.section-intro,
.capability-grid,
.trust-section,
.technology-grid,
.engagement-section,
.portfolio-section,
.ai-section,
.process-section,
.faq-section,
.contact-section,
.site-footer,
.tech-strip {
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.hero-section {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding-top: 132px;
  padding-bottom: 72px;
  color: #171a2c;
  text-align: center;
  background:
    radial-gradient(circle at 12% 22%, rgba(183, 255, 74, 0.36), transparent 22rem),
    radial-gradient(circle at 82% 20%, rgba(53, 199, 255, 0.24), transparent 24rem),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.9), transparent 18rem),
    linear-gradient(115deg, #f4ffd8, #e7fff2 45%, #dff6ff);
}

.stack-showcase {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 84px;
  padding-bottom: 84px;
  color: #171a2c;
  text-align: center;
  background:
    radial-gradient(circle at 18% 24%, rgba(183, 255, 74, 0.34), transparent 20rem),
    radial-gradient(circle at 82% 26%, rgba(53, 199, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.92), transparent 18rem),
    linear-gradient(115deg, #f5ffe1, #e9fff4 46%, #e2f8ff);
}

.stack-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.stack-copy h2 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
}

.stack-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: #252944;
  font-size: 1.12rem;
  line-height: 1.7;
}

.stack-copy .btn {
  margin-top: 12px;
}

.hero-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.stack-icon {
  position: absolute;
  width: 106px;
  min-height: 106px;
  padding: 14px 10px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: 24px;
  color: #151825;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.16);
  animation: iconFloat 6.5s ease-in-out infinite;
}

.stack-icon i,
.stack-icon strong {
  display: block;
  color: var(--icon-color, var(--blue));
  font-size: 2rem;
  line-height: 1;
}

.stack-icon strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.55rem;
}

.stack-icon span {
  color: #171a2c;
  font-size: 0.82rem;
  font-weight: 900;
}

.stack-icon.laravel {
  top: 64px;
  left: 6%;
  --icon-color: #ff4b3f;
}

.stack-icon.wordpress {
  top: 260px;
  left: 2%;
  --icon-color: #23282d;
  animation-delay: -1.2s;
}

.stack-icon.python {
  bottom: 84px;
  left: 14%;
  --icon-color: #3776ab;
  animation-delay: -2.1s;
}

.stack-icon.openai {
  left: 50%;
  bottom: 42px;
  --icon-color: #10120f;
  animation-delay: -3s;
  transform: translateX(-50%);
}

.stack-icon.nodejs {
  right: 32%;
  bottom: 72px;
  --icon-color: #5fa04e;
  animation-delay: -1.6s;
}

.stack-icon.vue {
  top: 64px;
  right: 6%;
  --icon-color: #41b883;
  animation-delay: -2.8s;
}

.stack-icon.react {
  top: 260px;
  right: 2%;
  --icon-color: #35c7ff;
  animation-delay: -0.8s;
}

.stack-icon.aws {
  right: 14%;
  bottom: 84px;
  --icon-color: #ff9900;
  animation-delay: -2.4s;
}

.stack-icon.automation {
  top: 182px;
  right: 16%;
  --icon-color: var(--violet);
  animation-delay: -3.6s;
}

.stack-icon.analytics {
  top: 182px;
  left: 16%;
  --icon-color: var(--green);
  animation-delay: -4.4s;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.65vw, 5.85rem);
  font-weight: 500;
}

h2 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 5.25rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 34px;
  color: #252944;
  font-size: 1.24rem;
  line-height: 1.65;
}

.hero-section .hero-actions {
  justify-content: center;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 18px 42px rgba(183, 255, 74, 0.24);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(16, 18, 15, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.hero-visual {
  display: none;
  position: relative;
}

.video-badge {
  position: absolute;
  top: -18px;
  right: 34px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.video-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(183, 255, 74, 0.55);
  animation: pulse 1.4s infinite;
}

.motion-screen {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
}

.motion-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.motion-screen::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(183, 255, 74, 0.22), transparent, rgba(51, 102, 255, 0.24), transparent);
  animation: rotateGlow 14s linear infinite;
}

.screen-top,
.signal-map,
.motion-grid {
  position: relative;
  z-index: 1;
}

.screen-top {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-dark);
}

.screen-top small {
  color: var(--lime);
  font-weight: 900;
}

.signal-map {
  min-height: 330px;
}

.node,
.route {
  position: absolute;
  display: block;
}

.node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 38px rgba(183, 255, 74, 0.72);
  animation: floatNode 5s ease-in-out infinite;
}

.node-a { top: 24%; left: 24%; }
.node-b { top: 62%; left: 36%; animation-delay: -1.4s; background: var(--green); }
.node-c { top: 34%; right: 26%; animation-delay: -2.2s; background: var(--blue); }
.node-d { right: 16%; bottom: 20%; animation-delay: -0.8s; background: var(--coral); }

.route {
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.74;
  animation: routeScan 2.8s ease-in-out infinite;
}

.route-a { top: 32%; left: 25%; width: 46%; transform: rotate(9deg); }
.route-b { top: 60%; left: 38%; width: 40%; transform: rotate(-25deg); animation-delay: -1s; }
.route-c { top: 44%; left: 26%; width: 56%; transform: rotate(33deg); animation-delay: -1.8s; }

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.motion-grid article {
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(16, 18, 15, 0.54);
}

.motion-grid span,
.system-board span,
.project-card span,
.model-card span {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.motion-grid strong {
  display: block;
  margin: 12px 0 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.2rem;
}

.motion-grid small {
  color: rgba(255,255,255,0.72);
}

.tech-strip {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.tech-strip span {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  animation: techDrift 18s linear infinite;
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.metric {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric strong {
  display: block;
  margin-bottom: 28px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 4.6rem;
  line-height: 0.9;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.section-intro {
  padding-top: 88px;
  padding-bottom: 36px;
}

.section-intro p:not(.eyebrow) {
  max-width: 740px;
  font-size: 1.16rem;
  line-height: 1.7;
}

.section-intro.compact {
  padding: 0;
  margin-bottom: 34px;
}

.capability-grid,
.technology-grid,
.model-grid,
.portfolio-grid,
.process-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 96px;
}

.capability-card,
.tech-card,
.model-card,
.process-grid article,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.capability-card {
  min-height: 340px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.capability-card i,
.tech-card i {
  width: 50px;
  height: 50px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 1.35rem;
}

.capability-card p,
.tech-card p,
.model-card p,
.process-grid p,
.faq-item p {
  color: var(--muted);
  line-height: 1.65;
}

.capability-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 900;
}

.dark-system,
.ai-section,
.contact-section {
  padding: 104px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 74% 20%, rgba(51, 102, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 12% 88%, rgba(183, 255, 74, 0.16), transparent 22rem),
    var(--ink);
}

.dark-system {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
}

.system-copy p:not(.eyebrow),
.ai-copy p,
.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.system-copy .btn {
  margin-top: 18px;
}

.system-board {
  display: grid;
  gap: 12px;
}

.system-board div {
  min-height: 88px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.technology-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 96px;
}

.tech-card {
  min-height: 260px;
  padding: 24px;
}

.engagement-section {
  padding-top: 96px;
  padding-bottom: 96px;
  background: var(--white);
}

.model-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-card {
  min-height: 280px;
  padding: 28px;
}

.model-card.featured {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(51,102,255,0.34), rgba(183,255,74,0.18)),
    var(--ink-2);
}

.model-card.featured p {
  color: rgba(255,255,255,0.76);
}

.portfolio-section {
  padding-top: 96px;
  padding-bottom: 104px;
  color: var(--white);
  background: var(--ink-2);
}

.portfolio-section .section-intro p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card img.contain-shot {
  object-fit: contain;
  padding: 34px;
  background: var(--paper);
}

.project-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(16, 18, 15, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-card p {
  color: rgba(255, 255, 255, 0.72);
}

.project-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.project-card a:hover {
  color: var(--lime);
}

.ai-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.ai-console {
  min-height: 360px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.ai-console img {
  width: min(180px, 64%);
  margin: 0 auto 18px;
  animation: floatNode 5s ease-in-out infinite;
}

.console-line,
.ai-chat p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.78);
  background: rgba(255, 255, 255, 0.06);
}

.console-line span {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.ai-chat {
  display: grid;
  gap: 12px;
}

.ai-chat b {
  display: block;
  margin-bottom: 7px;
  color: var(--lime);
}

.process-section,
.faq-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article {
  min-height: 250px;
  padding: 24px;
}

.process-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--blue);
  font-weight: 900;
}

.faq-section {
  background: var(--white);
}

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

.faq-item {
  min-height: 160px;
  padding: 24px;
}

.faq-item summary {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  cursor: pointer;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 34px;
}

.contact-links {
  margin: 30px 0;
  display: grid;
}

.contact-links a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.contact-links a:hover {
  color: var(--lime);
}

.legal-id {
  font-size: 0.95rem;
}

.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--white);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 255, 74, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--lime);
  font-weight: 900;
}

.site-footer {
  min-height: 110px;
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.site-footer a:hover {
  color: var(--lime);
}

.whatsapp-button,
.back-to-top {
  position: fixed;
  right: 18px;
  z-index: 35;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.whatsapp-button {
  bottom: 18px;
  color: var(--ink);
  background: var(--green);
  font-size: 1.55rem;
}

.back-to-top {
  bottom: 86px;
  border: 0;
  color: var(--white);
  background: var(--coral);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: min(470px, calc(100% - 36px));
  padding: 14px;
  display: none;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 18, 15, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-banner.show {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--lime);
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(183, 255, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(183, 255, 74, 0);
  }
}

@keyframes rotateGlow {
  to {
    transform: rotate(1turn);
  }
}

@keyframes floatNode {
  50% {
    transform: translateY(-14px);
  }
}

@keyframes routeScan {
  0%, 100% {
    opacity: 0.28;
    filter: blur(0);
  }
  50% {
    opacity: 0.9;
    filter: blur(1px);
  }
}

@keyframes techDrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-80px);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

.stack-icon.openai {
  animation-name: iconFloatCenter;
}

@keyframes iconFloatCenter {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateX(-50%) translateY(-16px) rotate(1deg);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .brand {
    min-width: auto;
  }

  .brand span {
    max-width: 120px;
  }

  .header-cta {
    display: none;
  }

  .hero-section,
  .dark-system,
  .ai-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    max-width: 760px;
  }

  .capability-grid,
  .technology-grid,
  .portfolio-grid,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    max-width: 170px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .site-menu {
    position: fixed;
    top: 82px;
    right: 10px;
    left: 10px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(16, 18, 15, 0.96);
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: grid;
    justify-content: stretch;
  }

  .site-menu a {
    justify-content: center;
  }

  .hero-section,
  .stack-showcase,
  .section-intro,
  .capability-grid,
  .trust-section,
  .technology-grid,
  .engagement-section,
  .portfolio-section,
  .ai-section,
  .process-section,
  .faq-section,
  .contact-section,
  .site-footer,
  .tech-strip,
  .dark-system {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-section {
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .stack-showcase {
    min-height: auto;
    display: grid;
    gap: 22px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .stack-copy {
    max-width: 100%;
  }

  .stack-copy h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .hero-icons {
    position: relative;
    order: 2;
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .stack-icon {
    position: static;
    width: auto;
    min-height: 82px;
    border-radius: var(--radius);
    animation: none;
  }

  .stack-icon i,
  .stack-icon strong {
    font-size: 1.55rem;
  }

  .stack-icon strong {
    font-size: 1.9rem;
  }

  .stack-icon.openai {
    transform: none;
    animation-name: none;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions,
  .contact-links {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .motion-screen {
    min-height: 520px;
  }

  .motion-grid,
  .trust-section,
  .capability-grid,
  .technology-grid,
  .portfolio-grid,
  .model-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .system-board div {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card img {
    min-height: 430px;
  }

  .contact-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .cookie-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    max-width: 120px;
    font-size: 0.88rem;
  }

  .hero-section {
    padding-top: 104px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .motion-screen {
    min-height: 460px;
  }

  .signal-map {
    min-height: 250px;
  }

  .whatsapp-button,
  .back-to-top {
    width: 48px;
    height: 48px;
  }
}
