/* ===== Základ ===== */
:root {
  --green: #4a9b3f;
  --green-dark: #3a7d32;
  --blue: #2b4f9e;
  --navy: #0e1a33;
  --navy-2: #16264a;
  --ink: #1c2333;
  --muted: #5b6577;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 26, 51, 0.08);
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.6rem; }

/* ===== Tlačítka ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(74, 155, 63, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74, 155, 63, 0.45); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* ===== Hlavička ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 26, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}
.brand img { width: 40px; height: 40px; }
.brand-text { font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-text strong { color: #9fd695; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav .btn-nav { color: #fff; padding: 0.55rem 1.25rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(43, 79, 158, 0.45), transparent),
    radial-gradient(ellipse 50% 45% at 15% 90%, rgba(74, 155, 63, 0.22), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #9fd695;
  border: 1px solid rgba(159, 214, 149, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 21ch;
  margin: 0 auto 1.2rem;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.2rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero-sub strong { color: #fff; }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  list-style: none;
}
.hero-badges li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

/* ===== Sekce ===== */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; scroll-margin-top: 68px; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ===== Karty služeb ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: rgba(74, 155, 63, 0.12);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Kroky ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  list-style: none;
  counter-reset: none;
}

.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ===== O nás ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { color: var(--muted); margin-top: 1rem; }
.about-text p strong { color: var(--ink); }

.about-facts {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.about-facts li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.about-facts strong { font-size: 1.5rem; color: var(--navy); }
.about-facts span { color: var(--muted); font-size: 0.92rem; }

/* ===== Kontakt ===== */
.contact {
  background:
    radial-gradient(ellipse 55% 60% at 85% 15%, rgba(43, 79, 158, 0.4), transparent),
    radial-gradient(ellipse 45% 50% at 10% 90%, rgba(74, 155, 63, 0.2), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
}

.contact .section-eyebrow { color: #9fd695; }
.contact .section-lead { color: rgba(255, 255, 255, 0.8); margin-left: auto; margin-right: auto; }
.contact h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }

.contact-details {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 6rem);
  flex-wrap: wrap;
  text-align: left;
}
.contact-details h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9fd695;
  margin-bottom: 0.5rem;
}
.contact-details p { color: rgba(255, 255, 255, 0.85); font-size: 0.97rem; }

/* ===== Patička ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ===== Scroll-reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responzivita ===== */
@media (max-width: 860px) {
  .about-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 24px 1.2rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.8rem 0; font-size: 1.05rem; }
  .main-nav .btn-nav { text-align: center; margin-top: 0.6rem; padding: 0.8rem 1.25rem; }
}
