/* Lucrum Investment – statická verze původního Divi webu (rozměry změřené 1:1) */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #666;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 23.8px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  padding-bottom: 10px;
  color: #333;
  font-family: "Glegoo", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1em;
}

p { margin: 0; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- mřížka (Divi: řádek 80 %, max 1080 px, mezera 5.5 %) ---------- */

section, footer { position: relative; background: #fff; }

.row {
  position: relative;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 27px 0;
  display: flex;
  align-items: flex-start;
}

.col {
  position: relative;
  z-index: 2;
  width: 100%;
}

.col + .col { margin-left: 5.5%; }
.col--half { width: 47.25%; flex: none; }
.col--third { width: 29.6667%; flex: none; }
.col--two-thirds { width: 64.8333%; flex: none; }

/* textové moduly */
.text--big { font-size: 15px; line-height: 2em; }
.text--big p { padding-bottom: 15px; }
.text--big p:last-child { padding-bottom: 0; }
.text--big h2 { font-size: 40px; line-height: 1.4em; }

/* prázdný nadpis nad sekcemi v originále (10 px) */
.strategy .col,
.service .text { padding-top: 10px; }

/* ---------- hero ---------- */

.hero { background: #000; padding: 0 0 8px; }
.hero .row { padding: 27px 0 3px; }

.hero__box {
  padding: 70px;
  color: #fff;
  box-shadow: 0 40px 200px -10px rgba(0, 0, 0, .3);
}

.hero h1 {
  color: #fff;
  font-size: min(62px, calc(6.4vw - 24px)); /* originál při 981–1300 px přetékal */
  font-weight: 700;
  line-height: 1.3em;
}

.hero h2 {
  color: #fff;
  font-size: 26px;
  line-height: 1em;
}

/* ---------- o nás ---------- */

.about { padding: 4px 0 7px; }
.about__intro .col { padding-top: 110px; }
.about__services { margin-top: -1px; }

.service img { width: 40px; margin-bottom: min(2.2vw, 29.7px); }
.service .text { line-height: 1.9em; }
.service h3 { font-size: 20px; font-weight: 700; line-height: 1.5em; }

/* ---------- strategie ---------- */

.strategy { padding: 5px 0 0; }

/* ---------- investice ---------- */

.invest {
  padding: 0;
  background: #fff url("/img/pozadi-ctverce.png") no-repeat center top;
}
.invest .row { padding: 0 0 27px; }
.invest__text { padding-top: 70px; }
.invest__image img { width: 100%; }

/* ---------- patička ---------- */

.footer { padding: 3px 0 0; }

.footer .row {
  padding: 40px 0 27px 40px;
  background: url("/img/pozadi-srafy.png") left top;
}

.footer__box {
  width: 57.8%;
  flex: none;
  padding: 60px 40px 232px;
  background: #1d48c0;
  color: #fff;
  font-size: 16px;
}
.footer__box p { padding: 0; }

.footer .col + .col { margin-left: 5.5%; }
.footer__logo { width: 36.7%; flex: none; padding-top: 40px; }
.footer__logo img { width: 63%; }

/* ---------- 404 ---------- */

.notfound { padding: 120px 0; text-align: center; }
.notfound .row { display: block; }
.notfound a { color: #1d48c0; }

/* ---------- tablet (Divi ≤ 980 px) ---------- */

@media (max-width: 980px) {
  .row { display: block; padding: 30px 0; }
  .col, .col--half, .col--third, .col--two-thirds,
  .footer__box, .footer__logo { width: 100%; }
  .col + .col, .footer .col + .col { margin-left: 0; }
  .row > .col:not(:last-child) { margin-bottom: 30px; }

  .hero .row { padding: 30px 0 3px; }
  .hero__box { padding: 40px; }
  .hero h1 { font-size: 50px; }

  .text--big h2 { font-size: 30px; }
  .about__intro .col { padding-top: 10px; }
  .service img { margin-bottom: 30px; }

  .invest .row { padding: 0 0 27px; }
  .invest__text { padding-top: 70px; }
  .invest__image img { width: auto; margin: 0 auto; }


  .footer .row { padding: 40px 0 27px 40px; }
  .footer__logo { padding-top: 0; }
}

/* ---------- mobil (Divi ≤ 767 px) ---------- */

@media (max-width: 767px) {
  .hero__box { padding: 20px; }
  .hero h1 { font-size: 30px; }
  .text--big h2 { font-size: 22px; }
}
