/* NAK Technology Solutions - dark futuristic design system */
:root {
  --bg: #0b0d10;
  --bg-2: #11141a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(148, 163, 184, 0.16);
  --text: #e6ebf5;
  --muted: #9aa7bd;
  --cyan: #ff7a3d;
  --violet: #e35d28;
  --grad: linear-gradient(120deg, #ff9a5c 0%, #ff7a3d 45%, #e35d28 100%);
  --radius: 18px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #1a0d05; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip:focus { left: 12px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 13, 16, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--border); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 42px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 20px; letter-spacing: 0.04em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color 0.2s, background 0.2s; }
.nav a:not(.btn):hover, .nav a[aria-current='page'] { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 10px; padding: 10px 18px; font-size: 14px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); min-height: 40px; transition: color 0.2s, border-color 0.2s; }
.lang-switch:hover { color: var(--text); border-color: var(--cyan); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded='true'] .i-open { display: none; }
.menu-btn[aria-expanded='true'] .i-close { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; font-family: var(--font-body);
  border: 1px solid transparent; cursor: pointer; min-height: 44px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--grad); color: #1a0d05; box-shadow: 0 8px 28px -8px rgba(255, 122, 61, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(227, 93, 40, 0.6); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); background: var(--surface-2); transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none; }
.orb-a { width: 520px; height: 520px; background: rgba(255, 122, 61, 0.22); top: -140px; left: -120px; }
.orb-b { width: 560px; height: 560px; background: rgba(227, 93, 40, 0.26); right: -160px; top: 20%; }
.hero-inner { max-width: 1180px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(255, 122, 61, 0.7); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); max-width: 16ch; font-weight: 700; }
.hero h1 .grad { display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--cyan); }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 56px; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.center-404 { text-align: center; min-height: 80svh; display: flex; align-items: center; }
.center-404 h1 { margin-inline: auto; }
.center-404 .lead { margin-inline: auto; margin-bottom: 32px; }
.big-404 { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: 1; }

/* Marquee */
.marquee-section { padding: 8px 0 56px; }
.marquee-title { text-align: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { padding: 10px 22px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2, .split-text h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
.sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.split-text .sub + .sub { margin-top: 18px; }

/* Stats */
.stats { padding: 24px 0 clamp(48px, 7vw, 88px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: left; }
.stat-value { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 61, 0.12), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { border-color: rgba(255, 122, 61, 0.45); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.3rem; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(140deg, rgba(255, 122, 61, 0.16), rgba(227, 93, 40, 0.16)); border: 1px solid var(--border); }
.card-icon.sm { width: 48px; height: 48px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--cyan); font-weight: 600; font-size: 15px; transition: gap 0.25s; min-height: 44px; }
.link-arrow:hover { gap: 14px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: rgba(148, 163, 184, 0.18); }
.step h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-item { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease); }
.bento-item:hover { border-color: rgba(227, 93, 40, 0.5); transform: translateY(-4px); }
.bento-item h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.bento-item p { color: var(--muted); font-size: 15px; }
.b1 { grid-column: span 4; background: linear-gradient(135deg, rgba(255, 122, 61, 0.1), rgba(227, 93, 40, 0.1)); }
.b2 { grid-column: span 2; }
.b3 { grid-column: span 2; }
.b4 { grid-column: span 4; }

/* Split / panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip .split-text { order: 2; }
.split-text .card-icon { margin-bottom: 22px; }
.split-text .btn { margin-top: 28px; }
.panel { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.panel h3 { font-size: 1.1rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; font-size: 13px; }
.panel p { color: var(--text); font-size: 1.1rem; }
.mv { display: grid; gap: 20px; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--cyan); flex: none; margin-top: 3px; }

/* CTA band */
.cta-band { position: relative; text-align: center; padding: clamp(40px, 7vw, 80px) 24px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(135deg, rgba(255, 122, 61, 0.08), rgba(227, 93, 40, 0.14)); overflow: hidden; isolation: isolate; }
.cta-glow { position: absolute; width: 480px; height: 480px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(227, 93, 40, 0.45), transparent 65%); z-index: -1; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); max-width: 22ch; margin: 0 auto; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 16px auto 0; }
.cta-band .btn { margin-top: 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info ul { display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ci { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(140deg, rgba(255, 122, 61, 0.16), rgba(227, 93, 40, 0.16)); flex: none; }
.contact-info small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.contact-info a:hover { color: var(--cyan); }
.form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-radius: 24px; background: var(--surface); display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; min-height: 48px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.6); color: var(--text); font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select option { background: #11141a; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.2); }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.err { color: #fca5a5; font-size: 13px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-note { color: var(--muted); font-size: 13px; }
.form-status { font-size: 15px; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #6ee7b7; }
.form-status.fail { color: #fca5a5; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #07090c; padding: 64px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.2fr 1.4fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 34ch; font-size: 15px; }
.site-footer h3 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; color: var(--text); font-family: var(--font-body); font-weight: 600; }
.site-footer li { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.site-footer a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.hero-in { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease) forwards; }
.hero-in:nth-child(1) { animation-delay: 0.05s; }
.hero-in:nth-child(2) { animation-delay: 0.18s; }
.hero-in:nth-child(3) { animation-delay: 0.32s; }
.hero-in:nth-child(4) { animation-delay: 0.46s; }
.hero-in:nth-child(5) { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(255, 122, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0); } }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .split { grid-template-columns: 1fr; }
  .split.flip .split-text { order: 0; }
}
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 24px; background: rgba(11, 13, 16, 0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px; font-size: 17px; }
  .nav-cta { margin: 10px 0 0; }
  .site-header.menu-open { background: rgba(11, 13, 16, 0.97); }
}
@media (max-width: 640px) {
  .card-grid, .card-grid.four, .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b1, .b2, .b3, .b4 { grid-column: auto; }
  .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 12px; }
  .stat { padding: 20px 16px; }
  .brand-text small { display: none; }
  .hero { min-height: auto; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* --- NAK additions --- */
.center { margin-inline: auto; text-align: center; }
.center .sub { margin-inline: auto; }
.center-text { text-align: center; margin: 48px 0 24px; }
.center-link { text-align: center; margin-top: 36px; }
.mini { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin: 22px 0 14px; }
.card-grid .card { display: block; }
a.card { color: inherit; }
.hero::before, .photo-hero::before, .photo-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.55), var(--bg) 96%), var(--photo, none) center / cover no-repeat; opacity: 0.55;
}
.hero { --photo: url(/img/photos/fiber.jpg); }
.photo-hero { isolation: isolate; }
.photo-hero::before { opacity: 0.4; }
.photo-band { isolation: isolate; overflow: hidden; background: none; }
.photo-band::before { opacity: 0.22; background: linear-gradient(180deg, var(--bg), rgba(11, 13, 16, 0.75), var(--bg)), var(--photo) center / cover no-repeat; }

