/* =========================================================
   Podtok Consulting — shared stylesheet (HR + EN pages)
   To change the look, edit the colour tokens below.
   ========================================================= */

:root {
  /* Brand colours — swap these when the logo colours are final */
  --accent: #14b8a6;      /* teal */
  --accent-2: #3b82f6;    /* blue */
  --ink: #07111f;         /* dark hero background */

  /* Light theme */
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #0b1424;
  --muted: #5a6577;
  --line: #e2e7ef;
  --header-bg: rgba(246, 248, 251, 0.8);

  --radius: 18px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d18;
    --surface: #0e1726;
    --text: #e7ecf4;
    --muted: #97a3b6;
    --line: #1c2738;
    --header-bg: rgba(7, 13, 24, 0.8);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.lang:hover { color: var(--text); border-color: var(--muted); }
@media (max-width: 820px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px -8px rgba(20, 184, 166, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(20, 184, 166, .7); }
.btn-ghost { color: #e7ecf4; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #12345a 0%, transparent 60%), var(--ink);
  color: #e7ecf4;
  padding: 120px 0 140px;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.hero .eyebrow {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(20, 184, 166, .12); border: 1px solid rgba(20, 184, 166, .3);
}
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 750; margin: 24px 0 20px; max-width: 14ch; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: #a9b4c6; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 600px) { .hero { padding: 80px 0 100px; } }

/* Flowing lines — the "undercurrent" motif */
.flow { position: absolute; inset: auto 0 0 0; height: 70%; width: 100%; opacity: .9; pointer-events: none; }
.flow path { fill: none; stroke-width: 1.5; }
.flow .base { stroke: url(#flowGrad); opacity: .25; }
.flow .dash { stroke: url(#flowGrad); stroke-dasharray: 2 22; stroke-linecap: round; stroke-width: 2.5; animation: flow 6s linear infinite; }
.flow .dash:nth-of-type(2n) { animation-duration: 9s; }
.flow .dash:nth-of-type(3n) { animation-duration: 12s; }
@keyframes flow { to { stroke-dashoffset: -480; } }
@media (prefers-reduced-motion: reduce) {
  .flow .dash { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
@media (max-width: 600px) { section { padding: 72px 0; } }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 18px 40px -24px rgba(7, 17, 31, .35); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Process */
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.steps li::before {
  content: "";
  position: absolute; top: -2px; left: 0; width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.steps .num { font-size: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 19px; margin: 8px 0 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Tech stack */
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding: 0; list-style: none; }
.stack li {
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}

/* About */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.about-visual {
  aspect-ratio: 1 / 1; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(400px 300px at 30% 20%, #12345a, transparent 70%), var(--ink);
  display: grid; place-items: center;
}
.about-visual svg { width: 70%; }
.about p + p { margin-top: 16px; }
.about .body { color: var(--muted); font-size: 18px; }
.about h2 { font-size: clamp(30px, 4vw, 42px); margin: 12px 0 20px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 36px; } .about-visual { max-width: 360px; } }

/* Contact */
.contact-box {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: 72px 32px; color: #e7ecf4;
  background: radial-gradient(800px 400px at 50% 120%, #0f4f5a, transparent 70%), var(--ink);
}
.contact-box h2 { font-size: clamp(30px, 4.5vw, 48px); }
.contact-box p { color: #a9b4c6; margin: 16px auto 32px; max-width: 48ch; font-size: 18px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 600px) { .contact-box { padding: 56px 20px; border-radius: 20px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 28px; }
.footer-top img { height: 28px; width: auto; }
.legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 32px; margin: 0; }
.legal dt { display: inline; font-weight: 600; color: var(--text); margin-right: 4px; }
.legal dd { display: inline; margin: 0; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #e7ecf4; padding: 24px; }
.notfound h1 { font-size: clamp(64px, 14vw, 140px); background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: #a9b4c6; margin: 12px 0 28px; }
