/* ============================================================
   XNK Corp – Main Stylesheet
   ============================================================ */

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

:root {
  --ink:        #0B0E14;
  --slate:      #1C2333;
  --steel:      #2E3A52;
  --mist:       #8A94A6;
  --ghost:      #F0F2F5;
  --white:      #FFFFFF;
  --signal:     #00C2FF;
  --signal-dim: #0093C2;
  --serif:      'DM Serif Display', Georgia, serif;
  --sans:       'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(11,14,20,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-branding a {
  font-family: var(--sans);
  font-weight: 700; font-size: 1.25rem;
  letter-spacing: .12em; color: var(--white);
  text-decoration: none;
}
.site-branding span { color: var(--signal); }
.main-navigation ul { display: flex; gap: 2rem; list-style: none; }
.main-navigation a {
  color: var(--mist); text-decoration: none;
  font-size: .88rem; letter-spacing: .04em; font-weight: 500;
  transition: color .2s;
}
.main-navigation a:hover { color: var(--white); }
.nav-cta {
  background: var(--signal) !important;
  color: var(--ink) !important;
  padding: .45rem 1.1rem !important;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--signal-dim) !important; }
.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--white); font-size: 1.5rem;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 5% 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,14,20,.97) 0%, rgba(28,35,51,.85) 50%, rgba(11,14,20,.96) 100%);
  z-index: 1;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1800&q=80');
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(0,194,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute; right: -5%; top: 10%;
  width: 650px; height: 650px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.12) 0%, transparent 70%);
  pointer-events: none; z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  color: var(--signal); text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--signal);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.08; color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--signal); }
.hero-sub {
  font-size: 1.1rem; color: var(--mist);
  max-width: 540px; margin-bottom: 2.5rem; line-height: 1.7;
}
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--signal); color: var(--ink);
  font-family: var(--sans); font-weight: 700;
  font-size: .92rem; letter-spacing: .04em;
  padding: .85rem 2rem; border-radius: 4px;
  text-decoration: none; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--signal-dim); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.25); color: var(--white);
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  padding: .85rem 2rem; border-radius: 4px;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--signal); background: rgba(0,194,255,.06); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--white); line-height: 1;
}
.stat-num span { color: var(--signal); }
.stat-label { font-size: .78rem; color: var(--mist); letter-spacing: .05em; margin-top: .25rem; }

/* ── SECTION BASE ── */
.site-section { padding: 6rem 5%; }
.section-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 1rem;
}
.site-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15; color: var(--white);
  margin-bottom: 1.25rem;
}
.site-section h2 em { font-style: italic; color: var(--signal); }
.section-intro {
  color: var(--mist); font-size: 1.05rem;
  max-width: 560px; line-height: 1.75;
}

/* ── IMAGE BAND ── */
.image-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; height: 280px; overflow: hidden;
}
.image-band-item {
  position: relative; overflow: hidden;
}
.image-band-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(.6) saturate(.8);
}
.image-band-item:hover img { transform: scale(1.06); filter: brightness(.75) saturate(1); }
.image-band-item .band-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--signal); background: rgba(11,14,20,.7);
  padding: .3rem .7rem; border-radius: 3px;
  border-left: 2px solid var(--signal);
}

/* ── ABOUT ── */
.about-section { background: var(--slate); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-card {
  background: var(--steel); border-radius: 12px;
  padding: 2.5rem; border: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--signal), transparent);
}
.profile-head {
  display: flex; align-items: center; gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--signal), var(--signal-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.6rem;
  color: var(--ink); flex-shrink: 0;
}
.profile-name { font-size: 1.2rem; font-weight: 600; color: var(--white); }
.profile-title { font-size: .85rem; color: var(--signal); margin-top: .2rem; }
.about-bio { color: var(--mist); font-size: .95rem; line-height: 1.75; margin-bottom: 1.25rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(0,194,255,.1); color: var(--signal);
  border: 1px solid rgba(0,194,255,.2);
  padding: .3rem .75rem; border-radius: 20px;
}

