:root {
  --ink: #0b1220;
  --body: #46536b;
  --muted: #69758d;
  --brand: #4338ca;
  --brand-2: #6366f1;
  --c-it: #2563eb;
  --c-mining: #d97706;
  --c-retail: #db2777;
  --accent: var(--brand);
  --bg: #ffffff;
  --soft: #f6f7fb;
  --line: #e6e9f2;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

.page-it { --accent: var(--c-it); }
.page-mining { --accent: var(--c-mining); }
.page-retail { --accent: var(--c-retail); }
.t-brand { --accent: var(--brand); }
.t-it { --accent: var(--c-it); }
.t-mining { --accent: var(--c-mining); }
.t-retail { --accent: var(--c-retail); }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { max-width: 65ch; }

a { color: var(--brand); text-decoration: none; }

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

section { scroll-margin-top: 96px; }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(67, 56, 202, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(67, 56, 202, 0.36); }

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { box-shadow: 0 10px 24px rgba(2, 6, 23, 0.25); }

.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-lg { padding: 15px 32px; font-size: 1.03rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { height: 44px; width: auto; }
.footer .brand-logo { height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--ink); background: var(--soft); }
.nav-link.active { color: var(--brand); background: #eef2ff; }
.nav-cta { margin-left: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.page-hero .badge, .hero .badge { --accent: var(--brand); }

.kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.grad-text {
  background: linear-gradient(92deg, var(--brand) 10%, #7c3aed 55%, var(--c-retail) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  text-align: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, #e0e7ff, transparent);
  top: -220px;
  right: -140px;
}
.hero::after {
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, #fce7f3, transparent);
  bottom: -240px;
  left: -160px;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin: 20px auto 0; }
.hero-sub {
  margin: 22px auto 0;
  font-size: 1.13rem;
  max-width: 640px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 72px auto 0;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.92rem; color: var(--muted); font-weight: 500; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  background: linear-gradient(180deg, #fbfbfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  filter: blur(50px);
  opacity: 0.5;
  top: -200px;
  right: -120px;
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 720px; }
.page-hero h1 { margin-top: 18px; }
.page-hero-sub { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }

.section { padding: 88px 0; }
.section-alt { background: var(--soft); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head p { margin-top: 14px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.card p { margin-top: 12px; font-size: 0.97rem; color: var(--muted); }

.card-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.icon-tile {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, #ffffff);
  color: var(--accent);
  margin-bottom: 20px;
}
.icon-tile .icon { width: 26px; height: 26px; }

.arrow-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}
.arrow-link .icon { width: 17px; height: 17px; transition: transform 0.2s ease; }
.arrow-link:hover .icon { transform: translateX(4px); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step h3 { font-size: 1.05rem; margin-top: 10px; }
.step p { margin-top: 8px; font-size: 0.93rem; color: var(--muted); }
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-body h2 { margin-bottom: 16px; }
.split-body > p { color: var(--muted); }
.split-media { min-width: 0; }

.media-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, #ffffff), color-mix(in srgb, var(--accent) 5%, #ffffff));
  display: grid;
  place-items: center;
  color: var(--accent);
  overflow: hidden;
}
.media-placeholder .icon { width: 64px; height: 64px; stroke-width: 1.3; opacity: 0.75; }
.media-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.media-note {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, var(--muted));
  background: rgba(255, 255, 255, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.check-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--body);
  font-size: 0.99rem;
}
.check-list .icon {
  width: 21px;
  height: 21px;
  color: var(--accent);
  margin-top: 2px;
}

.cta-section { padding-bottom: 96px; }
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #312e81, #4338ca 55%, #6d28d9);
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  color: #c7d2fe;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), transparent);
  top: -180px;
  right: -100px;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { margin: 14px auto 30px; max-width: 520px; }
.cta-banner .btn { position: relative; z-index: 1; }

.page-footer-pad { padding-bottom: 40px; }

.footer {
  background: #0b1220;
  color: #a5b0c5;
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #8b96ad; }
.footer-brand p { margin-top: 18px; font-size: 0.95rem; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  color: #a5b0c5;
  font-size: 0.95rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}
.footer-bottom p { max-width: none; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #c9d2e3;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.socials .icon { width: 19px; height: 19px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-layout > .form-card { order: -1; }
.contact-cards { display: grid; gap: 18px; }
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card h3 { font-size: 1rem; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--muted); margin-top: 3px; }
.info-card a:hover { color: var(--brand); }
.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 10%, #ffffff);
  color: var(--brand);
  flex-shrink: 0;
}
.socials-light { margin-top: 10px; }
.socials-light a { background: var(--soft); color: var(--body); border: 1px solid var(--line); }
.socials-light a:hover { background: var(--brand); border-color: var(--brand); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 18px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.12);
}
.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.93rem;
}
.form-note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .form-row { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px 24px 22px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .hamburger { display: flex; }
}

@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout > .form-card { order: 0; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 64px 0 48px; }
  .form-card { padding: 28px 22px; }
  .cta-banner { padding: 48px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .step, .info-card { transition: none; }
}
