/* IHSV Revízie marketing – papier / atrament / pečať (≠ ERP forest, ≠ ihsv.eu slate) */
:root {
  --ink: #0B1F33;
  --ink-soft: #16324A;
  --cream: #F7F4EE;
  --cream-2: #EDE6D8;
  --paper: #FFFCF7;
  --gold: #C4A35A;
  --gold-deep: #A8853D;
  --seal: #1B7A4E;
  --line: rgba(11, 31, 51, 0.12);
  --muted: #5C6B7A;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.14);
  --radius: 1.15rem;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(196, 163, 90, 0.16), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(11, 31, 51, 0.06), transparent 50%),
    var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--cream); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .45rem;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.logo-mark {
  background: linear-gradient(135deg, var(--ink), #1a3a56);
  color: var(--gold);
  border-radius: .55rem;
  padding: .28rem .5rem;
  font-size: .72rem;
  letter-spacing: .08em;
}
.logo-text {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end;
  gap: .35rem .75rem; font-size: .88rem;
}
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; border-radius: 999px; padding: .62rem 1.15rem;
  font-weight: 650; font-size: .9rem; border: 1px solid transparent;
  text-decoration: none !important; cursor: pointer; transition: .15s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink) !important; box-shadow: 0 8px 22px rgba(168, 133, 61, 0.32);
}
.btn-primary:hover { filter: brightness(1.05); color: var(--ink) !important; }
.btn-ghost {
  border-color: var(--line); background: transparent; color: var(--ink) !important;
}
.btn-ghost:hover { background: rgba(11, 31, 51, .05); }
.btn-dark {
  background: var(--ink); color: var(--cream) !important;
}
.btn-dark:hover { background: var(--ink-soft); color: var(--cream) !important; }

.hero { padding: 3.2rem 0 2.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(196, 163, 90, .14);
  border: 1px solid rgba(196, 163, 90, .32); border-radius: 999px; padding: .35rem .75rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.05rem);
  line-height: 1.12; margin: 1rem 0 .75rem; font-weight: 650;
  letter-spacing: -0.02em;
}
.hero .lead {
  color: var(--muted); font-size: 1.05rem; max-width: 36rem; margin: 0 0 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.25rem; }
.hero-note { font-size: .85rem; color: var(--muted); }
.hero-note strong { color: var(--ink-soft); }

.hero-phone {
  background: var(--ink);
  color: var(--cream);
  border-radius: calc(var(--radius) + .25rem);
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  max-width: 22rem;
  margin-inline: auto;
}
.hero-phone::before {
  content: ""; position: absolute; inset: auto -20% -40% 30%;
  height: 70%; background: radial-gradient(circle, rgba(196, 163, 90, .38), transparent 65%);
  pointer-events: none;
}
.hero-phone picture, .hero-phone img {
  position: relative; z-index: 1;
}
.hero-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.4rem;
  border: 1px solid rgba(247, 244, 238, .14);
  background: #16324A;
}
.hero-pills {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; position: relative; z-index: 1;
}
.pill {
  font-size: .72rem; font-weight: 650; letter-spacing: .03em;
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(247, 244, 238, .08); border: 1px solid rgba(247, 244, 238, .14);
  color: #e8dfcf;
}

