:root {
  --bg: #05080f;
  --panel: #0b1220;
  --panel-soft: #101927;
  --text: #f6f8fb;
  --muted: #a7b2c4;
  --subtle: #6f7c90;
  --line: #203044;
  --blue: #3aa8ff;
  --green: #39e6a3;
  --violet: #cdbbff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 72px;
  background: rgba(5, 8, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.section-pad {
  padding-left: 72px;
  padding-right: 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(420px, 1fr);
  align-items: center;
  gap: 56px;
  min-height: 760px;
  padding-top: 84px;
  padding-bottom: 88px;
  background: linear-gradient(180deg, #05080f 0%, #091321 100%);
}

.hero-copy,
.section-heading,
.statement,
.mission-card,
.mission-aside,
.future-copy,
.contact-panel > div {
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  background: #0e1b2a;
  border: 1px solid #24445e;
  border-radius: 999px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid #2b415c;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 18px;
}

.hero-notes strong,
.hero-notes span {
  display: block;
}

.hero-notes strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.hero-notes span {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.4;
}

.systems-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #213249;
  border-radius: 18px;
  background:
    linear-gradient(#203044 1px, transparent 1px),
    linear-gradient(90deg, #203044 1px, transparent 1px),
    linear-gradient(145deg, #0e1a29 0%, #08101b 100%);
  background-size: 120px 96px, 120px 96px, auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.visual-card {
  position: absolute;
  padding: 18px;
  border-radius: 12px;
  background: rgba(13, 24, 38, 0.88);
  border: 1px solid #35607a;
}

.visual-card span,
.visual-chip {
  font-size: 12px;
  font-weight: 800;
}

.visual-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.card-a {
  top: 78px;
  left: 48px;
  width: 220px;
}

.card-a span,
.chip-auto {
  color: var(--green);
}

.card-b {
  right: 44px;
  top: 220px;
  width: 240px;
}

.card-c {
  left: 70px;
  bottom: 72px;
  width: 300px;
  color: var(--text);
}

.visual-chip {
  position: absolute;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #102134;
  border: 1px solid #284967;
}

.chip-ai {
  top: 90px;
  right: 84px;
  color: var(--blue);
}

.chip-auto {
  left: 42px;
  top: 258px;
  background: #0e251d;
  border-color: #1d684f;
}

.about {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 72px;
  padding-top: 110px;
  padding-bottom: 110px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  line-height: 1.12;
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 14px;
  align-content: start;
}

.statement {
  padding-top: 32px;
}

.statement p {
  margin-bottom: 0;
  color: #dce5f0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.52;
}

.mission,
.future {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  background: #07101a;
}

.mission-card {
  padding: 44px;
  border: 1px solid #26394e;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.blue {
  color: var(--blue);
}

.mission-card h2,
.future-copy h2,
.contact-panel h2 {
  margin: 18px 0 22px;
}

.mission-card p:last-child,
.future-copy p,
.contact-panel p,
.mission-aside p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.mission-aside h3 {
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.25;
}

.mission-aside p {
  color: var(--subtle);
  font-size: 16px;
}

.services {
  padding-top: 112px;
  padding-bottom: 112px;
  background: var(--bg);
}

.services-header {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin-bottom: 44px;
}

.services-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid #26394e;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b1420 0%, #08101b 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.24;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid #294158;
  border-radius: 14px;
  background: #07101a;
}

.service-cta p {
  margin-bottom: 0;
  color: #dce5f0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.projects {
  padding-top: 112px;
  padding-bottom: 112px;
}

.projects-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.projects-header h2 {
  margin-top: 14px;
}

.admin-note {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0;
  padding: 10px 14px;
  color: var(--muted);
  border: 1px solid #26394e;
  border-radius: 999px;
  background: #0c1724;
  font-size: 13px;
  font-weight: 700;
}

.project-carousel-shell {
  position: relative;
  max-width: 1296px;
  margin: 0 auto;
}

.project-stage {
  position: relative;
  height: 640px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.project-stage.is-dragging {
  cursor: grabbing;
}

.project-stage:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 8px;
}

.project-card {
  position: absolute;
  top: 44px;
  left: 50%;
  width: min(460px, 82vw);
  overflow: hidden;
  border: 1px solid #26394e;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.31);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.9);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    width 220ms ease;
}

.project-card.is-active,
.project-card.is-prev,
.project-card.is-next {
  opacity: 1;
}

.project-card.is-active {
  top: 0;
  z-index: 2;
  width: min(520px, 86vw);
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.project-card.is-prev {
  z-index: 1;
  pointer-events: auto;
  transform: translateX(calc(-50% - min(520px, 86vw))) scale(0.92);
}

.project-card.is-next {
  z-index: 1;
  pointer-events: auto;
  transform: translateX(calc(-50% + min(520px, 86vw))) scale(0.92);
}

.project-card.is-side {
  opacity: 0.72;
}

.project-image {
  position: relative;
  height: 310px;
  background: linear-gradient(135deg, #0e3651 0%, #0b1220 100%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image span {
  position: absolute;
  left: 24px;
  bottom: 44px;
  display: inline-flex;
  max-width: calc(100% - 48px);
  padding: 8px 12px;
  color: var(--text);
  background: rgba(6, 16, 27, 0.88);
  border: 1px solid #2c6b8a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.project-content {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
}

.status {
  display: inline-flex;
  white-space: nowrap;
  padding: 7px 10px;
  color: var(--green);
  border: 1px solid #1e7053;
  border-radius: 999px;
  background: #112e24;
  font-size: 12px;
  font-weight: 800;
}

.status-coming_soon {
  color: var(--blue);
  border-color: #315b95;
  background: #17243a;
}

.status-deployed {
  color: var(--green);
}

.status-client_project {
  color: var(--violet);
  border-color: #63517e;
  background: #201b2f;
}

.project-card h3 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.2;
}

.project-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.text-link {
  width: fit-content;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.muted-link {
  opacity: 0.7;
}

.carousel-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 18px;
  right: 18px;
  z-index: 3;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--muted);
  background: #0e1b2a;
  border: 1px solid #294158;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  pointer-events: auto;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

.carousel-button-primary {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

.swipe-hint {
  margin-bottom: 0;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
}

.carousel-dots span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #2a3c52;
}

.carousel-dots .active {
  width: 24px;
  background: var(--blue);
}

.future {
  grid-template-columns: 470px minmax(0, 1fr);
  padding-top: 112px;
  padding-bottom: 112px;
}

.future-visual {
  position: relative;
  height: 420px;
  overflow: hidden;
  border: 1px solid #26394e;
  border-radius: 16px;
  background: var(--panel);
}

.future-node {
  position: absolute;
  border-radius: 10px;
  border: 1px solid #2a5f80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.future-node svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.future-node-ai {
  top: 62px;
  left: 54px;
  width: 180px;
  height: 118px;
  color: var(--blue);
  background: #0f2032;
}

.future-node-flow {
  top: 150px;
  left: 204px;
  width: 210px;
  height: 136px;
  color: var(--green);
  background: #10241d;
  border-color: #287052;
}

.future-node-data {
  left: 82px;
  bottom: 60px;
  width: 166px;
  height: 86px;
  color: var(--text);
  background: #111b2a;
  border-color: #375a83;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pill-row span {
  padding: 9px 13px;
  border: 1px solid #26394e;
  border-radius: 999px;
  background: #0e1b2a;
  font-size: 13px;
  font-weight: 800;
}

.contact {
  padding-top: 112px;
  padding-bottom: 72px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  border: 1px solid #294158;
  border-radius: 18px;
  background: linear-gradient(135deg, #101b2a 0%, #07101a 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.33);
}

.contact-panel > div {
  max-width: 740px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  border: 1px solid #294158;
  border-radius: 999px;
  background: #0e1b2a;
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-whatsapp {
  color: var(--green);
  border-color: #1e7053;
  background: #0d241b;
}

.social-facebook {
  color: var(--blue);
}

.social-link.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.contact-button {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 72px 44px;
  color: var(--subtle);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 72px;
    padding: 0 22px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    display: none;
  }

  .section-pad {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero,
  .about,
  .mission,
  .services,
  .future {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-subtitle,
  .mission-card p:last-child,
  .future-copy p,
  .contact-panel p {
    font-size: 16px;
  }

  .actions,
  .hero-notes {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .systems-visual {
    min-height: 250px;
  }

  .card-a {
    top: 34px;
    left: 24px;
    width: 140px;
  }

  .card-b {
    top: 122px;
    right: 24px;
    width: 166px;
  }

  .card-c,
  .visual-chip {
    display: none;
  }

  .about,
  .mission,
  .services,
  .projects,
  .future,
  .contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .statement {
    padding-top: 0;
  }

  .statement p {
    font-size: 16px;
    line-height: 1.58;
  }

  .mission-card {
    padding: 24px;
  }

  .mission-aside {
    display: none;
  }

  .services-header {
    margin-bottom: 26px;
  }

  .services-header p:last-child {
    font-size: 16px;
  }

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

  .service-card {
    padding: 22px;
  }

  .service-cta {
    display: grid;
    padding: 22px;
  }

  .service-cta p {
    font-size: 16px;
  }

  .projects-header {
    display: grid;
    gap: 18px;
    margin-bottom: 26px;
  }

  .admin-note {
    font-size: 12px;
  }

  .project-carousel-shell {
    max-width: none;
  }

  .project-stage {
    height: 460px;
  }

  .project-card {
    top: 24px;
    width: min(304px, 78vw);
  }

  .project-card.is-active {
    top: 0;
    width: min(304px, 82vw);
  }

  .project-card.is-prev {
    transform: translateX(calc(-50% - min(304px, 82vw))) scale(0.92);
  }

  .project-card.is-next {
    transform: translateX(calc(-50% + min(304px, 82vw))) scale(0.92);
  }

  .project-image {
    height: 180px;
  }

  .project-image span {
    left: 18px;
    bottom: 18px;
    font-size: 12px;
  }

  .project-content {
    gap: 14px;
    padding: 20px;
  }

  .project-card h3 {
    font-size: 24px;
  }

  .project-card p {
    font-size: 14px;
  }

  .carousel-footer {
    margin-top: 14px;
  }

  .carousel-controls {
    display: none;
  }

  .future-visual {
    display: none;
  }

  .contact-panel {
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: 14px;
  }

  .social-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }

  .social-link {
    width: 100%;
  }

  .site-footer {
    display: grid;
    padding: 28px 22px 40px;
  }
}

@media (max-width: 420px) {
  .project-meta {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .social-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
