:root {
  --navy: #071a33;
  --navy-2: #0b274c;
  --blue: #1266d6;
  --cyan: #36d3ff;
  --ink: #102033;
  --muted: #617086;
  --line: #dbe5f3;
  --soft: #f4f8fd;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(4, 20, 43, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(7, 26, 51, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.38);
}

.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: 0; line-height: 1; }
.brand small { color: rgba(255, 255, 255, 0.72); font-size: 12px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 650;
  font-size: 14px;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-toggle svg {
  width: 22px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 6vw, 80px) 64px;
  color: var(--white);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/shoptech-hero.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.98) 0%, rgba(7, 26, 51, 0.86) 37%, rgba(7, 26, 51, 0.24) 72%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.62), rgba(7, 26, 51, 0.18) 55%, rgba(7, 26, 51, 0.7));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

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

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(2, 12, 28, 0.22);
}

.primary { background: var(--blue); color: var(--white); }
.primary.light { background: var(--white); color: var(--navy); }
.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.client-strip {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.client-strip span {
  flex: 1 0 auto;
  min-width: max-content;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--soft);
}

.section {
  padding: 96px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.about-panel p {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 52, 94, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 102, 214, 0.36);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf3ff;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 20px 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 32px;
  background: var(--soft);
}

.about-panel {
  align-self: center;
  max-width: 760px;
}

.process {
  display: grid;
  gap: 14px;
}

.process div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(18, 52, 94, 0.07);
}

.process strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

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

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 72px);
  padding: 44px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.95), rgba(11, 39, 76, 0.95)),
    radial-gradient(circle at 80% 15%, rgba(54, 211, 255, 0.28), transparent 34%);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(27px, 3vw, 42px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 52, 94, 0.08);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
}

textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(18, 102, 214, 0.16);
  border-color: var(--blue);
}

.full, .full-button { grid-column: 1 / -1; }

.contact-card {
  padding: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  min-height: 100%;
}

.contact-card h3 { margin: 0 0 16px; font-size: 25px; }
.contact-card a, .contact-card p {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .appointment-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.mini-list {
  display: grid;
  gap: 9px;
  margin-top: 26px;
}

.mini-list span {
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #041225;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--white); font-weight: 800; }

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

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

@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(7, 26, 51, 0.98);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .hero {
    min-height: 88vh;
    padding-top: 108px;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 26, 51, 0.97), rgba(7, 26, 51, 0.78) 58%, rgba(7, 26, 51, 0.9)),
      linear-gradient(90deg, rgba(7, 26, 51, 0.8), rgba(7, 26, 51, 0.24));
  }
  .hero-media { background-position: 64% center; }
  .hero-stats { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .site-header { padding-inline: 14px; }
  .hero { padding-inline: 18px; }
  h1 { font-size: clamp(38px, 13vw, 52px); }
  .hero-actions, .button { width: 100%; }
  .service-grid, .contact-form { grid-template-columns: 1fr; }
  .section { padding: 70px 18px; }
  .service-card { min-height: auto; }
  .client-strip { overflow-x: auto; }
  .site-footer { flex-direction: column; }
}

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