.section { padding: 3rem 0; }
.section-tight { padding: 2rem 0; }
.section h2 {
  font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 .4rem; letter-spacing: -0.02em;
}
.section .sub {
  color: var(--muted); max-width: 40rem; margin: 0 0 1.5rem;
}
.band {
  background: var(--ink);
  color: var(--cream);
  border-block: 1px solid rgba(247, 244, 238, .06);
}
.band .sub { color: #b8c4cc; }
.band h2 { color: var(--cream); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.05);
}
.card h3 {
  margin: 0 0 .4rem; font-size: 1.05rem; font-family: var(--display); font-weight: 600;
}
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card .ico {
  width: auto; min-width: 2.2rem; height: 2.2rem; padding: 0 .5rem; border-radius: .7rem;
  display: grid; place-items: center; margin-bottom: .75rem;
  background: rgba(196, 163, 90, 0.16); color: var(--gold-deep); font-weight: 800; font-size: .78rem;
}
.card ul {
  margin: .65rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .86rem;
}
.card li { margin: .28rem 0; }
.card .norm {
  display: block; margin-top: .55rem; font-size: .78rem; color: var(--muted); line-height: 1.4;
}
.band .card ul { color: #d6ddd8; }
.band .card .norm { color: #9aa8b0; }

.norm-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 8px 24px rgba(11, 31, 51, 0.05);
}
.norm-table th, .norm-table td {
  text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top;
}
.norm-table th {
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  background: var(--cream-2);
}
.norm-table tr:last-child td { border-bottom: 0; }
.norm-table strong { color: var(--ink); }
.new {
  display: inline-block; margin-left: .35rem; font-size: .68rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
  background: rgba(196, 163, 90, .28); border-radius: 999px; padding: .12rem .45rem;
  vertical-align: middle;
}

.sig-panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem; align-items: center;
  margin-top: 1.25rem;
}
@media (max-width: 800px) { .sig-panel { grid-template-columns: 1fr; } }
.sig-demo {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow);
}
.sig-demo .pad {
  margin: .75rem 0 .85rem; height: 7.2rem; background: #fff; border-radius: .85rem;
  border: 1px dashed rgba(196, 163, 90, .7);
  display: grid; place-items: center; color: var(--ink);
  font-weight: 700; font-size: .95rem;
}
.sig-demo .hint { font-size: .8rem; color: #b8c4cc; margin: 0; }
.band .card {
  background: rgba(247, 244, 238, 0.05);
  border-color: rgba(247, 244, 238, 0.1);
}
.band .card h3 { color: var(--cream); }
.band .card p { color: #b8c4cc; }
.band .card .ico { background: rgba(196, 163, 90, .18); color: #e8c989; }

.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem;
}
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  position: relative; padding: .65rem .75rem .65rem 2.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: .85rem;
  font-size: .92rem; color: var(--ink-soft);
}
.feature-list li::before {
  content: "✓"; position: absolute; left: .7rem; top: .65rem;
  color: var(--seal); font-weight: 800;
}
.band .feature-list li {
  background: rgba(247, 244, 238, 0.05);
  border-color: rgba(247, 244, 238, 0.1);
  color: #e8dfcf;
}
.band .feature-list li::before { color: var(--gold); }

.phones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 900px) { .phones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .phones { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; } }

