/* ============================================================
   ŠABLONA: ÚKLIDOVÁ FIRMA
   UPRAV: barvy měníte v proměnných níže (:root)
   ============================================================ */
:root {
  --green-900: #0c3b2e;
  --green-700: #145c45;
  --green-500: #16a34a;
  --green-100: #e8f6ee;
  --mint: #f4fbf7;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1e2b26;
  --text-light: #63736c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(12, 59, 46, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.2; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--green-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--green-900); text-decoration: none; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; }
.logo strong { color: var(--green-500); }
.logo-icon { width: 28px; height: 28px; color: var(--green-500); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--green-700); text-decoration: none; font-weight: 600; font-size: 0.96rem; transition: color 0.2s; }
.main-nav a:hover { color: var(--green-500); }
.nav-cta {
  background: var(--green-500); color: #fff !important; padding: 9px 20px;
  border-radius: 999px; font-weight: 700 !important; transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-700); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px auto; border-radius: 2px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(22, 163, 74, 0.22), transparent 60%),
    radial-gradient(700px 420px at 5% 110%, rgba(245, 158, 11, 0.14), transparent 60%),
    linear-gradient(160deg, var(--mint) 0%, var(--green-100) 60%, #d8f0e2 100%);
  padding: 100px 0 84px;
}
.hero-inner { max-width: 740px; }
.hero-kicker { color: var(--green-700); font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.85rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; color: var(--green-900); letter-spacing: -0.5px; }
.hero .highlight { color: var(--green-500); }
.hero-sub { margin: 22px 0 34px; font-size: 1.18rem; color: var(--text-light); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 46px; list-style: none; }
.hero-trust li { color: var(--text-light); font-size: 0.95rem; }
.hero-trust strong { display: block; font-family: 'Sora', sans-serif; font-size: 2rem; color: var(--green-500); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 700; border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 163, 74, 0.45); }
.btn-outline { border: 2px solid var(--green-700); color: var(--green-700); }
.btn-outline:hover { background: rgba(20, 92, 69, 0.07); }

/* ---------- Sekce ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--mint); }
.section-kicker { color: var(--green-500); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 8px; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; color: var(--green-900); }
.section-sub { color: var(--text-light); max-width: 660px; margin: 12px 0 44px; font-size: 1.05rem; }

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

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }

.service-card { border-top: 4px solid var(--green-500); transition: transform 0.25s, box-shadow 0.25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12, 59, 46, 0.16); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; color: #fff; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--green-900); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Kalkulace ---------- */
.calc-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 36px; }
.calc-label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 1.05rem; }
.calc-label strong { color: var(--green-500); font-size: 1.3rem; }
.calc-slider {
  width: 100%; height: 8px; border-radius: 999px; appearance: none; -webkit-appearance: none;
  background: linear-gradient(to right, var(--green-500), var(--green-100)); outline: none; margin-bottom: 26px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--green-500); cursor: pointer;
  box-shadow: 0 3px 10px rgba(12, 59, 46, 0.25);
}
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--green-500); cursor: pointer;
}
.calc-field { border: 0; margin-bottom: 22px; }
.calc-field legend { font-weight: 700; color: var(--green-900); margin-bottom: 10px; font-size: 1rem; }
.calc-input-row { display: flex; align-items: center; gap: 10px; }
.calc-input-row input {
  width: 120px; padding: 10px 14px; border: 2px solid var(--green-100); border-radius: 10px;
  font: inherit; font-weight: 600; color: var(--green-900);
}
.calc-input-row input:focus { outline: none; border-color: var(--green-500); }
.calc-radio, .calc-check {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px;
  border: 1.5px solid var(--green-100); border-radius: 10px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s; font-weight: 500;
}
.calc-radio:hover, .calc-check:hover { border-color: var(--green-500); background: var(--mint); }
.calc-radio input, .calc-check input { accent-color: var(--green-500); width: 17px; height: 17px; }
.calc-radio span, .calc-check span { margin-left: auto; color: var(--text-light); font-size: 0.9rem; font-weight: 600; }
.calc-right {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  border-radius: var(--radius); padding: 34px 30px; color: #fff;
  display: flex; flex-direction: column; text-align: center; align-self: start;
}
.calc-result-label { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: #a7d8bf; font-weight: 700; }
.calc-result { font-family: 'Sora', sans-serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; margin: 10px 0 4px; }
.calc-note { color: #a7d8bf; font-size: 0.95rem; }
.calc-disclaimer { color: #7fb598; font-size: 0.82rem; margin: 18px 0 22px; }

/* ---------- Recenze ---------- */
.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-card .stars { color: var(--accent); letter-spacing: 3px; font-size: 1.1rem; }
.review-card p { font-style: italic; color: var(--text); }
.review-card footer { margin-top: auto; }
.review-card footer strong { display: block; color: var(--green-900); }
.review-card footer span { color: var(--text-light); font-size: 0.88rem; }

/* ---------- Kontakt ---------- */
.section-dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(22, 163, 74, 0.3), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-700));
  color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-kicker { color: #7fe0a8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list svg { width: 22px; height: 22px; color: #7fe0a8; flex-shrink: 0; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: #7fe0a8; }
.contact-ico { margin-top: 26px; color: #a7d8bf; font-size: 0.9rem; }
.map-placeholder {
  background: rgba(255, 255, 255, 0.07); border: 2px dashed rgba(255, 255, 255, 0.3);
  color: #d4ecdd; text-align: center; padding: 60px 24px; box-shadow: none;
}
.map-placeholder svg { width: 44px; height: 44px; color: #7fe0a8; margin-bottom: 12px; }
.map-placeholder p { font-size: 0.95rem; }

/* ---------- Patička ---------- */
.site-footer { background: #07281f; color: #8fb8a3; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.92rem; }
.footer-inner a { color: #b8d8c6; text-decoration: none; }
.footer-inner a:hover { color: #7fe0a8; }

/* ---------- Responzivita ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 20px 22px; gap: 4px; border-bottom: 1px solid var(--green-100);
    transform: translateY(-140%); transition: transform 0.3s ease; z-index: -1;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--green-100); }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .calc-wrap { padding: 24px 20px; }
  .hero-trust { gap: 22px; }
}
