/* ==========================================================================
   pasportio — landing styl odvozený z aplikace (sky/teal + lime)
   Self-contained, žádné externí frameworky.
   Paleta: sky #0284c7 / #0369a1, pozadí #f0f9ff, lime #65a30d / #ecfccb,
   slate text, neutrály #e5e7eb / #f1f5f9, akcent/chyba #dc2626
   ========================================================================== */

:root {
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;

  --lime-50:  #f7fee7;
  --lime-100: #ecfccb;
  --lime-300: #bef264;
  --lime-500: #84cc16;
  --lime-600: #65a30d;
  --lime-700: #4d7c0f;
  --lime-800: #3f6212;

  --ink:    #0f172a;
  --ink-2:  #1f2937;
  --slate:  #475569;
  --slate-light: #64748b;
  --muted:  #94a3b8;

  --line:   #e5e7eb;
  --line-2: #f1f5f9;
  --danger: #dc2626;
  --amber:  #d97706;

  --radius:   16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-card: 0 4px 24px -8px rgba(15, 23, 42, .12);
  --shadow-soft: 0 10px 40px -12px rgba(2, 132, 199, .30);
  --shadow-lime: 0 10px 36px -12px rgba(101, 163, 13, .40);

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.6 'Inter', system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

@media (max-width: 640px) {
  body { font-size: 15px; }
}

/* ---- brand ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand .mark {
  display: inline-flex;
  height: 36px; width: 36px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--sky-600);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.brand .mark svg { height: 20px; width: 20px; }
.brand b { font-weight: 800; }
.brand .io { color: var(--sky-600); }
.brand--light { color: #fff; }
.brand--light .io { color: var(--lime-300); }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sky-100);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-links {
  display: none; gap: 26px;
  font-size: 14.5px; font-weight: 500; color: var(--slate);
}
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--sky-700); }
.header-cta { display: flex; align-items: center; gap: 12px; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn svg { height: 16px; width: 16px; }
.btn--primary { background: var(--sky-600); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--sky-700); }
.btn--lime { background: var(--lime-600); color: #fff; box-shadow: var(--shadow-lime); }
.btn--lime:hover { background: var(--lime-700); }
.btn--ghost { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--sky-200); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--sky-600); color: var(--sky-700); }
.btn--on-dark { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn--on-dark:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn-text { font-weight: 600; color: var(--sky-700); text-decoration: none; }
.btn-text:hover { color: var(--sky-800); }

/* ---- pill / eyebrow ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sky-200);
  padding: 7px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--sky-800);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pill .dot { height: 8px; width: 8px; border-radius: 999px; background: var(--lime-500); }
.eyebrow {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--sky-600);
}

/* ---- sections / headings ---- */
section { scroll-margin-top: 80px; }
.section { padding: 84px 0; }
.section--alt { background: var(--sky-50); border-top: 1px solid var(--sky-100); border-bottom: 1px solid var(--sky-100); }
.section--dark { background: var(--sky-900); color: #fff; }
.section-head { max-width: 680px; }
.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  color: var(--ink);
}
.section--dark .section-head h2 { color: #fff; }
.section-head p { margin: 16px 0 0; font-size: 18px; color: var(--slate); }
.section--dark .section-head p { color: var(--sky-100); }
.center { text-align: center; }
.center .section-head { margin: 0 auto; }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head p { font-size: 16px; }
}

/* ---- grids ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- cards ---- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
  padding: 28px;
}
.card--shadow { box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.card--sky { background: linear-gradient(180deg, var(--sky-50), #fff); box-shadow: 0 0 0 1px var(--sky-100); }
.card--lime { background: linear-gradient(180deg, var(--lime-50), #fff); box-shadow: 0 0 0 1px var(--lime-100); }
.card h3 { margin: 16px 0 0; font-size: 19px; font-weight: 700; color: var(--ink); }
.card p { margin: 8px 0 0; font-size: 14.5px; color: var(--slate); line-height: 1.6; }

.feat-icon {
  display: inline-flex; height: 50px; width: 50px;
  align-items: center; justify-content: center;
  border-radius: 14px; font-size: 24px;
}
.feat-icon--sky { background: var(--sky-600); color: #fff; box-shadow: var(--shadow-soft); }
.feat-icon--lime { background: var(--lime-600); color: #fff; box-shadow: var(--shadow-lime); }
.feat-icon--soft-sky { background: var(--sky-50); }
.feat-icon--soft-lime { background: var(--lime-50); }
.feat-icon--soft-rose { background: #fef2f2; }
.feat-icon--soft-amber { background: #fffbeb; }

/* ---- gallery figure ---- */
.figure {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line);
}
.figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line-2);
}
.figure .cap { padding: 18px 20px 20px; }
.figure .cap h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.figure .cap p { margin: 6px 0 0; font-size: 14px; color: var(--slate); line-height: 1.55; }

