/* ============================================================
   ShuXiang — Computer Systems Design & Related Services
   Homepage stylesheet
   ============================================================ */

:root {
  --bg: #0C0E14;
  --bg-2: #11141D;
  --bg-3: #171B26;
  --bg-4: #1E2331;
  --line: #262B3A;
  --line-2: #333A4C;
  --text: #ECEEF5;
  --muted: #9FA7BA;
  --muted-2: #7C8598;
  --coral: #FF6E54;
  --coral-2: #FF8F7A;
  --coral-dark: #E04E35;
  --lilac: #C9B6FF;
  --cream: #F6EFE4;
  --grad-warm: linear-gradient(135deg, #FF6E54 0%, #FFA85C 100%);
  --grad-cool: linear-gradient(135deg, #C9B6FF 0%, #8E7CFF 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.65);
  --shadow-sm: 0 8px 24px -10px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-size: 16px;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.home-page {
  overflow-x: hidden;
  background-color: var(--bg);
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Manrope", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Floating pill navigation
   ============================================================ */

.site-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 1180px;
  padding: 0 32px;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(17, 20, 29, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 12px 10px 24px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-nav.scrolled .nav-pill {
  background: rgba(12, 14, 20, 0.94);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-warm);
  color: #140D0A;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 18px -6px rgba(255, 110, 84, 0.6);
}

.brand span.accent {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #140D0A;
  background: var(--grad-warm);
  padding: 11px 22px;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(255, 110, 84, 0.65);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero — asymmetric split
   ============================================================ */

.hero-section {
  position: relative;
  padding: 170px 0 90px;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(201, 182, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 110, 84, 0.12), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(800px 500px at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 500px at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-2);
  background: rgba(255, 110, 84, 0.1);
  border: 1px solid rgba(255, 110, 84, 0.28);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 110, 84, 0.2);
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-title .cool {
  color: var(--lilac);
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 15.5px;
  color: var(--muted-2);
  max-width: 500px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--grad-warm);
  color: #140D0A;
  box-shadow: 0 14px 30px -12px rgba(255, 110, 84, 0.7);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -12px rgba(255, 110, 84, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--lilac);
  color: var(--lilac);
  transform: translateY(-3px);
}

.hero-mini-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-mini-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-mini-stats .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--text);
}

.hero-mini-stats .lbl {
  font-size: 13px;
  color: var(--muted-2);
}

/* Hero visual — terminal card composition */

.hero-visual {
  position: relative;
}

.terminal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.terminal-bar .t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-bar .t-dot.r { background: #FF6E54; }
.terminal-bar .t-dot.y { background: #FFB454; }
.terminal-bar .t-dot.g { background: #54C08A; }

.terminal-bar .t-title {
  margin-left: 10px;
  font-size: 13px;
  font-family: "Space Grotesk", monospace;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 22px 22px 26px;
  font-family: "Space Grotesk", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.9;
}

.terminal-body .ln {
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.terminal-body .ln .p {
  color: var(--lilac);
  font-weight: 700;
}

.terminal-body .ln .c {
  color: var(--coral-2);
}

.terminal-body .ln .ok {
  color: #54C08A;
}

.terminal-body .cursor {
  display: inline-block;
  width: 9px;
  height: 18px;
  background: var(--coral);
  border-radius: 2px;
  vertical-align: middle;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-float {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-float .ring {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 110, 84, 0.14);
  color: var(--coral-2);
  font-size: 20px;
}

.hero-float .f-label {
  font-size: 12px;
  color: var(--muted-2);
}

.hero-float .f-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

/* ============================================================
   Trust strip
   ============================================================ */

.trust-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 34px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 8px 10px;
}

.trust-item .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  color: var(--coral-2);
}

.trust-item .lbl {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   About
   ============================================================ */

.about-section {
  padding: 110px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 18px;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lilac);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.about-section .lead {
  font-size: 19px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 18px;
}

.about-section p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.about-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.about-card .ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(201, 182, 255, 0.12);
  color: var(--lilac);
  font-size: 21px;
}

.about-card h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
}

.about-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ============================================================
   Services — bento grid
   ============================================================ */

.services-section {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.services-head .section-title {
  margin-bottom: 0;
  max-width: 560px;
}

.services-head p {
  max-width: 380px;
  color: var(--muted);
  font-size: 16px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 18px;
}

.bento-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-warm);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.bento-card:hover {
  border-color: var(--line-2);
  transform: translateY(-6px);
  background: var(--bg-4);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card .ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  font-size: 24px;
  margin-bottom: 18px;
  background: rgba(255, 110, 84, 0.12);
  color: var(--coral-2);
}

.bento-card .ic.cool {
  background: rgba(201, 182, 255, 0.12);
  color: var(--lilac);
}

.bento-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--text);
}

.bento-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.bento-card .tag {
  margin-top: 16px;
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bento-card .tag span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 100px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

/* ============================================================
   Process — numbered timeline
   ============================================================ */

.process-section {
  padding: 110px 0;
  background: var(--bg);
}

.process-section .section-title {
  max-width: 620px;
}

.process-section .section-head {
  margin-bottom: 60px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}

.process-step .idx {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14.5px;
  color: var(--muted);
}

.process-step .line {
  position: absolute;
  top: 34px;
  right: -12px;
  width: 22px;
  height: 1px;
  background: var(--line-2);
}

.process-step:last-child .line {
  display: none;
}

/* ============================================================
   Comparison table
   ============================================================ */

.compare-section {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-wrap {
  max-width: 940px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 15px;
  background: var(--bg-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--bg-4);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.compare-table thead th.hl {
  color: #140D0A;
  background: var(--grad-warm);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td.feat {
  color: var(--text);
  font-weight: 600;
}

.compare-table td {
  color: var(--muted);
}

.compare-table .yes {
  color: #54C08A;
  font-weight: 700;
}

.compare-table .no {
  color: var(--muted-2);
}

.compare-table .mid {
  color: var(--lilac);
  font-weight: 700;
}

/* ============================================================
   Industries — horizontal scroll row
   ============================================================ */

.industries-section {
  padding: 110px 0;
  background: var(--bg);
  overflow: hidden;
}

.industries-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.industries-section .section-title {
  margin-bottom: 0;
  max-width: 560px;
}

.scroll-hint {
  font-size: 13px;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scroll-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-track {
  background: var(--bg-2);
  border-radius: 100px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 100px;
}

.industry-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.industry-card:hover {
  border-color: var(--coral-dark);
  transform: translateY(-5px);
}

.industry-card .ic {
  font-size: 26px;
}

.industry-card h4 {
  font-size: 17px;
  color: var(--text);
}

.industry-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   FAQ — accordion
   ============================================================ */

.faq-section {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-q .plus {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-4);
  color: var(--coral-2);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: rgba(255, 110, 84, 0.2);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a-inner {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   Contact
   ============================================================ */

.contact-section {
  padding: 110px 0;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(255, 110, 84, 0.1), transparent 55%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}

.contact-row {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.contact-row .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(201, 182, 255, 0.12);
  color: var(--lilac);
  font-size: 20px;
}

.contact-row .c-label {
  font-size: 13px;
  color: var(--muted-2);
}

.contact-row .c-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 110, 84, 0.16);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}

.form-status.ok {
  color: #54C08A;
}

.form-status.err {
  color: var(--coral-2);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 18px;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-col ul a:hover {
  color: var(--coral-2);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-contact li .ic {
  color: var(--coral-2);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--muted-2);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover {
  color: var(--coral-2);
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step .line {
    display: none;
  }

  .span-7, .span-5, .span-4, .span-6 {
    grid-column: span 6;
  }

  .faq-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 32px 40px;
    gap: 6px;
    transition: right 0.35s var(--ease);
    box-shadow: var(--shadow);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 19px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-cta {
    margin-top: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    padding: 140px 0 70px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .services-head,
  .industries-section .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 22px;
  }

  .span-7, .span-5, .span-4, .span-6 {
    grid-column: span 12;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .compare-table {
    font-size: 13.5px;
  }

  .compare-table th,
  .compare-table td {
    padding: 13px 12px;
  }

  .hero-float {
    right: 0;
  }
}