.shot {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.shot:hover { color: inherit; }
.shot-frame {
  display: block;
  position: relative;
  background: var(--cream-2);
  overflow: hidden;
}
.shot-frame.phone { aspect-ratio: 9 / 16; }
.shot-frame.doc { aspect-ratio: 3 / 4; }
.shot-frame picture,
.shot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.shot-frame img {
  object-fit: cover;
  object-position: top center;
}
.shot figcaption {
  padding: .75rem 1rem; font-size: .85rem; color: var(--muted);
  border-top: 1px solid var(--line); background: var(--paper);
  margin: 0;
}
.shot figcaption strong { color: var(--ink); display: block; margin-bottom: .15rem; }

.doc-wrap {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 800px) { .doc-wrap { grid-template-columns: 1fr; } }

.price-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem;
}
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: rgba(196, 163, 90, .4);
}
.price-card .tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-deep);
}
.price-card.featured .tag { color: var(--gold); }
.price-card h3 {
  font-family: var(--display); margin: .35rem 0 .15rem; font-size: 1.35rem;
}
.price-card .amt {
  font-family: var(--display); font-size: 2.2rem; font-weight: 650; letter-spacing: -.03em;
  margin: .2rem 0 .5rem;
}
.price-card p { color: var(--muted); margin: 0 0 1rem; font-size: .92rem; }
.price-card.featured p { color: #b8c4cc; }
.price-card ul { margin: 0 0 1.1rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .9rem; }
.price-card.featured ul { color: #d6ddd8; }
.price-card li { margin: .28rem 0; }

.legal-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
@media (max-width: 800px) { .legal-strip { grid-template-columns: 1fr 1fr; } }
.legal-strip a {
  display: block; text-decoration: none; color: inherit;
  padding: 1rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper);
  transition: .15s ease;
}
.legal-strip a:hover {
  border-color: rgba(196, 163, 90, .45);
  box-shadow: 0 10px 28px rgba(11, 31, 51, .08);
}
.legal-strip strong { display: block; margin-bottom: .25rem; color: var(--ink); }
.legal-strip span { font-size: .82rem; color: var(--muted); }

.form-page { padding: 2rem 0 3.5rem; }
.form-page .lead { color: var(--muted); max-width: 38rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.1rem 0 1.2rem; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan {
  border: 2px solid var(--line); border-radius: 14px; padding: .9rem;
  cursor: pointer; background: var(--paper);
}
.plan.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 163, 90, .25); }
.plan .n { font-weight: 800; }
.plan .p { font-size: 1.35rem; font-weight: 800; margin-top: .2rem; }
.plan .d { font-size: 12px; color: var(--muted); margin-top: .25rem; }
.form-card label {
  display: block; font-size: .78rem; font-weight: 650; margin: 0 0 .3rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .04em;
}
.form-card .field, .form-card input, .form-card textarea { margin-bottom: .75rem; }
.form-card input, .form-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: .7rem;
  padding: .7rem .8rem; background: #fff; color: var(--ink); font: inherit;
}
.form-card input:focus, .form-card textarea:focus {
  outline: 2px solid rgba(196, 163, 90, .35); border-color: var(--gold);
}
.form-card button { width: 100%; }
.form-card button:disabled { opacity: .55; }
.muted { color: var(--muted); font-size: 13px; }
.row { display: grid; gap: .5rem 1rem; }
@media (min-width: 560px) { .row.cols-2 { grid-template-columns: 1fr 1fr; } }
.alert { border-radius: 12px; padding: .75rem; font-size: 14px; margin-bottom: .9rem; }
.alert-err { background: #fde8e6; color: #B42318; }
.alert-ok { background: #e4f4ea; color: #1B7A4E; }
.pay { display: none; }
.pay.show { display: block; }
.pay img { width: 240px; height: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pay-details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem; margin-top: 1rem; line-height: 1.5;
}

.legal-page { padding: 2.5rem 0 3.5rem; }
.legal-page article {
  max-width: 44rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem; box-shadow: var(--shadow);
}
.legal-page h1 {
  font-family: var(--display); font-size: 1.85rem; margin: 0 0 .5rem;
}
.legal-page .meta { color: var(--muted); font-size: .88rem; margin-bottom: 1.25rem; }
.legal-page h2 {
  font-family: var(--display); font-size: 1.15rem; margin: 1.4rem 0 .45rem;
}
.legal-page p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 .75rem; }
.legal-page ul { margin: 0 0 .9rem; padding-left: 1.2rem; color: var(--ink-soft); font-size: .95rem; }
.legal-page li { margin: .3rem 0; }
.legal-alert {
  background: rgba(196, 163, 90, .1); border: 1px solid rgba(196, 163, 90, .3);
  border-radius: .85rem; padding: .9rem 1rem; margin: 0 0 1.1rem; font-size: .92rem;
}
.back-link { display: inline-block; margin-bottom: 1rem; font-size: .9rem; }

.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: #c5d0d6;
  padding: 2.5rem 0 1.25rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 1.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { margin-bottom: .6rem; }
.footer-logo .logo-text { color: var(--cream); }
.footer-lead { font-size: .9rem; margin: 0 0 .75rem; color: #a8b5bc; }
.footer-protect {
  font-size: .78rem; line-height: 1.45; color: #8a9aa2;
  border-left: 3px solid var(--gold); padding-left: .75rem; margin: 0;
}
.site-footer h3 {
  margin: 0 0 .55rem; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: #e8dfcf;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer a { color: #c5d0d6; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; font-size: .88rem; line-height: 1.5; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem;
  border-top: 1px solid rgba(247, 244, 238, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .78rem; color: #7d8c94;
}
code { font-size: .95em; background: rgba(11, 31, 51, .06); padding: .05rem .3rem; border-radius: 4px; }
.band code { background: rgba(247, 244, 238, .1); }
