:root {
  --ink: #12202f;
  --muted: #5c6a77;
  --line: #dfe6ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #0b1724;
  --blue: #195b8f;
  --teal: #0d9d9a;
  --gold: #c98c3a;
  --shadow: 0 20px 60px rgba(14, 32, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 230, 238, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-logo {
  width: 76px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.brand strong {
  display: block;
  font-size: 1.04rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #314457;
  font-size: 0.94rem;
}

.top-nav a,
.header-action {
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.top-nav .nav-home {
  color: var(--blue);
  font-weight: 900;
}

.header-action {
  padding: 10px 14px;
  color: var(--blue);
  border: 1px solid #bdd7ed;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action:hover {
  background: #edf6fb;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 15, 27, 0.95), rgba(6, 15, 27, 0.76) 34%, rgba(6, 15, 27, 0.28) 70%, rgba(6, 15, 27, 0.06)),
    linear-gradient(0deg, rgba(6, 15, 27, 0.72), rgba(6, 15, 27, 0));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  color: #fff;
  padding: 120px 0 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #6de0dc;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 640px;
  color: #d8e4ef;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(13, 157, 154, 0.25);
}

.button.primary:hover {
  background: #0b8f8c;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #405466;
  background: #eef5f8;
  border-bottom: 1px solid var(--line);
}

.trust-strip a {
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #d8e5ee;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.trust-strip a:hover {
  color: var(--blue);
  border-color: #9ec7e6;
  transform: translateY(-1px);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(26px, 6vw, 88px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.section-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 9px 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #bdd7ed;
  border-radius: 999px;
  font-weight: 900;
}

.section-top-link::before {
  content: "↑";
  margin-right: 8px;
}

.section-top-link.centered {
  width: fit-content;
  margin: 28px auto 0;
}

.section-top-link.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.section-top-link:hover {
  color: #fff;
  background: var(--blue);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.13rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0;
}

.mission-vision article {
  min-height: 260px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(18, 32, 47, 0.08);
}

.mission-vision p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-card {
  scroll-margin-top: 110px;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.visual-section .section-top-link {
  grid-column: 1 / -1;
}

.visual-section.reverse {
  direction: rtl;
}

.visual-section.reverse > * {
  direction: ltr;
}

.visual-section img {
  width: 100%;
  min-height: 340px;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.partner-branding {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.partner-branding .partner-logo {
  width: min(240px, 54vw);
  min-height: 0;
  max-height: 72px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.partner-branding .partner-seal {
  width: 116px;
  min-height: 0;
  max-height: 92px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.tag-grid,
.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-grid span,
.tag-grid button,
.brand-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: #193247;
  background: #eef7fb;
  border: 1px solid #cfe3ee;
  border-radius: 8px;
  font-weight: 800;
}

.tag-grid button {
  justify-content: center;
  cursor: pointer;
  font: inherit;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.aspel-options button {
  min-width: 126px;
}

.tag-grid button:hover,
.tag-grid button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.brand-list span {
  min-width: 86px;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.software-showcase {
  display: grid;
  gap: 14px;
}

.software-product-card {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 360px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(0, 153, 255, 0.26), transparent 32%),
    linear-gradient(135deg, #061325, #103c65 58%, #0d9d9a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.software-product-card span {
  color: #7ce4e0;
  font-weight: 900;
  text-transform: uppercase;
}

.software-product-card img {
  width: min(310px, 100%);
  min-height: 0;
  max-height: 150px;
  object-fit: contain;
  margin: 12px 0 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: none;
}

.software-product-card h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.45rem;
}

.software-product-card small {
  color: #bfe9f1;
  font-size: 1.05rem;
  font-weight: 800;
}

.software-product-card p {
  color: #d8e7f2;
  font-size: 0.98rem;
}

.software-product-card .button {
  width: auto;
  margin-top: 6px;
}

.software-showcase .software-scene {
  min-height: 270px;
}

.aspel-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 26px;
  align-items: start;
  padding: 24px;
  background: #f5fbfe;
  border: 1px solid #cfe3ee;
  border-radius: 8px;
}

.aspel-detail h3 {
  font-size: 1.45rem;
}

.aspel-detail p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

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

.aspel-request-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.aspel-request-form .wide,
.aspel-request-form button {
  grid-column: 1 / -1;
}

.aspel-request-form input,
.aspel-request-form select,
.aspel-request-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #cfe3ee;
  border-radius: 8px;
  font: inherit;
}

.aspel-request-form textarea {
  resize: vertical;
  min-height: 104px;
}

.button.outline {
  color: var(--blue);
  background: #fff;
  border-color: #bdd7ed;
}

.button.outline:hover {
  color: #fff;
  background: var(--blue);
}

.equipment-cards {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.equipment-cards article {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.equipment-cards strong,
.equipment-cards span {
  display: block;
}

.equipment-cards strong {
  margin-bottom: 4px;
}

.equipment-cards span {
  color: var(--muted);
}

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

.developments {
  background: #f8fbfd;
}

.developments .section-heading p:last-child {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.development-grid article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(18, 32, 47, 0.06);
}

.development-grid article::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 999px;
}

.development-grid p {
  color: var(--muted);
}

.easy-tips {
  background: #fff;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.tips-grid article {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(18, 32, 47, 0.06);
}

.tips-grid span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: #0b6f85;
  background: #eaf8fb;
  border: 1px solid #c7e9f0;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.tips-grid h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.tips-grid p {
  color: var(--muted);
}

.tips-grid a {
  align-self: end;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 236px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 32, 47, 0.06);
}

.service-icon {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p,
.split-copy p,
.proof-list span,
.steps span,
.contact-copy p {
  color: var(--muted);
}

.featured-service {
  border-color: #a9d3ea;
  background: linear-gradient(180deg, #ffffff, #f5fbfe);
}

.featured-service a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(26px, 6vw, 84px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: #fbfcfe;
  box-shadow: 0 10px 28px rgba(18, 32, 47, 0.07);
}

.proof-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.process {
  background: #0f2133;
  color: #fff;
}

.process .eyebrow {
  color: #6de0dc;
}

.process h2 {
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 180px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 24px;
  color: #6de0dc;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
}

.steps span {
  color: #c8d4df;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(28px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
}

.contact-result {
  display: grid;
  align-items: center;
  min-height: 100vh;
  max-width: 760px;
  margin: 0 auto;
}

.contact-result h1 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.contact-result p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.18rem;
}

.email-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 1.18rem;
  font-weight: 900;
}

.contact-form,
.development-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label,
.development-form label {
  display: grid;
  gap: 8px;
  color: #2c3f50;
  font-weight: 800;
}

.contact-form .wide,
.development-form .wide,
.development-form .compact {
  grid-column: 1 / -1;
}

.development-form {
  max-width: 900px;
  margin: 28px auto 0;
}

.section-heading.compact {
  margin-bottom: 4px;
  text-align: left;
}

.section-heading.compact h3 {
  font-size: 1.55rem;
}

.section-heading.compact p:last-child {
  max-width: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 157, 154, 0.18);
  border-color: var(--teal);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: #c8d4df;
  background: #07111d;
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 50px;
  padding: 12px 18px;
  color: #fff;
  background: var(--teal);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(18, 32, 47, 0.34);
  font-weight: 900;
}

.back-to-top::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(13, 157, 154, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.back-to-top:hover {
  background: var(--blue);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    margin-left: 20px;
    padding-top: 90px;
  }

  .intro,
  .mission-vision,
  .visual-section,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .visual-section.reverse {
    direction: ltr;
  }

  .aspel-detail {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .development-grid,
  .tips-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-action {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 15, 27, 0.95), rgba(6, 15, 27, 0.76));
  }

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

  .service-grid,
  .development-grid,
  .tips-grid,
  .steps,
  .contact-form,
  .development-form,
  .aspel-request-form {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
