/* ============================================================
   DS TECHNOLOGY — Industrial Automation
   Aesthetic: refined industrial / technical blueprint
   Palette: deep navy base, cyan circuit accent, amber signal
============================================================ */

:root {
  --navy-900: #0a1622;
  --navy-800: #0e2033;
  --navy-700: #13293f;
  --navy-600: #1b3a57;
  --steel-300: #93a8bd;
  --steel-200: #c5d2de;
  --paper: #f4f7fa;
  --paper-2: #e9eef3;
  --cyan: #2bb8e6;
  --cyan-bright: #46d2f5;
  --cyan-deep: #1782b0;
  --amber: #f5a623;
  --amber-deep: #d98613;
  --white: #ffffff;
  --ink: #11202e;

  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --shadow-lg: 0 24px 60px -20px rgba(7, 22, 35, 0.45);
  --shadow-md: 0 12px 30px -12px rgba(7, 22, 35, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--cyan-deep); }
.mono { font-family: var(--font-display); letter-spacing: 0.04em; }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; position: relative; }
.section--dark { background: var(--navy-900); color: var(--steel-200); }
.section--tint { background: var(--paper-2); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.section--dark .eyebrow { color: var(--cyan-bright); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}
.section-lead {
  max-width: 620px;
  font-size: 1.06rem;
  color: #46586a;
}
.section--dark .section-lead { color: var(--steel-300); }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 22, 34, 0.0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 22, 34, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(43, 184, 230, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand__tag {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.34em;
  color: var(--cyan-bright);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  color: var(--steel-200);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cyan-bright);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta {
  background: var(--cyan-deep);
  color: var(--white) !important;
  padding: 11px 22px !important;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--cyan); transform: translateY(-2px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--cyan-deep);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(23, 130, 176, 0.8);
}
.btn--primary:hover { background: var(--cyan); transform: translateY(-3px); }
.btn--ghost {
  background: transparent;
  border-color: rgba(147, 168, 189, 0.5);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--cyan-bright); color: var(--cyan-bright); }
.btn--amber {
  background: var(--amber);
  color: var(--navy-900);
}
.btn--amber:hover { background: var(--amber-deep); transform: translateY(-3px); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(43, 184, 230, 0.16), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700) 70%, var(--navy-600));
  color: var(--white);
  overflow: hidden;
  padding-top: 76px;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(147,168,189,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,168,189,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 50%, #000 30%, transparent 80%);
}
.hero__circuit {
  position: absolute;
  top: 0; right: 0;
  width: min(54%, 760px);
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 720px; }
.hero__kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero__kicker::before { content: ''; width: 40px; height: 2px; background: var(--amber); }
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--cyan-bright);
}
.hero__lead {
  font-size: 1.18rem;
  color: var(--steel-200);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
}
.stat__num span { color: var(--cyan-bright); }
.stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--steel-300);
  margin-top: 6px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--steel-300);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(var(--cyan-bright), transparent);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================
   LOGO STRIP / CAPABILITY BAR
============================================================ */
.capbar { background: var(--navy-800); padding: 26px 0; }
.capbar__track {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.capbar__item {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-300);
  display: flex; align-items: center; gap: 10px;
}
.capbar__item svg { width: 20px; height: 20px; color: var(--cyan-bright); }

/* ============================================================
   FEATURE / VALUE CARDS
============================================================ */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.card {
  background: var(--white);
  border: 1px solid rgba(17, 32, 46, 0.08);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(43,184,230,0.3); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; color: var(--cyan-bright); }
.card__num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(17,32,46,0.12);
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: #556472; font-size: 0.97rem; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li {
  font-size: 0.93rem; color: #556472;
  padding-left: 22px; position: relative; margin-bottom: 7px;
}
.card ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border: 2px solid var(--cyan-deep); border-radius: 1px;
  transform: rotate(45deg);
}

