/* ============================================================
   HYL Technology Solutions — HI-FI website
   Typeface: Times New Roman throughout (editorial / professional).
   Palette: navy #011638 · blue #0D21A1 · gold #EEC643 · paper #EFF0F2 · ink #141414
   ============================================================ */

:root {
  --navy:  #011638;
  --blue:  #0D21A1;
  --gold:  #EEC643;
  --paper: #EFF0F2;
  --ink:   #141414;
  --accent: var(--blue);
  --line: rgba(1, 22, 56, .12);
  --muted: rgba(20, 20, 20, .66);
  --maxw: 1200px;
  --serif: "Times New Roman", Times, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: #fff;
  font-size: 19px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---- shared type ------------------------------------------- */
.eyebrow {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-block;
}
.eyebrow.gold { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; }
.lead { font-size: 21px; color: var(--muted); line-height: 1.6; }

/* ---- buttons ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 17px;
  padding: 13px 28px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn .ar { transition: transform .18s ease; }
.btn:hover .ar { transform: translateX(4px); }
.btn-gold  { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover  { background: #f3d264; }
.btn-navy  { background: var(--navy); color: #fff; }
.btn-navy:hover  { background: #0a235e; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(1,22,56,.28); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(1,22,56,.04); }
.btn-lg { font-size: 18px; padding: 15px 32px; }
.btn-light-ghost { background: transparent; color: var(--paper); border-color: rgba(239,240,242,.4); }
.btn-light-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }

/* ===== NAV ================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 30px;
  padding: 18px 40px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
  font-size: 26px; font-weight: 700; letter-spacing: .03em;
}
.brand .mark {
  width: 38px; height: 38px; flex: none;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700;
  border-radius: 4px;
}
.brand small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-left: 2px; display: none; }
.nav .links { display: flex; gap: 30px; margin-left: 14px; }
.nav .links a {
  text-decoration: none; color: var(--ink); font-size: 17px;
  position: relative; padding: 4px 0; opacity: .82;
}
.nav .links a:hover { opacity: 1; }
.nav .links a.active { opacity: 1; }
.nav .links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
}
.nav .spacer { flex: 1; }

/* hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: 0; padding: 10px;
  cursor: pointer; align-items: center; justify-content: center;
  margin-left: 6px; border-radius: 6px;
}
.nav-toggle:hover { background: rgba(1,22,56,.06); }
.nav-toggle .bars { position: relative; width: 24px; height: 16px; }
.nav-toggle .bars span {
  position: absolute; left: 0; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform .26s ease, opacity .2s ease, top .26s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }
body.menu-open .nav-toggle .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.menu-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* fullscreen mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 6px;
  padding: 88px 32px 48px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .26s ease, transform .26s ease, visibility 0s linear .26s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .26s ease, transform .26s ease, visibility 0s linear 0s; }
.mobile-nav a.m-link {
  color: var(--paper); text-decoration: none;
  font-family: var(--serif); font-size: 34px; line-height: 1.2;
  padding: 12px 0; opacity: .9; position: relative;
}
.mobile-nav a.m-link:hover { opacity: 1; }
.mobile-nav a.m-link.active { color: var(--gold); }
.mobile-nav .m-divider { width: 40px; height: 2px; background: rgba(238,198,67,.6); margin: 14px 0 20px; border: 0; }
.mobile-nav .btn { margin-top: 8px; font-size: 19px; }
.mobile-nav .m-contact { margin-top: 28px; color: rgba(239,240,242,.65); font-size: 16px; text-align: center; line-height: 1.7; }
.mobile-nav .m-contact a { color: rgba(239,240,242,.85); text-decoration: none; }

/* ===== HERO ================================================= */
.hero { position: relative; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 84px 40px 76px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-size: clamp(54px, 6.6vw, 94px);
  line-height: 1.03; letter-spacing: -.01em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 .u { position: relative; font-style: italic; white-space: nowrap; }
.hero h1 .u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em;
  height: 4px; background: var(--gold); border-radius: 3px;
}
.hero .lead { max-width: 33ch; margin: 0 0 34px; }
.hero .cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* navy hero theme */
body[data-hero-theme="navy"] .hero { background: var(--navy); }
body[data-hero-theme="navy"] .hero h1 { color: #fff; }
body[data-hero-theme="navy"] .hero .lead { color: rgba(239,240,242,.78); }
body[data-hero-theme="navy"] .hero .eyebrow { color: var(--gold); }
body[data-hero-theme="navy"] .hero .btn-ghost { background: transparent; color: var(--paper); border-color: rgba(239,240,242,.4); }
body[data-hero-theme="navy"] .hero .btn-ghost:hover { border-color: var(--paper); }
body[data-hero-theme="navy"] .flow { background: linear-gradient(180deg, #06205a, #03143f);
  border-color: rgba(239,240,242,.16); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
body[data-hero-theme="navy"] .flow .stage-label { color: rgba(239,240,242,.6); }

/* animation position */
body[data-anim="left"] .hero-grid { grid-template-columns: .96fr 1.04fr; }
body[data-anim="left"] .hero-copy { order: 2; }
body[data-anim="left"] .flow-wrap { order: 1; }

/* ===== document-flow animation (hi-fi) ====================== */
.flow {
  position: relative; height: 470px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f7 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -44px rgba(1,22,56,.45);
  overflow: hidden;
}
.flow .stage-label {
  position: absolute; bottom: 16px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted);
}
.flow .stage-label.in  { left: 22px; }
.flow .stage-label.out { right: 22px; color: var(--accent); }

.doc {
  position: absolute; width: 60px; height: 78px;
  background: #fff;
  border: 1px solid rgba(1,22,56,.3);
  border-radius: 5px;
  box-shadow: 0 8px 20px -10px rgba(1,22,56,.45);
}
.doc::before {
  content: ""; position: absolute; top: -1px; right: -1px;
  width: 16px; height: 16px;
  background: var(--paper);
  border-left: 1px solid rgba(1,22,56,.3);
  border-bottom: 1px solid rgba(1,22,56,.3);
  border-bottom-left-radius: 3px;
}
.doc::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 24px; height: 40px;
  background: repeating-linear-gradient(to bottom,
    rgba(1,22,56,.4) 0 2px, transparent 2px 9px);
}
.doc .tag {
  position: absolute; top: 5px; left: 8px;
  font-size: 9px; letter-spacing: .08em; font-weight: 700;
  color: var(--accent);
}

.hub {
  position: absolute; top: 50%; left: 52%;
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #0a235e, var(--navy));
  display: grid; place-items: center; text-align: center;
  color: #fff; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.15;
  box-shadow: 0 18px 40px -14px rgba(1,22,56,.7);
  animation: hubPulse 2.6s ease-in-out infinite; z-index: 3;
}
.hub::after {
  content: ""; position: absolute; inset: -9px;
  border: 1.5px solid rgba(238,198,67,.65); border-radius: 50%;
}
@keyframes hubPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 18px 40px -14px rgba(1,22,56,.7); }
  48% { transform: scale(1.07); box-shadow: 0 18px 50px -10px rgba(238,198,67,.5); }
}