/* ---- price cards ---- */
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: left; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
.price {
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line); padding: 22px 20px;
  position: relative;
}
.price--hot { box-shadow: 0 0 0 2px var(--lime-500), var(--shadow-lime); background: rgba(247,254,231,.55); }
.price .seg { font-size: 13.5px; font-weight: 600; color: var(--slate-light); }
.price--hot .seg { color: var(--lime-700); }
.price .amt { margin-top: 8px; font-size: 24px; font-weight: 800; color: var(--ink); }
.price .per { font-size: 12px; color: var(--slate-light); }
.price .tag {
  position: absolute; top: -12px; left: 18px;
  background: var(--lime-600); color: #fff;
  border-radius: 999px; padding: 4px 12px;
  font-size: 12px; font-weight: 700;
}

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #94a3b8; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 48px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer p { font-size: 14px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-bottom {
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 12.5px;
}
.foot-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- hero map mock (CSS) ---- */
.mesh {
  background:
    radial-gradient(58% 58% at 12% 6%, rgba(56,189,248,.22) 0%, transparent 60%),
    radial-gradient(50% 50% at 92% 4%, rgba(163,230,53,.20) 0%, transparent 58%),
    radial-gradient(55% 55% at 50% 112%, rgba(2,132,199,.10) 0%, transparent 60%),
    linear-gradient(180deg, #f8fdff 0%, #ffffff 100%);
}
.app-frame {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--sky-200);
  overflow: hidden;
}
.app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--sky-100);
  background: rgba(240,249,255,.8);
  font-size: 11.5px;
}
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots span { height: 10px; width: 10px; border-radius: 999px; }
.app-bar .url { color: var(--muted); font-weight: 500; }
.app-bar .ready { color: var(--lime-700); font-weight: 700; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; }
.step .num {
  position: absolute; top: -14px; left: -14px;
  height: 38px; width: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-weight: 700; color: #fff; font-size: 15px;
  background: var(--sky-600); box-shadow: var(--shadow-soft);
}
.step .num.lime { background: var(--lime-600); box-shadow: var(--shadow-lime); }

/* checklist on dark */
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 12px; color: var(--sky-100); }
.checklist .tick {
  flex: none; margin-top: 2px;
  height: 24px; width: 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime-500); color: #fff; font-size: 13px; font-weight: 700;
}
.checklist b { color: #fff; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  border-radius: var(--radius); background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); padding: 22px;
}
.stat .big { font-size: 28px; font-weight: 800; color: var(--lime-300); }
.stat .lbl { margin-top: 4px; font-size: 14px; color: var(--sky-200); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.mt-s { margin-top: 12px; }
.mt-m { margin-top: 22px; }
.mt-l { margin-top: 40px; }
.muted-note { font-size: 14px; color: var(--slate-light); }

/* ==========================================================================
   Kontaktní formulář
   ========================================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* checklist v sekci kontakt je na světlém pozadí → přebarvit text */
#kontakt .checklist li { color: var(--slate); }
#kontakt .checklist b { color: var(--ink); }

.contact-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line);
  padding: 28px; display: grid; gap: 18px;
}
.contact-card .field { display: grid; gap: 7px; }
.contact-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .contact-card .field-row { grid-template-columns: 1fr; } }
.contact-card label {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.contact-card .req { color: var(--lime-600); }
.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card textarea {
  width: 100%; box-sizing: border-box;
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--sky-200); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.contact-card textarea { resize: vertical; min-height: 110px; }
.contact-card input:focus,
.contact-card textarea:focus {
  outline: none; border-color: var(--sky-600);
  box-shadow: 0 0 0 3px rgba(2,132,199,.15);
}
.contact-card input:invalid:not(:placeholder-shown),
.contact-card textarea:invalid:not(:placeholder-shown) {
  border-color: var(--danger);
}
.contact-card .gdpr {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; font-weight: 400; line-height: 1.5; color: var(--slate);
}
.contact-card .gdpr input { flex: none; margin-top: 2px; width: 17px; height: 17px; accent-color: var(--lime-600); }
.contact-card .gdpr a { color: var(--sky-700); text-decoration: underline; text-underline-offset: 2px; }
.contact-card .btn { justify-self: start; }
.contact-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cf-status { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.cf-status--ok {
  color: var(--lime-700); background: var(--lime-50);
  padding: 12px 14px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--lime-100);
}
.cf-status--err {
  color: var(--danger); background: #fef2f2;
  padding: 12px 14px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px #fecaca;
}
