/* ============================================================
   dronecheck.cz — main stylesheet
   ============================================================ */

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

:root {
  --primary:      #0f172a;
  --accent:       #ea580c;
  --accent-dark:  #c2410c;
  --text:         #1e293b;
  --text-light:   #64748b;
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --border:       #e2e8f0;
  --radius:       10px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  font-size: 1rem;
  font-family: inherit;
}
.btn-primary       { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline       { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---- Nav ---- */
nav {
  position: sticky;
  top: 0;
  background: var(--primary);
  z-index: 100;
  padding: 0.875rem 0;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo .dot { color: var(--accent); }
.btn-nav {
  background: var(--accent);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--accent-dark); }

/* ---- Hero ---- */
#hero {
  background: linear-gradient(135deg, #0c1a2e 0%, #1a3a5c 100%);
  color: white;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#hero h1 em {
  font-style: normal;
  color: var(--accent);
}
#hero .lead {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Section base ---- */
section { padding: 4.5rem 0; }

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Services ---- */
#sluzby { background: var(--bg-alt); }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card-icon { font-size: 2rem; margin-bottom: 0.875rem; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.55; }

/* ---- Případovky ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.case-img {
  height: 200px;
  background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
}
.case-img span { opacity: 0.6; }
.case-body { padding: 1.25rem; }
.case-tag {
  display: inline-block;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.case-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.case-body p { color: var(--text-light); font-size: 0.875rem; margin-bottom: 0.875rem; line-height: 1.5; }
.case-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1rem; color: var(--text); font-weight: 700; }
.stat span { font-size: 0.78rem; color: var(--text-light); }

/* ---- Demo ---- */
#demo {
  background: linear-gradient(135deg, #0c1a2e, #1a3a5c);
  color: white;
  text-align: center;
}
#demo h2 { color: white; }
#demo .section-sub { color: #94a3b8; }
.demo-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  max-width: 580px;
  margin: 0 auto;
}
.demo-box .demo-icon { font-size: 3rem; margin-bottom: 1rem; }
.demo-box p { color: #94a3b8; margin-bottom: 1.75rem; font-size: 0.95rem; }
.demo-note { font-size: 0.8rem; color: #64748b; margin-top: 1rem; }

/* ---- Pro koho ---- */
#pro-koho { background: var(--bg-alt); }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}
.tag {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* ---- Proč já ---- */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.proc-item { display: flex; gap: 1rem; align-items: flex-start; }
.proc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.proc-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.proc-item p { color: var(--text-light); font-size: 0.875rem; line-height: 1.55; }

/* ---- Kontakt ---- */
#kontakt { background: var(--bg-alt); }
.kontakt-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.kontakt-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.kontakt-info p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.75rem; line-height: 1.6; }
.kontakt-links { display: flex; flex-direction: column; gap: 0.875rem; }
.kontakt-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.kontakt-link:hover { color: var(--accent); }
.klink-icon {
  width: 42px;
  height: 42px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.region-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- Form ---- */
form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--accent-dark); }
.form-note { font-size: 0.78rem; color: var(--text-light); }

/* ---- Footer ---- */
footer {
  background: var(--primary);
  color: #475569;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.825rem;
}
footer a { color: #64748b; text-decoration: none; }
footer a:hover { color: #94a3b8; }

/* ---- Report download link ---- */
.case-report {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.case-report a {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.case-report a:hover { text-decoration: underline; }

/* ---- Success banner ---- */
#success-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #16a34a;
  color: white;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  section { padding: 3.5rem 0; }
  #hero { padding: 4rem 0 3.5rem; }
  .kontakt-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .proc-grid { grid-template-columns: 1fr; }
  #hero h1 { font-size: 1.6rem; }
  .hero-cta { flex-direction: column; align-items: center; }
}