.doc.in { animation: converge 2.6s ease-in infinite; z-index: 2; }
.doc.in1 { top: 30px;  left: 26px;  --tx: 195px; --ty: 150px; animation-delay: 0s;    }
.doc.in2 { top: 138px; left: 14px;  --tx: 212px; --ty: 60px;  animation-delay: .55s;  }
.doc.in3 { top: 248px; left: 34px;  --tx: 182px; --ty: -52px; animation-delay: 1.1s;  }
.doc.in4 { top: 340px; left: 20px;  --tx: 204px; --ty: -150px; animation-delay: 1.65s; }
@keyframes converge {
  0%   { transform: translate(0,0) scale(1); opacity: 0; }
  14%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(.16); opacity: 0; }
}

.doc.out {
  width: 84px; height: 106px;
  top: 50%; left: 74%; margin-top: -53px;
  border-color: rgba(1,22,56,.5);
  box-shadow: 0 20px 44px -16px rgba(1,22,56,.5);
  animation: emit 2.6s ease-out infinite; z-index: 2;
}
.doc.out::after { top: 28px; height: 60px;
  background: repeating-linear-gradient(to bottom, var(--blue) 0 2.5px, transparent 2.5px 11px); opacity: .72; }
.doc.out .check {
  position: absolute; right: -11px; bottom: -11px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 18px -6px rgba(1,22,56,.5);
}
@keyframes emit {
  0%, 40% { transform: translateX(-16px) scale(.5); opacity: 0; }
  56% { transform: translateX(0) scale(1); opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateX(14px) scale(1); opacity: 0; }
}