/* Logo wall: partner logos on white tiles for correct brand colors */
.partner-strip { padding: 0 0 clamp(48px, 7vw, 88px); }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-wall li { background: #fff; border-radius: 14px; height: 92px; display: grid; place-items: center; padding: 16px 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.logo-wall li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(255, 122, 61, 0.5); }
.logo-wall img { max-height: 52px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-wall.compact { grid-template-columns: repeat(8, 1fr); gap: 10px; }
.logo-wall.compact li { height: 64px; padding: 10px 14px; border-radius: 12px; }
.logo-wall.compact img { max-height: 34px; }

.steps.six { grid-template-columns: repeat(3, 1fr); }
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 28px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-weight: 600; transition: border-color 0.3s, transform 0.4s var(--ease); }
.industry:hover { border-color: rgba(255, 122, 61, 0.5); transform: translateY(-4px); }

.project { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease); }
.project:hover { border-color: rgba(255, 122, 61, 0.5); transform: translateY(-4px); }
.project-photo { height: 190px; background-size: cover; background-position: center; position: relative; }
.project-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 13, 16, 0.85)); }
.project-body { padding: 24px 26px 28px; }
.project-body h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.project-body p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); background: rgba(255, 122, 61, 0.12); border: 1px solid rgba(255, 122, 61, 0.3); padding: 4px 10px; border-radius: 999px; }

