:root {
  --bg: #f4f8ff;
  --surface: rgba(255,255,255,.88);
  --surface-strong: #ffffff;
  --text: #0b1533;
  --muted: #5b6786;
  --line: rgba(11, 21, 51, .08);
  --blue-dark: #071a4d;
  --blue: #1259ff;
  --blue-light: #22c7ff;
  --blue-soft: #eaf2ff;
  --shadow: 0 22px 64px rgba(8, 23, 63, .10);
  --shadow-strong: 0 28px 90px rgba(6, 17, 46, .18);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(34,199,255,.22), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 36px 0 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(11,21,51,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand-name { font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; }
.nav-links {
  display: flex; align-items: center; justify-content: center; gap: 30px;
  font-weight: 600; color: var(--muted);
}
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a.active,
.nav-links a:hover { color: var(--blue-dark); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; width: 46px; height: 46px; padding: 0; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display:block; position: relative; width: 20px; height: 2px; margin: 0 auto; background: var(--blue-dark); border-radius: 2px; content: ""; }
.menu-btn span::before { position:absolute; top:-6px; }
.menu-btn span::after { position:absolute; top:6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 16px; border: 1px solid transparent;
  font-weight: 700; letter-spacing: -.01em; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #0f7fff); box-shadow: 0 16px 28px rgba(18,89,255,.24); }
.btn-secondary { color: var(--blue-dark); background: rgba(255,255,255,.74); border-color: rgba(10, 18, 44, .12); }
.hero {
  position: relative; overflow: hidden; margin-top: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-strong); border-radius: 36px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 620px; }
.hero-copy { padding: 56px 56px 56px 56px; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .4em; font-size: .84rem; color: #586787; margin-bottom: 18px; font-weight: 700;
}
.hero-logo { width: min(690px, 100%); margin-bottom: 20px; }
.hero-title { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.05em; }
.hero-text { font-size: 1.28rem; line-height: 1.55; color: #33415f; max-width: 700px; margin: 0 0 26px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 28px; }
.feature-pill {
  display: flex; align-items: center; gap: 12px; background: rgba(233,241,255,.72);
  color: var(--blue-dark); border: 1px solid rgba(18,89,255,.08); padding: 14px 16px; border-radius: 18px; min-width: 185px;
}
.feature-pill .icon { width: 42px; height: 42px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 8px 18px rgba(20,65,183,.08); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 65% 22%, rgba(255,211,142,.78), transparent 11%),
    linear-gradient(180deg, rgba(125,187,255,.18), rgba(5, 17, 45, .3)),
    linear-gradient(160deg, #ddebff 0%, #1a4ec2 55%, #07153c 100%);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(transparent 68%, rgba(8,20,50,.35) 69%, rgba(8,20,50,.68) 100%);
}
.hero-visual::after {
  content: ""; position: absolute; inset: auto -6% 0 30%; height: 70%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.02));
  clip-path: polygon(0 65%, 15% 40%, 24% 45%, 38% 22%, 50% 34%, 69% 8%, 85% 34%, 100% 18%, 100% 100%, 0 100%);
  opacity: .22;
}
.hero-watermark {
  position: absolute; right: 6%; top: 8%; width: min(70%, 610px); opacity: .22; filter: drop-shadow(0 18px 50px rgba(0,0,0,.12));
}
.hero-tag-stack {
  position: absolute; right: 7%; top: 20%; z-index: 3; text-align: left;
  color: rgba(245,249,255,.95); text-transform: uppercase; font-size: 1.1rem; line-height: 1.75; letter-spacing: .2em; font-weight: 700;
}
.hero-tag-stack::after { content:""; display:block; width:72px; height:4px; border-radius:4px; margin-top:18px; background: linear-gradient(90deg, #fff, rgba(255,255,255,.2)); }
.hero-figure {
  position: absolute; left: 40%; bottom: 22%; width: 76px; height: 180px; z-index: 4;
}
.hero-figure .body { position:absolute; left: 50%; top: 28px; width: 20px; height: 72px; transform: translateX(-50%); border-radius: 14px; background: #111827; }
.hero-figure .head { position:absolute; left:50%; top: 0; width:26px; height:26px; transform: translateX(-50%); background:#111827; border-radius:50%; }
.hero-figure .leg-left, .hero-figure .leg-right, .hero-figure .arm-left, .hero-figure .arm-right {
  position:absolute; background:#111827; border-radius: 999px;
}
.hero-figure .leg-left { left: 25px; top: 88px; width: 11px; height: 68px; transform: rotate(8deg); }
.hero-figure .leg-right { right: 25px; top: 88px; width: 11px; height: 68px; transform: rotate(-8deg); }
.hero-figure .arm-left { left: 20px; top: 40px; width: 9px; height: 54px; transform: rotate(18deg); }
.hero-figure .arm-right { right: 20px; top: 40px; width: 9px; height: 54px; transform: rotate(-18deg); }
.hero-figure .backpack { position:absolute; left:50%; top: 42px; width: 30px; height: 38px; transform: translateX(-50%); background: #1f2937; border-radius: 10px; }
.hero-rock {
  position: absolute; left: 31%; bottom: 0; width: 54%; height: 48%; background: linear-gradient(180deg, #364964 0%, #112341 75%, #091225 100%);
  clip-path: polygon(3% 100%, 26% 63%, 39% 31%, 57% 24%, 75% 37%, 93% 44%, 100% 100%);
  z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.hero-rock::after {
  content:""; position:absolute; inset: 0; background: linear-gradient(90deg, transparent 0 28%, rgba(255,255,255,.12) 34%, transparent 42%, rgba(255,255,255,.06) 67%, transparent 100%);
  mix-blend-mode: screen; opacity: .45;
}
.metrics {
  display: grid; gap: 24px; grid-template-columns: minmax(260px, 340px) 1fr; align-items: start; margin-top: 44px;
}
.section-head h2, .about-copy h2, .contact-card h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.08; margin: 10px 0 14px; letter-spacing: -.05em; }
.section-head p, .about-copy p, .contact-card p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; }
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.project-card {
  background: rgba(255,255,255,.86); border: 1px solid rgba(10,18,44,.08); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(8,23,63,.16); }
.project-media { aspect-ratio: 4 / 2.55; width: 100%; object-fit: cover; }
.project-body { padding: 22px; display: grid; gap: 12px; }
.project-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.project-title { font-size: 1.38rem; font-weight: 800; letter-spacing: -.03em; }
.project-title small { display: block; margin-top: 6px; color: var(--muted); font-size: .97rem; font-weight: 500; }
.project-badge {
  display:inline-flex; align-items:center; gap:8px; border-radius: 999px; padding: 8px 12px; font-size: .82rem; font-weight: 700; color: #fff;
}
.badge-turnier1 { background: linear-gradient(90deg, #00b36f, #15e07a); }
.badge-konilio { background: linear-gradient(90deg, #1b4cff, #29b0ff); }
.badge-obsevio { background: linear-gradient(90deg, #7336ff, #c158ff); }
.badge-medilia { background: linear-gradient(90deg, #00aeca, #0ed7b8); }
.badge-kickify { background: linear-gradient(90deg, #f27500, #ffaf00); }
.badge-konzept84 { background: linear-gradient(90deg, #59657d, #8c96ab); }
.project-copy { color: #495879; line-height: 1.65; font-size: 1rem; }
.about-shell {
  margin-top: 44px; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  border: 1px solid rgba(10,18,44,.08); border-radius: 34px; padding: 34px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
}
.about-brand {
  background: linear-gradient(180deg, #fbfdff, #eef4ff); border: 1px solid rgba(10,18,44,.08); border-radius: 28px;
  padding: 34px; display:grid; gap: 26px;
}
.about-brand img { max-width: 360px; }
.about-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.point {
  background: #fff; border: 1px solid rgba(10,18,44,.07); border-radius: 22px; padding: 22px;
}
.point .point-icon {
  width: 48px; height: 48px; border-radius: 16px; display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(18,89,255,.12), rgba(34,199,255,.18)); font-size: 1.25rem; margin-bottom: 14px;
}
.point h3 { margin: 0 0 8px; font-size: 1.15rem; }
.point p { margin: 0; color: var(--muted); line-height: 1.6; }
.contact-shell { padding: 44px 0 56px; }
.contact-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #08194c, #0b60ff 52%, #22c7ff 100%);
  color: #fff; border-radius: 34px; padding: 42px; box-shadow: var(--shadow-strong);
}
.contact-card::after {
  content:""; position:absolute; right:-10%; top:-24%; width:420px; height:420px; background: rgba(255,255,255,.14); filter: blur(5px); border-radius: 50%;
}
.contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; position:relative; z-index:1; }
.contact-list { display:grid; gap: 16px; }
.contact-item {
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 16px 18px;
}
.contact-item span { display:block; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; opacity:.76; margin-bottom:6px; }
.contact-item strong { font-size: 1.08rem; }
.footer {
  padding: 18px 0 32px; color: #5f6b87;
}
.footer-inner {
  border-top: 1px solid rgba(10,18,44,.08); padding-top: 24px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
}
.footer-links { display:flex; gap:18px; flex-wrap:wrap; }
.legal-page .hero-mini {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.86)); border-radius: 32px; padding: 38px; box-shadow: var(--shadow); margin-top: 24px; border: 1px solid rgba(10,18,44,.08);
}
.legal-content {
  max-width: 980px; margin: 22px auto 46px; background: rgba(255,255,255,.9); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(10,18,44,.08);
}
.legal-content h2 { margin-top: 28px; }
.legal-content p, .legal-content li { color: #475774; line-height: 1.7; }
.reveal { opacity: 0; transform: translateY(20px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .hero-grid, .about-shell, .contact-grid, .metrics { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .hero-figure { left: 48%; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { min-height: 78px; }
  .nav-links {
    position: absolute; top: 82px; left: 16px; right: 16px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.98);
    border: 1px solid rgba(10,18,44,.08); box-shadow: var(--shadow); flex-direction: column; display:none;
  }
  .nav-links.open { display:flex; }
  .nav-actions .btn { display:none; }
  .menu-btn { display:block; }
  .hero-copy { padding: 36px 22px 28px; }
  .hero-visual { min-height: 360px; }
  .hero-watermark { width: 82%; right: 3%; top: 12%; }
  .hero-tag-stack { display:none; }
  .feature-pill { min-width: 100%; }
  .section-head h2, .about-copy h2, .contact-card h2 { font-size: 2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .about-shell, .contact-card, .legal-page .hero-mini, .legal-content { padding: 22px; }
  .contact-card { border-radius: 28px; }
}