.flow .arrow {
  position: absolute; top: 50%; left: 62%; width: 88px; height: 2px;
  margin-top: -1px; background: rgba(1,22,56,.45); z-index: 1;
  overflow: visible;
}
.flow .arrow::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to right, var(--gold) 0 8px, transparent 8px 16px);
  animation: dash 1s linear infinite;
}
.flow .arrow::after {
  content: ""; position: absolute; right: -2px; top: -6px;
  border: 7px solid transparent; border-left-color: rgba(1,22,56,.55); border-right: 0;
}
@keyframes dash { to { background-position: 16px 0; } }
body[data-hero-theme="navy"] .flow .arrow { background: rgba(239,240,242,.35); }
body[data-hero-theme="navy"] .flow .arrow::after { border-left-color: rgba(239,240,242,.6); }

@media (prefers-reduced-motion: reduce) {
  .doc.in, .doc.out, .hub, .flow .arrow::before { animation: none; }
  .doc.in { opacity: .9; }
  .doc.out { opacity: 1; transform: none; }
}

/* ===== generic section ===================================== */
.section { padding: 84px 0; }
.section.paper { background: var(--paper); }
.sec-head { max-width: 640px; margin: 0 0 50px; }
.sec-head h2 {
  font-size: clamp(36px, 4.2vw, 52px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -.01em;
}
.sec-head .lead { margin: 0; }

/* ===== services ============================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-grid .card:nth-child(4),
.svc-grid .card:nth-child(5) { grid-column: span 1; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 32px 32px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 46px;
  background: var(--gold); border-radius: 10px 0 6px 0;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -28px rgba(1,22,56,.5);
  border-color: rgba(1,22,56,.22);
}
.card .num {
  font-size: 15px; letter-spacing: .12em; color: var(--gold);
  font-weight: 700; display: block; margin-bottom: 16px;
}
.card h3 { font-size: 25px; line-height: 1.12; margin: 0 0 10px; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.card .lk {
  text-decoration: none; color: var(--accent); font-size: 16.5px;
  display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
}
.card .lk .ar { transition: transform .18s ease; }
.card:hover .lk .ar { transform: translateX(4px); }

/* services layout = rows */
body[data-services="rows"] .svc-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
body[data-services="rows"] .card {
  border: none; border-bottom: 1px solid var(--line); border-radius: 0;
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center;
  gap: 28px; padding: 30px 8px;
}
body[data-services="rows"] .card::before { display: none; }
body[data-services="rows"] .card:hover { transform: none; box-shadow: none; background: rgba(1,22,56,.025); }
body[data-services="rows"] .card .num { margin: 0; font-size: 22px; }
body[data-services="rows"] .card p { margin: 4px 0 0; max-width: 60ch; }
body[data-services="rows"] .card .lk { white-space: nowrap; }

/* ===== CTA band ============================================ */
.cta-band {
  background: var(--navy); color: var(--paper);
  border-radius: 16px;
  padding: 54px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 8px; color: #fff; line-height: 1.1; }
.cta-band p { margin: 0; color: rgba(239,240,242,.74); font-size: 19px; }

/* ===== footer ============================================== */
.footer { background: var(--navy); color: rgba(239,240,242,.82); }
.footer .wrap { padding-top: 64px; padding-bottom: 34px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; align-items: flex-start; font-size: 22px; line-height: 1.18; }
.footer .brand .mark { margin-top: 2px; }
.footer .brand .mark { background: var(--gold); color: var(--navy); }
.footer .blurb { color: rgba(239,240,242,.66); max-width: 30ch; font-size: 17px; margin: 0; }
.footer h4 {
  text-transform: uppercase; letter-spacing: .2em; font-size: 12px;
  color: var(--gold); margin: 4px 0 16px; font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: rgba(239,240,242,.8); text-decoration: none; font-size: 17px; }
.footer ul a:hover { color: #fff; }
.foot-bar {
  border-top: 1px solid rgba(239,240,242,.16);
  margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: rgba(239,240,242,.55);
}

/* ===== contact page ======================================== */
.page-head { padding-top: 70px; padding-bottom: 30px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(46px, 5.6vw, 78px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.01em; }
.page-head h1 .u { position: relative; font-style: italic; white-space: nowrap; }
.page-head h1 .u::after { content:""; position:absolute; left:0; right:0; bottom:.06em; height:4px; background:var(--gold); border-radius:3px; }
.page-head .lead { max-width: 52ch; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; padding-bottom: 30px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px; box-shadow: 0 30px 60px -40px rgba(1,22,56,.4); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 15px; font-weight: 700; letter-spacing: .02em; margin-bottom: 8px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--serif); font-size: 17px; color: var(--ink);
  background: #fff; border: 1px solid rgba(1,22,56,.25); border-radius: 6px;
  padding: 13px 15px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(20,20,20,.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,33,161,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-side .info-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 32px 34px; }
.contact-side h3 { font-size: 24px; margin: 0 0 18px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.info-row .ic { width: 38px; height: 38px; flex: none; border-radius: 8px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 16px; }
.info-row .t small { display: block; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.info-row .t b { font-weight: 700; }
.steps { counter-reset: s; list-style: none; margin: 22px 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 14px; font-size: 17px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14px; display: grid; place-items: center; }

.success { display: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px; text-align: center; box-shadow: 0 30px 60px -40px rgba(1,22,56,.4); }
.success.show { display: block; }
.form-card.hide { display: none; }
.success .badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 30px; }
.success h3 { font-size: 28px; margin: 0 0 10px; }
.success p { margin: 0 auto; max-width: 40ch; color: var(--muted); }

/* ===== project cards ====================================== */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.proj-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -28px rgba(1,22,56,.5);
  border-color: rgba(1,22,56,.22);
}
.proj-card-img {
  height: 210px;
  background:
    repeating-linear-gradient(135deg, rgba(1,22,56,.05) 0 12px, transparent 12px 24px),
    var(--paper);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.proj-card-img span {
  font-family: "Courier New", monospace; font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); background: rgba(239,240,242,.9);
  padding: 4px 12px; border-radius: 4px;
}
.proj-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-card-body h3 { font-size: 22px; margin: 0 0 10px; line-height: 1.15; }
.proj-card-body p { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0 0 20px; flex: 1; }
.proj-card-body .lk {
  text-decoration: none; color: var(--accent); font-size: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  align-self: flex-start;
}
.proj-card .lk .ar { transition: transform .18s ease; }
.proj-card:hover .lk .ar { transform: translateX(4px); }

/* ===== project support band ================================ */
.support-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.support-band h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; line-height: 1.12; }
.support-band p { margin: 0; color: var(--muted); font-size: 18px; }

/* ===== marketing page ====================================== */
.mkt-hero {
  background: var(--navy);
  color: #fff;
  padding: 84px 0 76px;
}
.mkt-hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
.mkt-hero .eyebrow { color: var(--gold); }
.mkt-hero h1 {
  font-size: clamp(48px, 5.8vw, 82px);
  line-height: 1.04; letter-spacing: -.01em;
  margin: 0 0 20px;
  color: #fff;
}
.mkt-hero h1 .u { position: relative; font-style: italic; white-space: nowrap; }
.mkt-hero h1 .u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em;
  height: 4px; background: var(--gold); border-radius: 3px;
}
.mkt-hero .lead { color: rgba(239,240,242,.8); font-size: 20px; margin: 0 0 32px; max-width: 38ch; }
.mkt-hero .cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy);
  border-radius: 10px; padding: 12px 22px;
  text-decoration: none; font-weight: 700; font-size: 17px;
  transition: background .18s, transform .18s;
}
.app-badge:hover { background: var(--gold); transform: translateY(-2px); }
.app-badge .badge-icon { font-size: 26px; line-height: 1; }
.app-badge-sub { font-size: 12px; font-weight: 400; display: block; letter-spacing: .04em; opacity: .7; }

