/* DeskPoint s.r.o. – štýly webovej prezentácie */
:root {
  --bg: #06132a;
  --bg-alt: #0a1d3b;
  --card: #0f2547;
  --card-hi: #153360;
  --line: rgba(143, 180, 232, .2);
  --text: #e8eef7;
  --muted: #a9bbd6;
  --blue: #4f86c6;
  --blue-strong: #2f6fc2;
  --accent: #f0b45a;
  --accent-ink: #2a1a02;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 19, 42, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.brand small { font-family: var(--sans); font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: .95rem; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(79, 134, 198, .18); }
.nav a.nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-left: 6px; }
.nav a.nav-cta:hover { background: #f6c47c; color: var(--accent-ink); }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px rgba(240, 180, 90, .28); }
.btn-primary:hover { background: #f6c47c; }
.btn-ghost { border-color: rgba(232, 238, 247, .4); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(232, 238, 247, .08); }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-disabled { background: rgba(169, 187, 214, .12); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn-disabled:hover { transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 88px);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(47, 111, 194, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(79, 134, 198, .22), transparent 60%),
    linear-gradient(180deg, #081a38 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 180, 232, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 180, 232, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-visual { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform .3s; }
.hero-visual:hover { transform: rotate(0) translateY(-4px); }
.hero-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(6, 19, 42, .85); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .9rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-tag b { color: var(--accent); }

.stats { position: relative; margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: rgba(10, 29, 59, .92); padding: 20px 22px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--accent); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Sekcie ---------- */
section { padding: clamp(60px, 8vw, 100px) 0; scroll-margin-top: 68px; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: 10px; }

.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.two-col-docs { grid-template-columns: .8fr 1.2fr; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { margin-bottom: 14px; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts b { text-align: right; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mini .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(240, 180, 90, .14); color: var(--accent); font-weight: 800; margin-bottom: 14px; font-family: var(--serif); }
.mini h3 { font-size: 1.15rem; margin-bottom: 8px; }
.mini p { color: var(--muted); margin: 0; font-size: .98rem; }

.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.goal { border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; }
.goal b { display: block; color: var(--accent); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.goal p { margin: 0; color: var(--muted); font-size: .98rem; }
.after { margin-top: 26px; }

/* ---------- Sortiment ---------- */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.product { grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.product:nth-child(4), .product:nth-child(5) { grid-column: span 3; }
.product:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.product .pic { overflow: hidden; background: #0b1b33; }
.product .pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.product:hover .pic img { transform: scale(1.05); }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product h3 { margin-bottom: 6px; }
.product p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.product .go { margin-top: auto; color: var(--accent); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.product:hover .go { gap: 12px; }
.note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

.cta-band { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 28px 32px; border-radius: var(--radius); background: linear-gradient(120deg, #1a468a, #0f2c57); border: 1px solid rgba(143, 180, 232, .35); }
.cta-band h3 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: #cfe0f6; }
.cta-band a.url { color: var(--accent); word-break: break-all; }

/* ---------- Kroky ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 20px 22px; }
.steps li::before { content: counter(s); position: absolute; top: 16px; left: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Služby ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ret { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ret ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.ret li { margin-bottom: 8px; }
.ret li::marker { color: var(--accent); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact .mini a { color: var(--accent); font-weight: 700; text-decoration: none; word-break: break-word; }
.contact .mini a:hover { text-decoration: underline; }
.contact .mini small { color: var(--muted); display: block; margin-top: 6px; }

/* ---------- Dokumenty ---------- */
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: border-color .2s, transform .2s; }
.doc:hover { border-color: var(--accent); transform: translateX(3px); }
.doc .ico { width: 46px; height: 56px; border-radius: 8px; background: linear-gradient(160deg, #e8eef7, #b9c9e2); color: #14335f; display: grid; place-items: end center; padding-bottom: 6px; font-weight: 800; font-size: .72rem; position: relative; }
.doc .ico::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 14px 14px 0; border-color: transparent #0f2547 #7e97c0 transparent; border-top-left-radius: 0; }
.doc h3 { font-size: 1.05rem; margin: 0 0 2px; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.doc p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.doc .acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.doc .rtf { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.doc .rtf a { color: var(--accent); }

.eob { margin-top: 36px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius); border: 1px dashed rgba(240, 180, 90, .55); background: rgba(240, 180, 90, .06); }
.eob h3 { margin-bottom: 6px; }
.eob p { color: var(--muted); margin: 0 0 8px; }
.eob .placeholder { color: var(--accent); font-weight: 700; }
.eob .acts { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ---------- Päta ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; background: #040e20; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
.foot a { color: var(--text); }
.foot p { margin: 0; max-width: 62ch; }

/* ---------- Responzívnosť ---------- */
@media (max-width: 1020px) {
  .hero-grid, .two-col, .two-col-docs, .eob { grid-template-columns: 1fr; }
  .hero-visual { transform: none; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .product, .product:nth-child(4), .product:nth-child(5) { grid-column: span 1; }
  .product:nth-child(5) { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: repeat(2, 1fr); }
  .services, .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-in { flex-wrap: wrap; padding: 10px 0 8px; gap: 8px; }
  .nav { width: 100%; margin-left: 0; padding-bottom: 4px; }
  section { scroll-margin-top: 112px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .products, .steps, .contact, .services, .cards-3, .goals, .ret { grid-template-columns: 1fr; }
  .product:nth-child(5) { grid-column: span 1; }
  .doc { grid-template-columns: auto 1fr; }
  .doc .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .facts li { flex-direction: column; gap: 0; }
  .facts b { text-align: left; }
  .cta-band { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