.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sol { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s; }
.sol:hover { border-color: rgba(255, 122, 61, 0.45); }
.sol-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.sol-head h2 { font-size: 1.6rem; }
.sol-num { font-family: var(--font-head); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.sol .sub { margin-top: 6px; font-size: 1rem; }

.facts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 36px; }
.facts div { display: grid; gap: 4px; }
.facts strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.facts span { color: var(--muted); font-size: 14px; }
.photo-card { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.mission { margin: 0; text-align: center; max-width: 880px; margin-inline: auto; }
.mission .eyebrow { justify-content: center; }
.mission-text { font-family: var(--font-head); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.3; letter-spacing: -0.01em; }

@media (max-width: 1024px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall.compact { grid-template-columns: repeat(4, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .sol-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .logo-wall, .logo-wall.compact { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .steps.six { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
}
@media (min-width: 641px) and (max-width: 1024px) { .steps.six { grid-template-columns: repeat(2, 1fr); } }

.stat .src { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; line-height: 1.4; }
.stat .src:hover { color: var(--cyan); }
.project-logo { position: absolute; left: 16px; top: 16px; z-index: 1; background: #fff; border-radius: 10px; padding: 8px 12px; height: 44px; display: grid; place-items: center; }
.project-logo img { max-height: 26px; width: auto; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease); }
.fab-btn:hover { transform: translateY(-2px); }
.fab-zalo { background: #0068ff; color: #fff; }
.fab-call { background: var(--grad); color: #1a0d05; }
@media (max-width: 640px) { .fab-btn span { display: none; } .fab-btn { width: 48px; padding: 0; justify-content: center; } }

.legal { max-width: 800px; margin-inline: auto; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p { color: var(--muted); margin-top: 12px; }
.legal ul { margin-top: 12px; display: grid; gap: 8px; }
.legal li { color: var(--muted); padding-left: 22px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.draft-banner { background: rgba(255, 122, 61, 0.12); border: 1px solid rgba(255, 122, 61, 0.4); color: var(--text) !important; padding: 12px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 24px; }
.consent .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: #ff7a3d; }
.consent a, .legal-link { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.consent a:hover, .legal-link:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ===== Premium upgrade ===== */
.container.narrow { width: min(820px, 100% - 40px); }
.sub.big { font-size: 1.2rem; color: var(--text); line-height: 1.7; }
.h-sm { font-size: 1.3rem; margin: 28px 0 10px; }
.h-sm:first-child { margin-top: 0; }
.split.top { align-items: start; }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: var(--grad); box-shadow: 0 0 12px rgba(255, 122, 61, 0.7); }

/* hero two columns + architecture art */
.hero { padding-bottom: 110px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; max-height: 76vh; overflow: visible; }
.ha-ring { fill: none; stroke: rgba(255, 160, 110, 0.22); stroke-width: 1; stroke-dasharray: 3 9; transform-origin: 280px 255px; animation: spin 80s linear infinite; }
.ha-ring-2 { stroke: rgba(148, 163, 184, 0.2); animation-direction: reverse; animation-duration: 120s; }
.ha-poly { fill: rgba(255, 122, 61, 0.04); stroke: rgba(255, 160, 110, 0.28); stroke-width: 1; }
.ha-spoke { stroke: url(#haG); stroke-width: 1.5; stroke-dasharray: 5 7; opacity: 0.8; animation: flow 2.4s linear infinite; animation-delay: calc(var(--i) * -0.3s); }
.ha-hub-bg { fill: #0f1318; }
.ha-hub-ring { fill: none; stroke: url(#haG); stroke-width: 2; }
.ha-hub-text { fill: #fff; font: 700 15px var(--font-head); letter-spacing: 0.2em; }
.ha-node { cursor: pointer; }
.ha-node-in { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); transition: transform 0.3s var(--ease); transform-box: fill-box; transform-origin: center; }
.ha-node-bg { fill: #121821; stroke: rgba(255, 160, 110, 0.45); stroke-width: 1.5; transition: fill 0.25s, stroke 0.25s; }
.ha-node-icon { color: #ff9a5c; }
.ha-node-label { fill: var(--text); font: 600 14px var(--font-body); }
a:hover .ha-node-bg, a:focus-visible .ha-node-bg { fill: #231a15; stroke: #ff7a3d; }
a:hover .ha-node-in, a:focus-visible .ha-node-in { transform: scale(1.1); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.28); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* logo marquees */
.lw-marquee { overflow: hidden; margin-top: 14px; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.lw-track { display: flex; gap: 14px; width: max-content; animation: scroll 46s linear infinite; padding: 4px 0; }
.lw-marquee.rev .lw-track { animation-direction: reverse; }
.lw-marquee:hover .lw-track { animation-play-state: paused; }
.lw-track li { background: #fff; border-radius: 14px; height: 76px; min-width: 170px; display: grid; place-items: center; padding: 12px 24px; }
.lw-track img { max-height: 42px; max-width: 130px; width: auto; height: auto; object-fit: contain; }
.logo-wall.few { grid-template-columns: repeat(auto-fit, minmax(170px, 220px)); justify-content: center; }

/* cards */
.card-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: rgba(255, 122, 61, 0.35); line-height: 1; }
.card .card-num + h3 { margin-top: 14px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--cyan); transition: gap 0.25s; }
.card:hover .card-more, .project:hover .card-more, .post-card:hover .card-more { gap: 12px; }
a.project { display: block; color: inherit; }
.sol-head h2 a:hover { color: var(--cyan); }
.sol .link-arrow { margin-top: 10px; }

/* solution detail */
.sol-hero-icon { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(140deg, rgba(255, 122, 61, 0.2), rgba(227, 93, 40, 0.12)); border: 1px solid rgba(255, 122, 61, 0.35); margin-bottom: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.crumbs a:hover { color: var(--cyan); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: t; }
.timeline::before { content: ''; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(255, 122, 61, 0.1)); }
.tl-step { position: relative; padding-top: 0; }
.tl-dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--bg); border: 2px solid var(--cyan); color: var(--cyan); }
.tl-step h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.tl-step p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 15px; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.chip:hover { border-color: var(--cyan); background: var(--surface-2); transform: translateY(-2px); }
.chip .icon { color: var(--cyan); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.25s, background 0.25s; }
.faq-item[open] { border-color: rgba(255, 122, 61, 0.45); background: var(--surface-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--cyan); background: rgba(255, 122, 61, 0.12); transition: transform 0.3s var(--ease); transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(-90deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }

/* posts */
.post-card { display: block; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease); }
.post-card:hover { border-color: rgba(255, 122, 61, 0.5); transform: translateY(-4px); }
.post-photo { height: 180px; background-size: cover; background-position: center; position: relative; }
.post-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 16, 0.1), rgba(11, 13, 16, 0.75)); }
.post-body { padding: 24px 26px 28px; }
.post-body h2, .post-body h3 { font-size: 1.2rem; margin: 12px 0 10px; line-height: 1.25; }
.post-body p { color: var(--muted); font-size: 15px; }
.post-meta { display: block; margin-top: 16px; color: var(--muted); font-size: 13px; }
.article h2 { font-size: 1.5rem; }
.article p, .article li { font-size: 1.05rem; line-height: 1.75; }
.text-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); }

/* resources */
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(135deg, rgba(255, 122, 61, 0.1), rgba(227, 93, 40, 0.04)); }
.download h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.download .sub { max-width: 52ch; }
.download-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.rot90 { transform: rotate(90deg); }

/* project detail, extras */
.facts-list { display: grid; gap: 4px 16px; grid-template-columns: auto 1fr; }
.facts-list dt { color: var(--muted); font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.facts-list dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.inline-logo { background: #fff; padding: 6px 12px; border-radius: 8px; height: 38px; width: auto; }
.quote { margin: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.quote blockquote { margin: 0 0 18px; font-size: 1.1rem; line-height: 1.6; }
.quote figcaption { color: var(--muted); font-size: 14px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.sla-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.sla-list div { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.sla-list dt { color: var(--muted); font-size: 14px; }
.sla-list dd { margin: 6px 0 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }

/* refined hover glow on solution cards */
.card-grid.four a.card { display: flex; flex-direction: column; }
.card-grid.four a.card .card-more { margin-top: auto; padding-top: 18px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .hero h1 { max-width: 18ch; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .faq-item summary { padding: 16px 18px; }
  .faq-item p { padding: 0 18px 18px; }
  .download-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ha-ring, .ha-spoke, .ha-node-in, .lw-track, .scroll-cue span { animation: none !important; }
  .lw-track { flex-wrap: wrap; width: auto; justify-content: center; }
}
.hero h1 { max-width: none; text-wrap: balance; }
.page-hero h1, .section-head h2 { text-wrap: balance; }

.brand img { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35)); }
@media (max-width: 640px) { .brand img { height: 36px; } }
.site-header .brand img { height: 46px; } @media (max-width: 640px) { .site-header .brand img { height: 38px; } }

/* pro icons */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pro-icon { display: block; overflow: visible; transition: transform 0.35s var(--ease); }
.card:hover .pro-icon, .sol:hover .pro-icon, .chip:hover .pro-icon { transform: translateY(-2px) scale(1.08); }
.card-icon .pro-icon { filter: drop-shadow(0 4px 10px rgba(255, 122, 61, 0.28)); }
.sol-hero-icon { width: 80px; height: 80px; border-radius: 22px; }
.chip .pro-icon { filter: none; }
.ha-node-icon .pro-icon { filter: drop-shadow(0 3px 8px rgba(255, 122, 61, 0.35)); }
.card-icon { box-shadow: inset 0 0 0 1px rgba(255, 160, 110, 0.12), 0 8px 24px -12px rgba(255, 122, 61, 0.45); }

.logo-wall.duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .logo-wall.duo { grid-template-columns: repeat(2, 1fr); } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; }
.facts strong { font-size: clamp(1.8rem, 3.2vw, 2.3rem); }
.facts span { font-size: 13px; line-height: 1.35; }
@media (max-width: 480px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
