/* ===== Reset & base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  color: #0d1b2a;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 45%,
    #dcecff 60%,
    #6fa8ff 80%,
    #0040b3 100%
  );
  background-attachment: fixed;
}

/* ===== Helpers ===== */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 60px 0;
}

/* ===== Fixed logo ===== */
.logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 84px;
  height: auto;
  z-index: 1000;
  pointer-events: none;
}
@media (max-width: 640px){
  .logo { width: 64px; top: 12px; left: 12px; }
}

/* ===== HERO ===== */
.hero-content {
  padding-top: 120px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-content.single h1 {
  font-size: clamp(32px, 5vw, 50px);
  margin-bottom: 18px;
  line-height: 1.2;
}
.hero-content.single h1 .line {
  display: block;      /* každý span nový řádek */
}
.hero-content.single .lead {
  font-size: clamp(16px, 2vw, 20px);
  color: #2c3e50;
}

/* ===== BLOKY ===== */
.block .container{
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text img";
  align-items: center;
  gap: 48px;
}
.block-left  { grid-area: text; }
.block-right { grid-area: img;  }

.block.text-right .container{
  grid-template-areas: "img text" !important;
}

.block h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}
.block p, .block li {
  font-size: 16px;
  color: #243447;
}
.block ul { padding-left: 18px; }

/* ===== Obrázky – jednotná velikost ===== */
.block img {
  width: 100%;
  max-width: 380px;
  max-height: 280px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,.1);
  justify-self: center;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-form {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
}

.contact-form h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input,
textarea {
  flex: 1;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  outline: none;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, textarea:focus {
  border-color: #9ab6ff;
  box-shadow: 0 0 0 3px rgba(106,151,255,.25);
}

button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #0040b3;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease;
}
button:hover { filter: brightness(1.07); }

/* Pravý sloupec (jen text) */
.contact-info {
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

/* ===== Responsivita ===== */
@media (max-width: 900px){
  .block .container,
  .block.text-right .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "img";
    text-align: center;
  }
  .lead { margin: 0 auto; }

  /* HERO pro mobily */
  .hero-content {
    padding-top: 80px; /* menší mezera odshora */
  }
  .hero-content.single h1 {
    font-size: 22px;        /* menší text */
    line-height: 1.3;       /* vzdušnější řádkování */
  }
  .hero-content.single h1 .line {
    display: block;
    margin-bottom: 6px;     /* mezera mezi řádky */
  }
  .hero-content.single .lead {
    font-size: 14px;
  }

  .block img {
    max-width: 260px;
    max-height: 200px;
    margin: 0 auto;
  }

  /* contact stacked */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

