@font-face {
  font-family: "DINPro";
  src: url("assets/fonts/DINPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DINPro";
  src: url("assets/fonts/DINPro-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DINPro";
  src: url("assets/fonts/DINPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #7fba43;
  --green-dark: #5c9833;
  --navy: #001721;
  --navy-2: #062736;
  --ink: #14222a;
  --muted: #68757d;
  --line: #dbe2e5;
  --soft: #f4f7f3;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(0, 23, 33, 0.16);
}

* {
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DINPro", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 23, 33, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/images/industrial-automation-line.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 23, 33, 0.94) 0%, rgba(0, 23, 33, 0.78) 42%, rgba(0, 23, 33, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 23, 33, 0.72), rgba(0, 23, 33, 0.18) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 110px);
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-dark);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: var(--navy);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-strip {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 23, 33, 0.86);
  backdrop-filter: blur(12px);
}

.hero-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-align: center;
}

.section {
  padding: clamp(72px, 9vw, 130px) clamp(20px, 4vw, 64px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro,
.courses {
  background: var(--soft);
}

.intro-grid,
.tech-layout,
.courses-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.intro-grid p:last-child,
.applications p,
.gallery p,
.deliverables p,
.courses-grid > div > p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.brand-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  gap: 14px;
  margin-top: 28px;
  align-items: end;
}

.brand-showcase img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 23, 33, 0.16);
  object-fit: cover;
}

.brand-showcase img:first-child {
  aspect-ratio: 16 / 9;
}

.brand-showcase img:last-child {
  aspect-ratio: 4 / 5;
}

.metrics div {
  padding: 16px;
  border-left: 4px solid var(--green);
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--navy);
  font-size: 1.6rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 23, 33, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 186, 67, 0.55);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 40px;
  border-radius: 4px;
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
}

.service-card p,
.timeline-item p,
.course-list p,
.tech-detail p,
.tech-detail li {
  color: var(--muted);
}

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

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

.application-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 23, 33, 0.05);
}

.application-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.application-grid h3,
.application-grid p {
  margin-left: 24px;
  margin-right: 24px;
}

.application-grid h3 {
  margin-top: 24px;
}

.application-grid p {
  margin-bottom: 26px;
}

.tech {
  color: var(--white);
  background: linear-gradient(135deg, rgba(0, 23, 33, 0.96), rgba(6, 39, 54, 0.96)), var(--navy);
}

.tech-layout {
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  align-items: center;
}

.tech-layout p,
.tech-detail p,
.tech-detail li {
  color: rgba(255, 255, 255, 0.72);
}

.tech-board {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.tech-board-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tech-tabs button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.tech-tabs button.active,
.tech-tabs button:hover {
  color: var(--navy);
  background: var(--green);
}

.tech-detail {
  min-height: 330px;
  padding: clamp(26px, 4vw, 46px);
}

.tech-kicker {
  color: var(--green) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tech-detail ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
}

.capability-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.capability-list span {
  padding: 13px 15px;
  border-left: 4px solid var(--green);
  border-radius: 0 4px 4px 0;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.gallery-strip img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 23, 33, 0.13);
}

.gallery-strip img:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 380px;
}

.gallery-strip img:not(:first-child) {
  aspect-ratio: 16 / 10;
}

.simulator {
  background: var(--soft);
}

.simulator-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.simulator-layout > div > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.plc-panel {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.plc-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.plc-status-light {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: #84919a;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.16);
}

.plc-status strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.plc-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.plc-panel.is-energized .plc-status-light {
  background: var(--green);
  box-shadow: 0 0 18px rgba(127, 186, 67, 0.78), inset 0 0 0 3px rgba(0, 23, 33, 0.2);
}

.ladder {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 10px;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 23, 33, 0.04), transparent), var(--white);
  overflow: hidden;
}

.ladder-rail {
  background: var(--navy);
}

.ladder-rung {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 14px;
  align-items: center;
  padding: 28px;
}

.ladder-rung::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: var(--line);
  transform: translateY(-50%);
}

.ladder-contact,
.coil {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--white);
  font-weight: 700;
  text-align: center;
}

.normally-closed {
  border-style: dashed;
}

.ladder-contact.is-active,
.coil.is-active {
  border-color: var(--green);
  color: var(--navy);
  background: rgba(127, 186, 67, 0.16);
}

.coil.is-active {
  box-shadow: 0 0 0 4px rgba(127, 186, 67, 0.18);
}

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

.plc-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.plc-switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.plc-reset {
  justify-self: start;
  border: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-item {
  padding: 34px 0 0;
  border: 0;
  border-top: 3px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.timeline-item.active,
.timeline-item:hover {
  border-top-color: var(--green);
}

.timeline-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
}

.deliverables {
  color: var(--white);
  background: linear-gradient(135deg, rgba(0, 23, 33, 0.96), rgba(6, 39, 54, 0.96)), var(--navy);
}

.deliverables-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.deliverables p {
  color: rgba(255, 255, 255, 0.72);
}

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

.deliverable-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

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

.course-offer {
  display: inline-grid;
  gap: 2px;
  margin: 22px 0 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 23, 33, 0.06);
}

.course-offer strong {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.course-offer span,
.course-standard {
  color: var(--muted);
  font-weight: 700;
}

.course-standard {
  max-width: 520px;
}

.course-visual {
  width: 100%;
  max-width: 540px;
  margin-top: 24px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 23, 33, 0.13);
}

.courses-panel {
  display: grid;
  gap: 18px;
}

.course-list article {
  padding: 26px;
  border-left: 5px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--white);
}

.course-list article span {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 700;
}

.course-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.course-form h3 {
  margin-bottom: 2px;
}

.course-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.course-form input,
.course-form select,
.course-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--soft);
  outline: none;
}

.course-form input:focus,
.course-form select:focus,
.course-form textarea:focus {
  border-color: var(--green);
}

.contact {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 64px);
  color: var(--white);
  background: var(--navy);
}

.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(127, 186, 67, 0.16), rgba(255, 255, 255, 0.04)), var(--navy-2);
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.direct-contact {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.direct-contact a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.direct-contact a:hover {
  color: var(--green);
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--green);
  box-shadow: 0 16px 36px rgba(0, 23, 33, 0.28);
  font-weight: 700;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.site-footer img {
  width: 190px;
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.site-footer p:last-child {
  justify-self: end;
  max-width: 430px;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-18px, -8px, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    background: rgba(0, 23, 33, 0.34);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 23, 33, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 860px;
    align-items: start;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 140px;
  }

  .hero-strip,
  .service-grid,
  .application-grid,
  .timeline,
  .intro-grid,
  .tech-layout,
  .simulator-layout,
  .gallery-grid,
  .deliverables-layout,
  .courses-grid,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
    margin-top: auto;
  }

  .hero-strip span {
    min-height: 56px;
  }

  .service-grid,
  .course-list,
  .plc-controls,
  .brand-showcase,
  .deliverable-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ladder-rung {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .site-footer p:last-child {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 160px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .hero {
    min-height: 960px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 23, 33, 0.96), rgba(0, 23, 33, 0.72)),
      linear-gradient(0deg, rgba(0, 23, 33, 0.7), rgba(0, 23, 33, 0.18));
  }

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

  .service-grid,
  .application-grid,
  .course-list,
  .metrics,
  .gallery-strip,
  .plc-controls,
  .ladder-rung,
  .brand-showcase,
  .deliverable-list {
    grid-template-columns: 1fr;
  }

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

  .gallery-strip img:first-child {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
