/* Technum Consulting Group — shared styles
   Theme adapted from aulumu.com: Sora type, monochrome, dark hero panels,
   small uppercase labels with square markers, pill buttons with chevrons. */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --panel: #1b1b1b;
  --line-dark: #2a2a2a;
  --white: #ffffff;
  --paper: #f4f4f4;
  --text: #212121;
  --muted: #6f6f6f;
  --muted-light: #9a9a9a;
  --line: #e4e4e4;
  --accent: #e63b2e;
  --it: #0b0f14;
  --it-2: #131a22;
  --home: #12100d;
  --home-2: #1e1913;
  --header-h: 64px;
  --radius: 999px;
  --wrap: 1240px;
  font-family: "Sora", "Sora Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.dark { background: var(--black); color: var(--white); }
.paper { background: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Labels / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: none; }
.dark .eyebrow, .eyebrow.on-dark { color: var(--muted-light); }
.eyebrow.accent::before { background: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.92); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 0.22em; font-size: 15px; text-transform: uppercase; }
.brand .mark { width: 22px; height: 22px; flex: none; }
.brand small { display: block; font-weight: 500; letter-spacing: 0.18em; font-size: 8.5px; color: var(--muted-light); margin-top: 2px; }
.brand .words { line-height: 1; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: #d8d8d8; padding: 6px 0; transition: color .2s;
}
.nav a::before { content: ""; width: 5px; height: 5px; background: currentColor; opacity: .6; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::before { background: var(--accent); opacity: 1; }
.nav .phone { color: var(--white); font-weight: 700; letter-spacing: 0.04em; }
.nav .phone::before { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--white);
  width: 40px; height: 40px; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 12.5px; }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .chev { width: 7px; height: 11px; flex: none; transition: transform .2s; }
