/* =========================
   Base / Reset
========================= */
:root{
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;

  --primary: #2563eb;   /* blue */
  --primary-2: #1d4ed8;
  --accent: #16a34a;    /* green */
  --accent-2: #15803d;

  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --shadow-2: 0 6px 18px rgba(2, 6, 23, 0.08);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;
  --pad: 18px;
  --pad-lg: 28px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{ box-sizing: border-box; }
html, body{
    height: 100%;
    scroll-behavior: smooth;
}
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--container), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}

.section-title{
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.section-subtitle{
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

/* screen-reader only */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* =========================    Header    ========================= */
.header{
  /*position: sticky;
  top: 0;*/
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}
.header__logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-text{
  font-size: 16px;
}
.header__nav{
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__nav a{
  font-size: 14px;
  color: var(--muted);
}
.header__nav a:hover{
  color: var(--text);
  text-decoration: none;
}
.header__burger{
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 32px;
}

/* =========================
   Buttons
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn--primary:hover{ background: var(--primary-2); text-decoration: none; }

.btn--secondary{
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover{
  border-color: #cbd5e1;
  text-decoration: none;
}

.btn--accent{
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn--accent:hover{ background: var(--accent-2); text-decoration: none; }

.btn--lg{
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 16px;
}

.btn--block{
  width: 100%;
}

/* =========================
   Hero
========================= */
.hero{
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--border);
}
.hero__inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 44px 0;
  align-items: center;
}
.hero__title{
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.hero__subtitle{
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 65ch;
  font-size: 16px;
}
.hero__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hero__micro{
  margin: 0;
  color: #64748b;
  font-size: 13px;
}
.hero__visual{
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero__visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   Decision cards
========================= */
.decision{
  padding: 26px 0 10px;
}
.cards{
  display: grid;
  gap: 16px;
}
.cards--3{
  grid-template-columns: repeat(3, 1fr);
}
.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(2,6,23,0.02);
}
.card__icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  font-size: 20px;
}
.card__title{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.card__text{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.card__fineprint{
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 10px;
}
.card--highlight{
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 10px 30px rgba(37,99,235,0.12);
}

/* inline form */
.form--inline{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.form--inline input{
  flex: 1;
  min-width: 200px;
}

/* =========================
   Forms
========================= */
form{ margin: 0; }
input, select, textarea{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(37,99,235,0.6);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
label{
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.form{
  display: grid;
  gap: 14px;
}
.form__group{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg-soft);
}
.form__group legend{
  padding: 0 8px;
  font-weight: 800;
  color: var(--text);
}
.form__consent{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}
.form__consent input{
  width: 18px; height: 18px;
  margin-top: 2px;
}
.form__fineprint{
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: -6px;
}

/* =========================
   How it works
========================= */
.how{
  padding: 26px 0;
}
.steps{
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.steps--3{ grid-template-columns: repeat(3, 1fr); }
.step{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}
.step__num{
  width: 38px; height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(22,163,74,0.10);
  border: 1px solid rgba(22,163,74,0.20);
  font-weight: 900;
  margin-bottom: 10px;
}
.step__title{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.step__text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   Pricing
========================= */
.pricing{
  padding: 26px 0 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing__grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}
.price-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 12px;
}
.price-card__header{
  display: grid;
  gap: 6px;
}
.price-card__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.price-card__tagline{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.price-card__price .price{
  font-size: 20px;
  font-weight: 900;
}
.price-card__list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 6px;
}
.price-card--featured{
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 16px 40px rgba(37,99,235,0.14);
  transform: translateY(-2px);
}

/* =========================
   About / Trust
========================= */
.about{
  padding: 30px 0;
}
.about__inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}
.about__text p{
  color: var(--muted);
  max-width: 70ch;
}
.about__visual{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

/* =========================
   Contact
========================= */
.contact{
  padding: 26px 0 44px;
}
.contact__grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
}
.contact__box{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(2,6,23,0.02);
}
.contact__box h3{
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.contact__box p{
  margin: 0 0 8px;
  color: var(--muted);
}

/* =========================
   Footer
========================= */
.footer{
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__nav{
  display: flex;
  gap: 12px;
}
.footer__nav a{
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Modal
========================= */
.modal[hidden]{ display: none; }
.modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.55);
}
.modal__panel{
  position: relative;
  width: min(720px, 100%);
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  padding: 18px;
  max-height: 85vh;
  overflow: auto;
}
.modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}
.modal__subtitle{
  margin: 6px 0 12px;
  color: var(--muted);
}

/* =========================
   Region extras (optional)
========================= */
.local-trust, .localities{
  padding: 20px 0;
}
.chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.oznameni-na-stred {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.body-na-stred {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home__back__box {
  display: flex;
  flex-direction: row;
  width: 20%;
  justify-content: space-around;
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
    .cards--3{ grid-template-columns: 1fr; }
    .steps--3{ grid-template-columns: 1fr; }
    .pricing__grid{ grid-template-columns: 1fr; }
    .about__inner{ grid-template-columns: 1fr; }
    .contact__grid{ grid-template-columns: 1fr; }
    .hero__inner{ grid-template-columns: 1fr; }
    .header__nav{
        display: none;
        order: 3;
        display: flex;
        flex-direction: column;
    }
    .header__nav a {
        font-size: 16px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-2);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        padding: 8px 10px;
        border: 1px solid transparent;
        cursor: pointer;
    }
    .header__nav a:active {
        transform: translateY(1px); 
    }
    .header__inner {
        display: flex;
        flex-direction: column;
    }
    .header__burger{ display: inline-flex; }
    .price-card--featured{ transform: none; }
    .navBox {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    #navigace {
        display: none;
    }.home__back__box {
        display: flex;
        flex-direction: column;
        width: 80%;
        height: 128px;
        justify-content: space-around;
}
}

@media (prefers-reduced-motion: reduce){
    .btn{ transition: none; }
}