:root {
  --ink: #071821;
  --ink-2: #0b2630;
  --paper: #f1f4f1;
  --white: #fff;
  --muted: #617078;
  --line: rgba(7, 24, 33, .16);
  --orange: #ff6b1a;
  --cyan: #63d1df;
  --max: 1380px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.shell { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.display {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 8rem);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 760;
}
.display em, .section-title em { color: var(--orange); font-style: normal; }
.section-title {
  margin: 0;
  max-width: 930px;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.lead { max-width: 760px; color: #40525b; font-size: clamp(1.08rem, 1.5vw, 1.32rem); }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-weight: 760;
  transition: background .25s, color .25s, transform .25s;
}
.button:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.button.primary { background: var(--orange); border-color: var(--orange); color: #101518; }
.button.primary:hover { background: var(--cyan); border-color: var(--cyan); }
.button.light { border-color: rgba(255,255,255,.5); color: white; }
.button.light:hover { background: white; color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 92px;
  display: grid;
  grid-template-columns: 310px 1fr auto;
  align-items: center;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(241, 244, 241, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 14px; width: fit-content; }
.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid var(--orange);
  transform: rotate(45deg);
}
.brand-mark::after { inset: 17px; border-color: var(--ink); }
.brand strong { display: block; font-size: 1rem; letter-spacing: .13em; }
.brand small { display: block; color: var(--muted); font-size: .6rem; letter-spacing: .16em; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 28px; }
.main-nav a {
  position: relative;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .06em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -10px;
  height: 2px;
  background: var(--orange);
  transition: right .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 18px;
  color: white;
  background: var(--ink);
  font-size: .78rem;
  font-weight: 800;
}
.menu-toggle { display: none; border: 0; background: none; }

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  color: white;
  background: var(--ink);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh max(32px, calc((100vw - var(--max)) / 2));
  padding-right: 5vw;
}
.hero .display { max-width: 950px; }
.hero .lead { color: #b8c7cc; margin: 32px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 38px; color: #91a7ae; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-proof span::before { content: "✦"; margin-right: 8px; color: var(--cyan); }
.hero-visual {
  position: relative;
  min-height: 620px;
  border-left: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(rgba(95,208,229,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,208,229,.08) 1px, transparent 1px),
    linear-gradient(135deg, #09222c, #071821);
  background-size: 54px 54px, 54px 54px, auto;
}
.tech-stage { position: absolute; inset: 10% 8%; }
.machine-shell {
  position: absolute;
  left: 8%; right: 12%; top: 25%; bottom: 18%;
  border: 1px solid var(--cyan);
  border-radius: 54% 28% 42% 22%;
  transform: perspective(800px) rotateY(-12deg);
  box-shadow: inset 0 0 90px rgba(95,208,229,.08), 0 0 80px rgba(95,208,229,.06);
}
.machine-shell::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,107,26,.75);
  border-radius: 46% 28% 38% 18%;
}
.machine-shell::after {
  content: "";
  position: absolute;
  left: 16%; right: 16%; top: 48%;
  border-top: 7px solid var(--orange);
  box-shadow: 0 0 35px var(--orange);
}
.airflow {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: air 3.4s linear infinite;
}
.airflow.a { top: 34%; left: 0; width: 62%; }
.airflow.b { top: 48%; right: 0; width: 68%; animation-delay: -1.1s; }
.airflow.c { top: 64%; left: 6%; width: 76%; animation-delay: -2.2s; }
.visual-tag {
  position: absolute;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.28);
  color: #d9e6e9;
  background: rgba(7,24,33,.72);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.tag-a { top: 13%; left: 2%; }
.tag-b { top: 51%; right: 0; }
.tag-c { bottom: 7%; left: 22%; }
@keyframes air { 0% { transform: translateX(-30px); opacity: 0; } 30%,70% { opacity: 1; } 100% { transform: translateX(60px); opacity: 0; } }

.metric-strip { background: var(--orange); border-bottom: 1px solid var(--ink); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 160px; padding: 30px; border-right: 1px solid rgba(7,24,33,.25); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: clamp(2rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.06em; }
.metric span { display: block; margin-top: 14px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.section { padding: clamp(90px, 11vw, 170px) 0; }
.section.dark { color: white; background: var(--ink); }
.section.dark .lead { color: #aebfc5; }
.section-head {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 70px;
}
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.solution-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: rgba(255,255,255,.42);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.solution-card:hover { position: relative; z-index: 2; color: white; background: var(--ink); transform: translateY(-7px); }
.card-no { color: var(--orange); font-size: .73rem; font-weight: 800; letter-spacing: .12em; }
.card-glyph {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 50px 0 32px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
}
.card-glyph::before, .card-glyph::after {
  content: "";
  position: absolute;
  background: var(--orange);
}
.card-glyph::before { width: 34px; height: 3px; top: 36px; left: 21px; }
.card-glyph::after { width: 3px; height: 34px; top: 21px; left: 36px; }
.solution-card h3 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.15; }
.solution-card p { color: var(--muted); font-size: .9rem; }
.solution-card:hover p { color: #b9c8cd; }
.card-link { margin-top: auto; color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.process-step { min-height: 320px; padding: 34px 26px; border-right: 1px solid rgba(255,255,255,.18); }
.process-step:last-child { border-right: 0; }
.process-step b { display: block; color: var(--orange); font-size: 3.4rem; line-height: 1; letter-spacing: -.08em; }
.process-step h3 { margin: 70px 0 10px; font-size: 1.2rem; }
.process-step p { color: #9eb0b6; font-size: .88rem; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 30%, rgba(255,107,26,.33), transparent 22%),
    linear-gradient(rgba(95,208,229,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,208,229,.08) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  transition: transform .65s var(--ease);
}
.project-card:nth-child(2n)::before { background-color: #14333c; background-position: center; }
.project-card:hover::before { transform: scale(1.08) rotate(-1deg); }
.project-card > * { position: relative; z-index: 1; }
.project-card small { color: var(--cyan); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-card h3 { margin: 10px 0; max-width: 560px; font-size: clamp(2rem, 3.8vw, 4.2rem); line-height: .98; letter-spacing: -.04em; }
.project-card p { max-width: 560px; color: #b9c8cd; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.18); }
.industry-card { min-height: 240px; padding: 28px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.industry-card:nth-child(3n) { border-right: 0; }
.industry-card h3 { margin-top: 70px; font-size: 1.35rem; }
.industry-card p { color: #9eb0b6; font-size: .88rem; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { padding: 28px; border: 1px solid var(--line); background: white; }
.article-card h3 { font-size: 1.35rem; line-height: 1.2; }
.article-card p { color: var(--muted); }

.page-hero {
  position: relative;
  min-height: 66svh;
  display: flex;
  align-items: flex-end;
  padding: 11vh 0 9vh;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(rgba(95,208,229,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,208,229,.06) 1px, transparent 1px),
    var(--ink);
  background-size: 58px 58px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 38vw;
  height: 38vw;
  right: -8vw;
  bottom: -20vw;
  border: 1px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(255,107,26,.12);
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1080px; margin: 0; font-size: clamp(3.6rem, 8vw, 8.4rem); line-height: .9; letter-spacing: -.065em; }
.page-hero p { max-width: 760px; margin-top: 28px; color: #b8c7cc; font-size: 1.15rem; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; }
.prose { font-size: 1.1rem; }
.prose h2 { margin: 60px 0 18px; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.prose p { color: #40525b; }
.detail-aside { align-self: start; position: sticky; top: 122px; padding: 28px; color: white; background: var(--ink); }
.detail-aside h3 { margin-top: 0; }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; }
.feature-list li { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); color: #bdcbd0; }
.feature-list li::before { content: "↳"; color: var(--orange); margin-right: 10px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-card { padding: 28px; border-top: 1px solid var(--line); }
.contact-card small { display: block; color: var(--muted); }
.contact-card strong { font-size: 1.25rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; min-height: 58px; padding: 14px; color: var(--ink); background: white; border: 1px solid var(--line); outline: none; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); }

.site-footer { color: white; background: #041116; }
.footer-pitch { padding: clamp(80px, 10vw, 150px) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-pitch h2 { margin: 0 0 40px; max-width: 980px; font-size: clamp(3rem, 6.6vw, 7.5rem); line-height: .9; letter-spacing: -.06em; }
.footer-pitch h2 em { color: var(--orange); font-style: normal; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 40px; padding: 60px 0; }
.footer-grid h3 { margin-top: 0; }
.footer-grid h4 { color: var(--cyan); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid a { display: block; width: fit-content; margin: 9px 0; color: #b5c4c9; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); color: #82969d; font-size: .72rem; letter-spacing: .07em; }
.footer-bottom a { color: var(--cyan); }
.floating-whatsapp {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.from-left { transform: translateX(-42px); }
.reveal.from-right { transform: translateX(42px); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; margin-right: 18px; font-size: .75rem; font-weight: 900; }
  .main-nav {
    position: fixed;
    inset: 92px 0 auto;
    display: grid;
    gap: 0;
    padding: 20px 32px 34px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 76px; padding: 0 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: .82rem; }
  .brand small, .header-cta span { display: none; }
  .header-cta { min-height: 42px; padding: 0 14px; }
  .menu-toggle { margin-right: 8px; }
  .main-nav { inset: 76px 0 auto; }
  .hero { min-height: auto; }
  .hero-copy { min-height: calc(100svh - 76px); padding: 80px 20px; }
  .hero-visual { min-height: 430px; }
  .metrics, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .metric, .process-step { border-bottom: 1px solid rgba(7,24,33,.25); }
  .solution-grid, .project-grid, .industry-grid, .article-grid, .section-head, .detail-layout, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 330px; }
  .project-card { min-height: 420px; padding: 24px; }
  .section-head { gap: 24px; margin-bottom: 44px; }
  .industry-card, .industry-card:nth-child(3n) { border-right: 0; }
  .detail-aside { position: static; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
