:root {
  color-scheme: dark;
  --bg: #070d1a;
  --bg-2: #0b1626;
  --bg-3: #0d2434;
  --panel: rgba(12, 35, 56, 0.72);
  --panel-strong: rgba(13, 58, 80, 0.86);
  --text: #f7fbff;
  --muted: #a7b6c7;
  --cyan: #00d7f2;
  --cyan-2: #0aa6bc;
  --line: rgba(118, 218, 237, 0.18);
  --line-strong: rgba(0, 215, 242, 0.36);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 14%, rgba(0, 215, 242, 0.15), transparent 30%),
    linear-gradient(145deg, #0b1626 0%, #070d1a 48%, #07101e 100%);
  font-size: 16px;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 0 clamp(20px, 4vw, 58px);
  background: rgba(6, 13, 25, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  color: var(--cyan);
  font-size: clamp(0.58rem, 0.75vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.25;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--cyan);
}

.header-tools {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.lang-button.active {
  color: #03111a;
  background: var(--cyan);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: 126px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 34px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  line-height: 1.65;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 30px;
  font-size: clamp(4rem, 8.3vw, 8.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  color: var(--cyan);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(247, 251, 255, 0.9);
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.button.primary {
  color: #03111a;
  background: var(--cyan);
  border-color: var(--cyan);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.concept-panel {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: 34px 34px 4px 4px;
  background:
    linear-gradient(155deg, rgba(8, 75, 96, 0.84), rgba(9, 20, 41, 0.94)),
    rgba(10, 34, 54, 0.82);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.concept-panel img {
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  width: 100%;
  height: 58%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.panel-glow {
  position: absolute;
  inset: auto 10% -120px;
  z-index: -1;
  height: 220px;
  background: radial-gradient(ellipse, rgba(0, 215, 242, 0.45), transparent 66%);
  filter: blur(18px);
}

.panel-line {
  width: 100%;
  height: 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-2), var(--cyan));
}

.preview-card {
  display: grid;
  place-items: center;
  min-height: 256px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(0, 215, 242, 0.26);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(14, 92, 111, 0.66), rgba(10, 32, 78, 0.74));
}

.preview-card p {
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.preview-card span {
  color: var(--muted);
  font-size: 1rem;
}

.operations-preview {
  display: grid;
  margin-top: 20px;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.status-row div {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(118, 218, 237, 0.2);
  border-radius: 10px;
  background: rgba(3, 12, 24, 0.48);
}

.status-row strong,
.status-row span {
  display: block;
}

.status-row strong {
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.1;
}

.status-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.metrics div {
  padding: 30px clamp(20px, 3vw, 44px);
  background: rgba(8, 20, 34, 0.92);
}

.metrics span,
.service-card span,
.project-card span,
.barco-stack span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.metrics p,
.section-copy,
.service-card p,
.project-card p,
.barco-section p,
.erp-section p,
.contact-section p {
  color: var(--muted);
}

.section,
.barco-section,
.erp-section,
.contact-section {
  padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 72px);
}

.split-section,
.service-section,
.projects-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.split-section {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  padding-block: clamp(58px, 6vw, 92px);
}

.split-section .eyebrow {
  margin-bottom: 22px;
}

.split-section h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.1vw, 4.1rem);
}

.split-section .section-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  columns: auto;
  font-size: 1rem;
}

.split-section .section-copy p {
  min-height: 190px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(0, 215, 242, 0.08), transparent 42%),
    rgba(5, 15, 29, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.projects-section {
  grid-template-columns: 1fr;
}

.projects-header {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  margin-bottom: 30px;
}

.projects-section .section-kicker .eyebrow {
  margin-bottom: 24px;
}

.projects-section .section-kicker h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.project-filter-panel {
  display: grid;
  gap: 18px;
  align-self: center;
  justify-items: center;
  transform: translateY(-18px);
}

.project-selection-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(4, 17, 31, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project-selection-copy strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.15rem, 1.65vw, 1.62rem);
  line-height: 1.1;
  text-align: center;
}

.section-kicker {
  max-width: 620px;
}

.section-copy {
  columns: 2 280px;
  column-gap: 42px;
  font-size: 1.08rem;
}

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

.service-card,
.project-card {
  min-height: 224px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(13, 42, 65, 0.7), rgba(7, 17, 33, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.barco-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(300px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(0, 215, 242, 0.12), transparent 38%),
    rgba(5, 13, 24, 0.72);
  border-block: 1px solid var(--line);
}

.barco-section > div:first-child {
  max-width: 760px;
}

.barco-stack {
  display: grid;
  gap: 14px;
}

.barco-stack article {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(10, 43, 66, 0.72);
}

.barco-stack strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.project-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  color: #03111a;
  border-color: var(--cyan);
  background: var(--cyan);
}

.project-grid {
  grid-column: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.project-card[hidden] {
  display: none;
}

.project-card {
  min-height: 310px;
  padding: 0;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.86) contrast(1.04);
}

.project-card span,
.project-card h3,
.project-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.project-card span {
  margin-top: 22px;
}

.erp-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.82fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.erp-link {
  margin-top: 12px;
}

.erp-product {
  display: grid;
  gap: 18px;
}

.nubiges-logo {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.nubiges-logo img {
  width: min(100%, 240px);
  max-height: 260px;
  object-fit: contain;
}

.erp-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.erp-list li {
  padding: 18px 20px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 251, 255, 0.9);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 0.92fr);
  gap: clamp(34px, 6vw, 88px);
  background: rgba(4, 10, 19, 0.8);
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(13, 58, 80, 0.58), rgba(7, 17, 33, 0.9));
}

.contact-form input[name="_honey"] {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 12, 24, 0.82);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--cyan);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) auto;
  align-items: start;
  gap: clamp(22px, 4vw, 52px);
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #050b15;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--text);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-sitemap span {
  width: 100%;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-sitemap a:hover {
  color: var(--cyan);
}

.footer-legal {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .concept-panel {
    min-height: 440px;
  }

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

  .projects-header {
    grid-template-columns: 1fr;
  }

  .project-filter-panel {
    justify-items: start;
    transform: none;
  }

  .project-controls {
    justify-content: flex-start;
  }

  .split-section {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding-inline: 16px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand small {
    max-width: 170px;
    font-size: 0.52rem;
  }

  .hero {
    padding: 112px 16px 52px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .concept-panel {
    min-height: 360px;
    border-radius: 24px 24px 4px 4px;
  }

  .preview-card {
    min-height: 210px;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .metrics,
  .split-section,
  .service-section,
  .projects-section,
  .barco-section,
  .erp-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-copy {
    columns: auto;
  }

  .split-section .section-copy {
    grid-template-columns: 1fr;
  }

  .split-section .section-copy p {
    min-height: auto;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-controls,
  .project-grid {
    grid-column: auto;
  }

  .service-card,
  .project-card {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    text-align: left;
    white-space: normal;
  }
}