/* ============================================================
   EXPERTISE / SERVICE TILES (dark)
============================================================ */
.tile {
  background: var(--navy-800);
  border: 1px solid rgba(147,168,189,0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
  position: relative;
}
.tile:hover {
  transform: translateY(-6px);
  background: var(--navy-700);
  border-color: rgba(43,184,230,0.4);
}
.tile__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.tile__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(43,184,230,0.1);
  display: grid; place-items: center;
}
.tile__icon svg { width: 26px; height: 26px; color: var(--cyan-bright); }
.tile__tag {
  font-family: var(--font-display);
  font-size: 0.68rem; letter-spacing: 0.18em;
  color: var(--amber); text-transform: uppercase;
}
.tile h3 { color: var(--white); font-size: 1.18rem; margin-bottom: 10px; }
.tile p { color: var(--steel-300); font-size: 0.94rem; }

/* ============================================================
   PROCESS TIMELINE
============================================================ */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step {
  position: relative;
  padding-top: 36px;
}
.step::before {
  content: '';
  position: absolute; top: 13px; left: 0; right: -24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cyan-deep) 0 8px, transparent 8px 16px);
  opacity: 0.4;
}
.step:last-child::before { display: none; }
.step__dot {
  position: absolute; top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--cyan-bright);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.8rem;
  color: var(--cyan-bright);
  z-index: 2;
}
.step h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--steel-300); }

/* ============================================================
   CTA BANNER
============================================================ */
.cta-band {
  background:
    radial-gradient(circle at 85% 50%, rgba(43,184,230,0.2), transparent 50%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: 6px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(147,168,189,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,168,189,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem,3.4vw,2.4rem); max-width: 640px; }
.cta-band p { color: var(--steel-300); margin-top: 12px; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--navy-900); color: var(--steel-300); padding: 72px 0 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { font-size: 0.94rem; max-width: 280px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; font-size: 0.94rem; }
.footer ul a { transition: color 0.25s; }
.footer ul a:hover { color: var(--cyan-bright); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--cyan-bright); flex: none; margin-top: 3px; }
.footer__bottom {
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(147,168,189,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--steel-300);
}

/* ============================================================
   PAGE HEADER (sub pages)
============================================================ */
.pagehead {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(43,184,230,0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}
.pagehead__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(147,168,189,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,168,189,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.pagehead p { color: var(--steel-200); max-width: 560px; font-size: 1.08rem; }
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.12em;
  color: var(--cyan-bright); margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--white); }

/* ============================================================
   ABOUT SPECIFIC
============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.vm-card {
  background: var(--white);
  border-left: 4px solid var(--cyan-deep);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.vm-card h3 { font-size: 1.2rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.vm-card h3 svg { width: 22px; height: 22px; color: var(--cyan-deep); }
.vm-card p { color: #556472; font-style: italic; }

.blueprint {
  background: var(--navy-900);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.factsheet { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(17,32,46,0.08); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--white); padding: 28px 26px; }
.fact__num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--cyan-deep); }
.fact__label { font-size: 0.9rem; color: #556472; margin-top: 4px; }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.info-card {
  background: var(--navy-800);
  border-radius: 6px;
  padding: 40px 36px;
  color: var(--steel-200);
}
.info-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.info-item__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: var(--radius);
  background: rgba(43,184,230,0.12);
  display: grid; place-items: center;
}
.info-item__icon svg { width: 22px; height: 22px; color: var(--cyan-bright); }
.info-item__label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-bright); margin-bottom: 3px; }
.info-item__val { color: var(--white); font-size: 1rem; }
.info-item a:hover { color: var(--cyan-bright); }

.form-wrap {
  background: var(--white);
  border: 1px solid rgba(17,32,46,0.1);
  border-radius: 6px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid rgba(17,32,46,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(43,184,230,0.15);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.84rem; color: #6a7886; margin-top: 6px; }
.form-success {
  display: none;
  background: rgba(43,184,230,0.12);
  border: 1px solid var(--cyan-deep);
  color: var(--navy-700);
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 0.92rem; margin-bottom: 20px;
}
.form-success.show { display: block; }

.map-embed {
  margin-top: 50px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(17,32,46,0.1);
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ============================================================
   REVEAL ANIMATION
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2,1fr); gap: 40px 24px; }
  .step::before { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: rgba(10,22,34,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav__links.open { max-height: 420px; }
  .nav__links li { width: 100%; border-bottom: 1px solid rgba(147,168,189,0.1); }
  .nav__links a { display: block; padding: 16px 0; }
  .nav__cta { display: inline-block; margin-top: 12px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 30px; }
  .hero__stats { gap: 30px; }
}
