/* Martin Mádle - business konzultace. Statický web, bez JS závislostí (kromě Google Fonts). */

:root {
  --dark: #10131c;
  --dark-2: #171b28;
  --ink: #12141c;
  --ink-soft: #57616f;
  --on-dark: #ffffff;
  --on-dark-soft: #a7b0c2;

  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #e6e9ef;
  --line-dark: #262b3a;

  --primary: #2f5fe0;
  --primary-dark: #1f47b8;
  --primary-light-text: #7ea0ff;
  --primary-tint: #eaf0ff;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 960px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", -apple-system, sans-serif;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 14px;
}

img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.dark .eyebrow { color: var(--primary-light-text); }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo span { color: var(--primary); }

nav.main ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

nav.main a[aria-current="page"],
nav.main a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Dark sections (hero, CTA band, footer) */
.dark {
  background: var(--dark);
  color: var(--on-dark-soft);
  position: relative;
  overflow: hidden;
}

.dark::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 95, 224, .35), rgba(47, 95, 224, 0));
  pointer-events: none;
}

footer.dark::before { display: none; }

.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn):not(.btn-ghost) { color: var(--primary-light-text); }

/* Hero */
.hero {
  padding: 84px 0 68px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  max-width: 18ch;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--on-dark-soft);
  margin: 0 0 30px;
  max-width: 58ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
}
.btn:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 25px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
.dark + section, section + .dark { border-top: none; }

section.soft { background: var(--bg-soft); }

h2 { font-size: 1.65rem; margin: 0 0 24px; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; }

.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); margin: 0; }

ul.plain, ol.plain { padding-left: 20px; margin: 0 0 16px; }
ul.plain li, ol.plain li { margin-bottom: 8px; }

/* Checklist with icon */
ul.check {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
ul.check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232f5fe0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10l4 4 8-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Icon circle for cards */
.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}
.icon-circle svg { width: 22px; height: 22px; }

/* Tracks (Úvod - dvě roviny) */
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) { .tracks { grid-template-columns: 1fr; } }

.track {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.track:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(15,23,42,.08), 0 18px 36px rgba(15,23,42,.1);
}
.track h3 { color: var(--ink); }
.track a.more { font-weight: 700; }

/* Feature row (Jak spolupracujeme) - alternating text/graphic */
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.feature-row.reverse { grid-template-columns: 0.9fr 1.1fr; }
.feature-row.reverse .feature-graphic { order: 2; }
.feature-row.reverse .feature-text { order: 1; }
@media (max-width: 720px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-graphic,
  .feature-row.reverse .feature-text { order: 0; }
}

.feature-graphic {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-tint), #ffffff);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.feature-graphic svg { width: 46%; height: 46%; }

.feature-row + .feature-row { margin-top: 56px; }

/* FAQ */
.faq dt {
  font-weight: 700;
  margin-top: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}
.faq dd {
  margin: 6px 0 0 19px;
  color: var(--ink-soft);
}

/* Contact */
.contact-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.contact-block dl { margin: 0; }
.contact-block dt {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 16px;
}
.contact-block dd { margin: 3px 0 0; font-size: 1.08rem; }

/* Footer */
footer.site {
  padding: 36px 0;
  font-size: 0.9rem;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
footer.site a { color: var(--primary-light-text); }
