/* SV Consulting — vedenie uctovnictva. Farby podla manualu loga: modra #28A8E0, cierna. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #28a8e0;
  --brand-ink: #0a6c98;     /* tmavsia modra pre text a odkazy — citatelna na bielom */
  --brand-soft: #e8f6fc;
  --ink: #0d1117;
  --text: #2c323a;
  --muted: #5d6673;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 17, 23, .04), 0 8px 24px rgba(13, 17, 23, .06);
  --wrap: 1120px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font: 600 .78rem/1 var(--head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 18px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Tlacidla */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--head);
  padding: 16px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); }

/* Hlavicka */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--text); text-decoration: none; font: 500 .96rem/1 var(--head); }
.nav a:hover { color: var(--brand-ink); }
.nav .btn { padding: 12px 20px; font-size: .92rem; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Uvod */
.hero { padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-soft), transparent);
  z-index: -1;
}
.hero h1 { max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--brand-ink); }
.hero .lead { margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  margin-top: 56px; padding: 0; list-style: none;
  color: var(--muted); font-size: .95rem;
}
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}

/* Sekcie */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 52px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #cfe9f6; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink);
  margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }

/* Postup */
.steps { counter-reset: krok; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: krok;
  content: "0" counter(krok);
  position: absolute; top: 0; left: 0;
  font: 700 2.1rem/1 var(--head);
  color: var(--brand);
}
.step p { color: var(--muted); margin: 0; }

/* Preco my */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks strong { display: block; color: var(--ink); font-family: var(--head); font-weight: 600; margin-bottom: 2px; }
.checks span { color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 600 .88rem/1.3 var(--head); color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid #d4dbe3; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.consent { display: flex; gap: 12px; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--brand-ink); }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }

.info { display: grid; gap: 28px; }
.info h3 { margin-bottom: 6px; }
.info p { margin: 0; color: var(--muted); }
.info a { text-decoration: none; font-weight: 500; }
.info .big { font: 600 1.3rem/1.4 var(--head); color: var(--ink); }
.info .big a { color: var(--ink); }
.info .big a:hover { color: var(--brand-ink); }
.office { padding-top: 24px; border-top: 1px solid var(--line); }

/* Paticka */
.site-foot { background: var(--ink); color: #a9b2bd; padding: 56px 0 40px; font-size: .92rem; }
.site-foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.site-foot img { height: 64px; width: auto; }
.site-foot p { margin: 0 0 4px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--brand); }
.foot-links { display: grid; gap: 8px; text-align: right; justify-items: end; }
.site-foot .btn-foot { background: var(--brand); color: var(--ink); padding: 13px 22px; font-size: .92rem; margin-bottom: 10px; }
.site-foot .btn-foot:hover { background: #fff; color: var(--ink); }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid #242b35; padding-top: 22px; margin-top: 8px; color: #7d8793; }

/* Pravne stranky */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }

/* Mobil */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .grid-3, .steps, .form .row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .wrap { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .foot-links { text-align: left; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
