:root {
  --ink: #0a1b3a;
  --muted: #5f6f7a;
  --line: #dce4e8;
  --panel: #f5f8fa;
  --white: #ffffff;
  --orange: #f17a27;
  --orange-dark: #db4c29;
  --teal: #2256bb;
  --shadow: 0 22px 60px rgba(10, 31, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 228, 232, 0.7);
  backdrop-filter: blur(18px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.language-switch button {
  min-width: 36px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--ink);
}

.brand img {
  display: block;
  width: 166px;
  height: auto;
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #334854;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 0.2s ease;
}

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

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--orange);
}

.header-cta:hover,
.primary-button:hover {
  background: var(--orange-dark);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: 92vh;
  padding: 138px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(8, 33, 48, 0.92), rgba(8, 33, 48, 0.72)),
    radial-gradient(circle at 82% 32%, rgba(229, 82, 19, 0.9), transparent 33%),
    linear-gradient(135deg, #082130, #0a5961);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb184;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

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

.automation-panel {
  min-height: 470px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.panel-top strong {
  margin-left: auto;
  color: #5effb8;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5effb8;
  box-shadow: 0 0 22px #5effb8;
}

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

.metric {
  min-height: 116px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric span {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric strong {
  font-size: 25px;
}

.signal-map {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.signal-map i {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.signal-map i:nth-child(3n),
.signal-map i:nth-child(5n) {
  background: var(--orange);
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 970px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.services,
.projects,
.process {
  background: var(--panel);
}

.service-grid,
.portfolio-grid,
.process-line {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
}

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

.service-card,
.process-line article,
.portfolio-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-card span,
.process-line span,
.portfolio-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.service-card p,
.process-line p {
  color: var(--muted);
  line-height: 1.65;
}

.portfolio {
  background: var(--white);
}

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

.portfolio-grid article {
  min-height: 170px;
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(10, 31, 45, 0.96), rgba(8, 123, 134, 0.76)),
    var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.portfolio-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 126px;
  height: 126px;
  border: 18px solid rgba(229, 82, 19, 0.52);
  border-radius: 50%;
}

.portfolio-grid span {
  color: #ffb184;
}

.portfolio-grid strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 240px;
  font-size: 22px;
  line-height: 1.22;
}

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

.process-line article {
  padding: 24px;
}

.projects {
  background: var(--panel);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.project-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.project-list img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: #f8fafb;
  filter: contrast(1.04) saturate(1.06);
}

.project-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.project-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact {
  padding: 88px clamp(20px, 5vw, 72px);
  background: var(--ink);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #29414e;
  font-weight: 700;
  line-height: 1.35;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer img {
  width: 140px;
  height: auto;
}

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

  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-block;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 12px;
  }

  .hero-inner,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .automation-panel {
    min-height: 360px;
  }

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

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

@media (max-width: 620px) {
  .brand img {
    width: 138px;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-actions {
    display: grid;
  }

  .panel-grid,
  .service-grid,
  .portfolio-grid,
  .project-list,
  .process-line {
    grid-template-columns: 1fr;
  }

  .project-list article {
    grid-template-columns: 1fr;
  }

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

  footer {
    display: grid;
  }
}

/* MIN AUTOMATION brand extensions */
.brand img{width:142px;max-height:65px;object-fit:contain}
footer img{width:128px;max-height:65px;object-fit:contain}
.company-facts{background:#f4f7fc;border-top:1px solid #e2e8f2;border-bottom:1px solid #e2e8f2}
.facts-header{margin-bottom:28px}.facts-header h2{font-size:clamp(24px,3vw,40px);margin:4px 0;color:#0c2557}
.facts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.facts-grid>div{background:white;border:1px solid #e2e7f2;border-radius:12px;padding:22px;min-width:0}
.facts-grid small{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:11px}.facts-grid strong{font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.partner-logos{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:22px}.partner-logos img{width:100%;height:70px;object-fit:contain;filter:grayscale(.15)}
.project-list article img{object-fit:contain;background:#f3f6fb;padding:10px}
@media(max-width:920px){.facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-logos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.facts-grid{grid-template-columns:1fr}.partner-logos{grid-template-columns:repeat(2,minmax(0,1fr))}.brand img{width:114px}}


/* 2026 refresh overrides */
:root {
  --ink: #101a2d;
  --muted: #61708a;
  --line: #d9e1ef;
  --panel: #f2f6fb;
  --white: #ffffff;
  --orange: #5eead4;
  --orange-dark: #2dd4bf;
  --teal: #7c83ff;
  --shadow: 0 24px 64px rgba(16, 26, 45, 0.10);
}

body {
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

.site-header {
  gap: 22px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: linear-gradient(90deg, rgba(12,23,39,0.96), rgba(18,33,55,0.94));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 34px rgba(6, 14, 28, 0.22);
}

.brand { display:flex; align-items:center; }
.brand img {
  display:block;
  width: 260px;
  max-height: 88px;
  height: auto;
  object-fit: contain;
}

.nav {
  color: rgba(255,255,255,0.88);
  gap: 24px;
}
.nav a:hover { color: #76f4df; }

.language-switch {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}
.language-switch button { color: rgba(255,255,255,0.74); }
.language-switch button.is-active {
  color: #0f172a;
  background: linear-gradient(135deg, #79f2df, #7c83ff);
}

.header-cta,
.primary-button {
  color: #0b1324;
  background: linear-gradient(135deg, #79f2df, #7c83ff);
  box-shadow: 0 10px 22px rgba(124, 131, 255, 0.18);
}
.header-cta:hover,
.primary-button:hover {
  background: linear-gradient(135deg, #93fff0, #989dff);
}
.secondary-button {
  border: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
}
.menu-button {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}
.menu-button span { background: #ffffff; }

.hero {
  min-height: 88vh;
  padding: 144px clamp(20px, 5vw, 72px) 82px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(124, 131, 255, 0.28), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(121, 242, 223, 0.18), transparent 24%),
    linear-gradient(135deg, #0b1220 0%, #121b2d 50%, #182742 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 86%);
}
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow, .eyebrow { color: #76f4df; }
.hero-text { color: rgba(255,255,255,0.76); }
.automation-panel {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
}
.metric, .service-card, .process-line article, .portfolio-grid article, .project-list article, .contact-card, .facts-grid>div {
  border-radius: 18px;
}
.metric { background: rgba(255,255,255,0.08); }
.signal-map i:nth-child(3n), .signal-map i:nth-child(5n) { background: linear-gradient(135deg, #79f2df, #7c83ff); }

.section { padding: 96px clamp(20px, 5vw, 72px); }
.about { background: transparent; }
.about-grid, .service-card p, .process-line p, .project-list p, .contact-card p { color: #5f6d87; }
.services, .projects, .process { background: transparent; }
.service-card, .process-line article, .project-list article, .contact-card, .facts-grid>div {
  border: 1px solid rgba(146, 162, 189, 0.20);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.service-card span, .process-line span {
  color: #6b7bf7;
  margin-bottom: 22px;
}
.service-card {
  min-height: 250px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #79f2df, #7c83ff);
}

.company-facts {
  background: transparent;
  border: 0;
}
.facts-header h2 { color: #111f35; }
.facts-grid small { color: #7a879d; }

.portfolio-grid article {
  min-height: 180px;
  background: linear-gradient(160deg, #15213a, #203355);
}
.portfolio-grid article::after {
  border-color: rgba(121, 242, 223, 0.22);
}
.portfolio-grid span { color: #8ff8e8; }

.project-list article {
  grid-template-columns: 62px 1fr;
  gap: 16px;
}
.project-list img {
  border-radius: 14px;
  background: #f3f7fc;
}
.project-list span {
  background: linear-gradient(135deg, #79f2df, #7c83ff);
  color: #0f172a;
}

.contact {
  background: linear-gradient(180deg, #0d1525 0%, #121d31 100%);
}
.contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}
.contact-list a, .contact-list span {
  border-radius: 14px;
  background: rgba(242,246,251,0.88);
}
footer {
  background: #0d1525;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}
footer img {
  width: 200px;
  max-height: 74px;
  object-fit: contain;
}
.partner-logos img {
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  padding: 10px;
  box-shadow: 0 6px 18px rgba(17,31,53,0.06);
}

@media (max-width: 920px) {
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .nav {
    background: linear-gradient(180deg, #101b2f, #13233a);
    border-color: rgba(255,255,255,0.10);
  }
  .nav a { color: rgba(255,255,255,0.92); }
  .brand img { width: 220px; max-height: 76px; }
}

@media (max-width: 620px) {
  .brand img { width: 182px; max-height: 64px; }
  .site-header { gap: 12px; padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 126px; }
  footer img { width: 160px; }
}


/* 2026 white header override */
.site-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav {
  color: #1e293b;
}

.nav a:hover {
  color: #4f46e5;
}

.language-switch {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.language-switch button {
  color: #334155;
}

.language-switch button.is-active {
  color: #0f172a;
  background: linear-gradient(135deg, #79f2df, #7c83ff);
}

.menu-button {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.menu-button span {
  background: #0f172a;
}

@media (max-width: 920px) {
  .nav {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.10);
  }

  .nav a {
    color: #1e293b;
  }
}