.mkt-mockup {
  height: 420px;
  background:
    repeating-linear-gradient(135deg, rgba(239,240,242,.06) 0 12px, transparent 12px 24px),
    rgba(255,255,255,.06);
  border: 1px solid rgba(239,240,242,.2);
  border-radius: 20px;
  display: grid; place-items: center;
}
.mkt-mockup span {
  font-family: "Courier New", monospace; font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(239,240,242,.5);
  background: rgba(239,240,242,.08); padding: 5px 14px; border-radius: 4px;
}

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 28px 28px; position: relative;
}
.feat-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 46px;
  background: var(--gold); border-radius: 10px 0 6px 0;
}
.feat-card .feat-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.feat-card h3 { font-size: 21px; margin: 0 0 10px; line-height: 1.15; }
.feat-card p { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0; }

.screens-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding: 10px 0;
}
.screen-ph {
  aspect-ratio: 9/16; max-height: 420px;
  background:
    repeating-linear-gradient(135deg, rgba(1,22,56,.05) 0 12px, transparent 12px 24px),
    var(--paper);
  border: 1px solid var(--line); border-radius: 16px;
  display: grid; place-items: center;
}
.screen-ph span {
  font-family: "Courier New", monospace; font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); background: rgba(239,240,242,.9);
  padding: 4px 12px; border-radius: 4px;
}

