/* Reset */
* { box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
  background: #ffffff;
  color: #502F0C;
}

.page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}

/* Grid jako na náhledu */
.grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

/* LOGO vlevo nahoře – bez dlaždice */
.logo-area{
  min-height: 360px;     /* aby seděla výška k headline dlaždici */
  display: grid;
  place-items: center;
}

.logo{
  max-width: 90%;
  height: auto;
  display: block;
}

/* Společné dlaždice */
.tile{
  background: #f5f5f7;
  border-radius: 30px;   /* hodně zaoblené jako na obrázku */
  padding: 46px;
  border: 0;            /* bez rámečku */
  box-shadow: none;     /* bez stínu */
}

/* 2) Headline tile */
.tile--headline{
  min-height: 360px;
  align-items: flex-start;
  justify-content: flex-start;
}

.tile--headline h1{
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.lead{
  margin: 14px 0 10px;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: .9;
}

/* 3) Kontakt */
.tile--contact{
  min-height: 360px;
}

.tile--contact h2{
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700; /* podobný dojem jako „Kontakt“ na náhledu */
}

.kv{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 18px;
  font-size: 1.05rem;
}

.k{
  color: #222;
  opacity: .75;
}

.v{
  font-weight: 600;
}

a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 4) Obrázek */
.tile--image{
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-self: stretch; /* aby se dlaždice chovala hezky v gridu */
}

.tile--image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 5) SEO text přes celou šířku */
.tile--seo{
  grid-column: 1 / -1;
  padding: 56px;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.tile--seo h2{
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.25;
}

.tile--seo p{
  margin: 12px 0;
  line-height: 1.75;
  font-size: 1.05rem;
  max-width: 92ch;
}

.note{
  margin-top: 16px;
  opacity: .75;
}

/* Footer */
.footer{
  margin-top: 22px;
  text-align: center;
  opacity: .7;
}

/* Responsivita */
@media (max-width: 980px){
  .grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .logo-area{
    min-height: auto;
    padding: 10px 0;
  }

  .tile{
    border-radius: 36px;
    padding: 28px;
  }

  /* FIX: obrázek přes celou dlaždici i na mobilu (přebije padding z .tile) */
  .tile.tile--image{
    padding: 0;
  }

  .tile--headline,
  .tile--contact,
  .tile--image{
    min-height: 260px;
  }

  .tile--seo{
    padding: 32px;
    min-height: auto;
  }

  .kv{
    grid-template-columns: 1fr;
  }
}
