:root {
  --bg: #070b12;
  --panel: #0e1624;
  --ink: #111827;
  --muted: #687083;
  --orange: #ff7a00;
  --orange2: #ff9b36;
  --blue: #13d4ff;
  --soft: #f7f8fb;
  --line: rgba(255, 122, 0, .25);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  padding-top: 88px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: var(--soft);
  color: var(--ink);
  overflow-x: hidden;
}

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

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(7, 11, 18, .95);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand strong { display: block; color: var(--orange); font-size: 31px; line-height: .9; }
.brand small { display: block; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.brand em { display: block; color: var(--orange2); font-size: 11px; font-style: normal; margin-top: 4px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #fff;
  font-size: 15px;
}

.nav a { opacity: .9; }
.nav a:hover { color: var(--orange); }

.btn,
.navCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--orange), #ff5f00);
  color: #fff !important;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255,122,0,.28);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .45;
  box-shadow: none;
  filter: grayscale(.35);
}

.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }

.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
}

section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
}

.hero {
  max-width: none;
  min-height: 720px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  padding: 74px 48px 60px;
  color: #fff;
  background: radial-gradient(circle at 75% 15%, rgba(255,122,0,.18), transparent 28%), linear-gradient(125deg, #05070c, #0b1220 56%, #090b10);
}

.pill {
  display: inline-flex;
  padding: 10px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,122,0,.28);
  border-radius: 8px;
  background: rgba(255,122,0,.1);
  color: #ffb36f;
  font-weight: 800;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: 58px;
  line-height: 1.04;
}

.hero h1 span { color: var(--orange); }
.hero p { max-width: 620px; font-size: 20px; line-height: 1.55; color: #d8dde8; }
.actions { display: flex; gap: 18px; margin-top: 34px; }

.drawing {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.heroDrawing svg { display: block; width: 100%; height: auto; }
.gridline { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 2; }
.flow { fill: none; stroke: url(#g); stroke-width: 3; filter: url(#glow); stroke-dasharray: 12 14; animation: dash 7s linear infinite; }
.flow.delay { animation-delay: -2s; }
@keyframes dash { to { stroke-dashoffset: -260; } }
.node circle { fill: rgba(10,18,32,.92); stroke: var(--orange); stroke-width: 2; }
.node path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.node text { fill: #fff; font-size: 18px; font-weight: 800; text-anchor: middle; }

.sectionTitle {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.sectionTitle span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sectionTitle h2 { margin: 10px auto 12px; font-size: 40px; line-height: 1.12; }
.sectionTitle p { margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.55; }

.cards,
.whyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.card,
.serviceBox,
.job,
.why,
.form,
.contactInfo {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.card b { display: block; margin-bottom: 10px; font-size: 22px; }
.card p, .why p, .serviceBox p, .job p { color: #5e6676; line-height: 1.5; }
.card a { display: inline-flex; margin-top: 18px; color: var(--orange); font-weight: 800; }

.darkBand {
  max-width: none;
  color: #fff;
  background: linear-gradient(135deg, #070b12, #0d1525);
}

.darkBand .sectionTitle p { color: #c8d0df; }

.serviceGrid {
  max-width: 1184px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.serviceBox,
.job {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  box-shadow: none;
}

.serviceBox p::before,
.job > p::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  margin-right: 8px;
}

.projectWrap,
.contactWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.screen {
  padding: 18px;
  border-radius: 8px;
  background: #0a0f18;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

.screenTop { display: flex; gap: 7px; margin-bottom: 15px; }
.screenTop span { width: 12px; height: 12px; border-radius: 50%; background: #334155; }

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px;
  border-radius: 8px;
  background: #101827;
  color: #fff;
}

.dashboard div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  text-align: center;
  background: rgba(255,255,255,.06);
}

.dashboard b { display: block; color: var(--orange); font-size: 24px; }
.dashboard small { color: #c9d0da; }
.dashboard svg { grid-column: 1 / -1; width: 100%; margin-top: 10px; border-radius: 8px; background: #0c1320; }

.architecture {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #fff7f0);
}

.architecture h3 { margin-top: 0; text-align: center; }
.archRow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.archRow span { padding: 14px; border: 1px solid #f0c9aa; border-radius: 8px; background: #fff; text-align: center; font-weight: 800; }
.archCore { max-width: 340px; margin: 34px auto; padding: 22px; border: 1px solid var(--orange); border-radius: 8px; background: linear-gradient(135deg, #111827, #000); color: var(--orange); text-align: center; font-weight: 900; }

.careerGrid {
  max-width: 1000px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job b { display: block; margin-bottom: 14px; color: #ffb36f; }
.uploadForm { margin-top: 20px; display: grid; gap: 12px; }
.resumeLabel { color: #fff; font-weight: 800; }
.resumeRow {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) 140px;
  align-items: center;
  gap: 12px;
}
.fileButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), #ff5f00);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255,122,0,.2);
}
.fileButton input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.fileName {
  min-width: 0;
  color: #d8dde8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fileName.ready { color: #fff; }
.applyBtn {
  width: 100%;
  min-height: 44px;
  padding: 11px 18px;
}
.sendCv { width: max-content; margin: 0 auto; display: flex; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form textarea,
.form .hint,
.form button,
.formStatus { grid-column: 1 / -1; }

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  padding: 15px;
  font: inherit;
}

.hint { margin: 0; color: var(--muted); font-size: 14px; }
.formStatus { margin: 0; min-height: 1.4em; font-weight: 800; color: var(--orange2); }
.formStatus.success { color: #0f9f6e; }
.formStatus.error { color: #dc2626; }

.contactWrap { grid-template-columns: 1.15fr .85fr; }
.contactInfo { background: #0b1220; color: #fff; text-align: left; }
.contactInfo p { color: #d8dde8; line-height: 1.5; }
.contactInfo a:not(.btn) { color: inherit; }
.contactInfo a:not(.btn):hover { color: var(--orange2); }

.whatsApp {
  width: max-content;
}

.whatsApp img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex: 0 0 auto;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 48px;
  border-top: 1px solid rgba(255,122,0,.35);
  background: #05070c;
  color: #fff;
}

footer div { display: flex; align-items: center; gap: 12px; }
footer img { width: 48px; }
footer p { margin: 0; color: #b8bfcc; }

@media (max-width: 980px) {
  html { scroll-padding-top: 76px; }
  body { padding-top: 76px; }
  .header { height: 76px; padding: 0 20px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: 24px; }
  .menu { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: #070b12;
  }
  .nav.open { display: flex; }
  section { width: 100%; max-width: 100%; padding: 58px 22px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 50px 22px; min-height: auto; }
  .pill { max-width: 100%; flex-wrap: wrap; font-size: 14px; }
  .hero h1 { font-size: 31px; }
  .hero p { font-size: 18px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .cards, .serviceGrid, .whyGrid, .projectWrap, .careerGrid, .contactWrap { grid-template-columns: minmax(0, 1fr); }
  .dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archRow { grid-template-columns: repeat(2, 1fr); }
  .resumeRow { grid-template-columns: max-content minmax(0, 1fr); }
  .applyBtn { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .sectionTitle h2 { font-size: 32px; }
  .sendCv { width: 100%; }
  footer { flex-direction: column; text-align: center; }
}