/* ===== support page ======================================== */
.faq-list { list-style: none; margin: 0; padding: 0; }
.faq-item {
  border-bottom: 1px solid var(--line); padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 20px; margin: 0 0 10px; }
.faq-item p { color: var(--muted); font-size: 17px; margin: 0; line-height: 1.6; }

.bug-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px; box-shadow: 0 30px 60px -40px rgba(1,22,56,.4); }

/* ===== about ============================================== */
.about-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ph {
  position: relative; min-height: 320px; border-radius: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(1,22,56,.05) 0 12px, transparent 12px 24px),
    var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.ph span { font-family: "Courier New", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); background: var(--paper); padding: 4px 12px; border-radius: 4px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ===== responsive ========================================= */

@media (max-width: 1000px) {
  .hero-inner { padding: 64px 36px 60px; }
  .hero-grid { gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .nav .links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .contact-grid, .svc-grid, .value-grid, .proj-grid, .feat-grid, .mkt-hero-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  body[data-anim="left"] .hero-copy, body[data-anim="left"] .flow-wrap { order: 0; }
  .flow-wrap { max-width: 560px; margin: 0 auto; width: 100%; }
  .svc-grid .card:nth-child(4), .svc-grid .card:nth-child(5) { grid-column: auto; }
  .cta-band { padding: 44px 40px; }
  body[data-services="rows"] .card { grid-template-columns: 56px 1fr; row-gap: 4px; }
  body[data-services="rows"] .card .lk { grid-column: 2; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .support-band { padding: 40px 36px; }
  .mkt-mockup { height: 300px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 14px 20px; gap: 14px; }
  .brand { font-size: 22px; }
  .brand .mark { width: 34px; height: 34px; font-size: 18px; }
  .hero-inner { padding: 48px 22px 48px; }
  .hero h1 { margin-bottom: 18px; }
  .hero .lead { margin-bottom: 28px; }
  .lead { font-size: 19px; }
  .hero .cta-row { gap: 12px; }
  .hero .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .flow { height: 380px; border-radius: 14px; }
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .card { padding: 28px 24px 26px; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 22px; padding: 36px 28px; text-align: left; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .contact-side .info-card { padding: 26px 24px; }
  .page-head { padding-top: 52px; padding-bottom: 24px; }
  .screens-row { grid-template-columns: 1fr; }
  .support-band { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .bug-form { padding: 28px 22px; }
  .mkt-hero-inner { padding: 0 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .footer .wrap { padding-top: 48px; }
  .foot-bar { flex-direction: column; gap: 6px; }
  .mobile-nav a.m-link { font-size: 30px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 44px; }
  .flow { height: 330px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .mobile-nav a.m-link { font-size: 27px; }
  .nav .btn-gold { display: none; }
}
