/* ============================================================
   INNOTEX — Enterprise Systems  |  style.css
   Dark warm theme #191014 / ivory #F7EDE6 / salmon-peach #E87A5D
   ============================================================ */

:root {
  --ink: #191014;
  --panel: #24181A;
  --panel-raise: #2C1D1F;
  --ivory: #F7EDE6;
  --salmon: #E87A5D;
  --pale: #F5B8A0;
  --dark-on-salmon: #23110D;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background-color: #191014;
  color: #F7EDE6;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #E87A5D;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SLOT NAV — slim sticky top strip with port-opening slots
   ============================================================ */

.slot-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #191014;
  border-bottom: 2px solid #E87A5D;
}

.slot-nav .slot-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.slot-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.slot-nav .brand-mark {
  width: 24px;
  height: 24px;
  background-color: #E87A5D;
  flex-shrink: 0;
}

.slot-nav .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.slot-nav .brand-name {
  color: #F7EDE6;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2em;
}

.slot-nav .brand-cap {
  color: #E87A5D;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}

.slot-nav .slot-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slot-nav .slot-menu li {
  margin: 0;
}

.slot-nav .slot-menu a {
  display: block;
  padding: 9px 14px;
  background-color: #24181A;
  border-top: 3px solid #E87A5D;
  color: #F7EDE6;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.slot-nav .slot-menu a:hover {
  background-color: #2C1D1F;
  color: #F5B8A0;
}

.slot-nav .slot-menu a.active {
  background-color: #E87A5D;
  color: #23110D;
  border-top: none;
}

.slot-nav .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: #24181A;
  border: none;
  cursor: pointer;
}

.slot-nav .nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #E87A5D;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #E87A5D;
  color: #23110D;
}

.btn-primary:hover {
  background-color: #F08A6F;
}

.btn-ghost {
  background-color: transparent;
  border: 2px solid #E87A5D;
  color: #F7EDE6;
}

.btn-ghost:hover {
  background-color: #2C1D1F;
  border-color: #F5B8A0;
  color: #F5B8A0;
}

.btn-dark {
  background-color: #23110D;
  color: #E87A5D;
}

.btn-dark:hover {
  background-color: #311711;
  color: #F5B8A0;
}

/* ============================================================
   MODULE HERO
   ============================================================ */

.module-hero {
  background-color: #191014;
  padding: 88px 0 0;
}

.module-hero .hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.module-hero .eyebrow {
  display: inline-block;
  background-color: #E87A5D;
  color: #23110D;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 26px;
}

.module-hero h1 {
  color: #F7EDE6;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 24px;
}

.module-hero .hero-sub {
  color: #F7EDE6;
  font-size: 18px;
  max-width: 720px;
  margin-bottom: 36px;
}

.module-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

/* module rack — three rack-mounted units on a salmon baseline */

.module-rack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 3px solid #E87A5D;
}

.module-box {
  position: relative;
  background-color: #24181A;
  border: 1px solid #E87A5D;
  border-bottom: none;
  padding: 30px 26px 30px 56px;
  min-height: 148px;
}

.module-box + .module-box {
  border-left: none;
}

.module-box .leds {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-box .led {
  width: 9px;
  height: 9px;
  background-color: #E87A5D;
}

.module-box .mod-label {
  color: #F7EDE6;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.module-box .mod-cap {
  color: #F5B8A0;
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-head {
  margin-bottom: 46px;
}

.section-head .eyebrow {
  display: inline-block;
  color: #F5B8A0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head h2 {
  color: #F7EDE6;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-head p {
  color: #F5B8A0;
  font-size: 17px;
  max-width: 760px;
}

/* ============================================================
   LAYER STACK
   ============================================================ */

.layer-stack {
  padding: 96px 0 0;
}

.layer-stack .layers {
  display: flex;
  flex-direction: column;
}

.layer-stack .layer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 2px solid #E87A5D;
}

.layer-stack .layer:first-child {
  border-top: 2px solid #E87A5D;
}

.layer-stack .marker {
  width: 14px;
  height: 14px;
  background-color: #E87A5D;
  flex-shrink: 0;
}

.layer-stack .layer-body {
  flex: 1;
}

.layer-stack .layer-body h3 {
  color: #F7EDE6;
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 4px;
}

.layer-stack .layer-body p {
  color: #F7EDE6;
  font-size: 15px;
}

/* ============================================================
   SLOT ROWS
   ============================================================ */

.slot-rows {
  padding: 96px 0 96px;
}

.slot-rows .slot-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid #E87A5D;
}