/* ── SERVICES ── */
.services-section { background: var(--ink); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.service-card {
  background: var(--slate); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 2rem;
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.service-card:hover { border-color: rgba(0,194,255,.3); transform: translateY(-3px); }
.service-card .service-img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 6px; margin-bottom: 1.25rem;
  filter: brightness(.75) saturate(.8);
}
.service-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-card h3 {
  font-family: var(--sans); font-size: 1.05rem;
  font-weight: 600; color: var(--white); margin-bottom: .75rem;
}
.service-card p { color: var(--mist); font-size: .9rem; line-height: 1.7; }
.service-num {
  position: absolute; right: 1.5rem; top: 1.5rem;
  font-size: .7rem; font-weight: 700;
  color: rgba(0,194,255,.3); letter-spacing: .12em;
}

/* ── PROCESS ── */
.process-section { background: var(--slate); }
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; margin-top: 3rem; position: relative;
}
.process-steps::after {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  opacity: .3; pointer-events: none;
}
.step { text-align: center; padding: 2rem 1.5rem; }
.step-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--steel); border: 1px solid rgba(0,194,255,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.25rem;
}
.step h4 { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: .5rem; }
.step p { font-size: .82rem; color: var(--mist); line-height: 1.6; }

/* ── WHY XNK ── */
.why-section { background: var(--ink); }
.why-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 5rem; align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(0,194,255,.1); border: 1px solid rgba(0,194,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.why-item h4 { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: .25rem; }
.why-item p { font-size: .88rem; color: var(--mist); line-height: 1.6; }
.why-visual {
  background: var(--slate); border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden; position: relative;
}
.why-visual-img {
  width: 100%; height: 220px; object-fit: cover;
  filter: brightness(.5) saturate(.6);
}
.why-visual-body { padding: 2rem; position: relative; }
.why-visual-body::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(28,35,51,.8), transparent);
}
.big-stat {
  font-family: var(--serif); font-size: 3.5rem;
  line-height: 1; color: var(--white); margin-bottom: .25rem;
}
.big-stat span { color: var(--signal); }
.big-stat-label { font-size: .82rem; color: var(--mist); margin-bottom: 1.5rem; line-height: 1.4; }
.stat-divider { width: 40px; height: 1px; background: rgba(255,255,255,.12); margin-bottom: 1.5rem; }

/* ── SECTORS ── */
.sectors-section { background: var(--slate); }
.sectors-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.sector-pill {
  background: var(--steel); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; font-weight: 500; color: var(--white);
  transition: border-color .2s;
}
.sector-pill:hover { border-color: rgba(0,194,255,.3); }
.sector-pill .sector-icon { font-size: 1.2rem; }

/* ── FULL-WIDTH IMAGE FEATURE ── */
.feature-image-section {
  position: relative; height: 420px; overflow: hidden;
}
.feature-image-section img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.45) saturate(.7);
}
.feature-image-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  padding: 2rem;
}
.feature-image-overlay h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white); line-height: 1.1; margin-bottom: 1rem;
}
.feature-image-overlay h2 em { font-style: italic; color: var(--signal); }
.feature-image-overlay p {
  color: rgba(255,255,255,.7); font-size: 1.05rem;
  max-width: 560px; line-height: 1.7;
}

/* ── CONTACT ── */
.contact-section { background: var(--ink); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--slate); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; text-decoration: none; color: var(--white);
  transition: border-color .2s;
}
.contact-item:hover { border-color: var(--signal); }
.contact-item-icon { font-size: 1.25rem; }
.contact-item-label { font-size: .75rem; color: var(--mist); }
.contact-item-val { font-size: .95rem; font-weight: 500; }
.contact-form {
  background: var(--slate); border-radius: 12px;
  padding: 2.5rem; border: 1px solid rgba(255,255,255,.07);
}
.contact-form h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-row label { font-size: .8rem; color: var(--mist); letter-spacing: .04em; }
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--steel); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; color: var(--white);
  font-family: var(--sans); font-size: .92rem;
  padding: .75rem 1rem; width: 100%; outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--signal); }
.form-row textarea { height: 110px; resize: vertical; }
.form-row select option { background: var(--steel); }
.form-submit {
  width: 100%; background: var(--signal); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  padding: .85rem; border: none; border-radius: 6px;
  cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--signal-dim); }

/* ── FOOTER ── */
.site-footer {
  background: var(--slate); border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 5% 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.25rem; letter-spacing: .1em; color: var(--white);
  text-decoration: none;
}
.footer-brand .footer-logo span { color: var(--signal); }
.footer-brand p {
  color: var(--mist); font-size: .88rem;
  line-height: 1.7; margin-top: 1rem; max-width: 280px;
}
.footer-col h4 {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a {
  color: var(--mist); text-decoration: none;
  font-size: .88rem; transition: color .2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: var(--mist); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about-inner,
  .why-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .process-steps::after { display: none; }
  .image-band { grid-template-columns: 1fr; height: auto; }
  .image-band-item { height: 200px; }
}
@media (max-width: 768px) {
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,14,20,.98); padding: 1.5rem 5%; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 1rem; }
  .menu-toggle { display: block; }
  .hero-stats { gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