.btn:hover .chev { transform: translateX(3px); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: #ededed; }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: #262626; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Landing split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(calc(100vh - var(--header-h)), 920px);
  background: var(--black);
}
.division {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 72px);
  color: var(--white); min-height: 560px;
}
.division .bg { position: absolute; inset: 0; z-index: -2; }
.division .art { position: absolute; inset: 0; z-index: -1; opacity: .9; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.division:hover .art { transform: scale(1.04); opacity: 1; }
.division::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}
.division.it { background: var(--it); }
.division.home { background: var(--home); border-left: 1px solid var(--line-dark); }
.division .num { position: absolute; top: clamp(24px, 4vw, 48px); left: clamp(28px, 5vw, 72px); }
.division h2 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; max-width: 12ch; margin: 14px 0 14px; }
.division p { color: #cfcfcf; max-width: 46ch; font-size: 15px; }
.division .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid rgba(255,255,255,0.28); border-radius: var(--radius); color: #e6e6e6;
}
.division .btn { align-self: flex-start; }
.division .enter { position: absolute; top: clamp(24px, 4vw, 48px); right: clamp(28px, 5vw, 72px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.division:hover .enter { background: var(--white); border-color: var(--white); color: var(--black); }
.division .enter svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .division { min-height: min(78vh, 680px); }
  .division.home { border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.dark .section-head p { color: #bdbdbd; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
.dark .lead { color: #c9c9c9; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Category / chip row (horizontal scroll) */
.chip-row {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white);
}
.chip-row::-webkit-scrollbar { display: none; }
.chip-row a {
  flex: none; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-right: 1px solid var(--line); color: var(--text); transition: background .2s;
}
.chip-row a:hover { background: var(--paper); }
.chip-row .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; flex: none; }
.chip-row .dot svg { width: 8px; height: 8px; }
.chip-row.on-dark { background: var(--black); border-color: var(--line-dark); }
.chip-row.on-dark a { color: #e6e6e6; border-color: var(--line-dark); }
.chip-row.on-dark a:hover { background: var(--ink); }
.chip-row.on-dark .dot { background: var(--white); color: var(--black); }

/* ---------- Page hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding-block: clamp(72px, 10vw, 140px);
  min-height: min(72vh, 720px); display: flex; align-items: flex-end;
}
.hero .art { position: absolute; inset: 0; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.6)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; max-width: 14ch; margin: 18px 0 22px; }
.hero .lead { color: #d6d6d6; max-width: 56ch; }
.hero .btn-row { margin-top: 32px; }
.hero.it { background: var(--it); }
.hero.home { background: var(--home); }

/* ---------- Service blocks ---------- */
.service {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
  padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line);
}
.dark .service { border-color: var(--line-dark); }
.service:first-of-type { border-top: 0; }
.service .idx { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.service .idx::after { content: ""; height: 1px; width: 40px; background: currentColor; opacity: .5; }
.service h3 { font-size: clamp(28px, 3.2vw, 44px); margin: 14px 0 18px; }
.service .desc { color: var(--muted); font-size: 16px; max-width: 52ch; }
.dark .service .desc { color: #bdbdbd; }
.service .platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--white);
}
.dark .pill { border-color: var(--line-dark); color: #e6e6e6; background: transparent; }
.service .points { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.dark .service .points { border-color: var(--line-dark); }
.service .points li { display: flex; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.dark .service .points li { border-color: var(--line-dark); }
.service .points li:first-child { border-top: 0; }
.service .points li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; background: var(--black); flex: none; }
.dark .service .points li::before { background: var(--white); }
.service .points li strong { display: block; font-weight: 700; }
.service .points li span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.dark .service .points li span { color: #a8a8a8; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* ---------- Cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--white); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background .2s; }
.card:hover { background: var(--paper); }
.card .idx { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card .more { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card .more svg { width: 7px; height: 11px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }
.dark .cards { background: var(--line-dark); border-color: var(--line-dark); }
.dark .card { background: var(--black); }
.dark .card:hover { background: var(--ink); }
.dark .card p { color: #bdbdbd; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.step { background: var(--black); padding: clamp(24px, 3vw, 36px); min-height: 220px; display: flex; flex-direction: column; }
.step .big { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: var(--white); line-height: 1; }
.step h3 { font-size: 18px; margin-top: auto; padding-top: 28px; color: var(--white); }
.step p { color: #a8a8a8; font-size: 14px; margin-top: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats / facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.fact .k { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-size: 20px; font-weight: 700; margin-top: 8px; letter-spacing: -0.01em; }
.dark .fact .v { color: var(--white); }

/* ---------- Contact block ---------- */
.contact-block { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.contact-block h2 { font-size: clamp(34px, 5vw, 68px); margin-top: 16px; }
.contact-card { border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
.contact-card .k { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.contact-card .v { font-size: 20px; font-weight: 700; margin-top: 6px; color: var(--white); line-height: 1.35; }
.contact-card .v a:hover { text-decoration: underline; }
.contact-card .v.addr { font-size: 16px; font-weight: 500; color: #e0e0e0; }
@media (max-width: 860px) { .contact-block { grid-template-columns: 1fr; align-items: start; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-grid .cell { background: var(--white); padding: clamp(24px, 3vw, 40px); }
.contact-grid .k { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-grid .v { font-size: 22px; font-weight: 700; margin-top: 10px; line-height: 1.3; }
.contact-grid .v.addr { font-size: 17px; font-weight: 500; }
.contact-grid .v a:hover { text-decoration: underline; }
.contact-grid .note { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.map { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 7; max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #bdbdbd; border-top: 1px solid var(--line-dark); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.site-footer h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer li { margin: 10px 0; font-size: 14px; }
.site-footer li a:hover { color: var(--white); }
.site-footer .brand { color: var(--white); }
.site-footer .about { margin-top: 18px; max-width: 40ch; font-size: 14px; }
.site-footer .bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #8a8a8a; }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); }
.dark .divider { background: var(--line-dark); }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