.slot-rows .slot-row:first-of-type {
  border-top: 1px solid #E87A5D;
}

.slot-rows .slot-row .marker {
  width: 14px;
  height: 14px;
  background-color: #E87A5D;
  flex-shrink: 0;
  margin-top: 9px;
}

.slot-rows .slot-row h3 {
  color: #F7EDE6;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}

.slot-rows .slot-row p {
  color: #F7EDE6;
  font-size: 16px;
  max-width: 900px;
}

/* ============================================================
   COMMITMENT BAND
   ============================================================ */

.commitment-band {
  background-color: #E87A5D;
  padding: 64px 0;
}

.commitment-band .band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.commitment-band h2 {
  color: #23110D;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
}

.commitment-band p {
  color: #23110D;
  font-size: 19px;
  font-weight: 600;
}

.commitment-band .diamond {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #23110D;
  transform: rotate(45deg);
  margin: 0 16px;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background-color: #E87A5D;
  padding: 84px 0;
}

.cta-band .band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-band h2 {
  color: #23110D;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-band p {
  color: #23110D;
  font-size: 18px;
  max-width: 680px;
  margin-bottom: 34px;
}

/* ============================================================
   RAIL FOOTER
   ============================================================ */

.rail-footer {
  background-color: #191014;
  border-top: 2px solid #E87A5D;
}

.rail-footer .rail-row1 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.rail-footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.rail-footer .brand-mark {
  width: 22px;
  height: 22px;
  background-color: #E87A5D;
  flex-shrink: 0;
}

.rail-footer .brand-name {
  color: #F7EDE6;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2em;
}

.rail-footer .brand-cap {
  color: #E87A5D;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}

.rail-footer .rail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-footer .rail-links a {
  color: #F7EDE6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.rail-footer .rail-links a:hover {
  color: #F5B8A0;
}

.rail-footer .rail-contact {
  color: #F5B8A0;
  font-size: 14px;
  font-weight: 600;
}

.rail-footer .rail-row2 {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid #E87A5D;
  padding: 20px 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rail-footer .rail-legal {
  color: #F7EDE6;
  font-size: 13px;
  text-align: center;
  max-width: 820px;
}

.rail-footer .rail-legal a {
  color: #F5B8A0;
}

.rail-footer .mod-indicators {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  gap: 7px;
}

.rail-footer .mod-indicators span {
  width: 7px;
  height: 7px;
  background-color: #E87A5D;
}

/* ============================================================
   SECONDARY PAGE HERO (services / contact)
   ============================================================ */

.page-hero {
  background-color: #191014;
  padding: 76px 0 60px;
}

.page-hero .eyebrow {
  display: inline-block;
  color: #F5B8A0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero h1 {
  color: #F7EDE6;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 18px;
}

.page-hero p {
  color: #F7EDE6;
  font-size: 18px;
  max-width: 780px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.services-section {
  padding: 78px 0;
  background-color: #191014;
}

.services-section-alt {
  background-color: #1E1416;
}

.services-section .service-block {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  margin-bottom: 44px;
}

.services-section .service-block .marker {
  width: 16px;
  height: 16px;
  background-color: #E87A5D;
  flex-shrink: 0;
  margin-top: 8px;
}

.services-section .service-block h2 {
  color: #F7EDE6;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.services-section .service-block p {
  color: #F7EDE6;
  font-size: 16px;
  max-width: 900px;
}

.services-section .service-block p + p {
  margin-top: 14px;
}

/* process overview */

.process-band {
  background-color: #24181A;
  padding: 84px 0;
  border-top: 2px solid #E87A5D;
  border-bottom: 2px solid #E87A5D;
}

.process-band .section-head h2 {
  color: #F7EDE6;
}

.process-band .section-head p {
  color: #F5B8A0;
}

.process-list {
  display: flex;
  flex-direction: column;
}

.process-list .step {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid #E87A5D;
}

.process-list .step .step-num {
  color: #F5B8A0;
  font-weight: 800;
  font-size: 20px;
  min-width: 46px;
}

.process-list .step .step-body h3 {
  color: #F7EDE6;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.process-list .step .step-body p {
  color: #F7EDE6;
  font-size: 15px;
  max-width: 860px;
}

/* counters */

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.stat-strip .stat {
  text-align: center;
  flex: 1 1 180px;
}

.stat-strip .stat .stat-num {
  color: #E87A5D;
  font-size: 40px;
  font-weight: 800;
}

.stat-strip .stat .stat-label {
  color: #F5B8A0;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-layout {
  padding: 78px 0 90px;
}

.contact-layout .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-panel {
  background-color: #24181A;
  border: 1px solid #E87A5D;
  padding: 40px;
}

.contact-form-panel h2 {
  color: #F7EDE6;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-panel .form-note {
  color: #F5B8A0;
  font-size: 14px;
  margin-bottom: 26px;
}

.contact-form .field {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  color: #F7EDE6;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  background-color: #191014;
  border: 1px solid #E87A5D;
  color: #F7EDE6;
  font-size: 15px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #F5B8A0;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-status {
  margin-top: 16px;
  color: #F5B8A0;
  font-weight: 700;
  font-size: 15px;
  min-height: 24px;
}

.contact-side .info-block {
  margin-bottom: 30px;
}

.contact-side .info-block h3 {
  color: #F7EDE6;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-side .info-block p {
  color: #F7EDE6;
  font-size: 16px;
}

.contact-side .info-block a {
  color: #E87A5D;
}

.contact-side .info-block .pale {
  color: #F5B8A0;
}

/* FAQ accordion (contact page) */

.faq-wrap {
  padding: 0 0 96px;
}

.faq-wrap .section-head h2 {
  color: #F7EDE6;
}

.faq-wrap .section-head p {
  color: #F5B8A0;
}

.faq-item {
  border-bottom: 1px solid #E87A5D;
}

.faq-item:first-of-type {
  border-top: 1px solid #E87A5D;
}

.faq-item .faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #F7EDE6;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item .faq-q .faq-arrow {
  color: #E87A5D;
  font-size: 20px;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-q .faq-arrow {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item .faq-a p {
  color: #F7EDE6;
  font-size: 15px;
  padding: 0 4px 22px;
  max-width: 820px;
}

/* ============================================================
   SCROLL REVEAL — safe without JavaScript
   ============================================================ */

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .fade-up {
  opacity: 0;
  transform: translateY(18px);
}

.js .fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .module-hero h1 {
    font-size: 42px;
  }

  .module-rack {
    grid-template-columns: 1fr;
  }

  .module-box + .module-box {
    border-left: none;
  }

  .contact-layout .container {
    grid-template-columns: 1fr;
  }

  .rail-footer .rail-row1 {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .slot-nav .nav-toggle {
    display: flex;
  }

  .slot-nav .slot-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #191014;
    border-bottom: 2px solid #E87A5D;
    padding: 14px 24px 22px;
  }

  .slot-nav .slot-menu.open {
    display: flex;
  }

  .slot-nav .slot-menu a {
    border-top: none;
    border-left: 3px solid #E87A5D;
    padding: 14px;
    font-size: 14px;
  }

  .slot-nav .slot-menu a.active {
    border-left: 3px solid #E87A5D;
  }
}

@media (max-width: 600px) {
  .module-hero {
    padding-top: 60px;
  }

  .module-hero h1 {
    font-size: 34px;
  }

  .module-hero .hero-sub {
    font-size: 16px;
  }

  .section-head h2,
  .commitment-band h2 {
    font-size: 28px;
  }

  .cta-band h2 {
    font-size: 30px;
  }

  .layer-stack .layer,
  .slot-rows .slot-row,
  .services-section .service-block,
  .process-list .step {
    flex-direction: column;
    gap: 14px;
  }

  .contact-form-panel {
    padding: 26px;
  }

  .rail-footer .mod-indicators {
    display: none;
  }

  .stat-strip .stat .stat-num {
    font-size: 32px;
  }
}
